On Fri, 28 May 2004 09:31:53 +1000 Mark Livingstone <[EMAIL PROTECTED]> wrote:
ML> What doesn't work for you? It segfaults, tried to track it down today, still no luck: (gdb) bt #0 0x08115b9a in wxFolderListCtrl::GetPreviewUId() const (this=0xfff9ece9) at .src/gui/wxFolderView.cpp:528 #1 0x08112e0a in wxFolderView::GetPreviewUId() const (this=0x40840001) at .src/gui/wxFolderView.cpp:4866 #2 0x081157c7 in wxFolderView::HasPreview() const (this=0x40840001) at wxFolderView.h:109 #3 0x08131736 in wxMainFrame::OnIdle(wxIdleEvent&) (this=0x8498858, [EMAIL PROTECTED]) at .src/gui/wxMainFrame.cpp:806 #4 0x4054a18c in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0x8380e70, handler=0x8498858, func={__pfn = 0x8131624 <wxMainFrame::OnIdle(wxIdleEvent&)>, __delta = 0}, [EMAIL PROTECTED]) at ../wxWindows/src/common/appbase.cpp:297 #5 0x405e6719 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ([EMAIL PROTECTED], handler=0x8498858, [EMAIL PROTECTED]) at ../wxWindows/src/common/event.cpp:1169 #6 0x405e56a6 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (this=0x8359fe0, [EMAIL PROTECTED], self=0x8498858) at ../wxWindows/src/common/event.cpp:837 #7 0x405e692c in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x8498858, [EMAIL PROTECTED]) at ../wxWindows/src/common/event.cpp:1231 #8 0x403368b1 in wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&) (this=0x8380e70, win=0x8498858, [EMAIL PROTECTED]) at ../wxWindows/src/common/appcmn.cpp:421 #9 0x40336797 in wxAppBase::ProcessIdle() (this=0x8380e70) at ../wxWindows/src/common/appcmn.cpp:396 #10 0x4028ea05 in wxapp_idle_callback () at ../wxWindows/src/gtk/app.cpp:256 #11 0x40a76b1f in g_timeout_add () from /usr/lib/libglib-1.2.so.0 #12 0x40a7595b in g_get_current_time () from /usr/lib/libglib-1.2.so.0 #13 0x40a75e47 in g_get_current_time () from /usr/lib/libglib-1.2.so.0 #14 0x40a76064 in g_main_iteration () from /usr/lib/libglib-1.2.so.0 #15 0x409837d8 in gtk_main_iteration () from /usr/lib/libgtk-1.2.so.0 #16 0x4028e835 in wxApp::Yield(bool) (this=0x8380e70, onlyIfNeeded=true) at ../wxWindows/src/gtk/app.cpp:145 #17 0x081353fc in wxMApp::Yield(bool) (this=0x8380e70, onlyIfNeeded=true) at .src/gui/wxMApp.cpp:585 #18 0x405eaa20 in wxYieldIfNeeded() () at ../wxWindows/src/common/utilscmn.cpp:533 #19 0x403f926e in wxGenericTreeCtrl::ScrollTo(wxTreeItemId const&) (this=0x898ecb8, [EMAIL PROTECTED]) at ../wxWindows/src/generic/treectlg.cpp:1923 #20 0x403f922a in wxGenericTreeCtrl::EnsureVisible(wxTreeItemId const&) (this=0x898ecb8, [EMAIL PROTECTED]) at ../wxWindows/src/generic/treectlg.cpp:1909 #21 0x403f8daa in wxGenericTreeCtrl::DoSelectItem(wxTreeItemId const&, bool, bool) (this=0x898ecb8, [EMAIL PROTECTED], unselect_others=true, extended_select=false) at ../wxWindows/src/generic/treectlg.cpp:1798 #22 0x403f8f62 in wxGenericTreeCtrl::SelectItem(wxTreeItemId const&, bool) (this=0x898ecb8, [EMAIL PROTECTED], select=true) at ../wxWindows/src/generic/treectlg.cpp:1839 #23 0x08108df1 in wxFolderTreeImpl::GoToItem(wxTreeItemId) (this=0x898ecb8, id={m_pItem = 0x88e1510}) at .src/gui/wxFolderTree.cpp:330 #24 0x081057a1 in wxFolderTreeImpl::GoToHomeFolderIfAny() (this=0x898ecb8) at .src/gui/wxFolderTree.cpp:2352 #25 0x081011ca in wxFolderTree::Init(wxWindow*, int, wxPoint const&, wxSize const&) (this=0x8aee1b8, parent=0x8858848, id=-1, [EMAIL PROTECTED], [EMAIL PROTECTED]) at .src/gui/wxFolderTree.cpp:788 #26 0x081333ec in wxFolderTree (this=0x8aee1b8, parent=0x8858848, id=-1, [EMAIL PROTECTED], [EMAIL PROTECTED]) at wxFolderTree.h:60 #27 0x08132fdc in wxMainFolderTree (this=0x8aee1b8, parent=0x8858848, frame=0x8498858) at .src/gui/wxMainFrame.cpp:116 #28 0x08130d09 in wxMainFrame (this=0x8498858, [EMAIL PROTECTED], parent=0x0) at .src/gui/wxMainFrame.cpp:583 #29 0x08135fb2 in wxMApp::CreateTopLevelFrame() (this=0x8380e70) at .src/gui/wxMApp.cpp:1113 #30 0x080aada3 in MAppBase::OnStartup() (this=0x8380ed4) at .src/classes/MApplication.cpp:572 #31 0x08135c8d in wxMApp::OnInit() (this=0x8380e70) at .src/gui/wxMApp.cpp:1021 #32 0x0813a6b4 in wxAppConsole::CallOnInit() (this=0x8380e70) at app.h:87 #33 0x4058b80c in wxEntry(int&, char**) ([EMAIL PROTECTED], argv=0xbffff444) at ../wxWindows/src/common/init.cpp:394 #34 0x08134a11 in main (argc=1, argv=0xbffff444) at .src/gui/wxMApp.cpp:343 Regards, Nerijus ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers