Re: Assertion failed: (false), function pluginThreadEntry

Anders Olofsson <[email protected]> Tue, 20 Dec 2011 19:46:13 +0100
Newsgroups gmane.network.licq.general
Message-ID <[email protected]>
On 2011-12-20 12:45, George L. Yermulnik wrote:
> Hello!
>
> On Tue, 20 Dec 2011 at 11:43:39 (+0100), Erik Johansson wrote:
>
>>> Unfortunately, there's no version 1.6.0 in FreeBSD's ports tree =( And,
>>> probably, I won't be able to build without FreeBSD specific patches.

Assuming I found the correct link, it's not that big patches so you 
should be able to try.
http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-im/licq/files/


>>> I've found the same problem you had participated a year ago, but there
>>> where no thread continuation:
>>> http://www.mail-archive.com/[email protected]/msg00970.html

The backtrace there definitely looks consistent with what you're getting 
here. Unfortunately I can't see any answer in it to why it is happening.


>>> I suspect that the problem could be caused by some library or dependency
>>> update made recently on my sendbox. But I can't imagine which of them
>>> exactly it is.
>
>> Can you please post the output from building licq?
>
> attached: portupgrade.net-im::licq.log
>
>> Can you configure licq with -DCMAKE_BUILD_TYPE=Debug, build and see if
>> you get any output from gdb?
>
> Guess, something wrong is with my GDB:
> --- cut ---
> #>  licq
> Assertion failed: (false), function pluginThreadEntry, file /usr/ports/WORK/usr/ports/net-im/licq/work/licq-1.5.1/src/plugins/pluginthread.cpp, line 84.
>
> Using gdb to save backtrace to /home/yz/.licq/licq.backtrace.gdb
> /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled.
> A problem internal to GDB has been detected,
> --- cut ---
>
> /home/yz/.licq/licq.backtrace.gdb is empty
>
>> If not, can you add:
>> fprintf(stderr, "state=%d", data.myState);
>> to pluginthread.cpp just before switch (data.myState) (you may need to
>> add #include<stdio.h>  to the top as well)
>
> state=2
> state=3
> state=2
> state=3
> state=2
> state=3
> state=1
> Assertion failed: (false), function pluginThreadEntry, file /usr/ports/WORK/usr/ports/net-im/licq/work/licq-1.5.1/src/plugins/pluginthread.cpp, line 85.
>
> Using gdb to save backtrace to /home/yz/.licq/licq.backtrace.gdb
> state=1
> Assertion failed: (false), function pluginThreadEntry, file /usr/ports/WORK/usr/ports/net-im/licq/work/licq-1.5.1/src/plugins/pluginthread.cpp, line 85.

I want to see what belongs to which plugin here. Please run it again but 
with "licq -d15" to make it print the plugin names as they are initiated 
and started.

/Anders