On Fri, 4 Oct 2002 20:30:20 +0200 (CET) Vadim Zeitlin
<[EMAIL PROTECTED]> wrote:
VZ> NB> VZ> NB> If 'Show toolbar buttons as' is Text, there are no buttons at all and
an assert:
VZ> NB> VZ> NB> [Debug] 02:23:13: ../wxWindows/src/gtk/tbargtk.cpp(385): assert
"wxFalse" failed: invalid bitmap for wxToolBar icon
VZ> It might be a bit late to return to this, but I suppose that this is not
VZ> true any longer, is it?
Now I can see text only toolbar buttons, but trying to edit prefs still segfaults:
[Debug] 21:14:12: ../wxWindows/src/gtk/notebook.cpp(622): assert "m_imageList != NULL"
failed.
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 1024 (LWP 14379)]
0x42029331 in kill () from /lib/i686/libc.so.6
(gdb) bt
#0 0x42029331 in kill () from /lib/i686/libc.so.6
#1 0x4202911a in raise () from /lib/i686/libc.so.6
#2 0x402e23e9 in wxTrap() () at ../wxWindows/src/common/appcmn.cpp:506
#3 0x402e25ed in ShowAssertDialog(char const*, int, char const*, char const*)
(szFile=0x40464480 "../wxWindows/src/gtk/notebook.cpp", nLine=622,
szCond=0x40464572 "m_imageList != NULL", szMsg=0x0)
at ../wxWindows/src/common/appcmn.cpp:583
#4 0x402e26a7 in wxAppBase::OnAssert(char const*, int, char const*, char const*
) (this=0x40036000, file=0x40464480 "../wxWindows/src/gtk/notebook.cpp",
line=622, cond=0x40464572 "m_imageList != NULL", msg=0x0)
at ../wxWindows/src/common/appcmn.cpp:641
#5 0x40274f35 in wxApp::OnAssert(char const*, int, char const*, char const*) (
this=0x8496038, file=0x40464480 "../wxWindows/src/gtk/notebook.cpp",
line=622, cond=0x40464572 "m_imageList != NULL", msg=0x0)
at ../wxWindows/src/gtk/app.cpp:880
#6 0x0816d137 in wxMApp::OnAssert(char const*, int, char const*, char const*)
(this=0x8496038, file=0x40464480 "../wxWindows/src/gtk/notebook.cpp",
line=622, cond=0x40464572 "m_imageList != NULL", msg=0x0)
at .src/gui/wxMApp.cpp:501
#7 0x402e267f in wxOnAssert(char const*, int, char const*, char const*) (
szFile=0x40464480 "../wxWindows/src/gtk/notebook.cpp", nLine=622,
szCond=0x40464572 "m_imageList != NULL", szMsg=0x0)
at ../wxWindows/src/common/appcmn.cpp:630
#8 0x402e241e in wxAssert(int, char const*, int, char const*, char const*) (
cond=0, szFile=0x40464480 "../wxWindows/src/gtk/notebook.cpp", nLine=622,
szCond=0x40464572 "m_imageList != NULL", szMsg=0x0)
at ../wxWindows/src/common/appcmn.cpp:520
#9 0x402b02f5 in wxNotebook::InsertPage(int, wxWindow*, wxString const&, bool, int)
(this=0x85e7158, position=0, win=0x85e78f0, text=@0xbfffdb40,
select=false, imageId=0) at ../wxWindows/src/gtk/notebook.cpp:622
#10 0x40390dcd in wxNotebookBase::AddPage(wxWindow*, wxString const&, bool, int)
(this=0x85e7158, pPage=0x85e78f0, strText=@0xbfffdb40, bSelect=0, imageId=0)
at ../wxWindows/include/wx/notebook.h:131
#11 0x081aa06d in wxOptionsPage::wxOptionsPage(wxOptionsPage::FieldInfo const*,
ConfigValueDefault const*, unsigned, unsigned, wxNotebook*, char const*, Profile*,
int, int) (this=0x85e78f0, aFields=0x83387e0, aDefaults=0x843df40,
nFirst=0, nLast=17, notebook=0x85e7158, title=0x8339a0f "Identity",
profile=0x85e77c0, helpId=4102, image=0) at .src/gui/wxOptionsDlg.cpp:1992
#12 0x081ad5fd in wxOptionsPageStandard::wxOptionsPageStandard(wxNotebook*, char
const*, Profile*, int, unsigned, int) (this=0x85e78f0, notebook=0x85e7158,
title=0x8339a0f "Identity", profile=0x85e77c0, nFirst=-1, nLast=16,
helpId=4102) at .src/gui/wxOptionsDlg.cpp:2830
#13 0x081aeb7b in wxOptionsPageIdent::wxOptionsPageIdent(wxNotebook*, Profile*)
(this=0x85e78f0, parent=0x85e7158, profile=0x85e77c0)
at .src/gui/wxOptionsDlg.cpp:3197
#14 0x081b1f8f in wxOptionsNotebook::wxOptionsNotebook(wxWindow*) (
this=0x85e7158, parent=0x85e6bd8) at .src/gui/wxOptionsDlg.cpp:3983
#15 0x081b122b in wxGlobalOptionsDialog::CreateNotebook(wxPanel*) (
this=0xbfffdf20, panel=0x85e6bd8) at .src/gui/wxOptionsDlg.cpp:3876
#16 0x08113f77 in wxOptionsEditDialog::CreateAllControls() (this=0xbfffdf20)
at .src/gui/wxDialogLayout.cpp:1224
#17 0x081b3909 in ShowOptionsDialog(wxFrame*, OptionsPage) (parent=0x8519360,
page=OptionsPage_Default) at .src/gui/wxOptionsDlg.cpp:4159
#18 0x081a0819 in wxMFrame::OnMenuCommand(int) (this=0x8519360, id=155)
at .src/gui/wxMFrame.cpp:648
#19 0x081696e2 in wxMainFrame::OnCommandEvent(wxCommandEvent&) (
this=0x8519360, event=@0xbfffe720) at .src/gui/wxMainFrame.cpp:1003
#20 0x4032200b in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) (
this=0x8519360, table=@0x8306960, event=@0xbfffe720)
at ../wxWindows/src/common/event.cpp:931
#21 0x40321d98 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x8519360,
event=@0xbfffe720) at ../wxWindows/src/common/event.cpp:847
#22 0x40388304 in wxMenuBase::SendEvent(int, int) (this=0x856e948, id=155,
checked=-1) at ../wxWindows/src/common/menucmn.cpp:594
#23 0x402a8a2d in gtk_menu_clicked_callback(_GtkWidget*, wxMenu*) (
widget=0x856e784, menu=0x856e948) at ../wxWindows/src/gtk/menu.cpp:660
#24 0x40812dc8 in gtk_item_factory_set_translate_func ()
from /usr/lib/libgtk-1.2.so.0
#25 0x40824e76 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#26 0x40869de6 in gtk_signal_remove_emission_hook ()
from /usr/lib/libgtk-1.2.so.0
#27 0x40868f0b in gtk_signal_handlers_destroy () from /usr/lib/libgtk-1.2.so.0
...
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x4037f022 in wxListBase::GetFirst() const (this=0x8)
at ../wxWindows/include/wx/list.h:270
270 wxNodeBase *GetFirst() const { return m_nodeFirst; }
Regards,
Nerijus
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers