Hello,

M now compiles with wxMotif (thanks Vadim for fixes for wxCocoa -
no wxUSE_TOOLTIPS). Release version works, but debug closes
on SIGTRAP with no assert dialog first. Any ideas?

[Debug] ../wxWindows/src/common/menucmn.cpp(638): assert "!m_menuBar" failed: 
attaching menu twice?

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 16384 (LWP 14535)]
0x407c94e1 in kill () from /lib/i686/libc.so.6
(gdb) bt
#0  0x407c94e1 in kill () from /lib/i686/libc.so.6
#1  0x40757fd1 in pthread_kill () from /lib/i686/libpthread.so.0
#2  0x4075834b in raise () from /lib/i686/libpthread.so.0
#3  0x40535a7d in wxTrap() () at ../wxWindows/src/common/appbase.cpp:539
#4  0x40535ad9 in wxOnAssert(char const*, int, char const*, char const*) (
    szFile=0x403f8260 "../wxWindows/src/motif/msgdlg.cpp", nLine=142, 
    szCond=0x403f824d "wxAssertFailure", 
    szMsg=0x403f8220 "can't show message box without parent window")
    at ../wxWindows/src/common/appbase.cpp:567
#5  0x40535ab0 in wxAssert(int, char const*, int, char const*, char const*) (
    cond=0, szFile=0x403f8260 "../wxWindows/src/motif/msgdlg.cpp", nLine=142, 
    szCond=0x403f824d "wxAssertFailure", 
    szMsg=0x403f8220 "can't show message box without parent window")
    at ../wxWindows/src/common/appbase.cpp:552
#6  0x402d1d52 in wxMessageDialog::ShowModal() (this=0xbfffedf0)
    at ../wxWindows/src/motif/msgdlg.cpp:142
#7  0x402875b3 in wxMessageBox(wxString const&, wxString const&, long, wxWindow*, int, 
int) ([EMAIL PROTECTED], [EMAIL PROTECTED], style=538, parent=0x0)
    at ../wxWindows/src/common/utilscmn.cpp:752
#8  0x4032358e in wxGUIAppTraitsBase::ShowAssertDialog(wxString const&) (
    this=0x839a678, [EMAIL PROTECTED]) at ../wxWindows/src/common/appcmn.cpp:529
#9  0x40535e8c in ShowAssertDialog (
    szFile=0x40408d80 "../wxWindows/src/common/menucmn.cpp", nLine=638, 
    szCond=0x40409145 "!m_menuBar", szMsg=0x4040912f "attaching menu twice?", 
    traits=0x839a678) at ../wxWindows/src/common/appbase.cpp:705
#10 0x4053580f in wxAppConsole::OnAssert(char const*, int, char const*, char const*) 
(this=0x837d830, file=0x40408d80 "../wxWindows/src/common/menucmn.cpp", line=638, 
    cond=0x40409145 "!m_menuBar", msg=0x4040912f "attaching menu twice?")
    at ../wxWindows/src/common/appbase.cpp:408
#11 0x08132c74 in wxMApp::OnAssert(char const*, int, char const*, char const*) (
    this=0x837d830, file=0x40408d80 "../wxWindows/src/common/menucmn.cpp", 
    line=638, cond=0x40409145 "!m_menuBar", msg=0x4040912f "attaching menu twice?")
    at .src/gui/wxMApp.cpp:553
#12 0x40535b34 in wxOnAssert(char const*, int, char const*, char const*) (
    szFile=0x40408d80 "../wxWindows/src/common/menucmn.cpp", nLine=638, 
    szCond=0x40409145 "!m_menuBar", szMsg=0x4040912f "attaching menu twice?")
    at ../wxWindows/src/common/appbase.cpp:585
#13 0x40535ab0 in wxAssert(int, char const*, int, char const*, char const*) (
    cond=0, szFile=0x40408d80 "../wxWindows/src/common/menucmn.cpp", nLine=638, 
    szCond=0x40409145 "!m_menuBar", szMsg=0x4040912f "attaching menu twice?")
    at ../wxWindows/src/common/appbase.cpp:552
#14 0x4037e3f1 in wxMenuBase::Attach(wxMenuBarBase*) (this=0x84615f8, 
    menubar=0x84497e0) at ../wxWindows/src/common/menucmn.cpp:638
#15 0x4037ef1b in wxMenuBarBase::Append(wxMenu*, wxString const&) (this=0x84497e0, 
    menu=0x84615f8) at ../wxWindows/src/common/menucmn.cpp:760
#16 0x402ce2e4 in wxMenuBar::Append(wxMenu*, wxString const&) (this=0x84497e0, 
    menu=0x84615f8, [EMAIL PROTECTED]) at ../wxWindows/src/motif/menu.cpp:296
#17 0x0815593c in wxMFrame::AddFileMenu() (this=0x8447478)
    at .src/gui/wxMFrame.cpp:332
#18 0x0812e7cc in wxMainFrame (this=0x8447478, [EMAIL PROTECTED], parent=0x0)
    at .src/gui/wxMainFrame.cpp:603
#19 0x0813388c in wxMApp::CreateTopLevelFrame() (this=0x837d830)
    at .src/gui/wxMApp.cpp:1098
#20 0x080a9b90 in MAppBase::OnStartup() (this=0x837d890)
    at .src/classes/MApplication.cpp:547
#21 0x08133567 in wxMApp::OnInit() (this=0x837d830) at .src/gui/wxMApp.cpp:1006
#22 0x08137f3c in wxAppConsole::CallOnInit() (this=0x837d830) at app.h:87
#23 0x40577edc in wxEntry(int&, char**) ([EMAIL PROTECTED], argv=0xbffff444)
    at ../wxWindows/src/common/init.cpp:392
#24 0x0813232d in main (argc=1, argv=0xbffff444) at .src/gui/wxMApp.cpp:343

Regards,
Nerijus


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to