aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Crash do Amule logo no início  (Read 9603 times)

peterldj

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Crash do Amule logo no início
« on: December 17, 2007, 06:23:32 PM »

O programa fecha assim que clico no botão para baixar a lista de servidores. Como pedido no fórum, utilizei o GDB para construir o backtrace que posto logo a seguir:

denner@dennerpt:~$ sudo nautilus
[sudo] password for denner:
Initializing nautilus-open-terminal extension
Initializing gnome-mount extension
denner@dennerpt:~$ gdb /usr/bin/amule
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/amule
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 47330940329840 (LWP 6398)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 1082132816 (LWP 6407)]
Loading temp files from /home/denner/.aMule/Temp.

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
Empty dir /home/denner/.aMule/Incoming/ shared
[New Thread 1090525520 (LWP 6408)]
[New Thread 1098918224 (LWP 6409)]
[Thread 1090525520 (LWP 6408) exited]
[New Thread 1090525520 (LWP 6410)]
HTTP download thread started
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47330940329840 (LWP 6398)]
0x00002b0c10f66fba in wxGIFDecoder::GetFrameSize ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
(gdb)
(gdb) bt
#0  0x00002b0c10f66fba in wxGIFDecoder::GetFrameSize ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#1  0x00002b0c10f6701c in wxGIFDecoder::ConvertToImage ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#2  0x00000000005e4056 in ?? ()
#3  0x00002b0c1162466f in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00002b0c1162480f in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00002b0c11624959 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0x00002b0c10fabd76 in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7  0x00002b0c10ea2a14 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00002b0c138c670b in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x00002b0c138c5fd3 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#10 0x00002b0c138c92dd in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x00002b0c138c95ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#12 0x00002b0c13ec5883 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00002b0c10e9a50d in wxEventLoop::Run ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#14 0x00002b0c10f2bc8b in wxAppBase::MainLoop ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00002b0c115c380c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#16 0x00000000004e66a2 in ?? ()
#17 0x00002b0c12052b44 in __libc_start_main () from /lib/libc.so.6
#18 0x0000000000441dc9 in ?? ()
#19 0x00007fff9ae174f8 in ?? ()
#20 0x0000000000000000 in ?? ()
(gdb) bt full
#0  0x00002b0c10f66fba in wxGIFDecoder::GetFrameSize ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#1  0x00002b0c10f6701c in wxGIFDecoder::ConvertToImage ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#2  0x00000000005e4056 in ?? ()
No symbol table info available.
#3  0x00002b0c1162466f in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#4  0x00002b0c1162480f in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#5  0x00002b0c11624959 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#6  0x00002b0c10fabd76 in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#7  0x00002b0c10ea2a14 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#8  0x00002b0c138c670b in ?? () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#9  0x00002b0c138c5fd3 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#10 0x00002b0c138c92dd in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#11 0x00002b0c138c95ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#12 0x00002b0c13ec5883 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#13 0x00002b0c10e9a50d in wxEventLoop::Run ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#14 0x00002b0c10f2bc8b in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#15 0x00002b0c115c380c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#16 0x00000000004e66a2 in ?? ()
No symbol table info available.
#17 0x00002b0c12052b44 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#18 0x0000000000441dc9 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#19 0x00007fff9ae174f8 in ?? ()
No symbol table info available.
#20 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) thread apply all bt

Thread 5 (Thread 1090525520 (LWP 6410)):
#0  0x00002b0c121020a2 in select () from /lib/libc.so.6
#1  0x00002b0c1131a5e8 in GSocket::Output_Timeout ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#2  0x00002b0c1131b148 in GSocket::Connect ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#3  0x00002b0c11315be9 in wxSocketClient::DoConnect ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#4  0x00002b0c113153df in wxSocketClient::Connect ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#5  0x00002b0c1130ff1c in wxHTTP::GetInputStream ()
   from /usr/lib/libwx_baseu_net-2.8.so.0
#6  0x00000000004a28e6 in ?? ()
#7  0x00000000004a308c in ?? ()
#8  0x00002b0c11622f3a in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#9  0x00002b0c0feb4317 in start_thread () from /lib/libpthread.so.0
#10 0x00002b0c12108d5d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 1098918224 (LWP 6409)):
#0  0x00002b0c0feb8997 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
---Type <return> to continue, or q <return> to quit---
   from /lib/libpthread.so.0
#1  0x00002b0c11622039 in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00002b0c1162296e in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0x00000000005b6816 in ?? ()
#4  0x00002b0c11622f3a in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00002b0c0feb4317 in start_thread () from /lib/libpthread.so.0
#6  0x00002b0c12108d5d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 1082132816 (LWP 6407)):
#0  0x00002b0c0febb7b1 in ?? () from /lib/libpthread.so.0
#1  0x00002b0c116282fc in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00000000004c5d80 in ?? ()
#3  0x00002b0c11622f3a in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00002b0c0feb4317 in start_thread () from /lib/libpthread.so.0
#5  0x00002b0c12108d5d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 47330940329840 (LWP 6398)):
---Type <return> to continue, or q <return> to quit---
#0  0x00002b0c10f66fba in wxGIFDecoder::GetFrameSize ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#1  0x00002b0c10f6701c in wxGIFDecoder::ConvertToImage ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#2  0x00000000005e4056 in ?? ()
#3  0x00002b0c1162466f in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00002b0c1162480f in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00002b0c11624959 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0x00002b0c10fabd76 in wxTimerBase::Notify ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7  0x00002b0c10ea2a14 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00002b0c138c670b in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x00002b0c138c5fd3 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#10 0x00002b0c138c92dd in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x00002b0c138c95ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#12 0x00002b0c13ec5883 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00002b0c10e9a50d in wxEventLoop::Run ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#14 0x00002b0c10f2bc8b in wxAppBase::MainLoop ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00002b0c115c380c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#16 0x00000000004e66a2 in ?? ()
#17 0x00002b0c12052b44 in __libc_start_main () from /lib/libc.so.6
#18 0x0000000000441dc9 in ?? ()
#19 0x00007fff9ae174f8 in ?? ()
#20 0x0000000000000000 in ?? ()
(gdb)

Espero que seja útil:-)
Logged

peterldj

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Crash do Amule logo no início
« Reply #1 on: December 18, 2007, 01:13:39 AM »

Bem pessoal

Resolvi desinstalar e reinstalar o Amule no meu Ubuntu, e antes de abrí-lo liberei as portas de entrada TCP e UDP no firestarter (três no total: 4662, 4665 3 4672), e para minha surpresa o programa rodou normalmente sem nenhum problema. Há algum bug que causa o crash quando requisitamos update dos servidores com as portas fechadas no firewall. Espero ter ajudado com isto a quem teve o mesmo problema. Abraços a todos.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Crash do Amule logo no início
« Reply #2 on: December 18, 2007, 03:44:48 AM »

peterldj,

Pra usar o aMule 2.1.3 com wx-2.8.x, você tem que aplicar um patch que você encontra no forum "news". Mas se vai fazer isso, é melhor pegar um tarball do CVS, que é praticamente a nova release 2.2.0. http://www.hirnriss.net/?area=cvs

Cheers!
Logged

peterldj

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Crash do Amule logo no início
« Reply #3 on: December 18, 2007, 10:34:39 AM »

Olá phoenix

Este pacote é uma biblioteca de classes para interfaces, não é? Bem, de qualquer maneira o programa está funcionando por enquanto, e testarei mais tempo sem aplicar o patch. Se houver um novo crash, aplicarei o patch conforme sua sugestão e postarei o resultado aqui. Obrigado pela atenção e até breve.
Logged