aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Crashes while downloading ipfilter.dat.gz  (Read 4367 times)

nada

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Crashes while downloading ipfilter.dat.gz
« on: December 29, 2006, 12:36:40 PM »

I compiled amule-cvs-20061229 from hirnriss.net with "--enable-optimize --enable-webserver" so debugging is enabled.
In gdb appears a lot of "(no debugging symbols found)".
Amule always crashes while downloading a new ipfilter.dat. It is the bluetack.info/nipfilter.dat.gz. Automatically at startup or manually through preferences have the same result.

#0  0xb7c78fb2 in wxGIFDecoder::GetFrameSize () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#1  0xb7c7901c in wxGIFDecoder::ConvertToImage () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#2  0x08325882 in wxBufferedPaintDC::~wxBufferedPaintDC ()
#3  0x08324bfd in wxClientDC::~wxClientDC ()
#4  0xb79323a5 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb79da20f in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
#6  0xb79da35d in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb79da4c6 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7cc48b1 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0xb7b9eb05 in wxTimer::~wxTimer () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#10 0xb73b5dd6 in g_source_get_current_time () from /usr/lib/libglib-2.0.so.0
#11 0xb73b5802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#12 0xb73b87df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#13 0xb73b8b89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#14 0xb7169574 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb7b9537c in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0xb7c38e1e in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#17 0xb7c38411 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0xb796e51a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#19 0xb796e5c6 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#20 0x081c7bf0 in std::operator<< , std::allocator > ()
#21 0xb76a98cc in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#22 0x0806e341 in ?? ()

#0  0xb7c78fb2 in wxGIFDecoder::GetFrameSize () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#1  0xb7c7901c in wxGIFDecoder::ConvertToImage () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#2  0x08325882 in wxBufferedPaintDC::~wxBufferedPaintDC ()
No symbol table info available.
#3  0x08324bfd in wxClientDC::~wxClientDC ()
No symbol table info available.
#4  0xb79323a5 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#5  0xb79da20f in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#6  0xb79da35d in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#7  0xb79da4c6 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#8  0xb7cc48b1 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#9  0xb7b9eb05 in wxTimer::~wxTimer () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#10 0xb73b5dd6 in g_source_get_current_time () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#11 0xb73b5802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#12 0xb73b87df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#13 0xb73b8b89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#14 0xb7169574 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0xb7b9537c in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#16 0xb7c38e1e in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#17 0xb7c38411 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#18 0xb796e51a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#19 0xb796e5c6 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#20 0x081c7bf0 in std::operator<< , std::allocator > ()
No symbol table info available.
---Type to continue, or q to quit---
#21 0xb76a98cc in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#22 0x0806e341 in ?? ()
No symbol table info available.

Thread 5 (Thread -1272292448 (LWP 11376)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb775a321 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7a5c8e2 in GSocket::Input_Timeout () from /usr/lib/libwx_baseu_net-2.8.so.0
#3  0xb7a5cfa8 in GSocket::Read () from /usr/lib/libwx_baseu_net-2.8.so.0
#4  0xb7a57fc3 in wxSocketBase::_Read () from /usr/lib/libwx_baseu_net-2.8.so.0
#5  0xb7a581a7 in wxSocketBase::Read () from /usr/lib/libwx_baseu_net-2.8.so.0
#6  0xb7a56373 in wxSocketInputStream::OnSysRead () from /usr/lib/libwx_baseu_net-2.8.so.0
#7  0xb7a4deec in wxHTTPStream::OnSysRead () from /usr/lib/libwx_baseu_net-2.8.so.0
#8  0xb798e592 in wxInputStream::Read () from /usr/lib/libwx_baseu-2.8.so.0
#9  0x08125032 in std::operator<< > ()
#10 0xb79d9349 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb79d93dd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#12 0xb7f30504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb776151e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread -1259492448 (LWP 11368)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f33a8c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb79d762c in wxConditionInternal::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb79d767f in wxCondition::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb79d82ac in wxSemaphoreInternal::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb79d833f in wxSemaphore::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#6  0x0829e3c2 in wxArchiveInputStream::Peek ()
#7  0xb79d9349 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb79d93dd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb7f30504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb776151e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1242707040 (LWP 11365)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f36bf6 in __nanosleep_nocancel () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb79de2b8 in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb79de2e1 in wxMilliSleep () from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb79d6cfd in wxThread::Sleep () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x08166806 in wxWindow::GetLabel ()
#6  0xb79d9349 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb79d93dd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7f30504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb776151e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1230510416 (LWP 11356)):
#0  0xb7c78fb2 in wxGIFDecoder::GetFrameSize () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#1  0xb7c7901c in wxGIFDecoder::ConvertToImage () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#2  0x08325882 in wxBufferedPaintDC::~wxBufferedPaintDC ()
#3  0x08324bfd in wxClientDC::~wxClientDC ()
#4  0xb79323a5 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb79da20f in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
#6  0xb79da35d in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb79da4c6 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7cc48b1 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0xb7b9eb05 in wxTimer::~wxTimer () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#10 0xb73b5dd6 in g_source_get_current_time () from /usr/lib/libglib-2.0.so.0
#11 0xb73b5802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#12 0xb73b87df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#13 0xb73b8b89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#14 0xb7169574 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb7b9537c in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0xb7c38e1e in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#17 0xb7c38411 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0xb796e51a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#19 0xb796e5c6 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#20 0x081c7bf0 in std::operator<< , std::allocator > ()
#21 0xb76a98cc in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#22 0x0806e341 in ?? ()
« Last Edit: December 29, 2006, 12:51:13 PM by nada »
Logged

Coolzero1982

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 36
re
« Reply #1 on: January 01, 2007, 07:51:19 PM »

Hi i have the same Problem with the cvs from 24.12.06:Amule crashed with this backtrace:

bt:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221380400 (LWP 27541)]
0x08267772 in wxGIFDecoder::GetFrameSize ()
(gdb) bt
#0 0x08267772 in wxGIFDecoder::GetFrameSize ()
#1 0x082678d3 in wxGIFDecoder::ConvertToImage ()
#2 0x081bd86a in MuleGIFDecoder::ConvertToImage (this=0x8b3b300, image=0xbf905b30) at MuleGifCtrl.cpp:59
#3 0x081bce91 in MuleGifCtrl: nTimer (this=0x8b36e00) at MuleGifCtrl.cpp:160
#4 0x083a71ab in wxEvtHandler: rocessEventIfMatches ()
#5 0x083a7823 in wxEventHashTable::HandleEvent ()
#6 0x083a7bfb in wxEvtHandler: rocessEvent ()
#7 0x0829db8b in wxTimerBase::Notify ()
#8 0x0820e715 in timeout_callback ()
#9 0xb77f83b6 in g_source_get_current_time () from /opt/gnome/lib/libglib-2.0.so.0
#10 0xb77f7de2 in g_main_context_dispatch () from /opt/gnome/lib/libglib-2.0.so.0
#11 0xb77fae1f in g_main_context_prepare () from /opt/gnome/lib/libglib-2.0.so.0
#12 0xb77fb1c9 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
#13 0xb7bd3cd4 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#14 0x082cf430 in wxEventLoop::Run ()
#15 0x08250c1d in wxAppBase::MainLoop ()
#16 0x0835168d in wxEntry ()
#17 0x080e886e in main (argc=145991064, argv=0x8b3a5c at amule-gui.cpp:95
#18 0xb756ef9c in __libc_start_main () from /lib/libc.so.6
#19 0x0805d5b1 in _start ()


bt full:

(gdb) bt full
#0 0x08267772 in wxGIFDecoder::GetFrameSize ()
No symbol table info available.
#1 0x082678d3 in wxGIFDecoder::ConvertToImage ()
No symbol table info available.
#2 0x081bd86a in MuleGIFDecoder::ConvertToImage (this=0x8b3b300, image=0xbf905b30) at MuleGifCtrl.cpp:59
No locals.
#3 0x081bce91 in MuleGifCtrl: nTimer (this=0x8b36e00) at MuleGifCtrl.cpp:160
frame =
#4 0x083a71ab in wxEvtHandler: rocessEventIfMatches ()
No symbol table info available.
#5 0x083a7823 in wxEventHashTable::HandleEvent ()
No symbol table info available.
#6 0x083a7bfb in wxEvtHandler: rocessEvent ()
No symbol table info available.
#7 0x0829db8b in wxTimerBase::Notify ()
No symbol table info available.
#8 0x0820e715 in timeout_callback ()
No symbol table info available.
#9 0xb77f83b6 in g_source_get_current_time () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#10 0xb77f7de2 in g_main_context_dispatch () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#11 0xb77fae1f in g_main_context_prepare () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#12 0xb77fb1c9 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
No symbol table info available.
#13 0xb7bd3cd4 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x082cf430 in wxEventLoop::Run ()
No symbol table info available.
#15 0x08250c1d in wxAppBase::MainLoop ()
No symbol table info available.
#16 0x0835168d in wxEntry ()
No symbol table info available.
#17 0x080e886e in main (argc=145991064, argv=0x8b3a5c at amule-gui.cpp:95
No locals.
#18 0xb756ef9c in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#19 0x0805d5b1 in _start ()
No symbol table info available.


thread apply all bt:

(gdb) thread apply all bt

Thread 5 (Thread -1265599600 (LWP 27551)):
#0 0xb7faf410 in ?? ()
#1 0xb49072c0 in ?? ()
#2 0x00000093 in ?? ()
#3 0x00000000 in ?? ()

Thread 3 (Thread -1248814192 (LWP 27549)):
#0 0xb7faf410 in ?? ()
#1 0xb5908048 in ?? ()
#2 0xb5907fb4 in ?? ()
#3 0x00000000 in ?? ()

Thread 2 (Thread -1240421488 (LWP 2754 ):
#0 0xb7faf410 in ?? ()
#1 0xb610a258 in ?? ()
#2 0x00000000 in ?? ()

Thread 1 (Thread -1221380400 (LWP 27541)):
#0 0x08267772 in wxGIFDecoder::GetFrameSize ()
#1 0x082678d3 in wxGIFDecoder::ConvertToImage ()
#2 0x081bd86a in MuleGIFDecoder::ConvertToImage (this=0x8b3b300, image=0xbf905b30) at MuleGifCtrl.cpp:59
#3 0x081bce91 in MuleGifCtrl: nTimer (this=0x8b36e00) at MuleGifCtrl.cpp:160
#4 0x083a71ab in wxEvtHandler: rocessEventIfMatches ()
#5 0x083a7823 in wxEventHashTable::HandleEvent ()
#6 0x083a7bfb in wxEvtHandler: rocessEvent ()
#7 0x0829db8b in wxTimerBase::Notify ()
#8 0x0820e715 in timeout_callback ()
#9 0xb77f83b6 in g_source_get_current_time () from /opt/gnome/lib/libglib-2.0.so.0
#10 0xb77f7de2 in g_main_context_dispatch () from /opt/gnome/lib/libglib-2.0.so.0
#11 0xb77fae1f in g_main_context_prepare () from /opt/gnome/lib/libglib-2.0.so.0
#12 0xb77fb1c9 in g_main_loop_run () from /opt/gnome/lib/libglib-2.0.so.0
#13 0xb7bd3cd4 in gtk_main () from /opt/gnome/lib/libgtk-x11-2.0.so.0
#14 0x082cf430 in wxEventLoop::Run ()
#15 0x08250c1d in wxAppBase::MainLoop ()
#16 0x0835168d in wxEntry ()
#17 0x080e886e in main (argc=145991064, argv=0x8b3a5c at amule-gui.cpp:95
#18 0xb756ef9c in __libc_start_main () from /lib/libc.so.6
#19 0x0805d5b1 in _start ()








I use the ipFilter from:http://emulepawcio.sourceforge.net/nieuwe_site/Ipfilter_fakes/ipfilter.dat

And have OpenSuse10.2
Logged

Fenix-TX

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 33
Re: Crashes while downloading ipfilter.dat.gz
« Reply #2 on: January 01, 2007, 10:52:43 PM »

Hi! I think that's my problem is the same that this, because i've desactivated auto-download ipfilter on start, and now it's working
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: Crashes while downloading ipfilter.dat.gz
« Reply #3 on: January 02, 2007, 12:13:25 AM »

Got it already, looks like a wxGtk problem because it doesn't refer to any aMule stuff. It happens randomly (I could reload ipfilter just now).
« Last Edit: January 02, 2007, 12:15:24 AM by OldFrog »
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

Coolzero1982

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 36
re
« Reply #4 on: January 02, 2007, 08:51:05 PM »

Quote
Originally posted by Fenix-TX
Hi! I think that's my problem is the same that this, because i've desactivated auto-download ipfilter on start, and now it's working

Hi how can i desactivated  auto ip filter, a few seconds after the start amule crashs
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Crashes while downloading ipfilter.dat.gz
« Reply #5 on: January 02, 2007, 09:36:16 PM »

Open the aMule config file (~/.aMule/amule.conf) and set IPFilterAutoLoad=1 to zero.
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: Crashes while downloading ipfilter.dat.gz
« Reply #6 on: January 05, 2007, 04:55:25 AM »

Folks,

Please try again with tomorrow cvs tarball, I have committed code that should fix this issue.
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: Crashes while downloading ipfilter.dat.gz
« Reply #7 on: January 05, 2007, 09:41:42 AM »

Quote
Originally posted by phoenix
Folks,

Please try again with tomorrow cvs tarball, I have committed code that should fix this issue.


As said above, it happens randomly. I gave a try twice today (one with freshly booted rig, one after 2h run of amule) and it worked. Looks like you got it. Thanks a lot for the great work ! I'll give it a try from time to time to be sure, as I'm pretty paranoid with up-to-date ipfilter files.
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

nada

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Crashes while downloading ipfilter.dat.gz
« Reply #8 on: January 05, 2007, 12:13:32 PM »

Yes! Great! Thanks! Works fine now!
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: Crashes while downloading ipfilter.dat.gz
« Reply #9 on: January 05, 2007, 01:43:28 PM »

Quote
Originally posted by OldFrog
As said above, it happens randomly. I gave a try twice today (one with freshly booted rig, one after 2h run of amule) and it worked. Looks like you got it. Thanks a lot for the great work ! I'll give it a try from time to time to be sure, as I'm pretty paranoid with up-to-date ipfilter files.

OldFrog,

I think I was extremely lucky :D I got it at first try. In fact, second try, because the first time I tried with wx-2.6.3, which does not have this problem. If I am not mistaken, the random factor depends upon the exact position of the rabbit when you finished downloading IPFilter.dat :P

I really hope I got this right.
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: Crashes while downloading ipfilter.dat.gz
« Reply #10 on: January 05, 2007, 02:11:15 PM »

I thinks tt depenbds oin the position of the rabbit, accotding to the code in the bt, and for me it happened always around 1.8/1.9 MB, just when the rabbit slows down and prepares to turn back ?( ?( .

I gave some tries again, it looks like fixed now, so one [word]/smiley only now :  :baby:
« Last Edit: January 05, 2007, 02:12:18 PM by OldFrog »
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)