kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #05868
pcbnew crashes when resizing text
Hi guys,
with kicad bzr 2643, in pcbnew when I create some text (eg on the
silkscreen) and I put a smaller x & y this message gets displayed:
"The text thickness is too large for the text size. It will be clamped"
Then, when clicking ok, pcbnew crashes.
I run it trough gdb, and here is the output:
> [fabio@gamma hmc5843_3bb]$ gdb pcbnew
> GNU gdb (GDB) 7.2
> Copyright (C) 2010 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-unknown-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/bin/pcbnew...(no debugging symbols found)...done.
> (gdb) start
> Temporary breakpoint 1 at 0x5ba620
> Starting program: /usr/bin/pcbnew
> [Thread debugging using libthread_db enabled]
>
> Temporary breakpoint 1, 0x00000000005ba620 in main ()
> (gdb) continue
> Continuing.
> [New Thread 0x7fffe939b710 (LWP 23010)]
> [New Thread 0x7fffe8b9a710 (LWP 23011)]
> [New Thread 0x7fffe3fff710 (LWP 23012)]
> [New Thread 0x7fffe37fe710 (LWP 23013)]
> [Thread 0x7fffe939b710 (LWP 23010) exited]
> [Thread 0x7fffe3fff710 (LWP 23012) exited]
> [Thread 0x7fffe8b9a710 (LWP 23011) exited]
> [Thread 0x7fffe37fe710 (LWP 23013) exited]
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff6bcccdf in wxGetTopLevelParent(wxWindow*) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
> (gdb) trace
> Tracepoint 2 at 0x7ffff6bcccdf
> (gdb) stacktrace
> Undefined command: "stacktrace". Try "help".
> (gdb) backtrace
> #0 0x00007ffff6bcccdf in wxGetTopLevelParent(wxWindow*) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
> #1 0x00007ffff6bccd44 in wxWindowBase::~wxWindowBase() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
> #2 0x0000000000634673 in WinEDA_MessageDialog::~WinEDA_MessageDialog() ()
> #3 0x00007ffff6b56842 in wxAppBase::DeletePendingObjects() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
> #4 0x00007ffff6b569db in wxAppBase::ProcessIdle() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
> #5 0x00007ffff6ac4d8e in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
> #6 0x00007ffff30babf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
> #7 0x00007ffff30bb3d0 in ?? () from /usr/lib/libglib-2.0.so.0
> #8 0x00007ffff30bba42 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
> #9 0x00007ffff3bb4917 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
> #10 0x00007ffff6ad9338 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
> #11 0x00007ffff6b5677b in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
> ---Type <return> to continue, or q <return> to quit---
> #12 0x00007ffff6401c7a in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
> #13 0x00000000005ba632 in main ()
> (gdb) exit;
> Undefined command: "exit". Try "help".
> (gdb) quit
> A debugging session is active.
>
> Inferior 1 [process 22998] will be killed.
>
> Quit anyway? (y or n) y
I don't know if this is of any help. I can debug more if you guide me
through it.
Thanks,
Fabio Varesano