aMule Forum
English => Backtraces => Topic started by: lionel77 on February 02, 2005, 12:31:32 AM
-
i got this from amule with unicode enabled (current amule & wx cvs):
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x0004c3b4 in CED2KServerLink::GetPort() const (this=0x0) at ED2KLink.cpp:160
160 return m_port;
(gdb) bt full
#0 0x0004c3b4 in CED2KServerLink::GetPort() const (this=0x0) at ED2KLink.cpp:160
No locals.
#1 0x00044ca0 in CDownloadQueue::AddED2KLink(CED2KServerLink const*) (this=0x8a6e400, link=0x0) at DownloadQueue.cpp:1291
server = (CServer *) 0xbfffe3e0
#2 0x00044988 in CDownloadQueue::AddED2KLink(CED2KLink const*, int) (this=0x8a6e400, link=0xc8df170, category=0) at DownloadQueue.cpp:1239
result = true
#3 0x00044688 in CDownloadQueue::AddED2KLink(wxString const&, int) (this=0x8a6e400, link=@0xbfffe610, category=0) at DownloadQueue.cpp:1221
URI = {
= {
static npos = 4294967295,
m_pchData = 0xca497cc
}, }
#4 0x0015961c in CamuleDlg::OnBnClickedFast(wxCommandEvent&) (this=0x9016000) at amuleDlg.cpp:768
strlink = {
= {
static npos = 4294967295,
m_pchData = 0xca49c8c
}, }
i = 0
ctl = (wxTextCtrl *) 0x8a99aa0
#5 0x001af5dc in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0x7e1ee90, handler=0x9016000, func={__pfn = (void ( wxEvtHandler::*)(wxEvent &,)) 176785, __delta = 0}, event=@0xbfffea30) at ../wxWidgets/src/common/appbase.cpp:307
No locals.
#6 0x001b2e04 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) (entry=@0x77e1c4, handler=0x9016000, event=@0xbfffea30) at ../wxWidgets/src/common/event.cpp:1208
tableId1 = 10004
tableId2 = -1
#7 0x001b1f40 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (this=0x77e08c, event=@0xbfffea30, self=0x9016000) at ../wxWidgets/src/common/event.cpp:866
n = 0
eventEntryTable = (const wxEventTableEntryPointerArray &) @0x8a801c4: {
= {
m_nSize = 2,
m_nCount = 2,
m_pItems = 0x8a95570
}, }
count = 2
eventType = 10013
eTTnode = (wxEventHashTable::EventTypeTable * const) 0x8a801c0
#8 0x001b311c in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x9016000, event=@0xbfffea30) at ../wxWidgets/src/common/event.cpp:1270
rc = -1
#9 0x001ae7d4 in wxWindowBase::TryParent(wxEvent&) (this=0x8a97390, event=@0xbfffea30) at ../wxWidgets/src/common/wincmn.cpp:2451
propagateOnce = {
m_event = @0xbfffea30
}
parent = (wxWindow *) 0x9016000
#10 0x001b31b0 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x8a97390, event=@0xbfffea30) at ../wxWidgets/src/common/event.cpp:1283
rc = -1
#11 0x001ae7d4 in wxWindowBase::TryParent(wxEvent&) (this=0x8a9e1e0, event=@0xbfffea30) at ../wxWidgets/src/common/wincmn.cpp:2451
propagateOnce = {
m_event = @0xbfffea30
}
parent = (wxWindow *) 0x8a97390
#12 0x001b31b0 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x8a9e1e0, event=@0xbfffea30) at ../wxWidgets/src/common/event.cpp:1283
rc = -1
#13 0x00241fd8 in wxControl::ProcessCommand(wxCommandEvent&) (this=0x8a9e1e0, event=@0xbfffea30) at ../wxWidgets/src/mac/carbon/control.cpp:83
No locals.
#14 0x00296b80 in wxButton::MacControlHit(void*, void*) (this=0x8a9e1e0) at ../wxWidgets/src/mac/carbon/button.cpp:171
event = {
= {
= {
_vptr$wxObject = 0x820730,
static ms_classInfo = {
m_className = 0x4a6a00,
m_objectSize = 8,
m_objectConstructor = 0,
m_baseInfo1 = 0x0,
m_baseInfo2 = 0x0,
static sm_first = 0xa52028,
m_next = 0xa4bcec,
static sm_classTable = 0x7e0ec90
},
m_refData = 0x0
},
members of wxEvent:
m_eventObject = 0x8a9e1e0,
m_eventType = 10013,
m_timeStamp = 0,
m_id = 10004,
m_callbackUserData = 0x0,
m_propagationLevel = 2147483645,
m_skipped = false,
m_isCommandEvent = true,
static ms_classInfo = {
m_className = 0x4a2870,
m_objectSize = 40,
m_objectConstructor = 0,
m_baseInfo1 = 0xa4bdc4,
m_baseInfo2 = 0x0,
static sm_first = 0xa52028,
m_next = 0xa4b8c8,
static sm_classTable = 0x7e0ec90
}
},
members of wxCommandEvent:
m_commandString = {
m_evt = 0xbfffea30
},
m_cmdString = {
= {
static npos = 4294967295,
m_pchData = 0x49a2f0
}, },
m_commandInt = 0,
m_extraLong = 0,
m_clientData = 0x0,
m_clientObject = 0x0,
static ms_classInfo = {
m_className = 0x4a7688,
m_objectSize = 64,
m_objectConstructor = 0x1d210c ,
m_baseInfo1 = 0xa4b8e0,
m_baseInfo2 = 0x0,
static sm_first = 0xa52028,
m_next = 0xa4bf18,
static sm_classTable = 0x7e0ec90
}
}
#15 0x001b42b4 in wxMacWindowControlEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) (handler=0xbfffed70, event=0xca47990, data=0x8a9e1e0) at ../wxWidgets/src/mac/carbon/window.cpp:299
result = -9874
cEvent = {
m_eventRef = 0xca47990,
m_release = false
}
controlRef = 0x8a9dbd0
thisWindow = (wxWindow *) 0x8a9e1e0
#16 0x001b48e0 in wxMacWindowEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) (handler=0xbfffed70, event=0xca47990, data=0x8a9e1e0) at ../wxWidgets/src/mac/carbon/window.cpp:396
formerEvent = 0xc8081f0
formerEventHandlerCallRef = 0x0
result = -9874
#17 0x927d1fa0 in DispatchEventToHandlers ()
No symbol table info available.
#18 0x927d2214 in SendEventToEventTargetInternal ()
No symbol table info available.
#19 0x927e46bc in SendEventToEventTarget ()
No symbol table info available.
#20 0x92856b00 in SendControlHit(HIView*, short, unsigned long) ()
No symbol table info available.
#21 0x928a9d24 in HIView::NotifyControlHit(short, unsigned long) ()
No symbol table info available.
#22 0x92895350 in HIView::ClickInternal(CGPoint const&, unsigned long, void (*)(OpaqueControlRef*, short), bool) ()
No symbol table info available.
#23 0x9289b05c in HIView::ClickSelf(OpaqueEventRef*) ()
No symbol table info available.
#24 0x927d5944 in HIView::EventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) ()
No symbol table info available.
#25 0x927d1fa0 in DispatchEventToHandlers ()
No symbol table info available.
#26 0x927d2214 in SendEventToEventTargetInternal ()
No symbol table info available.
#27 0x927e46bc in SendEventToEventTarget ()
No symbol table info available.
#28 0x9289ae10 in HIView::Click(OpaqueEventRef*) ()
No symbol table info available.
#29 0x928e9394 in HIViewClick ()
No symbol table info available.
#30 0x928b6a74 in HandleClickAsHIView ()
No symbol table info available.
#31 0x92884bd4 in HandleWindowClick ()
No symbol table info available.
#32 0x92865f40 in HandleMouseEvent ()
No symbol table info available.
#33 0x92827c60 in StandardWindowEventHandler ()
No symbol table info available.
#34 0x927d1fa0 in DispatchEventToHandlers ()
No symbol table info available.
#35 0x927d2214 in SendEventToEventTargetInternal ()
No symbol table info available.
#36 0x927e46bc in SendEventToEventTarget ()
No symbol table info available.
#37 0x927f2d3c in HandleMouseEventForWindow(OpaqueWindowPtr*, OpaqueEventRef*, unsigned short) ()
No symbol table info available.
#38 0x92913524 in HandleMouseEvent(OpaqueEventRef*) ()
No symbol table info available.
#39 0x927e2c5c in ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) ()
No symbol table info available.
#40 0x927d205c in DispatchEventToHandlers ()
No symbol table info available.
#41 0x927d2214 in SendEventToEventTargetInternal ()
No symbol table info available.
#42 0x927e46bc in SendEventToEventTarget ()
No symbol table info available.
#43 0x002ae3ac in wxApp::MacHandleOneEvent(void*) (this=???, evr=???) at ../wxWidgets/src/mac/carbon/app.cpp:1037
theTarget = Cannot access memory at address 0x40
-
Fixed.
-
ok, next one: ;)
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x90002e20 in szone_malloc ()
(gdb) bt full
#0 0x90002e20 in szone_malloc ()
No symbol table info available.
#1 0x90001054 in malloc_zone_malloc ()
No symbol table info available.
#2 0x90191ecc in _CFRuntimeCreateInstance ()
No symbol table info available.
#3 0x901951a8 in __CFStringCreateImmutableFunnel3 ()
No symbol table info available.
#4 0x901adf48 in CFStringCreateWithCharacters ()
No symbol table info available.
#5 0x002ce380 in wxMacCFStringHolder::Assign(wxString const&, wxFontEncoding) (this=0xbfffe9f0, st=@0x8c68074, encoding=wxFONTENCODING_DEFAULT) at ../wxWidgets/src/mac/corefoundation/cfstring.cpp:645
str = {
= {
static npos = 4294967295,
m_pchData = 0xd351cbc
}, }
converter = {
= {
_vptr$wxMBConv = 0x81fe00
}, }
unicharlen = 20
unibuf = (UniChar *) 0xd31ae30
#6 0x00626c50 in wxMacCFStringHolder::wxMacCFStringHolder(wxString const&, wxFontEncoding) (this=0xbfffe9f0, str=@0x8c68074, encoding=wxFONTENCODING_DEFAULT) at ../wxWidgets/include/wx/mac/corefoundation/cfstring.h:45
No locals.
#7 0x0062651c in wxMacCFStringHolder::wxMacCFStringHolder(wxString const&, wxFontEncoding) (this=0xbfffe9f0, str=@0x8c68074, encoding=wxFONTENCODING_DEFAULT) at ../wxWidgets/include/wx/mac/corefoundation/cfstring.h:46
No locals.
#8 0x002e64f8 in UMASetControlTitle(OpaqueControlRef*, wxString const&, wxFontEncoding) (inControl=0x8c672e0, title=@0x8c68074, encoding=wxFONTENCODING_DEFAULT) at ../wxWidgets/src/mac/carbon/uma.cpp:530
No locals.
#9 0x00261d38 in wxMacControl::SetTitle(wxString const&) (this=0x8c67350, title=@0x8c68074) at ../wxWidgets/src/mac/carbon/utils.cpp:1101
encoding = wxFONTENCODING_DEFAULT
#10 0x001b9aa0 in wxWindow::SetTitle(wxString const&) (this=0x8c67f00, title=@0xbfffebe0) at ../wxWidgets/src/mac/carbon/window.cpp:1906
No locals.
#11 0x0053d4d0 in wxWindowBase::SetLabel(wxString const&) (this=0x8c67f00, label=@0xbfffebe0) at /Applications/-other/wx/myWidgets_SharUniCode/include/wx-2.5/wx/window.h:186
No locals.
#12 0x001fd6f0 in wxNotebook::SetPageText(unsigned long, wxString const&) (this=0x8c504b0, nPage=0, strText=@0xbfffebe0) at ../wxWidgets/src/mac/carbon/notebmac.cpp:196
page = (wxNotebookPage *) 0x8c67f00
#13 0x0013fae4 in CTransferWnd::UpdateCategory(int, bool) (this=0x8c46740, index=0, titleChanged=false) at TransferWnd.cpp:181
label = {
= {
static npos = 4294967295,
m_pchData = 0xcf1f3fc
}, }
#14 0x001418c8 in CTransferWnd::UpdateCatTabTitles() (this=0x8c46740) at TransferWnd.cpp:359
i = 0 '\0'
#15 0x0015509c in CamuleGuiApp::NotifyEvent(GUIEvent) (this=0x7e1ee90, event={ = { = {_vptr$wxObject = 0x806128, static ms_classInfo = {m_className = 0x4a6a00, m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0xa52028, m_next = 0xa4bcec, static sm_classTable = 0x7e0ec90}, m_refData = 0x0}, m_eventObject = 0x0, m_eventType = 10002, m_timeStamp = 0, m_id = -1, m_callbackUserData = 0x0, m_propagationLevel = 0, m_skipped = false, m_isCommandEvent = false, static ms_classInfo = {m_className = 0x4a2870, m_objectSize = 40, m_objectConstructor = 0, m_baseInfo1 = 0xa4bdc4, m_baseInfo2 = 0x0, static sm_first = 0xa52028, m_next = 0xa4b8c8, static sm_classTable = 0x7e0ec90}}, ID = SHOW_UPDATE_CAT_TABS, byte_value = 0 '\0', short_value = 0, long_value = 0, longlong_value = 0, string_value = { = {static npos = 4294967295, m_pchData = 0x49a2f0}, }, ptr_value = 0x0, ptr_aux_value = 0x0}) at amule-gui.cpp:783
file = (CPartFile *) 0x2712
file = (CPartFile *) 0x49a2f0
file = (CPartFile *) 0x49a2f0
file = (CPartFile *) 0x49a2f0
show = 4825840
evt = {
= {
= {
_vptr$wxObject = 0xbfffed60,
static ms_classInfo = {
m_className = 0x4a6a00,
m_objectSize = 8,
m_objectConstructor = 0,
m_baseInfo1 = 0x0,
m_baseInfo2 = 0x0,
static sm_first = 0xa52028,
m_next = 0xa4bcec,
static sm_classTable = 0x7e0ec90
},
m_refData = 0xcf2d150
},
members of wxEvent:
m_eventObject = 0xbfffed10,
m_eventType = 950024,
m_timeStamp = -1073746592,
m_id = 0,
m_callbackUserData = 0x543258,
m_propagationLevel = 262144,
m_skipped = false,
m_isCommandEvent = false,
static ms_classInfo = {
m_className = 0x4a2870,
m_objectSize = 40,
m_objectConstructor = 0,
m_baseInfo1 = 0xa4bdc4,
m_baseInfo2 = 0x0,
static sm_first = 0xa52028,
m_next = 0xa4b8c8,
static sm_classTable = 0x7e0ec90
}
},
members of wxCommandEvent:
m_commandString = {
m_evt = 0xbfffee90
},
m_cmdString = {
= {
static npos = 4294967295,
m_pchData = 0xbfffee40
}, },
m_commandInt = 0,
m_extraLong = 0,
m_clientData = 0xce4640,
m_clientObject = 0x8cdf730,
static ms_classInfo = {
m_className = 0x4a7688,
m_objectSize = 64,
m_objectConstructor = 0x1d2104 ,
m_baseInfo1 = 0xa4b8e0,
m_baseInfo2 = 0x0,
static sm_first = 0xa52028,
m_next = 0xa4bf18,
static sm_classTable = 0x7e0ec90
}
}
#16 0x000e8bdc in CPartFile::Process(unsigned, unsigned char) (this=0xcf2d150, reducedownload=0, m_icounter=10 '\n') at PartFile.cpp:1667
e = {
= {
= {
_vptr$wxObject = 0x806168,
static ms_classInfo = {
m_className = 0x4a6a00,
m_objectSize = 8,
m_objectConstructor = 0,
m_baseInfo1 = 0x0,
m_baseInfo2 = 0x0,
static sm_first = 0xa52028,
m_next = 0xa4bcec,
static sm_classTable = 0x7e0ec90
},
m_refData = 0x0
},
members of wxEvent:
m_eventObject = 0x0,
m_eventType = 10002,
m_timeStamp = 0,
m_id = -1,
m_callbackUserData = 0x0,
m_propagationLevel = 0,
m_skipped = false,
m_isCommandEvent = false,
static ms_classInfo = {
m_className = 0x4a2870,
m_objectSize = 40,
m_objectConstructor = 0,
m_baseInfo1 = 0xa4bdc4,
m_baseInfo2 = 0x0,
static sm_first = 0xa52028,
m_next = 0xa4b8c8,
static sm_classTable = 0x7e0ec90
}
},
members of GUIEvent:
ID = SHOW_UPDATE_CAT_TABS,
byte_value = 0 '\0',
short_value = 0,
long_value = 0,
longlong_value = 0,
string_value = {
= {
static npos = 4294967295,
m_pchData = 0x49a2f0
}, },
ptr_value = 0x0,
ptr_aux_value = 0x0
}
old_trans = 0
dwCurTick = 3498328524
#17 0x000404f0 in CDownloadQueue::Process() (this=0x8a6e700) at DownloadQueue.cpp:293
cur_file = (CPartFile *) 0xcf2d150
i = 10
size = 21
downspeed = 0
#18 0x001514fc in CamuleApp::OnCoreTimer(wxTimerEvent&) (this=0x7e1ee90) at amule.cpp:1408
msPrev1 = 1298786
msPrev5 = 1298986
msPrevSave = 1261489
msPrev10 = 1292187
msCur = 1299886
msPrevHist = 1299000
#19 0x001af5d4 in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0x7e1ee90, handler=0x7e1ee90, func={__pfn = (void ( wxEvtHandler::*)(wxEvent &,)) 172687, __delta = 0}, event=@0xbffff230) at ../wxWidgets/src/common/appbase.cpp:307
No locals.
#20 0x001b2dfc in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) (entry=@0x77d5a8, handler=0x7e1ee90, event=@0xbffff230) at ../wxWidgets/src/common/event.cpp:1208
tableId1 = 6128
tableId2 = -1
#21 0x001b1f38 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (this=0x77d518, event=@0xbffff230, self=0x7e1ee90) at ../wxWidgets/src/common/event.cpp:866
n = 2
eventEntryTable = (const wxEventTableEntryPointerArray &) @0x8a78a54: {
= {
m_nSize = 3,
m_nCount = 3,
m_pItems = 0x8a78c40
}, }
count = 3
eventType = 10029
eTTnode = (wxEventHashTable::EventTypeTable * const) 0x8a78a50
#22 0x001b3114 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x7e1ee90, event=@0xbffff230) at ../wxWidgets/src/common/event.cpp:1270
rc = -1
#23 0x002629cc in wxTimerBase::Notify() (this=0xcf6bab0) at ../wxWidgets/src/common/timercmn.cpp:61
event = {
= {
= {
_vptr$wxObject = 0x80d808,
static ms_classInfo = {
m_className = 0x4a6a00,
m_objectSize = 8,
m_objectConstructor = 0,
m_baseInfo1 = 0x0,
m_baseInfo2 = 0x0,
static sm_first = 0xa52028,
m_next = 0xa4bcec,
static sm_classTable = 0x7e0ec90
},
m_refData = 0x0
},
members of wxEvent:
m_eventObject = 0xcf6bab0,
m_eventType = 10029,
m_timeStamp = 0,
m_id = 6128,
m_callbackUserData = 0x0,
m_propagationLevel = 0,
m_skipped = false,
m_isCommandEvent = false,
static ms_classInfo = {
m_className = 0x4a2870,
m_objectSize = 40,
m_objectConstructor = 0,
m_baseInfo1 = 0xa4bdc4,
m_baseInfo2 = 0x0,
static sm_first = 0xa52028,
m_next = 0xa4b8c8,
static sm_classTable = 0x7e0ec90
}
},
members of wxTimerEvent:
m_interval = 100,
static ms_classInfo = {
m_className = 0x4c14a0,
m_objectSize = 44,
m_objectConstructor = 0x26277c ,
m_baseInfo1 = 0xa4b8e0,
m_baseInfo2 = 0x0,
static sm_first = 0xa52028,
m_next = 0xa4d568,
static sm_classTable = 0x7e0ec90
}
}
#24 0x00262b74 in wxProcessTimer(__EventLoopTimer*, void*) (theTimer=0x8ab0360, data=0xcf6bab0) at ../wxWidgets/src/mac/carbon/timer.cpp:55
timer = (wxTimer *) 0xcf6bab0
#25 0x90194618 in __CFRunLoopDoTimer ()
No symbol table info available.
#26 0x90191978 in __CFRunLoopRun ()
No symbol table info available.
#27 0x90195e8c in CFRunLoopRunSpecific ()
No symbol table info available.
#28 0x927d5f60 in RunCurrentEventLoopInMode ()
No symbol table info available.
#29 0x927dc6c8 in ReceiveNextEventCommon ()
No symbol table info available.
#30 0x9284d7d4 in ReceiveNextEventInMode ()
No symbol table info available.
#31 0x002ae254 in wxApp::MacDoOneEvent() (this=???) at ../wxWidgets/src/mac/carbon/app.cpp:1001
theEvent = Cannot access memory at address 0x40