aMule Forum

English => aMule crashes => Topic started by: Attila on October 28, 2010, 10:37:26 AM

Title: SVN r10330 segfaults libclucene bug?
Post by: Attila on October 28, 2010, 10:37:26 AM
Hi again (it's been a while),
Running Debian Squeeze and compiled svn r10330 with no errors reported using wxwidgets 2.9.1 (with unicode).
On startup amule crashes. Here's the output from gdb:
Code: [Select]
(gdb) run
Starting program: /tmp/aMule-SVN-r10330/src/amule
[Thread debugging using libthread_db enabled]
Assertion failed: ./include/wx/strvararg.h:wxArgNormalizer:449: Assertion '(argtype & (wxFormatStringSpecifier<T>::value)) == argtype' failed. format specifier doesn't match argument type

Backtrace follows:

Program received signal SIGSEGV, Segmentation fault.
__wcslen (s=0x0) at wcslen.c:30
30      wcslen.c: No such file or directory.
        in wcslen.c
Current language:  auto
The current source language is "auto; currently c".
Some googling indicates that there may be a problem with clucene as shown here:http://www.mail-archive.com/clucene-developers@lists.sourceforge.net/msg00330.html (http://www.mail-archive.com/clucene-developers@lists.sourceforge.net/msg00330.html)
cheers,
Attila
Title: Re: SVN r10330 segfaults libclucene bug?
Post by: Stu Redman on October 28, 2010, 08:52:03 PM
2.9.1 doesn't work in Linux. If you're feeling adventurous and want to try wx 2.9, try wx trunk. There the bug is fixed iirc.
Title: Re: SVN r10330 segfaults libclucene bug?
Post by: Attila on October 28, 2010, 08:58:26 PM
Cheers Stu.
Apologies for not sending a proper backtrace and putting it into the Amule Crashes forum. I have recompiled amule with the --enable-debug etc. and posted a proper backtrace in the backtraces forums. Maybe this will be useful, maybe not. I tried my best. ;)
I'll be adventurous (at my age what do I have to lose?) and try recompiling wxwidgets using wxtrunk 2.9
cheers,
Attila