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 on browsing download sources  (Read 2333 times)

bootstrap

  • Guest
crash on browsing download sources
« on: May 30, 2004, 10:40:13 PM »

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1081478560 (LWP 12488)]
0x081460dc in CAbstractFile::GetFileSize (this=0x0) at KnownFile.h:106
106     in KnownFile.h
(gdb) bt
#0  0x081460dc in CAbstractFile::GetFileSize (this=0x0) at KnownFile.h:106
#1  0x08178773 in CUpDownClient::DrawStatusBar (this=0x8c14f68, dc=0xbfffec30,
    rect=, onlygreyrect=true, bFlat=false) at DownloadClient.cpp:75
#2  0x08184536 in CDownloadListCtrl::DrawSourceItem (this=0x88827a8, dc=0xbffff040, nColumn=5,
    lpRect=0xbfffeec0, lpCtrlItem=0x8b27af8) at DownloadListCtrl.cpp:1230
#3  0x081812f2 in CDownloadListCtrl::OnDrawItem (this=0x88827a8, item=39, dc=0xbffff040,
    rect=@0xbffff010, rectHL=@0xbfffef70, highlighted=false) at DownloadListCtrl.cpp:502
#4  0x081c82b6 in wxODListMainWindow::OnPaint (this=0x8884538) at listctrl.cpp:2999
#5  0x45fd2fa2 in wxEvtHandler::SearchEventTable () from /usr/lib/libwx_gtk-2.4.so.0
#6  0x45fd2dcf in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_gtk-2.4.so.0
#7  0x45f87645 in wxWindow::GtkSendPaintEvents () from /usr/lib/libwx_gtk-2.4.so.0
#8  0x45f873e9 in wxWindow::GtkUpdate () from /usr/lib/libwx_gtk-2.4.so.0
#9  0x45f86072 in wxWindow::OnInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
#10 0x45f37a24 in wxApp::CallInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
#11 0x45f37a3c in wxApp::CallInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
#12 0x45f37a3c in wxApp::CallInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
#13 0x45f37a3c in wxApp::CallInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
#14 0x45f37a3c in wxApp::CallInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
#15 0x45f37a3c in wxApp::CallInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
#16 0x45f37a3c in wxApp::CallInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
#17 0x45f378c0 in wxApp::ProcessIdle () from /usr/lib/libwx_gtk-2.4.so.0
#18 0x45f3724f in wxapp_idle_callback () from /usr/lib/libwx_gtk-2.4.so.0
#19 0x401bdb1f in g_timeout_add () from /usr/lib/libglib-1.2.so.0
#20 0x401bc95b in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#21 0x401bce47 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#22 0x401bd0f5 in g_main_run () from /usr/lib/libglib-1.2.so.0
#23 0x400ce53f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#24 0x45f37b32 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
#25 0x45f89750 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
#26 0x45f3820d in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
#27 0x08284ba0 in main (argc=1, argv=0xbffff8d4) at amule.cpp:152
(gdb) bt full
#0  0x081460dc in CAbstractFile::GetFileSize (this=0x0) at KnownFile.h:106
No locals.
#1  0x08178773 in CUpDownClient::DrawStatusBar (this=0x8c14f68, dc=0xbfffec30,
    rect=, onlygreyrect=true, bFlat=false) at DownloadClient.cpp:75
        s_StatusBar = {m_Width = 112, m_Height = 17, m_FileSize = 734003200,
  m_Modifiers = 0x8d4cc68, m_used3dlevel = 20,
  m_spanlist = { >> = {, true>> = {
        _M_node = 0x8d326c8}, }, }}
        crBoth = 49152
        crNeither = 15790320
        crClientOnly = 6842472
        crPending = 16764928
        crNextPending = 16777060
        gettingParts =
#2  0x08184536 in CDownloadListCtrl::DrawSourceItem (this=0x88827a8, dc=0xbffff040, nColumn=5,
    lpRect=0xbfffeec0, lpCtrlItem=0x8b27af8) at DownloadListCtrl.cpp:1230
        iWidth = 112
        iHeight = 17
        dwTicks = 3617765819
        cdcStatus =
        clipper =
        buffer = {<> = {}, }
        lpUpDownClient = (CUpDownClient *) 0x8c14f68
#3  0x081812f2 in CDownloadListCtrl::OnDrawItem (this=0x88827a8, item=39, dc=0xbffff040,
    rect=@0xbffff010, rectHL=@0xbfffef70, highlighted=false) at DownloadListCtrl.cpp:502
        iNextLeft = 754
        iColumn = 5
        listitem = {<> = {}, m_mask = 98, m_itemId = 0, m_col = 0,
  m_state = 0, m_stateMask = 0, m_text = , m_image = -1, m_data = 0,
  m_format = 0, m_width = 124, m_attr = 0x0, static sm_classwxListItem = {}}
        cx = 124
        iCurrent = 5
        content = (CtrlItem_Struct *) 0x8b27af8
        file = (class CPartFile *) 0x8c14f68
        mypen =
        cur_rec = {left = 635, top = 742, right = 747, bottom = 759}
        tree_start = 627
        tree_end = 634
        notLast = true
        notFirst = true
        iOffset = 4
        iCount = 12
#4  0x081c82b6 in wxODListMainWindow::OnPaint (this=0x8884538) at listctrl.cpp:2999
        line = 39
        visibleTo = 40
        rectLine =
        xOrig = 0
        lineHeight = 19
        visibleFrom = 19
        yOrig = 361
        dc =
        dev_x = 0
        dev_y = -361
#5  0x45fd2fa2 in wxEvtHandler::SearchEventTable () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#6  0x45fd2dcf in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#7  0x45f87645 in wxWindow::GtkSendPaintEvents () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#8  0x45f873e9 in wxWindow::GtkUpdate () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#9  0x45f86072 in wxWindow::OnInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#10 0x45f37a24 in wxApp::CallInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#11 0x45f37a3c in wxApp::CallInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#12 0x45f37a3c in wxApp::CallInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#13 0x45f37a3c in wxApp::CallInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#14 0x45f37a3c in wxApp::CallInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#15 0x45f37a3c in wxApp::CallInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#16 0x45f37a3c in wxApp::CallInternalIdle () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#17 0x45f378c0 in wxApp::ProcessIdle () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#18 0x45f3724f in wxapp_idle_callback () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#19 0x401bdb1f in g_timeout_add () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#20 0x401bc95b in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#21 0x401bce47 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#22 0x401bd0f5 in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#23 0x400ce53f in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#24 0x45f37b32 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#25 0x45f89750 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#26 0x45f3820d in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#27 0x08284ba0 in main (argc=1, argv=0xbffff8d4) at amule.cpp:152
No locals.
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: crash on browsing download sources
« Reply #1 on: May 31, 2004, 12:40:16 AM »

a workaround .. disable the transfer bars ;)

OweH

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: crash on browsing download sources
« Reply #2 on: May 31, 2004, 01:38:05 PM »

I thought, this bug was fixed in the latest CVS?

TRAN.17) - [FIXED] - Crashes when viewing download list. Workaround: disable progress bars (Reported by bootstrap and IoP)

But so far, 20040529/30 still show this bug.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: crash on browsing download sources
« Reply #3 on: May 31, 2004, 04:26:04 PM »

Well, that's probably because there were two bugs in the same place ;-P
I think that progress bars have been rewritten, or at least partially rewritten, so maybe there was more than one bug there and only some of them have been fixed. Or maybe it's just that the new progress bar code isn't enabled by default on configure.
Greetings!
Logged