On Fri, 26 Mar 2004 22:32:29 +0100 (Romance Standard Time) Vadim Zeitlin <[EMAIL 
PROTECTED]> wrote:

VZ>  Ok, this seems to be a harmless bug: wxMotif already attaches the menu to the
VZ> menubar itself and so an assert happens when this is done again in the base
VZ> class. I've fixed it (blindly), please let me know if it works better now.

Yes, it does, thank you. Now it crashes when choosing preferences. I don't expect
you to debug it, but still here is a backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 25037)]
0x40b5e76a in XtDisplay () from /usr/X11R6/lib/libXt.so.6
(gdb) bt
#0  0x40b5e76a in XtDisplay () from /usr/X11R6/lib/libXt.so.6
#1  0x402ec65f in wxWindow::ChangeFont(bool) (this=0x86dad78, 
    keepOriginalSize=false) at ../wxWindows/src/motif/window.cpp:2526
#2  0x402d7273 in wxRadioBox::ChangeFont(bool) (this=0x86dad78, 
    keepOriginalSize=false) at ../wxWindows/src/motif/radiobox.cpp:351
#3  0x402d65d3 in wxRadioBox::Create(wxWindow*, int, wxString const&, wxPoint const&, 
wxSize const&, int, wxString const*, int, long, wxValidator const&, wxString const&) 
(this=0x86dad78, parent=0x86d69e0, id=-1, [EMAIL PROTECTED], [EMAIL PROTECTED], 
    [EMAIL PROTECTED], n=3, choices=0x86d9c0c, majorDim=1, style=8, [EMAIL PROTECTED], 
    [EMAIL PROTECTED]) at ../wxWindows/src/motif/radiobox.cpp:146
#4  0x402d7c00 in wxRadioBox (this=0x86dad78, parent=0x86d69e0, id=-1, 
    [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], n=3, choices=0x86d9c0c, 
    majorDim=1, style=8, [EMAIL PROTECTED], [EMAIL PROTECTED]) at radiobox.h:45
#5  0x080ed91e in CreateRadioBox(wxWindow*, char const*, long, wxControl*, int) (
    parent=0x86d69e0, 
    labelFull=0x82cb780 "&Go to this message:First unread:First:Last", 
    widthMax=216, last=0x86d9730, nRightMargin=0)
    at .src/gui/wxDialogLayout.cpp:250
#6  0x080ef4e8 in wxEnhancedPanel::CreateRadioBox(char const*, long, wxControl*, int) 
(this=0x86d6200, label=0x82cb780 "&Go to this message:First unread:First:Last", 
    widthMax=216, last=0x86d9730, nRightMargin=0)
    at .src/gui/wxDialogLayout.cpp:778
#7  0x0815e10a in wxOptionsPage::CreateControls() (this=0x86d6200)
    at .src/gui/wxOptionsDlg.cpp:2358
#8  0x0815d63f in wxOptionsPage (this=0x86d6200, aFields=0x82cd780, 
    aDefaults=0x8356560, nFirst=168, nLast=202, notebook=0x8616370, 
    title=0x82ce8e9 "Folder View", profile=0x8618fd8, helpId=4101, image=6)
    at .src/gui/wxOptionsDlg.cpp:2224
#9  0x0816054b in wxOptionsPageStandard (this=0x86d6200, notebook=0x8616370, 
    title=0x82ce8e9 "Folder View", profile=0x8618fd8, nFirst=167, nLast=201, 
    helpId=4101) at .src/gui/wxOptionsDlg.cpp:3149
#10 0x08160dfb in wxOptionsPageFolderView (this=0x86d6200, parent=0x8616370, 
    profile=0x8618fd8) at .src/gui/wxOptionsDlg.cpp:3344
#11 0x08163e72 in wxOptionsNotebook (this=0x8616370, parent=0x8613358)
    at .src/gui/wxOptionsDlg.cpp:4467
#12 0x0816372c in wxGlobalOptionsDialog::CreateNotebook(wxPanel*) (
    this=0xbfffe810, panel=0x8613358) at .src/gui/wxOptionsDlg.cpp:4347
#13 0x080f0e6c in wxOptionsEditDialog::CreateAllControls() (this=0xbfffe810)
    at .src/gui/wxDialogLayout.cpp:1246
#14 0x08164a07 in ShowOptionsDialog(wxFrame*, OptionsPage) (parent=0x84475e0, 
    page=OptionsPage_Default) at .src/gui/wxOptionsDlg.cpp:4640
#15 0x081565e4 in wxMFrame::OnMenuCommand(int) (this=0x84475e0, id=157)
    at .src/gui/wxMFrame.cpp:632
#16 0x0812fa3b in wxMainFrame::OnCommandEvent(wxCommandEvent&) (this=0x84475e0, 
    [EMAIL PROTECTED]) at .src/gui/wxMainFrame.cpp:1047
#17 0x40537528 in wxAppConsole::HandleEvent(wxEvtHandler*, void 
(wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0x837d830, handler=0x84475e0, func=
      {__pfn = 0x812f1ce <wxMainFrame::OnCommandEvent(wxCommandEvent&)>, __delta = 0}, 
[EMAIL PROTECTED]) at ../wxWindows/src/common/appbase.cpp:288
#18 0x405d4dea in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&) ([EMAIL PROTECTED], handler=0x84475e0, [EMAIL PROTECTED])
    at ../wxWindows/src/common/event.cpp:1169
#19 0x405d3d7a in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (
    this=0x8354904, [EMAIL PROTECTED], self=0x84475e0)
    at ../wxWindows/src/common/event.cpp:837
#20 0x405d4ffe in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x84475e0, 
    [EMAIL PROTECTED]) at ../wxWindows/src/common/event.cpp:1231
#21 0x402d30bf in wxMenuItemCallback (clientData=0x8471bb8)
    at ../wxWindows/src/motif/menuitem.cpp:348
#22 0x40b4985d in XtCallCallbackList () from /usr/X11R6/lib/libXt.so.6
#23 0x40977318 in XmCreatePushButton () from /usr/X11R6/lib/libXm.so.3
#24 0x4094bbf5 in _XmDispatchGadgetInput () from /usr/X11R6/lib/libXm.so.3
#25 0x40a16781 in _XmMenuBtnUp () from /usr/X11R6/lib/libXm.so.3
#26 0x40b7dafa in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
#27 0x40b7e038 in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
#28 0x40b7e633 in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
#29 0x40b56884 in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#30 0x40b573c8 in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#31 0x40b5757f in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#32 0x402c10d6 in ProcessXEvent (event=0xbffff240)
    at ../wxWindows/src/motif/evtloop.cpp:250
#33 0x402c0f6f in wxEventLoop::Dispatch() (this=0x8379590)
    at ../wxWindows/src/motif/evtloop.cpp:167
#34 0x402c14f5 in wxDoEventLoopIteration(wxEventLoop&) ([EMAIL PROTECTED])
    at ../wxWindows/src/motif/evtloop.cpp:368
#35 0x402c0de5 in wxEventLoop::Run() (this=0x8379590)
    at ../wxWindows/src/motif/evtloop.cpp:127
#36 0x4029e871 in wxApp::MainLoop() (this=0x837d830)
    at ../wxWindows/src/motif/app.cpp:160
#37 0x40324f47 in wxAppBase::OnRun() (this=0x837d830)
    at ../wxWindows/src/common/appcmn.cpp:330
#38 0x08133901 in wxMApp::OnRun() (this=0x837d830) at .src/gui/wxMApp.cpp:1109
#39 0x40579f25 in wxEntry(int&, char**) ([EMAIL PROTECTED], argv=0xbffff444)
    at ../wxWindows/src/common/init.cpp:408
#40 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