← Back to team overview

kicad-developers team mailing list archive

SIGTRAP crash with ngspice


I tried another ngspice experiment.  I ran a simulation, and it worked, albeit with the data size warning I asked about earlier.  So far so good.

However, the ngspice window showed some really strange text, as if the font was missing many characters.  Here is a link to a screenshot:


I attempted to select the strange text, so I could paste it into this email, but that provoked a SIGTRAP crash:

(kicad:14688): Gdk-ERROR **: 12:16:00.118: The program 'kicad' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 493730 error_code 3 request_code 18 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Thread 1 "kicad" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff5b7d1e5 in ?? () from /lib64/libglib-2.0.so.0
(gdb) bt
#0  0x00007ffff5b7d1e5 in  () at /lib64/libglib-2.0.so.0
#1  0x00007ffff5b7e2b1 in g_log_default_handler () at /lib64/libglib-2.0.so.0
#2  0x00007ffff5b7e4ff in g_logv () at /lib64/libglib-2.0.so.0
#3  0x00007ffff5b7e6f3 in g_log () at /lib64/libglib-2.0.so.0
#4  0x00007ffff5ec548d in gdk_x_error () at /lib64/libgdk-x11-2.0.so.0
#5  0x00007ffff5d07402 in _XError () at /lib64/libX11.so.6
#6  0x00007ffff5d04297 in  () at /lib64/libX11.so.6
#7  0x00007ffff5d0433d in  () at /lib64/libX11.so.6
#8  0x00007ffff5d052b0 in _XReply () at /lib64/libX11.so.6
#9  0x00007ffff5d00b01 in XSync () at /lib64/libX11.so.6
#10 0x00007ffff5d00b9f in  () at /lib64/libX11.so.6
#11 0x00007ffff5ce1123 in XChangeProperty () at /lib64/libX11.so.6
#12 0x00007ffff5ec82b2 in gdk_property_change () at /lib64/libgdk-x11-2.0.so.0
#13 0x00007ffff60def9f in _gtk_selection_incr_event ()
    at /lib64/libgtk-x11-2.0.so.0
#14 0x00007ffff6069f84 in gtk_main_do_event () at /lib64/libgtk-x11-2.0.so.0
#15 0x00007ffff5ebcf70 in gdk_event_dispatch () at /lib64/libgdk-x11-2.0.so.0
#16 0x00007ffff5b7706d in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#17 0x00007ffff5b77438 in  () at /lib64/libglib-2.0.so.0
#18 0x00007ffff5b77762 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#19 0x00007ffff6068e4f in gtk_main () at /lib64/libgtk-x11-2.0.so.0
#20 0x00007ffff7845c15 in wxGUIEventLoop::DoRun() ()
    at /lib64/libwx_gtk2u_core-3.0.so.0
#21 0x00007ffff7377e21 in wxEventLoopBase::Run() ()
    at /lib64/libwx_baseu-3.0.so.0
#22 0x00007ffff733bb1a in wxAppConsoleBase::MainLoop() ()
    at /lib64/libwx_baseu-3.0.so.0
#23 0x00005555555dd27d in  ()
#24 0x00007ffff73c1d0b in wxEntry(int&, wchar_t**) ()
    at /lib64/libwx_baseu-3.0.so.0
#25 0x00005555555c3e4c in  ()
#26 0x00007ffff63d6413 in __libc_start_main () at /lib64/libc.so.6
#27 0x00005555555c82ee in _start ()

Please let me know what you think of this.  If you need additional data, please let me know - it is 100% reproducible.


Follow ups