wx process stuff... SIGSEGV

I am guessing there is a better place for bug reports, and maybe more
info is needed, so feel free to send me somewhere else.

wxPython2.8
https://github.com/CarlFK/dvsmon/blob/master/dvs-mon.py

run it without any params,
click the X next to "ping -h"

GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/juser/.virtualenvs/veyepar/bin/python...(no
debugging symbols found)...done.
(gdb) run
Starting program: /home/juser/.virtualenvs/veyepar/bin/python dvs-mon.py
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt full
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#1 0x00007ffff5916e49 in wxTimerBase::Notify() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#2 0x00007ffff583efeb in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#3 0x00007ffff3bc223b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007ffff3bc0a5d in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007ffff3bc1258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6 0x00007ffff3bc1792 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#7 0x00007ffff46c8db7 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#8 0x00007ffff5837848 in wxEventLoop::Run() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#9 0x00007ffff58aec0b in wxAppBase::MainLoop() ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#10 0x00007ffff5f54237 in wxPyApp::MainLoop() ()
   from /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so
No symbol table info available.
#11 0x00007ffff5f79c33 in ?? ()
   from /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so
No symbol table info available.
#12 0x00000000004ba151 in PyEval_EvalFrameEx ()
No symbol table info available.
#13 0x00000000004bcd2d in PyEval_EvalCodeEx ()
No symbol table info available.
#14 0x0000000000448edf in ?? ()
No symbol table info available.
#15 0x000000000041ad2a in PyObject_Call ()
No symbol table info available.
#16 0x000000000043074e in ?? ()
No symbol table info available.
#17 0x000000000041ad2a in PyObject_Call ()
No symbol table info available.
#18 0x00000000004b6b9e in PyEval_EvalFrameEx ()
No symbol table info available.
#19 0x00000000004b6d77 in PyEval_EvalFrameEx ()
No symbol table info available.
#20 0x00000000004b6d77 in PyEval_EvalFrameEx ()
No symbol table info available.
#21 0x00000000004bcd2d in PyEval_EvalCodeEx ()
No symbol table info available.
#22 0x00000000004bd802 in PyEval_EvalCode ()
No symbol table info available.
#23 0x00000000004dcc22 in ?? ()
No symbol table info available.
#24 0x00000000004dd7e4 in PyRun_FileExFlags ()
No symbol table info available.
#25 0x00000000004de2ee in PyRun_SimpleFileExFlags ()
No symbol table info available.
#26 0x00000000004ee6dd in Py_Main ()
No symbol table info available.
#27 0x00007ffff699e30d in __libc_start_main (main=0x41aa40 <main>, argc=2,
    ubp_av=0x7fffffffe638, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffe628) at libc-start.c:226
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -7016113256424459699,
                4311872, 140737488348720, 0, 0, 7016113255670690381,
                7016097055176733261}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x53bf60, 0x7fffffffe638}, data = {prev = 0x0,
              cleanup = 0x0, canceltype = 5488480}}}
        not_first_call = <optimized out>
#28 0x000000000041cb69 in _start ()
No symbol table info available.
(gdb) quit
A debugging session is active.

  Inferior 1 [process 11814] will be killed.

Quit anyway? (y or n)

···

--
Carl K

Errors on Windows too.

It looks like you are getting timer events that are trying to be sent to windows that have been destroyed. Try stopping and deleting the timer before the window it is bound to is destroyed.

···

On 10/31/11 8:46 PM, Carl Karsten wrote:

I am guessing there is a better place for bug reports, and maybe more
info is needed, so feel free to send me somewhere else.

wxPython2.8
dvsmon/dvs-mon.py at master · CarlFK/dvsmon · GitHub

run it without any params,
click the X next to "ping -h"

--
Robin Dunn
Software Craftsman

yep, that fixed it.

···

On Nov 1, 12:56 pm, Robin Dunn <ro...@alldunn.com> wrote:

On 10/31/11 8:46 PM, Carl Karsten wrote:

> I am guessing there is a better place for bug reports, and maybe more
> info is needed, so feel free to send me somewhere else.

> wxPython2.8
>dvsmon/dvs-mon.py at master · CarlFK/dvsmon · GitHub

> run it without any params,
> click the X next to "ping -h"

It looks like you are getting timer events that are trying to be sent to
windows that have been destroyed. Try stopping and deleting the timer
before the window it is bound to is destroyed.