Re: segfault gtk_window_add_accel_group

Egon Frerich <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>

On Wednesday, January 6, 2016 at 6:56:14 PM UTC+1, Egon Frerich wrote:
>
> I have got a segfault. gdb tells me:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff3d98295 in gtk_window_add_accel_group ()
>    from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> (gdb) bt
> #0  0x00007ffff3d98295 in gtk_window_add_accel_group ()
>    from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> #1  0x00007ffff56aa7a0 in (anonymous namespace)::AttachToFrame(wxMenu*, 
> wxFrame*) ()
>    from 
> /home/egon/Entw/umg_wx/lib/python3.4/site-packages/wx/libwx_gtk2u_core-3.0.so.0
> #2  0x00007ffff56aa77d in (anonymous namespace)::AttachToFrame(wxMenu*, 
> wxFrame*) ()
>    from 
> /home/egon/Entw/umg_wx/lib/python3.4/site-packages/wx/libwx_gtk2u_core-3.0.so.0
> #3  0x00007ffff56adeec in wxMenuBar::Attach(wxFrame*) ()
>    from 
> /home/egon/Entw/umg_wx/lib/python3.4/site-packages/wx/libwx_gtk2u_core-3.0.so.0
> #4  0x00007ffff572c4e0 in wxFrameBase::AttachMenuBar(wxMenuBar*) ()
>    from 
> /home/egon/Entw/umg_wx/lib/python3.4/site-packages/wx/libwx_gtk2u_core-3.0.so.0
> #5  0x00007ffff56a37e5 in wxFrame::AttachMenuBar(wxMenuBar*) ()
>    from 
> /home/egon/Entw/umg_wx/lib/python3.4/site-packages/wx/libwx_gtk2u_core-3.0.so.0
>
> and
>
>   94            mb = gui.menu.MainMenu(self, self.uiCommands, 
> self.settings)
>  >95            self.SetMenuBar(mb)
>   96            self.SetStatusBar(gui.status.StatusBar(self))
>
> Phoenix-Version:
>
> # This file was generated by Phoenix's wscript.
>
> VERSION_STRING    = '3.0.3.dev1830+0b5f910'
> MAJOR_VERSION     = 3
> MINOR_VERSION     = 0
> RELEASE_NUMBER    = 3
>
> VERSION = (MAJOR_VERSION, MINOR_VERSION, RELEASE_NUMBER, 
> '.dev1830+0b5f910')
>
>
> Egon
>

I add from the gdb output:

#6  0x00007ffff6054e89 in meth_wxFrame_SetMenuBar (sipSelf=
    <Hauptfenster(splash=None, 
vwController=<VerweiseController(widget=<ListCtrl(imn=1, imf=0, imw=2, 
controller=<...>, 
_CtrlWithItemPopupMenu__popupMenu=<PopupMenuVerw(_window=<Panel at remote 
0x7fffec4e2a68>) at remote 0x7fffec47c5e8>, cu---Type <return> to continue, 
or q <return> to quit---
rrentItem=None, il=<ImageList at remote 0x7fffec47c8b8>) at remote 
0x7fffec47c828>, viewer=<VerweiseViewer(widget=<...>, controller=<...>, 
parent=<...>, uiCommands=<UICommands(vwController=<...>, 
textController=<TextController(widget=<TextCtrl(controller=<...>, 
_CtrlWithItemPopupMenu__popupMenu=None) at remote 0x7fffec47c558>, 
viewer=<TextViewer(widget=<...>, controller=<...>, parent=<Panel at remote 
0x7fffec4e29d8>, uiCommands=<...>) at remote 0x7fffec47ad68>, 
hauptfenster=<...>, settings=<Settings(removeObserver=<method at remote 
0x7ffff7f3d688>, _inline_comment_prefixes=(), _dict=<type at remote 
0xc4b358>, registerObserver=<method at remote 0x7ffff7e32248>, 
notifyObservers=<method at remote 0x7ffff7f1ad08>, 
_interpolation=<BasicInterpolation at remote 0x7fffecc08cc0>, 
_allow...(truncated), sipArgs=(<MainMenu at remote 0x7fffec47c948>,), 
sipKwds=0x0)
    at ../../../sip/cpp/sip_corewxFrame.cpp:1475
#7  0x0000000000518545 in call_function (oparg=<optimized out>, 
    pp_stack=0x7fffffffd190) at ../Python/ceval.c:4237
 

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
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.