segmentation fault

Nerijus Baliunas <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
Hello,

Does anyone have any idea? It doesn't segfault when I run M as another
user with almost empty config, but it segfaults for my normal config:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 32395)]
0x08115e12 in wxFolderListCtrl::GetPreviewUId() const (this=0x0)
    at .src/gui/wxFolderView.cpp:529
529        UIdType GetPreviewUId() const { return m_uidPreviewed; }
(gdb) bt
#0  0x08115e12 in wxFolderListCtrl::GetPreviewUId() const (this=0x0)
    at .src/gui/wxFolderView.cpp:529
#1  0x08113082 in wxFolderView::GetPreviewUId() const (this=0x87cadf0)
    at .src/gui/wxFolderView.cpp:4872
#2  0x08115a3f in wxFolderView::HasPreview() const (this=0x87cadf0)
    at wxFolderView.h:109
#3  0x081319da in wxMainFrame::OnIdle(wxIdleEvent&) (this=0x88d7ef0, 
    event=@0xbfffef80) at .src/gui/wxMainFrame.cpp:806
#4  0x405502fc in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0x8381f88, handler=0x88d7ef0, func=
      {__pfn = 0x81318c8 <wxMainFrame::OnIdle(wxIdleEvent&)>, __delta = 0}, 
    event=@0xbfffef80) at ../wxWindows/src/common/appbase.cpp:297
#5  0x405ed31d in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) (entry=@0x835b0b0, handler=0x88d7ef0, 
    event=@0xbfffef80) at ../wxWindows/src/common/event.cpp:1169
#6  0x405ec2aa in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (
    this=0x835b060, event=@0xbfffef80, self=0x88d7ef0)
    at ../wxWindows/src/common/event.cpp:837
#7  0x405ed530 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x88d7ef0, 
    event=@0xbfffef80) at ../wxWindows/src/common/event.cpp:1231
#8  0x4033e3e1 in wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&) (
    this=0x8381f88, win=0x88d7ef0, event=@0xbfffef80)
    at ../wxWindows/src/common/appcmn.cpp:421
#9  0x4033e2c7 in wxAppBase::ProcessIdle() (this=0x8381f88)
    at ../wxWindows/src/common/appcmn.cpp:396
#10 0x40296cbb in wxApp::Yield(bool) (this=0x8381f88, onlyIfNeeded=true)
    at ../wxWindows/src/gtk/app.cpp:153
#11 0x081356a0 in wxMApp::Yield(bool) (this=0x8381f88, onlyIfNeeded=true)
    at .src/gui/wxMApp.cpp:585
#12 0x405f1624 in wxYieldIfNeeded() ()
    at ../wxWindows/src/common/utilscmn.cpp:533
#13 0x404016c2 in wxGenericTreeCtrl::ScrollTo(wxTreeItemId const&) (
    this=0x87ee788, item=@0xbffff234)
    at ../wxWindows/src/generic/treectlg.cpp:1938
#14 0x4040167e in wxGenericTreeCtrl::EnsureVisible(wxTreeItemId const&) (
    this=0x87ee788, item=@0xbffff234)
    at ../wxWindows/src/generic/treectlg.cpp:1924
#15 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
#16 0x404013b6 in wxGenericTreeCtrl::SelectItem(wxTreeItemId const&, bool) (
    this=0x87ee788, itemId=@0xbffff234, select=true)
    at ../wxWindows/src/generic/treectlg.cpp:1854
#17 0x08108ff9 in wxFolderTreeImpl::GoToItem(wxTreeItemId) (this=0x87ee788, id=
      {m_pItem = 0x849ee18}) at .src/gui/wxFolderTree.cpp:330
#18 0x081059a9 in wxFolderTreeImpl::GoToHomeFolderIfAny() (this=0x87ee788)
    at .src/gui/wxFolderTree.cpp:2352
#19 0x081013d2 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
#20 0x08133690 in wxFolderTree (this=0x8aba998, parent=0x8877520, id=-1, 
    pos=@0x8356c00, size=@0x8356040) at wxFolderTree.h:60
#21 0x08133280 in wxMainFolderTree (this=0x8aba998, parent=0x8877520, 
    frame=0x88d7ef0) at .src/gui/wxMainFrame.cpp:116
#22 0x08130fad in wxMainFrame (this=0x88d7ef0, iname=@0xbffff370, parent=0x0)
    at .src/gui/wxMainFrame.cpp:583
#23 0x08136256 in wxMApp::CreateTopLevelFrame() (this=0x8381f88)
    at .src/gui/wxMApp.cpp:1113
#24 0x080aaf5b in MAppBase::OnStartup() (this=0x8381fec)
    at .src/classes/MApplication.cpp:572
#25 0x08135f31 in wxMApp::OnInit() (this=0x8381f88) at .src/gui/wxMApp.cpp:1021
#26 0x0813a958 in wxAppConsole::CallOnInit() (this=0x8381f88) at app.h:87
#27 0x40591e10 in wxEntry(int&, char**) (argc=@0xbffff530, argv=0xbffff584)
    at ../wxWindows/src/common/init.cpp:394
#28 0x08134cb5 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.