aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Problem with CVS 20051120  (Read 3498 times)

ZwiebelZ

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 46
Problem with CVS 20051120
« on: November 20, 2005, 12:09:50 PM »

Hi,

I got a problem on my SuSE 9.1 system with the aMule-CVS from today (build with the original amule-cvs-spec file). After the start i recive the following:
Quote
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule CVS using wxGTK1 v2.6.0 (Snapshot: Sun Nov 20 07:01:57 CET 2005)
Running on: Linux 2.6.5-7.201-default i686

[2] CamuleApp::OnFatalException() in amule.cpp:1141
[3] wxFatalSignalHandler in /usr/lib/libwx_base-2.6.so.0[0x4074eff6]
[4] ?? in [0xffffe420]
[5] wxString::PrintfV(char const*, char*) in /usr/lib/libwx_base-2.6.so.0[0x4070a8ff]
[6] wxString::Format(char const*, ...) in /usr/lib/libwx_base-2.6.so.0[0x4070a7b0]
[7] CastSecondsToHM(unsigned long long) in OtherFunctions.cpp:179
[8] COScopeCtrl::RecreateGrid() in OScopeCtrl.cpp:276
[9] COScopeCtrl::OnTimer(wxTimerEvent&) in OScopeCtrl.cpp:572
[10] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_base-2.6.so.0[0x4069e7a0]
[11] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_base-2.6.so.0[0x407494ef]
[12] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_base-2.6.so.0[0x4074883d]
[13] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_base-2.6.so.0[0x40749684]
[14] wxTimerBase::Notify() in /usr/lib/libwx_gtk_core-2.6.so.0[0x4050911f]
[15] ?? in /usr/lib/libwx_gtk_core-2.6.so.0 [0x403f66a8]
[16] ?? in /opt/gnome/lib/libglib-1.2.so.0 [0x40c258e3]
[17] ?? in /opt/gnome/lib/libglib-1.2.so.0 [0x40c25fbb]
[18] ?? in /opt/gnome/lib/libglib-1.2.so.0 [0x40c268b7]
[19] g_main_run in /opt/gnome/lib/libglib-1.2.so.0[0x40c2698f]
[20] gtk_main in /opt/gnome/lib/libgtk-1.2.so.0[0x40b28c4f]
[21] wxEventLoop::Run() in /usr/lib/libwx_gtk_core-2.6.so.0[0x403eb5b8]
[22] wxAppBase::MainLoop() in /usr/lib/libwx_gtk_core-2.6.so.0[0x4047b8f9]
[23] wxAppBase::OnRun() in /usr/lib/libwx_gtk_core-2.6.so.0[0x4047ba73]
[24] wxEntry(int&, char**) in /usr/lib/libwx_base-2.6.so.0[0x406e3479]
[25] main in amule-gui.cpp:150
[26] __libc_start_main in /lib/tls/libc.so.6[0x40885500]
[27] wxAppBase::Dispatch() in start.S:105

The backtrace gives the following info:
Quote
(gdb) run
Starting program: /usr/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread 1087426240 (LWP 27257)]
Detaching after fork from child process 27260.
Detaching after fork from child process 27261.
Initialising aMule
Checking if there is an instance already running...
Detaching after fork from child process 27262.
[New Thread 1091832752 (LWP 27263)]
Loading temp files from /home/zwiebelz/.aMule/Temp.

All PartFiles Loaded.
ListenSocket: Ok.

*** TCP socket (ECServer) listening on 0.0.0.0:4712
*** 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/zwiebelz/.aMule/Incoming/ shared
[New Thread 1109449648 (LWP 27264)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1087426240 (LWP 27257)]
0x407212db in wxVsnprintf_ () from /usr/lib/libwx_base-2.6.so.0
(gdb) bt
#0  0x407212db in wxVsnprintf_ () from /usr/lib/libwx_base-2.6.so.0
#1  0x4070a8ff in wxString::PrintfV () from /usr/lib/libwx_base-2.6.so.0
#2  0x4070a7b0 in wxString::Format () from /usr/lib/libwx_base-2.6.so.0
#3  0x08200dd3 in CastSecondsToHM (count=31440) at OtherFunctions.cpp:179
#4  0x0816c328 in COScopeCtrl::RecreateGrid (this=0x8b9b540) at OScopeCtrl.cpp:276
#5  0x0816d7d0 in COScopeCtrl::OnTimer (this=0x8b9b540) at OScopeCtrl.cpp:572
#6  0x4069e7a0 in wxAppConsole::HandleEvent () from /usr/lib/libwx_base-2.6.so.0
#7  0x407494ef in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_base-2.6.so.0
#8  0x4074883d in wxEventHashTable::HandleEvent () from /usr/lib/libwx_base-2.6.so.0
#9  0x40749684 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_base-2.6.so.0
#10 0x4050911f in wxTimerBase::Notify () from /usr/lib/libwx_gtk_core-2.6.so.0
#11 0x403f66a8 in timeout_callback () from /usr/lib/libwx_gtk_core-2.6.so.0
#12 0x40c258e3 in g_timeout_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
#13 0x40c25fbb in g_main_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
#14 0x40c268b7 in g_main_iterate () from /opt/gnome/lib/libglib-1.2.so.0
#15 0x40c2698f in g_main_run () from /opt/gnome/lib/libglib-1.2.so.0
#16 0x40b28c4f in gtk_main () from /opt/gnome/lib/libgtk-1.2.so.0
#17 0x403eb5b8 in wxEventLoop::Run () from /usr/lib/libwx_gtk_core-2.6.so.0
#18 0x4047b8f9 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk_core-2.6.so.0
#19 0x4047ba73 in wxAppBase::OnRun () from /usr/lib/libwx_gtk_core-2.6.so.0
#20 0x406e3479 in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#21 0x08153eed in main (argc=1, argv=0xbffff214) at amule-gui.cpp:150
(gdb) bt full
#0  0x407212db in wxVsnprintf_ () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#1  0x4070a8ff in wxString::PrintfV () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#2  0x4070a7b0 in wxString::Format () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#3  0x08200dd3 in CastSecondsToHM (count=31440) at OtherFunctions.cpp:179
No locals.
#4  0x0816c328 in COScopeCtrl::RecreateGrid (this=0x8b9b540) at OScopeCtrl.cpp:276
        j = 6
        GridPos = 28
        nCharacters = 6
        solidPen =
        strTemp = { = {static npos = 4294967295, m_pchData = 0x9f47bf4 "0,0"}, }
        col =
        grPen =
        axisFont = (struct wxFont *) 0x86adde0
        sizX = 15
        sizY = 12
        rect =
#5  0x0816d7d0 in COScopeCtrl::OnTimer (this=0x8b9b540) at OScopeCtrl.cpp:572
No locals.
#6  0x4069e7a0 in wxAppConsole::HandleEvent () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#7  0x407494ef in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#8  0x4074883d in wxEventHashTable::HandleEvent () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#9  0x40749684 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#10 0x4050911f in wxTimerBase::Notify () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#11 0x403f66a8 in timeout_callback () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#12 0x40c258e3 in g_timeout_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
No symbol table info available.
#13 0x40c25fbb in g_main_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
---Type to continue, or q to quit---
No symbol table info available.
#14 0x40c268b7 in g_main_iterate () from /opt/gnome/lib/libglib-1.2.so.0
No symbol table info available.
#15 0x40c2698f in g_main_run () from /opt/gnome/lib/libglib-1.2.so.0
No symbol table info available.
#16 0x40b28c4f in gtk_main () from /opt/gnome/lib/libgtk-1.2.so.0
No symbol table info available.
#17 0x403eb5b8 in wxEventLoop::Run () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#18 0x4047b8f9 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#19 0x4047ba73 in wxAppBase::OnRun () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#20 0x406e3479 in wxEntry () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#21 0x08153eed in main (argc=1, argv=0xbffff214) at amule-gui.cpp:150
No locals.
(gdb) thread apply all bt
Couldn't get registers: Kein passender Prozess gefunden.
#0  0x407212db in wxVsnprintf_ () from /usr/lib/libwx_base-2.6.so.0
(gdb)

Before installing the version of today, the cvs from 12.11 was running very well on my system.

THX for your help :).

EDITED: Disabled smilies. ;)
« Last Edit: November 20, 2005, 12:54:20 PM by ZwiebelZ »
Logged
Long live rock 'n' roll and the aMule-Dev-Team :)

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: Problem with CVS 20051120
« Reply #1 on: November 20, 2005, 02:23:28 PM »

Hum, just a wild guess, but is it possible for you to test with a newer wx-library? I think this has already been fixed.
Logged

ZwiebelZ

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 46
Re: Problem with CVS 20051120
« Reply #2 on: November 21, 2005, 07:03:01 PM »

Quote
Originally posted by phoenix
...is it possible for you to test with a newer wx-library?
Yes it is. But the 12.11. cvs is running and the 13.11. cvs crashes (every cvs from 13.11. to 21.11. crashes). Maybe this backtrace with the 13.11. cvs shows more:

Quote
(gdb) run
Starting program: /usr/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread 1087426432 (LWP 12540)]
Detaching after fork from child process 12543.
Detaching after fork from child process 12544.
Initialising aMule
Checking if there is an instance already running...
Detaching after fork from child process 12545.
[New Thread 1091832752 (LWP 12546)]
Loading temp files from /home/zwiebelz/.aMule/Temp.

All PartFiles Loaded.
ListenSocket: Ok.

*** TCP socket (ECServer) listening on 0.0.0.0:4712
*** 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/zwiebelz/.aMule/Incoming/ shared
[New Thread 1109449648 (LWP 12547)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1087426432 (LWP 12540)]
0x406732db in wxVsnprintf_ () from //usr/lib/libwx_base-2.6.so.0
(gdb) bt
#0  0x406732db in wxVsnprintf_ () from //usr/lib/libwx_base-2.6.so.0
#1  0x4065c8ff in wxString::PrintfV () from //usr/lib/libwx_base-2.6.so.0
#2  0x4065c7b0 in wxString::Format () from //usr/lib/libwx_base-2.6.so.0
#3  0x08204c63 in CastSecondsToHM (count=31440) at OtherFunctions.cpp:179
#4  0x0817053c in COScopeCtrl::RecreateGrid (this=0x8ba0090) at OScopeCtrl.cpp:276
#5  0x081719e4 in COScopeCtrl::OnTimer (this=0x8ba0090) at OScopeCtrl.cpp:572
#6  0x405f07a0 in wxAppConsole::HandleEvent () from //usr/lib/libwx_base-2.6.so.0
#7  0x4069b4ef in wxEvtHandler::ProcessEventIfMatches () from //usr/lib/libwx_base-2.6.so.0
#8  0x4069a83d in wxEventHashTable::HandleEvent () from //usr/lib/libwx_base-2.6.so.0
#9  0x4069b684 in wxEvtHandler::ProcessEvent () from //usr/lib/libwx_base-2.6.so.0
#10 0x4045c11f in wxTimerBase::Notify () from //usr/lib/libwx_gtk_core-2.6.so.0
#11 0x403496a8 in timeout_callback () from //usr/lib/libwx_gtk_core-2.6.so.0
#12 0x40c258e3 in g_timeout_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
#13 0x40c25fbb in g_main_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
#14 0x40c268b7 in g_main_iterate () from /opt/gnome/lib/libglib-1.2.so.0
#15 0x40c2698f in g_main_run () from /opt/gnome/lib/libglib-1.2.so.0
#16 0x40b28c4f in gtk_main () from /opt/gnome/lib/libgtk-1.2.so.0
#17 0x4033e5b8 in wxEventLoop::Run () from //usr/lib/libwx_gtk_core-2.6.so.0
#18 0x403ce8f9 in wxAppBase::MainLoop () from //usr/lib/libwx_gtk_core-2.6.so.0
#19 0x403cea73 in wxAppBase::OnRun () from //usr/lib/libwx_gtk_core-2.6.so.0
#20 0x40635479 in wxEntry () from //usr/lib/libwx_base-2.6.so.0
#21 0x081581e1 in main (argc=1, argv=0xbffff234) at amule-gui.cpp:150
(gdb) bt full
#0  0x406732db in wxVsnprintf_ () from //usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#1  0x4065c8ff in wxString::PrintfV () from //usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#2  0x4065c7b0 in wxString::Format () from //usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#3  0x08204c63 in CastSecondsToHM (count=31440) at OtherFunctions.cpp:179
No locals.
#4  0x0817053c in COScopeCtrl::RecreateGrid (this=0x8ba0090) at OScopeCtrl.cpp:276
        j = 6
        GridPos = 28
        nCharacters = 6
        solidPen =
        strTemp = { = {static npos = 4294967295, m_pchData = 0x8b3440c "0,0"}, }
        col =
        grPen =
        axisFont = (struct wxFont *) 0x8b4b0e8
        sizX = 15
        sizY = 12
        rect =
#5  0x081719e4 in COScopeCtrl::OnTimer (this=0x8ba0090) at OScopeCtrl.cpp:572
No locals.
#6  0x405f07a0 in wxAppConsole::HandleEvent () from //usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#7  0x4069b4ef in wxEvtHandler::ProcessEventIfMatches () from //usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#8  0x4069a83d in wxEventHashTable::HandleEvent () from //usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#9  0x4069b684 in wxEvtHandler::ProcessEvent () from //usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#10 0x4045c11f in wxTimerBase::Notify () from //usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#11 0x403496a8 in timeout_callback () from //usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#12 0x40c258e3 in g_timeout_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
No symbol table info available.
#13 0x40c25fbb in g_main_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
---Type to continue, or q to quit---
No symbol table info available.
#14 0x40c268b7 in g_main_iterate () from /opt/gnome/lib/libglib-1.2.so.0
No symbol table info available.
#15 0x40c2698f in g_main_run () from /opt/gnome/lib/libglib-1.2.so.0
No symbol table info available.
#16 0x40b28c4f in gtk_main () from /opt/gnome/lib/libgtk-1.2.so.0
No symbol table info available.
#17 0x4033e5b8 in wxEventLoop::Run () from //usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#18 0x403ce8f9 in wxAppBase::MainLoop () from //usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#19 0x403cea73 in wxAppBase::OnRun () from //usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#20 0x40635479 in wxEntry () from //usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#21 0x081581e1 in main (argc=1, argv=0xbffff234) at amule-gui.cpp:150
No locals.
(gdb) thread apply all bt

Thread 2 (Thread 1091832752 (LWP 12546)):
#0  0xffffe410 in ?? ()
#1  0x41140818 in ?? ()
#2  0x406d6a68 in __JCR_LIST__ () from //usr/lib/libwx_base-2.6.so.0
#3  0x00000000 in ?? ()
#4  0x400356b6 in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#5  0x4069f2e6 in wxMicroSleep () from //usr/lib/libwx_base-2.6.so.0
#6  0x4069f318 in wxMilliSleep () from //usr/lib/libwx_base-2.6.so.0
#7  0x40697a5c in wxThread::Sleep () from //usr/lib/libwx_base-2.6.so.0
#8  0x0812667a in UploadBandwidthThrottler::Entry (this=0x8bd4338) at UploadBandwidthThrottler.cpp:353
#9  0x4069748f in wxThreadInternal::PthreadStart () from //usr/lib/libwx_base-2.6.so.0
#10 0x4069734c in wxPthreadStart () from //usr/lib/libwx_base-2.6.so.0
#11 0x400309dd in start_thread () from /lib/tls/libpthread.so.0
#12 0x40927ffa in clone () from /lib/tls/libc.so.6

Thread 1 (Thread 1087426432 (LWP 12540)):
#0  0x406732db in wxVsnprintf_ () from //usr/lib/libwx_base-2.6.so.0
#1  0x4065c8ff in wxString::PrintfV () from //usr/lib/libwx_base-2.6.so.0
#2  0x4065c7b0 in wxString::Format () from //usr/lib/libwx_base-2.6.so.0
#3  0x08204c63 in CastSecondsToHM (count=31440) at OtherFunctions.cpp:179
#4  0x0817053c in COScopeCtrl::RecreateGrid (this=0x8ba0090) at OScopeCtrl.cpp:276
#5  0x081719e4 in COScopeCtrl::OnTimer (this=0x8ba0090) at OScopeCtrl.cpp:572
#6  0x405f07a0 in wxAppConsole::HandleEvent () from //usr/lib/libwx_base-2.6.so.0
#7  0x4069b4ef in wxEvtHandler::ProcessEventIfMatches () from //usr/lib/libwx_base-2.6.so.0
#8  0x4069a83d in wxEventHashTable::HandleEvent () from //usr/lib/libwx_base-2.6.so.0
#9  0x4069b684 in wxEvtHandler::ProcessEvent () from //usr/lib/libwx_base-2.6.so.0
#10 0x4045c11f in wxTimerBase::Notify () from //usr/lib/libwx_gtk_core-2.6.so.0
#11 0x403496a8 in timeout_callback () from //usr/lib/libwx_gtk_core-2.6.so.0
#12 0x40c258e3 in g_timeout_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
#13 0x40c25fbb in g_main_dispatch () from /opt/gnome/lib/libglib-1.2.so.0
#14 0x40c268b7 in g_main_iterate () from /opt/gnome/lib/libglib-1.2.so.0
#15 0x40c2698f in g_main_run () from /opt/gnome/lib/libglib-1.2.so.0
#16 0x40b28c4f in gtk_main () from /opt/gnome/lib/libgtk-1.2.so.0
#17 0x4033e5b8 in wxEventLoop::Run () from //usr/lib/libwx_gtk_core-2.6.so.0
#18 0x403ce8f9 in wxAppBase::MainLoop () from //usr/lib/libwx_gtk_core-2.6.so.0
#19 0x403cea73 in wxAppBase::OnRun () from //usr/lib/libwx_gtk_core-2.6.so.0
---Type to continue, or q to quit---
#20 0x40635479 in wxEntry () from //usr/lib/libwx_base-2.6.so.0
#21 0x081581e1 in main (argc=1, argv=0xbffff234) at amule-gui.cpp:150
(gdb)

Greetz and THX in advance :)
Logged
Long live rock 'n' roll and the aMule-Dev-Team :)

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Problem with CVS 20051120
« Reply #3 on: November 21, 2005, 07:12:42 PM »

phoenix was talking about wxLIBS not amule ;)

could you try with wx-cvs for example?
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

ZwiebelZ

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 46
Re: Problem with CVS 20051120
« Reply #4 on: November 21, 2005, 07:30:01 PM »

Quote
Originally posted by stefanero
phoenix was talking about wxLIBS not amule ;)
Sure :). But when the 12.11. cvs is running and all cvs's after that date don't should it be a amule prob. Or am I thinking totally wrong...?(
Logged
Long live rock 'n' roll and the aMule-Dev-Team :)

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: Problem with CVS 20051120
« Reply #5 on: November 21, 2005, 09:04:47 PM »

ZwiebelZ,

Sorry for the non-verbosiness, let me make myself a little more clear.

Starting with November 13th CVS, the parameter of the function CastSecondsToHM (from aMule) has been changed from sint32 to uint64. The problem is with the routine wxString::Format (from wx), which was having problems with handling those uint64 parameters, but I think this issue has already been fixed.

So please, try a more recent version of wx libraries and report your results.

Cheers!
Logged