Re[2]: segmentation fault

Nerijus Baliunas <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
On Thu, 1 Jul 2004 17:07:59 +0200 (Romance Daylight Time) Vadim Zeitlin <[email protected]> wrote:

VZ>  I don't know why does it happen or, rather, why did it start to happen
VZ> just now, but I do have a fix (in the cvs): I added a check to
VZ> HasPreview().

Thanks, next one ;-( :

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 16384 (LWP 26229)]
0x407e20c1 in kill () from /lib/i686/libc.so.6
(gdb) bt
#0  0x407e20c1 in kill () from /lib/i686/libc.so.6
#1  0x407712b1 in pthread_kill () from /lib/i686/libpthread.so.0
#2  0x4077162b in raise () from /lib/i686/libpthread.so.0
#3  0x40550869 in wxTrap() () at ../wxWindows/src/common/appbase.cpp:559
#4  0x081355e7 in wxMApp::OnAssert(char const*, int, char const*, char const*)
    (this=0x8381f88, file=0x405f9014 "../wxWindows/src/common/list.cpp", 
    line=326, cond=0x405f9002 "wxAssertFailure", 
    msg=0x405f91d0 "invalid index in wxListBase::Item")
    at .src/gui/wxMApp.cpp:555
#5  0x40550920 in wxOnAssert(char const*, int, char const*, char const*) (
    szFile=0x405f9014 "../wxWindows/src/common/list.cpp", nLine=326, 
    szCond=0x405f9002 "wxAssertFailure", 
    szMsg=0x405f91d0 "invalid index in wxListBase::Item")
    at ../wxWindows/src/common/appbase.cpp:605
#6  0x4055089c in wxAssert(int, char const*, int, char const*, char const*) (
    cond=0, szFile=0x405f9014 "../wxWindows/src/common/list.cpp", nLine=326, 
    szCond=0x405f9002 "wxAssertFailure", 
    szMsg=0x405f91d0 "invalid index in wxListBase::Item")
    at ../wxWindows/src/common/appbase.cpp:572
#7  0x4059f89c in wxListBase::Item(unsigned) const (this=0x87f2128, n=5)
    at ../wxWindows/src/common/list.cpp:326
#8  0x4039baf3 in wxMenuList::Item(unsigned) const (this=0x87f2128, index=5)
    at menu.h:40
#9  0x4031e025 in wxMenuBar::EnableTop(unsigned, bool) (this=0x87f1fd8, pos=5,  
    flag=false) at ../wxWindows/src/gtk/menu.cpp:558
#10 0x0814c7de in EnableMMenu(MMenuId, wxWindow*, bool) (id=MMenu_Language, 
    win=0x88d7ef0, enable=false) at .src/gui/wxMenuDefs.cpp:801
#11 0x081319f0 in wxMainFrame::OnIdle(wxIdleEvent&) (this=0x88d7ef0, 
    event=@0xbfffef80) at .src/gui/wxMainFrame.cpp:809
#12 0x405502fc in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0x8381f88, handler=0x88d7ef0, func=
      {__pfn = 0x81318b0 <wxMainFrame::OnIdle(wxIdleEvent&)>, __delta = 0}, 
    event=@0xbfffef80) at ../wxWindows/src/common/appbase.cpp:297
#13 0x405ed31d in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) (entry=@0x835b0b0, handler=0x88d7ef0, 
    event=@0xbfffef80) at ../wxWindows/src/common/event.cpp:1169
#14 0x405ec2aa in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (
    this=0x835b060, event=@0xbfffef80, self=0x88d7ef0)
    at ../wxWindows/src/common/event.cpp:837
#15 0x405ed530 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x88d7ef0, 
    event=@0xbfffef80) at ../wxWindows/src/common/event.cpp:1231
#16 0x4033e3e1 in wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&) (
    this=0x8381f88, win=0x88d7ef0, event=@0xbfffef80)
    at ../wxWindows/src/common/appcmn.cpp:421
#17 0x4033e2c7 in wxAppBase::ProcessIdle() (this=0x8381f88)
    at ../wxWindows/src/common/appcmn.cpp:396
#18 0x40296cbb in wxApp::Yield(bool) (this=0x8381f88, onlyIfNeeded=true)
    at ../wxWindows/src/gtk/app.cpp:153
#19 0x08135688 in wxMApp::Yield(bool) (this=0x8381f88, onlyIfNeeded=true)
    at .src/gui/wxMApp.cpp:585
#20 0x405f1624 in wxYieldIfNeeded() ()
    at ../wxWindows/src/common/utilscmn.cpp:533
#21 0x404016c2 in wxGenericTreeCtrl::ScrollTo(wxTreeItemId const&) (
    this=0x87ee788, item=@0xbffff234)
    at ../wxWindows/src/generic/treectlg.cpp:1938
#22 0x4040167e in wxGenericTreeCtrl::EnsureVisible(wxTreeItemId const&) (
    this=0x87ee788, item=@0xbffff234)
    at ../wxWindows/src/generic/treectlg.cpp:1924
#23 0x404011fe in wxGenericTreeCtrl::DoSelectItem(wxTreeItemId const&, bool, bool) (this=0x87ee788, itemId=@0xbffff234, unselect_others=true, 
    extended_select=false) at ../wxWindows/src/generic/treectlg.cpp:1813
#24 0x404013b6 in wxGenericTreeCtrl::SelectItem(wxTreeItemId const&, bool) (
    this=0x87ee788, itemId=@0xbffff234, select=true)
    at ../wxWindows/src/generic/treectlg.cpp:1854
#25 0x08108fd5 in wxFolderTreeImpl::GoToItem(wxTreeItemId) (this=0x87ee788, id=
      {m_pItem = 0x849ee18}) at .src/gui/wxFolderTree.cpp:330
#26 0x08105985 in wxFolderTreeImpl::GoToHomeFolderIfAny() (this=0x87ee788)
    at .src/gui/wxFolderTree.cpp:2352
#27 0x081013ae in wxFolderTree::Init(wxWindow*, int, wxPoint const&, wxSize const&) (this=0x8aba998, parent=0x8877520, id=-1, pos=@0x8356c00, size=@0x8356040)
    at .src/gui/wxFolderTree.cpp:788
#28 0x08133678 in wxFolderTree (this=0x8aba998, parent=0x8877520, id=-1, 
    pos=@0x8356c00, size=@0x8356040) at wxFolderTree.h:60
#29 0x08133268 in wxMainFolderTree (this=0x8aba998, parent=0x8877520, 
    frame=0x88d7ef0) at .src/gui/wxMainFrame.cpp:116
#30 0x08130f95 in wxMainFrame (this=0x88d7ef0, iname=@0xbffff370, parent=0x0)
    at .src/gui/wxMainFrame.cpp:583
#31 0x0813623e in wxMApp::CreateTopLevelFrame() (this=0x8381f88)
    at .src/gui/wxMApp.cpp:1113
#32 0x080aaf5b in MAppBase::OnStartup() (this=0x8381fec)
    at .src/classes/MApplication.cpp:572
#33 0x08135f19 in wxMApp::OnInit() (this=0x8381f88) at .src/gui/wxMApp.cpp:1021
#34 0x0813a940 in wxAppConsole::CallOnInit() (this=0x8381f88) at app.h:87
#35 0x40591e10 in wxEntry(int&, char**) (argc=@0xbffff530, argv=0xbffff584)
    at ../wxWindows/src/common/init.cpp:394
#36 0x08134c9d in main (argc=1, argv=0xbffff584) at .src/gui/wxMApp.cpp:343


Regards,
Nerijus


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.