[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Weechat-dev] Race Condition Crashes on 0.4.2 and 0.4.3

From: Sébastien Helleu
Subject: Re: [Weechat-dev] Race Condition Crashes on 0.4.2 and 0.4.3
Date: Wed, 12 Feb 2014 18:22:41 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Feb 12, 2014 at 04:00:46PM +0100, Jason A. Donenfeld wrote:
> Hi all,
> I've been receiving crashes with weechat since 0.4.2. I had hoped
> 0.4.3 would fix things, but it does not. The latest version I can run
> is 0.4.1.
> When weechat starts, it segfaults and prints this message:
>  weechat: ../nptl/pthread_mutex_lock.c:350: __pthread_mutex_lock_full:
> Assertion `(-(e)) != 3 || !robust' failed.
>                                                      Aborted
> or
> weechat: tpp.c:62: __pthread_tpp_change_priority: Assertion `new_prio
> == -1 || (new_prio >= __sched_fifo_min_prio && new_prio <=
> __sched_fifo_max_prio)' failed.
>                                Aborted
> Othertimes it exits with "illegal instruction" and this in dmesg
> "[558232.781319] traps: weechat[25733] trap invalid opcode
> ip:6a2866c6aad4 sp:7173723bd320 error:0 in
> libpthread-2.18.so[6a2866c58000+19000]", and othertimes with simply
> "Aborted".
> I suppose there's some sort of race I'm hitting.
> This occurs on Gentoo Hardened.
> Thanks,
> Jason
> _______________________________________________
> Weechat-dev mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/weechat-dev

Hi Jason,

Could you try to run weechat without plugins, with: weechat -p
Does it crash too?

If not, maybe one plugin is causing the problem. So you can start without
plugins and try to load them one by one (/plugin load <tab>).

If you still have crash with the -p argument, then try:

  weechat -p --no-gnutls --no-gcrypt

These 2 debug parameters will disable gnutls and gcrypt (they must not be used
in a normal run). Maybe the init of these libs is crashing.

And could you please get a backtrace of the problem by running weechat in gdb?
Look at user's guide for more info:

If you need more help, please join #weechat on irc.freenode.net, there are lot
of people (including me) to help you.

Cordialement / Best regards.

Sébastien Helleu

web: flashtux.org / weechat.org      mail: address@hidden
irc: FlashCode @ irc.freenode.net    xmpp: address@hidden

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]