aMule Forum

English => aMule crashes => Topic started by: korner on June 13, 2006, 12:48:30 PM

Title: crashes while searching for resource
Post by: korner on June 13, 2006, 12:48:30 PM
kernel 2.6.16.19-grsec, gcc 4.1.1, wx-2.6.3, pango-1.8.1

Code: [Select]
Search parsing resultfor "twierdza": 0
Search expression: twierdza
Expression count: 1
Parameters: 1

Pango-ERROR **: file break.c: line 780 (pango_default_break): assertion failed: (IN_BREAK_TABLE (break_type))
aborting...
Przerwane
Title: Re: crashes while searching for resource
Post by: phoenix on June 15, 2006, 04:22:32 AM
korner,

What is your distro, and where is the backtrace? No backtrace?

Cheers!
Title: Re: crashes while searching for resource
Post by: korner on June 15, 2006, 01:24:46 PM
fedora core 4

are u blind?
Code: [Select]
Search parsing resultfor "twierdza": 0
Search expression: twierdza
Expression count: 1
Parameters: 1

Pango-ERROR **: file break.c: line 780 (pango_default_break): assertion failed: (IN_BREAK_TABLE (break_type))
aborting...
Przerwane
amule has been compiled with debug support, that's all i can see in console;

btw: i switched to 2.0.3, 2.1.X is so buggy, it crashes whole time.
Title: Re: crashes while searching for resource
Post by: stefanero on June 15, 2006, 01:58:07 PM
Quote
Originally posted by korner
are u blind?

ok maybe you have no clue, but thats not a backtrace...

and we dont support 2.0.3 anymore,

use 2.1.3 and provide a usefull info on your crash so we can solve it, posting backtraces of old version wont help
Title: Re: crashes while searching for resource
Post by: korner on June 15, 2006, 02:56:32 PM
i have no reason for posting backtraces from amule 2.0.3 cause it doesn't crash!!!

u can easily reproduce crash by trying to find "twierdza".
Title: Re: crashes while searching for resource
Post by: GonoszTopi on June 15, 2006, 03:32:18 PM
I tried searching for "twierdza", but I couldn't make my amule crash.

Try running amule inside gdb, or make it output a core file on crash and process that core file with gdb.
Title: Re: crashes while searching for resource
Post by: korner on June 15, 2006, 04:08:02 PM
Code: [Select]
recv(20, "\270r\372y\336\377\236u\225V%\345;\276\310\242\354l_\302"..., 2000000, MSG_NOSIGNAL) = 2047
fstat64(20, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
fcntl64(20, F_GETFL)                    = 0x802 (flags O_RDWR|O_NONBLOCK)
stat64("/usr/lib/pango/1.4.0/modules/pango-hangul-fc.so", {st_mode=S_IFREG|0755, st_size=9352, ...}) = 0
open("/usr/lib/pango/1.4.0/modules/pango-hangul-fc.so", O_RDONLY) = 66
read(66, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\t\0"..., 512) = 512
fstat64(66, {st_mode=S_IFREG|0755, st_size=9352, ...}) = 0
mmap2(NULL, 12228, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 66, 0) = 0x500fa000
mmap2(0x500fc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 66, 0x1) = 0x500fc000
close(66)                               = 0
write(2, "\nPango-ERROR **: file break.c: l"..., 123
Pango-ERROR **: file break.c: line 780 (pango_default_break): assertion failed: (IN_BREAK_TABLE (break_type))
aborting...
) = 123
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(19536, 19536, SIGABRT)           = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
Title: Re: crashes while searching for resource
Post by: phoenix on June 15, 2006, 05:31:52 PM
Quote
Originally posted by korner
fedora core 4

are u blind?
No, I am not blind. Either you are seeing things or you ignore the meaning of the word backtrace.

The failing assertion is not in aMule code, it is inside pango. Check that library, reinstall, or whatever.

Quote
Originally posted by korner
amule has been compiled with debug support, that's all i can see in console;
Funny, I am probably getting blind, I can't see that. I don't think I can help you anymore.

Quote
Originally posted by korner
btw: i switched to 2.0.3, 2.1.X is so buggy, it crashes whole time.
Ok, then keep it, but it is one more reason for us NOT to help you.

Btw, an strace output is not what GonoszTopi asked you. Which is also not a backtrace.
Title: Re: crashes while searching for resource
Post by: Gerd78 on June 15, 2006, 05:39:44 PM
I am able to reproduce this crash here with aMule-CVS-20060615.

Backtrace:
Code: [Select]
(gdb) run
Starting program: /usr/src/packages/SOURCES/amule-cvs/src/amule --only-chuck-norris-would-stop-me
[Thread debugging using libthread_db enabled]
[New Thread -1226234192 (LWP 16829)]
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
[New Thread -1332442208 (LWP 16842)]
Loading temp files from /home/user/.aMule/Temp.
Loading PartFile 14 of 14
All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Adding file /home/user/.aMule/Temp/004.part.met to shares
Adding file /home/user/.aMule/Temp/008.part.met to shares
Adding file /home/user/.aMule/Temp/010.part.met to shares
Adding file /home/user/.aMule/Temp/011.part.met to shares
Adding file /home/user/.aMule/Temp/013.part.met to shares
Adding file /home/user/.aMule/Temp/017.part.met to shares
Adding file /home/user/.aMule/Temp/019.part.met to shares
Adding file /home/user/.aMule/Temp/023.part.met to shares
[New Thread -1340834912 (LWP 16845)]
[New Thread -1349227616 (LWP 16846)]
[Thread -1340834912 (zombie) exited]
Search parsing resultfor "twierdza": 0
Search expression: twierdza
Expression count: 1
Parameters: 1

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226234192 (LWP 16829)]
0x08379760 in yylex () at Scanner.cpp:757
757                     *yy_cp = (yy_hold_char);
(gdb) bt
#0  0x08379760 in yylex () at Scanner.cpp:757
#1  0x0837a2de in yyparse () at Parser.cpp:1273
#2  0x0815d129 in CSearchList::CreateSearchData (this=0x8983178,
    params=@0xbfa5bab4, type=GlobalSearch) at SearchList.cpp:692
#3  0x0815f6f1 in CSearchList::StartNewSearch (this=0x8983178,
    searchID=0xbfa5bab0, type=GlobalSearch, params=@0xbfa5bab4)
    at SearchList.cpp:333
#4  0x08235890 in CSearchDlg::StartNewSearch (this=0x8b70330)
    at SearchDlg.cpp:511
#5  0x08236028 in CSearchDlg::OnBnClickedStart (this=0x8b70330)
    at SearchDlg.cpp:271
#6  0xb789b44f in wxAppConsole::HandleEvent (this=0x879a948,
    handler=0x8b70330, func=
      {__pfn = 0x8235eac , __delta = 0}, event=@0xbfa5bcf8) at ./src/common/appbase.cpp:324
#7  0xb79376e0 in wxEvtHandler::ProcessEventIfMatches (entry=@0x876c460,
    handler=0x8b70330, event=@0xbfa5bcf8) at ./src/common/event.cpp:1193
#8  0xb793919c in wxEventHashTable::HandleEvent (this=0x876c440,
    event=@0xbfa5bcf8, self=0x8b70330) at ./src/common/event.cpp:875
#9  0xb793930c in wxEvtHandler::ProcessEvent (this=0x8b70330,
    event=@0xbfa5bcf8) at ./src/common/event.cpp:1255
#10 0xb7c3c136 in wxWindowBase::TryParent (this=0x8b99860, event=@0xbfa5bcf8)
    at ./src/common/wincmn.cpp:2526
---Type to continue, or q to quit---
#11 0xb7939373 in wxEvtHandler::ProcessEvent (this=0x8b99860,
    event=@0xbfa5bcf8) at ./src/common/event.cpp:1268
#12 0xb7b86bf7 in gtk_button_clicked_callback (button=0x8b99860)
    at ./src/gtk/button.cpp:61
#13 0xb720e599 in g_cclosure_marshal_VOID__VOID ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#14 0xb72018bd in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
#15 0xb7212531 in g_signal_connect_closure_by_id ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#16 0xb7213ac7 in g_signal_emit_valist ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#17 0xb7213c95 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0
#18 0xb737f5e3 in gtk_button_clicked () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#19 0xb7380ebe in gtk_button_set_alignment ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
#20 0xb720e599 in g_cclosure_marshal_VOID__VOID ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#21 0xb72000c7 in g_value_set_static_boxed ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#22 0xb72018bd in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
#23 0xb72126da in g_signal_connect_closure_by_id ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#24 0xb7213ac7 in g_signal_emit_valist ()
---Type to continue, or q to quit---
   from /opt/gnome/lib/libgobject-2.0.so.0
#25 0xb7213c95 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0
#26 0xb737f673 in gtk_button_released ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
#27 0xb737f6d1 in gtk_button_released ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
#28 0xb744f8fe in gtk_marshal_BOOLEAN__VOID ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
#29 0xb72000c7 in g_value_set_static_boxed ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#30 0xb72018bd in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
#31 0xb7212893 in g_signal_connect_closure_by_id ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#32 0xb721388f in g_signal_emit_valist ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#33 0xb7213c95 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0
#34 0xb753a5e8 in gtk_widget_get_default_style ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
#35 0xb7449313 in gtk_propagate_event ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
#36 0xb744a567 in gtk_main_do_event () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#37 0xb72db58a in gdk_add_client_message_filter ()
   from /opt/gnome/lib/libgdk-x11-2.0.so.0
---Type to continue, or q to quit---
#38 0xb6f7cabd in g_main_context_dispatch ()
   from /opt/gnome/lib/libglib-2.0.so.0
#39 0xb6f7fcbf in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
#40 0xb6f80069 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
#41 0xb744a9e4 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#42 0xb7b2e259 in wxEventLoop::Run (this=0x8ce75b0) at ./src/gtk/evtloop.cpp:80
#43 0xb7bc13aa in wxAppBase::MainLoop (this=0x879a948)
    at ./src/common/appcmn.cpp:272
#44 0xb7bc0e19 in wxAppBase::OnRun (this=0x879a948)
    at ./src/common/appcmn.cpp:340
#45 0xb78d894c in wxEntry (argc=@0xbfa5ce60, argv=0x8789400)
    at ./src/common/init.cpp:439
#46 0xb78d8a16 in wxEntry (argc=@0xbfa5ce60, argv=0xbfa5cee4)
    at ./src/common/init.cpp:451
#47 0x08202952 in main (argc=148579128, argv=0x8c635a0) at amule-gui.cpp:110
(gdb)
(gdb) bt full
#0  0x08379760 in yylex () at Scanner.cpp:757
        yy_current_state = -1218570871
        yy_cp = 0x0
        yy_bp = 0xb7f9ce00 "U\uffff\001"
        yy_act = -1225159692
#1  0x0837a2de in yyparse () at Parser.cpp:1273
        yystate = 0
        yyn = 38
        yyresult = -1217208332
        yyerrstatus = 0
        yytoken = 0
        yyssa = {0, -18574, -3740, -18574, -3776, -18574, 72, 0, 9, 0, 27236,
  -18585, 5388, -18574, -8204, -18574, -3720, -18574, 27928, 2261, -3776,
  -18574, 27880, 2255, -19052, -16475, 27236, -18585, -8204, -18574, 30320,
  2255, 27936, 2261, -19040, -16475, -3776, -18574, -3776, -18574, 28064,
  2261, 2936, 0, 5488, -18574, -3504, 2199, 30256, 2255, 136, 0, 30248, 2255,
  72, 0, -8204, -18574, 30256, 2255, -8204, -18574, 27928, 2261, 136, 0,
  -18976, -16475, -31518, -18585, -3776, -18574, 27976, 2261, 72, 0, 27236,
  -18585, 30256, 2255, 128, 0, 41, 0, -3740, -18574, -3776, -18574, -8204,
  -18574, 27936, 2261, -3776, -18574, 29534, -18585, -26960, -18585, -3776,
  -18574, 27936, 2261, 32, 0, 27928, 2261, 136, 0, -24136, -18691, -8204,
  -18574, -3776, -18574, -3720, -18574, -18904, -16475, 29534, -18585, 16, 0,
  2, 0, -3768, -18574, 2, 0, 26056, 2241, -18888, -16475, -3760, -18574,
---Type to continue, or q to quit---
  -2692, -18574, -2952, -18574, -3720, -18574, 12495, -18644, 5388, -18574,
  97, 0, 12, 0, 91, 0, 29534, -18585, 71, 0, 91, 0, 2, 0, -8204, -18574,
  -3776, -18574, 4816, 2055, -18808, -16475, 28430, -18585, -3776, -18574,
  -3720, -18574, -22488, -18534, 12, 0, 16, 0, 2, 0, -3768, -18574, 0, 0,
  -22488, -18534, -18728, -16475, 27236, -18585, -18752, -16475, -18752,
  -16475, 28020, 2261, -3768, -18574, -3776, -18574}
        yyss = (yytype_int16 *) 0xbfa5b524
        yyssp = (yytype_int16 *) 0xbfa5b524
        yyvsa = {{pstr = 0x0, pexpr = 0x0}, {pstr = 0x8c0a3b4,
    pexpr = 0x8c0a3b4}, {pstr = 0xb72197c1, pexpr = 0xb72197c1}, {pstr = 0x0,
    pexpr = 0x0}, {pstr = 0xb72303b4, pexpr = 0xb72303b4}, {pstr = 0x8b5ea18,
    pexpr = 0x8b5ea18}, {pstr = 0x87bc16c, pexpr = 0x87bc16c}, {
    pstr = 0x87bc140, pexpr = 0x87bc140}, {pstr = 0x40c0a3b4,
    pexpr = 0x40c0a3b4}, {pstr = 0x7, pexpr = 0x7}, {pstr = 0xb722ff08,
    pexpr = 0xb722ff08}, {pstr = 0xbfa5b4dc, pexpr = 0xbfa5b4dc}, {
    pstr = 0x87be1f0, pexpr = 0x87be1f0}, {pstr = 0xbfa5b268,
    pexpr = 0xbfa5b268}, {pstr = 0xb722266c, pexpr = 0xb722266c}, {
    pstr = 0xbfa5b4dc, pexpr = 0xbfa5b4dc}, {pstr = 0x7, pexpr = 0x7}, {
    pstr = 0x6, pexpr = 0x6}, {pstr = 0xb7437a74, pexpr = 0xb7437a74}, {
    pstr = 0x8c0a3b4, pexpr = 0x8c0a3b4}, {pstr = 0xb75f43cd,
    pexpr = 0xb75f43cd}, {pstr = 0x8b5ea14, pexpr = 0x8b5ea14}, {
    pstr = 0xb722ff08, pexpr = 0xb722ff08}, {pstr = 0xb722ff08,
    pexpr = 0xb722ff08}, {pstr = 0xb7437a60, pexpr = 0xb7437a60}, {
---Type to continue, or q to quit---
    pstr = 0xbfa5b298, pexpr = 0xbfa5b298}, {pstr = 0xb720e029,
    pexpr = 0xb720e029}, {pstr = 0x8b8ea30, pexpr = 0x8b8ea30}, {pstr = 0x1,
    pexpr = 0x1}, {pstr = 0x87baaf8, pexpr = 0x87baaf8}, {pstr = 0xbfa5c400,
    pexpr = 0xbfa5c400}, {pstr = 0x0, pexpr = 0x0}, {pstr = 0x87be1f0,
    pexpr = 0x87be1f0}, {pstr = 0xbfa5b2c8, pexpr = 0xbfa5b2c8}, {
    pstr = 0xb72015e4, pexpr = 0xb72015e4}, {pstr = 0x87be1f0,
    pexpr = 0x87be1f0}, {pstr = 0x8002, pexpr = 0x8002}, {pstr = 0x8001,
    pexpr = 0x8001}, {pstr = 0xb72197c1, pexpr = 0xb72197c1}, {
    pstr = 0x87be1f0, pexpr = 0x87be1f0}, {pstr = 0x0, pexpr = 0x0}, {
    pstr = 0x2, pexpr = 0x2}, {pstr = 0x8001, pexpr = 0x8001}, {
    pstr = 0xbfa5b3ec, pexpr = 0xbfa5b3ec}, {pstr = 0xb7437a60,
    pexpr = 0xb7437a60}, {pstr = 0xb720156b, pexpr = 0xb720156b}, {
    pstr = 0xb722ff08, pexpr = 0xb722ff08}, {pstr = 0xbfa5b56c,
    pexpr = 0xbfa5b56c}, {pstr = 0x87be1f0, pexpr = 0x87be1f0}, {
    pstr = 0xbfa5b2f8, pexpr = 0xbfa5b2f8}, {pstr = 0xb72197c1,
    pexpr = 0xb72197c1}, {pstr = 0xbfa5b56c, pexpr = 0xbfa5b56c}, {
    pstr = 0x40008002, pexpr = 0x40008002}, {pstr = 0x8002, pexpr = 0x8002}, {
    pstr = 0xbfa5b4dc, pexpr = 0xbfa5b4dc}, {pstr = 0xbfa5b3ec,
    pexpr = 0xbfa5b3ec}, {pstr = 0x84, pexpr = 0x84}, {pstr = 0xa5b318,
    pexpr = 0xa5b318}, {pstr = 0xb722ff08, pexpr = 0xb722ff08}, {
    pstr = 0xbfa5b59c, pexpr = 0xbfa5b59c}, {pstr = 0x87be1f0,
    pexpr = 0x87be1f0}, {pstr = 0xbfa5b328, pexpr = 0xbfa5b328}, {
    pstr = 0xb722266c, pexpr = 0xb722266c}, {pstr = 0xbfa5b59c,
---Type to continue, or q to quit---
    pexpr = 0xbfa5b59c}, {pstr = 0x4, pexpr = 0x4}, {pstr = 0x87baaf8,
    pexpr = 0x87baaf8}, {pstr = 0xb7437a74, pexpr = 0xb7437a74}, {
    pstr = 0x8b8ea30, pexpr = 0x8b8ea30}, {pstr = 0x87be1f0,
    pexpr = 0x87be1f0}, {pstr = 0xbfa5b358, pexpr = 0xbfa5b358}, {
    pstr = 0xb722ff08, pexpr = 0xb722ff08}, {pstr = 0xb722ff08,
    pexpr = 0xb722ff08}, {pstr = 0xb7437a60, pexpr = 0xb7437a60}, {
    pstr = 0xbfa5b358, pexpr = 0xbfa5b358}, {pstr = 0xb720e029,
    pexpr = 0xb720e029}, {pstr = 0x8b8eb40, pexpr = 0x8b8eb40}, {pstr = 0x4,
    pexpr = 0x4}, {pstr = 0x87baaf8, pexpr = 0x87baaf8}, {pstr = 0x8001,
    pexpr = 0x8001}, {pstr = 0xbfa5b47c, pexpr = 0xbfa5b47c}, {
    pstr = 0x87be1f0, pexpr = 0x87be1f0}, {pstr = 0xbfa5b388,
    pexpr = 0xbfa5b388}, {pstr = 0xb72015e4, pexpr = 0xb72015e4}, {
    pstr = 0x87be1f0, pexpr = 0x87be1f0}, {pstr = 0x8002, pexpr = 0x8002}, {
    pstr = 0x8001, pexpr = 0x8001}, {pstr = 0xb72000c7, pexpr = 0xb72000c7}, {
    pstr = 0x87be1f0, pexpr = 0x87be1f0}, {pstr = 0x0, pexpr = 0x0}, {
    pstr = 0x2, pexpr = 0x2}, {pstr = 0x8001, pexpr = 0x8001}, {
    pstr = 0xbfa5b4ac, pexpr = 0xbfa5b4ac}, {pstr = 0xb7437a60,
    pexpr = 0xb7437a60}, {pstr = 0xb720156b, pexpr = 0xb720156b}, {
    pstr = 0xb722ff08, pexpr = 0xb722ff08}, {pstr = 0x0, pexpr = 0x0}, {
    pstr = 0xb720dfd0, pexpr = 0xb720dfd0}, {pstr = 0xbfa5b3e8,
    pexpr = 0xbfa5b3e8}, {pstr = 0xb720195e, pexpr = 0xb720195e}, {
    pstr = 0x87be1f0, pexpr = 0x87be1f0}, {pstr = 0x40008002,
    pexpr = 0x40008002}, {pstr = 0x8002, pexpr = 0x8002}, {pstr = 0xbfa5b59c,
---Type to continue, or q to quit---
    pexpr = 0xbfa5b59c}, {pstr = 0xbfa5b4ac, pexpr = 0xbfa5b4ac}, {
    pstr = 0x84, pexpr = 0x84}, {pstr = 0xf9ce00, pexpr = 0xf9ce00}, {
    pstr = 0xb7200070, pexpr = 0xb7200070}, {pstr = 0x84, pexpr = 0x84}, {
    pstr = 0x0, pexpr = 0x0}, {pstr = 0x0, pexpr = 0x0}, {pstr = 0xb7f9c3f1,
    pexpr = 0xb7f9c3f1}, {pstr = 0xb767735e, pexpr = 0xb767735e}, {
    pstr = 0x18, pexpr = 0x18}, {pstr = 0xbfa5b3e8, pexpr = 0xbfa5b3e8}, {
    pstr = 0xb7f9cc6b, pexpr = 0xb7f9cc6b}, {pstr = 0x8b8eb40,
    pexpr = 0x8b8eb40}, {pstr = 0xb722ff08, pexpr = 0xb722ff08}, {
    pstr = 0xb7f9ce00, pexpr = 0xb7f9ce00}, {pstr = 0x1, pexpr = 0x1}, {
    pstr = 0xbfa5b3e8, pexpr = 0xbfa5b3e8}, {pstr = 0xb7f9ce10,
    pexpr = 0xb7f9ce10}, {pstr = 0xbfa5b4f8, pexpr = 0xbfa5b4f8}, {
    pstr = 0xb72127d6, pexpr = 0xb72127d6}, {pstr = 0xb7230410,
    pexpr = 0xb7230410}, {pstr = 0x18, pexpr = 0x18}, {pstr = 0x2,
    pexpr = 0x2}, {pstr = 0xb772f14c, pexpr = 0xb772f14c}, {pstr = 0xbfa5b4ac,
    pexpr = 0xbfa5b4ac}, {pstr = 0x1, pexpr = 0x1}, {pstr = 0xbfa5b428,
    pexpr = 0xbfa5b428}, {pstr = 0xb7f9cc6b, pexpr = 0xb7f9cc6b}, {
    pstr = 0x8b5eaf0, pexpr = 0x8b5eaf0}, {pstr = 0xbfa5b4a4,
    pexpr = 0xbfa5b4a4}, {pstr = 0xb7f9ce00, pexpr = 0xb7f9ce00}, {
    pstr = 0xb721b144, pexpr = 0xb721b144}, {pstr = 0xb767735e,
    pexpr = 0xb767735e}, {pstr = 0x0, pexpr = 0x0}, {pstr = 0x4, pexpr = 0x4},
  {pstr = 0xb7f9c3f1, pexpr = 0xb7f9c3f1}, {pstr = 0xb7230410,
    pexpr = 0xb7230410}, {pstr = 0x1, pexpr = 0x1}, {pstr = 0xbfa5b458,
    pexpr = 0xbfa5b458}, {pstr = 0xb7f9cc6b, pexpr = 0xb7f9cc6b}, {
---Type to continue, or q to quit---
    pstr = 0x8b8eb40, pexpr = 0x8b8eb40}, {pstr = 0xb722ff08,
    pexpr = 0xb722ff08}, {pstr = 0xb7f9ce00, pexpr = 0xb7f9ce00}, {
    pstr = 0xb6fdae10, pexpr = 0xb6fdae10}, {pstr = 0xbfa5b458,
    pexpr = 0xbfa5b458}, {pstr = 0xb7f9ce10, pexpr = 0xb7f9ce10}, {
    pstr = 0xbfa5b6f8, pexpr = 0xbfa5b6f8}, {pstr = 0xb72136f6,
    pexpr = 0xb72136f6}, {pstr = 0xb7230410, pexpr = 0xb7230410}, {
    pstr = 0x8b8eb40, pexpr = 0x8b8eb40}, {pstr = 0xbfa5b498,
    pexpr = 0xbfa5b498}, {pstr = 0xb6f83aeb, pexpr = 0xb6f83aeb}, {
    pstr = 0x10, pexpr = 0x10}, {pstr = 0xbfa5b59c, pexpr = 0xbfa5b59c}, {
    pstr = 0xbfa5b4a8, pexpr = 0xbfa5b4a8}, {pstr = 0xb7205cb9,
    pexpr = 0xb7205cb9}, {pstr = 0xb767735e, pexpr = 0xb767735e}, {
    pstr = 0x40a669c0, pexpr = 0x40a669c0}, {pstr = 0xbfa5b4a8,
    pexpr = 0xbfa5b4a8}, {pstr = 0xb7318108, pexpr = 0xb7318108}, {
    pstr = 0x8d24dd0, pexpr = 0x8d24dd0}, {pstr = 0xbfa5b4d4,
    pexpr = 0xbfa5b4d4}, {pstr = 0xbfa5b4b8, pexpr = 0xbfa5b4b8}, {
    pstr = 0xb7676a64, pexpr = 0xb7676a64}, {pstr = 0x10, pexpr = 0x10}, {
    pstr = 0x0, pexpr = 0x0}, {pstr = 0x35e, pexpr = 0x35e}, {
    pstr = 0xb772f150, pexpr = 0xb772f150}, {pstr = 0xb772f140,
    pexpr = 0xb772f140}, {pstr = 0x87b51e0, pexpr = 0x87b51e0}, {
    pstr = 0xbfa5b4e8, pexpr = 0xbfa5b4e8}, {pstr = 0xb772f14c,
    pexpr = 0xb772f14c}, {pstr = 0xb772150c, pexpr = 0xb772150c}, {
    pstr = 0x8d4b6a8, pexpr = 0x8d4b6a8}, {pstr = 0xbfa5b4d4,
    pexpr = 0xbfa5b4d4}, {pstr = 0xb6f83aeb, pexpr = 0xb6f83aeb}, {
---Type to continue, or q to quit---
    pstr = 0x10, pexpr = 0x10}, {pstr = 0x0, pexpr = 0x0}, {pstr = 0x0,
    pexpr = 0x0}, {pstr = 0xb767735e, pexpr = 0xb767735e}, {pstr = 0xb767735e,
    pexpr = 0xb767735e}, {pstr = 0xb772f140, pexpr = 0xb772f140}, {
    pstr = 0x8d24dd0, pexpr = 0x8d24dd0}, {pstr = 0xbfa5b508,
    pexpr = 0xbfa5b508}, {pstr = 0xb7676f84, pexpr = 0xb7676f84}, {
    pstr = 0xb772f140, pexpr = 0xb772f140}, {pstr = 0x8d24dd0,
    pexpr = 0x8d24dd0}, {pstr = 0xb772f57c, pexpr = 0xb772f57c}, {
    pstr = 0xb772f478, pexpr = 0xb772f478}, {pstr = 0xb772f178,
    pexpr = 0xb772f178}, {pstr = 0x0, pexpr = 0x0}, {pstr = 0xbfa5b528,
    pexpr = 0xbfa5b528}, {pstr = 0x89, pexpr = 0x89}, {pstr = 0x11,
    pexpr = 0x11}, {pstr = 0xb7676a64, pexpr = 0xb7676a64}, {pstr = 0x3,
    pexpr = 0x3}, {pstr = 0x10, pexpr = 0x10}}
        yyvs = (YYSTYPE *) 0xbfa5b204
        yyvsp = (YYSTYPE *) 0xbfa5b204
        yystacksize = 200
        yyval = {pstr = 0x80712d0, pexpr = 0x80712d0}
        yylen = 0
#2  0x0815d129 in CSearchList::CreateSearchData (this=0x8983178,
    params=@0xbfa5bab4, type=GlobalSearch) at SearchList.cpp:692
        kad = false
        parametercount = 0
        typeText = { = {static npos = 4294967295,
    m_pchData = 0xb796e688}, }
---Type to continue, or q to quit---
        data = {_M_ptr = 0x8980b50}
        iParseResult = 0
        target = {m_data = 0xbfa5b7a8, m_eStrEncode = 3079652354}
        iParameterCount = 3080366120
#3  0x0815f6f1 in CSearchList::StartNewSearch (this=0x8983178,
    searchID=0xbfa5bab0, type=GlobalSearch, params=@0xbfa5bab4)
    at SearchList.cpp:333
        data = {_M_ptr = 0x2718}
#4  0x08235890 in CSearchDlg::StartNewSearch (this=0x8b70330)
    at SearchDlg.cpp:511
        error = { = {static npos = 4294967295,
    m_pchData = 0x807a17f}, }
        params = {searchString = { = {static npos = 4294967295,
      m_pchData = 0x8d56d54}, }, typeText = { = {
      static npos = 4294967295, m_pchData = 0xb796e688}, },
  extension = { = {static npos = 4294967295,
      m_pchData = 0xb796e688}, }, minSize = 0, maxSize = 0,
  availability = 0}
        search_type = GlobalSearch
        real_id = 2
        m_nSearchID = 2
#5  0x08236028 in CSearchDlg::OnBnClickedStart (this=0x8b70330)
    at SearchDlg.cpp:271
---Type to continue, or q to quit---
        searchString = { = {static npos = 4294967295,
    m_pchData = 0x8d56ccc}, }
        choice = (class wxChoice *) 0x8b743d8
#6  0xb789b44f in wxAppConsole::HandleEvent (this=0x879a948,
    handler=0x8b70330, func=
      {__pfn = 0x8235eac , __delta = 0}, event=@0xbfa5bcf8) at ./src/common/appbase.cpp:324
No locals.
#7  0xb79376e0 in wxEvtHandler::ProcessEventIfMatches (entry=@0x876c460,
    handler=0x8b70330, event=@0xbfa5bcf8) at ./src/common/event.cpp:1193
        tableId1 = 10023
        tableId2 = -1
#8  0xb793919c in wxEventHashTable::HandleEvent (this=0x876c440,
    event=@0xbfa5bcf8, self=0x8b70330) at ./src/common/event.cpp:875
        n = 0
        eventEntryTable = (
    const wxEventTableEntryPointerArray &) @0x8ba3b84: { = {m_nSize = 6, m_nCount = 6, m_pItems = 0x8786668}, }
        count = 6
        eventType = 10067
        eTTnode = (wxEventHashTable::EventTypeTable * const) 0x8ba3b80
#9  0xb793930c in wxEvtHandler::ProcessEvent (this=0x8b70330,
    event=@0xbfa5bcf8) at ./src/common/event.cpp:1255
---Type to continue, or q to quit---
No locals.
#10 0xb7c3c136 in wxWindowBase::TryParent (this=0x8b99860, event=@0xbfa5bcf8)
    at ./src/common/wincmn.cpp:2526
        propagateOnce = {m_event = @0xbfa5bcf8}
        parent = (class wxWindow *) 0x8b70330
#11 0xb7939373 in wxEvtHandler::ProcessEvent (this=0x8b99860,
    event=@0xbfa5bcf8) at ./src/common/event.cpp:1268
No locals.
#12 0xb7b86bf7 in gtk_button_clicked_callback (button=0x8b99860)
    at ./src/gtk/button.cpp:61
        event = { = { = {_vptr.wxObject = 0x857e310,
      static ms_classInfo = {m_className = 0xb796a200, m_objectSize = 8,
        m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
        static sm_first = 0x85822a0, m_next = 0xb79c25cc,
        static sm_classTable = 0x8770008}, m_refData = 0x0},
    m_eventObject = 0x8b99860, m_eventType = 10067, m_timeStamp = 0,
    m_id = 10023, m_callbackUserData = 0x0, m_propagationLevel = 2147483646,
    m_skipped = false, m_isCommandEvent = true, static ms_classInfo = {
      m_className = 0xb797d238, m_objectSize = 36, m_objectConstructor = 0,
      m_baseInfo1 = 0xb79c2590, m_baseInfo2 = 0x0,
      static sm_first = 0x85822a0, m_next = 0xb79c28e8,
      static sm_classTable = 0x8770008}}, m_cmdString = { = {
      static npos = 4294967295, m_pchData = 0xb796e688}, },
---Type to continue, or q to quit---
  m_commandInt = 0, m_extraLong = 0, m_clientData = 0x0, m_clientObject = 0x0,
  static ms_classInfo = {m_className = 0xb7c7fb68, m_objectSize = 56,
    m_objectConstructor = 0xb7afca50 ,
    m_baseInfo1 = 0xb79c2900, m_baseInfo2 = 0x0, static sm_first = 0x85822a0,
    m_next = 0xb7d46b24, static sm_classTable = 0x8770008}}
#13 0xb720e599 in g_cclosure_marshal_VOID__VOID ()
   from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#14 0xb72018bd in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#15 0xb7212531 in g_signal_connect_closure_by_id ()
   from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#16 0xb7213ac7 in g_signal_emit_valist ()
   from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#17 0xb7213c95 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#18 0xb737f5e3 in gtk_button_clicked () from /opt/gnome/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#19 0xb7380ebe in gtk_button_set_alignment ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
No symbol table info available.
---Type to continue, or q to quit---
#20 0xb720e599 in g_cclosure_marshal_VOID__VOID ()
   from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#21 0xb72000c7 in g_value_set_static_boxed ()
   from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#22 0xb72018bd in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#23 0xb72126da in g_signal_connect_closure_by_id ()
   from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#24 0xb7213ac7 in g_signal_emit_valist ()
   from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#25 0xb7213c95 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#26 0xb737f673 in gtk_button_released ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#27 0xb737f6d1 in gtk_button_released ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#28 0xb744f8fe in gtk_marshal_BOOLEAN__VOID ()
---Type to continue, or q to quit---
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#29 0xb72000c7 in g_value_set_static_boxed ()
   from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#30 0xb72018bd in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#31 0xb7212893 in g_signal_connect_closure_by_id ()
   from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#32 0xb721388f in g_signal_emit_valist ()
   from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#33 0xb7213c95 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0
No symbol table info available.
#34 0xb753a5e8 in gtk_widget_get_default_style ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#35 0xb7449313 in gtk_propagate_event ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#36 0xb744a567 in gtk_main_do_event () from /opt/gnome/lib/libgtk-x11-2.0.so.0
No symbol table info available.
---Type to continue, or q to quit---
#37 0xb72db58a in gdk_add_client_message_filter ()
   from /opt/gnome/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#38 0xb6f7cabd in g_main_context_dispatch ()
   from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#39 0xb6f7fcbf in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#40 0xb6f80069 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#41 0xb744a9e4 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#42 0xb7b2e259 in wxEventLoop::Run (this=0x8ce75b0) at ./src/gtk/evtloop.cpp:80
        oldLoop = (wxEventLoop *) 0x0
        exitcode = -1210848680
#43 0xb7bc13aa in wxAppBase::MainLoop (this=0x879a948)
    at ./src/common/appcmn.cpp:272
        mainLoop = { = {m_ptr = 0x8ce75b0}, m_pp = 0x879a988,
  m_pOld = 0x0}
#44 0xb7bc0e19 in wxAppBase::OnRun (this=0x879a948)
    at ./src/common/appcmn.cpp:340
No locals.
#45 0xb78d894c in wxEntry (argc=@0xbfa5ce60, argv=0x8789400)
---Type to continue, or q to quit---
    at ./src/common/init.cpp:439
        callOnExit = {}
        cleanupOnExit = {}
#46 0xb78d8a16 in wxEntry (argc=@0xbfa5ce60, argv=0xbfa5cee4)
    at ./src/common/init.cpp:451
No locals.
#47 0x08202952 in main (argc=148579128, argv=0x8c635a0) at amule-gui.cpp:110
No locals.


Just for your information, I did not knowingly rebuild the bison/flex stuff, it was rebuilt automatically because of a timestamp problem in the CVS tarball. Don't know if it matters...
Title: Re: crashes while searching for resource
Post by: Gerd78 on June 15, 2006, 05:40:52 PM
Rest of the backtrace (was too long for one post):
Code: [Select]
(gdb) thread apply all bt

Thread 4 (Thread -1349227616 (LWP 16846)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f9da5c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0xb7933489 in wxConditionInternal::WaitTimeout (this=0x882d5f0,
    milliseconds=93) at ./src/unix/threadpsx.cpp:402
#3  0xb7933574 in wxCondition::WaitTimeout (this=0x882d5bc, milliseconds=93)
    at ./include/wx/thrimpl.cpp:255
#4  0xb79343ed in wxSemaphoreInternal::WaitTimeout (this=0x882d5b8,
    milliseconds=93) at ./src/unix/threadpsx.cpp:549
#5  0xb79344dc in wxSemaphore::WaitTimeout (this=0x8ce8240, milliseconds=93)
    at ./include/wx/thrimpl.cpp:319
#6  0x083105c4 in CTimerThread::Entry (this=0x8ce8220) at Timer.cpp:63
#7  0xb79357f4 in wxThreadInternal::PthreadStart (thread=0x8ce8220)
    at ./src/unix/threadpsx.cpp:763
#8  0xb793595d in wxPthreadStart (ptr=0x8ce8220)
    at ./src/unix/threadpsx.cpp:715
#9  0xb7f9a34b in start_thread () from /lib/libpthread.so.0
#10 0xb76cf65e in clone () from /lib/libc.so.6

Thread 2 (Thread -1332442208 (LWP 16842)):
#0  0xffffe410 in __kernel_vsyscall ()
---Type to continue, or q to quit---
#1  0xb7fa0b26 in __nanosleep_nocancel () from /lib/libpthread.so.0
#2  0xb793e099 in wxMicroSleep (microseconds=1000)
    at ./src/unix/utilsunx.cpp:180
#3  0xb793e0c3 in wxMilliSleep (milliseconds=1) at ./src/unix/utilsunx.cpp:201
#4  0xb79330fd in wxThread::Sleep (milliseconds=1)
    at ./src/unix/threadpsx.cpp:974
#5  0x08195194 in UploadBandwidthThrottler::Entry (this=0x8c19d48)
    at UploadBandwidthThrottler.cpp:319
#6  0xb79357f4 in wxThreadInternal::PthreadStart (thread=0x8c19d48)
    at ./src/unix/threadpsx.cpp:763
#7  0xb793595d in wxPthreadStart (ptr=0x8c19d48)
    at ./src/unix/threadpsx.cpp:715
#8  0xb7f9a34b in start_thread () from /lib/libpthread.so.0
#9  0xb76cf65e in clone () from /lib/libc.so.6

Thread 1 (Thread -1226234192 (LWP 16829)):
#0  0x08379760 in yylex () at Scanner.cpp:757
#1  0x0837a2de in yyparse () at Parser.cpp:1273
#2  0x0815d129 in CSearchList::CreateSearchData (this=0x8983178,
    params=@0xbfa5bab4, type=GlobalSearch) at SearchList.cpp:692
#3  0x0815f6f1 in CSearchList::StartNewSearch (this=0x8983178,
    searchID=0xbfa5bab0, type=GlobalSearch, params=@0xbfa5bab4)
    at SearchList.cpp:333
---Type to continue, or q to quit---
#4  0x08235890 in CSearchDlg::StartNewSearch (this=0x8b70330)
    at SearchDlg.cpp:511
#5  0x08236028 in CSearchDlg::OnBnClickedStart (this=0x8b70330)
    at SearchDlg.cpp:271
#6  0xb789b44f in wxAppConsole::HandleEvent (this=0x879a948,
    handler=0x8b70330, func=
      {__pfn = 0x8235eac , __delta = 0}, event=@0xbfa5bcf8) at ./src/common/appbase.cpp:324
#7  0xb79376e0 in wxEvtHandler::ProcessEventIfMatches (entry=@0x876c460,
    handler=0x8b70330, event=@0xbfa5bcf8) at ./src/common/event.cpp:1193
#8  0xb793919c in wxEventHashTable::HandleEvent (this=0x876c440,
    event=@0xbfa5bcf8, self=0x8b70330) at ./src/common/event.cpp:875
#9  0xb793930c in wxEvtHandler::ProcessEvent (this=0x8b70330,
    event=@0xbfa5bcf8) at ./src/common/event.cpp:1255
#10 0xb7c3c136 in wxWindowBase::TryParent (this=0x8b99860, event=@0xbfa5bcf8)
    at ./src/common/wincmn.cpp:2526
#11 0xb7939373 in wxEvtHandler::ProcessEvent (this=0x8b99860,
    event=@0xbfa5bcf8) at ./src/common/event.cpp:1268
#12 0xb7b86bf7 in gtk_button_clicked_callback (button=0x8b99860)
    at ./src/gtk/button.cpp:61
#13 0xb720e599 in g_cclosure_marshal_VOID__VOID ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#14 0xb72018bd in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
---Type to continue, or q to quit---
#15 0xb7212531 in g_signal_connect_closure_by_id ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#16 0xb7213ac7 in g_signal_emit_valist ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#17 0xb7213c95 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0
#18 0xb737f5e3 in gtk_button_clicked () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#19 0xb7380ebe in gtk_button_set_alignment ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
#20 0xb720e599 in g_cclosure_marshal_VOID__VOID ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#21 0xb72000c7 in g_value_set_static_boxed ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#22 0xb72018bd in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
#23 0xb72126da in g_signal_connect_closure_by_id ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#24 0xb7213ac7 in g_signal_emit_valist ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#25 0xb7213c95 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0
#26 0xb737f673 in gtk_button_released ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
#27 0xb737f6d1 in gtk_button_released ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
#28 0xb744f8fe in gtk_marshal_BOOLEAN__VOID ()
---Type to continue, or q to quit---
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
#29 0xb72000c7 in g_value_set_static_boxed ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#30 0xb72018bd in g_closure_invoke () from /opt/gnome/lib/libgobject-2.0.so.0
#31 0xb7212893 in g_signal_connect_closure_by_id ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#32 0xb721388f in g_signal_emit_valist ()
   from /opt/gnome/lib/libgobject-2.0.so.0
#33 0xb7213c95 in g_signal_emit () from /opt/gnome/lib/libgobject-2.0.so.0
#34 0xb753a5e8 in gtk_widget_get_default_style ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
#35 0xb7449313 in gtk_propagate_event ()
   from /opt/gnome/lib/libgtk-x11-2.0.so.0
#36 0xb744a567 in gtk_main_do_event () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#37 0xb72db58a in gdk_add_client_message_filter ()
   from /opt/gnome/lib/libgdk-x11-2.0.so.0
#38 0xb6f7cabd in g_main_context_dispatch ()
   from /opt/gnome/lib/libglib-2.0.so.0
#39 0xb6f7fcbf in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
#40 0xb6f80069 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
#41 0xb744a9e4 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#42 0xb7b2e259 in wxEventLoop::Run (this=0x8ce75b0) at ./src/gtk/evtloop.cpp:80
#43 0xb7bc13aa in wxAppBase::MainLoop (this=0x879a948)
---Type to continue, or q to quit---
    at ./src/common/appcmn.cpp:272
#44 0xb7bc0e19 in wxAppBase::OnRun (this=0x879a948)
    at ./src/common/appcmn.cpp:340
#45 0xb78d894c in wxEntry (argc=@0xbfa5ce60, argv=0x8789400)
    at ./src/common/init.cpp:439
#46 0xb78d8a16 in wxEntry (argc=@0xbfa5ce60, argv=0xbfa5cee4)
    at ./src/common/init.cpp:451
#47 0x08202952 in main (argc=148579128, argv=0x8c635a0) at amule-gui.cpp:110
Title: Re: crashes while searching for resource
Post by: korner on June 15, 2006, 07:30:28 PM
Quote
Originally posted by phoenix
Ok, then keep it, but it is one more reason for us NOT to help you.

ok man, fu, i don't have to use your shitty software.
Title: Re: crashes while searching for resource
Post by: phoenix on June 15, 2006, 09:11:39 PM
Gerd78,

Any kind of search? Kad, local, global? Does not segfault here.
Title: Re: crashes while searching for resource
Post by: stefanero on June 15, 2006, 09:47:06 PM
Quote
Originally posted by korner
Quote
Originally posted by phoenix
Ok, then keep it, but it is one more reason for us NOT to help you.

ok man, fu, i don't have to use your shitty software.

lol, go use windoze

btw the search does not crash here aswell...
Title: Re: crashes while searching for resource
Post by: korner on June 15, 2006, 10:49:58 PM
go, suck my dick.
Title: Re: crashes while searching for resource
Post by: Kry on June 15, 2006, 11:24:09 PM
Haha. sucker. I would reply to you but there's no point because you're happily banned.
Title: Re: crashes while searching for resource
Post by: phoenix on June 15, 2006, 11:58:05 PM
I was already ignoring him. That moron has ignore mode set a long time ago. Since I got blind to be exact. :D

If Gerd78 wants to continue helping, it's ok to me. After all, a bug is a bug, it doesn't matter if the original reporter is an asshole.
Title: Re: crashes while searching for resource
Post by: Kry on June 16, 2006, 02:17:58 AM
Yeah, except the original poster can't reply anymore :P
Title: Re: crashes while searching for resource
Post by: Gerd78 on June 16, 2006, 04:39:55 AM
Quote
Originally posted by phoenix
Any kind of search? Kad, local, global?
You mean the exact circumstances of the crash?

I did a local search for "twierdza" and afterwards a global search for the same term, then it crashed.
Quote
Originally posted by phoenix
Does not segfault here.
It doesn't segfault here either if I do a global search without doing a local search for the same term before.



EDIT: Strange. I did the following tests:

Local search for "bla": OK.

Restart

Global search for "bla": OK.

Restart

Local and then Global search for "bla": Crash

Restart

Global and then local search for "bla": Crash

Restart

Local search for "bla" and then "blubb": Crash

Restart

Global search for "bla" and then "blubb": Crash



At that point I stopped testing, because it looks like every second search crashes.

The backtrace is always the same. And actually I think that it has nothing to do with korner's problem.
Title: Re: crashes while searching for resource
Post by: Kry on June 16, 2006, 05:12:50 AM
Good old "second search crashes"
Title: Re: crashes while searching for resource
Post by: Gerd78 on June 16, 2006, 05:44:52 PM
Duplicate report at http://forum.amule.org/thread.php?threadid=10339
Title: aMule 2.1.3 suse 10.1 64 bit
Post by: stephen71 on June 16, 2006, 05:55:06 PM
I have the same problem. After second search aMule crashes. ;( ;( ;(

Mah.............

aMule 2.1.3 CVS on
Suse 10.1 64 bit
Title: Re: crashes while searching for resource
Post by: phoenix on June 17, 2006, 02:02:32 AM
Gerd78,

I have a theory. Your line numbers do not match mine. So, I believe that your Scanner.cpp has been regenerated in the build process. Maybe it is a problem with Suse's lex.

Please, try to do the following:

1) Untar aMule and save a copy of Scanner.cpp and Scanner.h as they are inside the tar ball.
2) Build aMule.
3) Restore the saved copies and build again, but now just "make" and make sure lex does not regenerate them. You'll probably have to delete the object file too.
4) Test the search.

Kry, if that is the reason, we must find a solution for that lex problem.

Line 757 in your Scanner.cpp is line 772 in mine.
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226234192 (LWP 16829)]
0x08379760 in yylex () at Scanner.cpp:757
757                     *yy_cp = (yy_hold_char);
(gdb) bt
#0  0x08379760 in yylex () at Scanner.cpp:757
#1  0x0837a2de in yyparse () at Parser.cpp:1273
Title: Re: crashes while searching for resource
Post by: stefanero on June 17, 2006, 09:48:49 AM
hmm works fine on gentoo, all scenarios posted by gerd78 worked here..

$ flex --version
flex 2.5.33
Title: Re: crashes while searching for resource
Post by: Gerd78 on June 17, 2006, 09:54:30 AM
Quote
Originally posted by phoenix
I have a theory. Your line numbers do not match mine. So, I believe that your Scanner.cpp has been regenerated in the build process. Maybe it is a problem with Suse's lex.
See my post above (the one from 2006-06-15 17:39 - maybe it was lost between the long backtraces): Yes, the line numbers do not match because Scanner.cpp and Scanner.h were rebuilt, but I did not request that - it happened because the time stamps in the CVS tarball seem to be screwed up.
Code: [Select]
ls -l Scanner.*
-rw-r--r-- 1 user users 53361 2006-03-21 05:52 Scanner.cpp
-rw-r--r-- 1 user users  6439 2006-03-20 11:57 Scanner.h
-rw-r--r-- 1 user users    90 2006-06-13 19:59 Scanner.h.in
-rw-r--r-- 1 user users  4484 2006-03-21 05:52 Scanner.l
This basically means:

Scanner.h.in > Scanner.cpp = Scanner.l > Scanner.h

But IMHO it should be:

Scanner.cpp = Scanner.h > Scanner.h.in > Scanner.l

I just tried the following things:

1) In the CVS tarball, forced Scanner.cpp and Scanner.h to not be rebuilt by "touching" them.

Result: No crash.

2) Exactly the opposite for 2.1.3: Forced Scanner.cpp and Scanner.h to be rebuilt by deleting them.

Result: No crash either.

This makes me wonder if something changed there. In any case, something is wrong with the timestamps because the files are not intended to be rebuilt by users, but it happens anyway.
Title: Re: crashes while searching for resource
Post by: Kry on June 17, 2006, 01:28:51 PM
Yeah. Stupid svn::prop
Title: Re: crashes while searching for resource
Post by: Gerd78 on June 18, 2006, 11:53:38 AM
Just for information, the results of more tests:

1) flex-2.5.4a compiled from Vanilla sources:

Fails to compile Scanner.cpp, yylex_destroy undeclared.

2) flex-2.5.31 compiled from Vanilla sources:

Crashes on second search as discussed here.

3) flex-2.5.33 compiled from Vanilla sources:

No crash.
Title: Re: crashes while searching for resource
Post by: stefanero on June 18, 2006, 12:45:21 PM
^^ good old gentoo being up2date
Title: Re: crashes while searching for resource
Post by: kreegee on June 18, 2006, 03:37:26 PM
btw, compiling with flex-2.5.4a-296 works fine here, but i needed to touch them (the scanner files) so they don't rebuild.

didn't tested the search though, as i only use amuled.

btw, if you use rpm, you might as well just add a "touch src/Scanner.*" after "%setup -q -n amule-cvs" in the spec-file, so you don't have to unpack/touch/pack again for each test...
Title: Re: crashes while searching for resource
Post by: Gerd78 on June 18, 2006, 03:44:41 PM
If you touch them, they will not be rebuilt and you don't need any flex at all, neither 2.5.4a nor 2.5.31 or anything else. That's because the one in the tarball was generated with flex-2.5.33.

The above doesn't mean "flex-2.5.4a doesn't compile", but "the Scanner.cpp generated by flex-2.5.4a doesn't compile". Your local flex is not even used if you correct the timestamps by touching the included Scanner.cpp.

Btw. 2.5.31 is also the version used by Debian Sarge, I've just extracted the flex binary from the Sarge package, used that to regenerate Scanner.cpp and it shows exactly the same crash.
Title: Re: crashes while searching for resource
Post by: stefanero on June 18, 2006, 08:06:48 PM
kry uses unstable/experimental, he probably has 2.5.33...
Title: Re: crashes while searching for resource
Post by: thedude0001 on June 20, 2006, 01:03:02 AM
...could somebody please just correct the timestamps and commit this to svn? Thanks...
Title: Re: crashes while searching for resource
Post by: Gerd78 on June 20, 2006, 11:45:47 AM
Seems to be already done in the 2006-06-20 tarball, thanks for that.