On Tue, Dec 20, 2016 at 09:27:10PM +0100, Carsten Schoenert wrote:
 
> it would be better to report this problem upstream, or if yet happen
> provide the upstream bug report URL, with a GDB log of that crash.

I made a GDB log from a prepared version 4.0.5 ...

$ gdb --args /usr/bin/kicad
GNU gdb (Debian 7.11.1-2+b1) 7.11.1
Copyright (C) 2016 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/kicad...Reading symbols from 
/usr/lib/debug/.build-id/f5/4dbb0e64a54e6d2ae294bb027f4ccb13109a56.debug...done.
done.
(gdb) run
Starting program: /usr/bin/kicad 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
21:37:53: Warning: Mismatch between the program and library build versions 
detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx 
containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx 
containers,compatible with 2.8).
21:37:53: Debug: Using libcurl/7.50.1 GnuTLS/3.5.7 zlib/1.2.8 libidn/1.33 
libssh2/1.7.0 nghttp2/1.17.0 librtmp/2.3
21:37:53: Debug: merkurboard2.pro: noname.pro
[New Thread 0x7fffe0213700 (LWP 6053)]
[New Thread 0x7fffdfa12700 (LWP 6054)]
[New Thread 0x7fffdf211700 (LWP 6055)]
21:37:53: Debug: FileWatcherReset: add 
'/home/carsten/Dropbox/Public/KiCad/deRFmega.pretty'

21:37:53: Debug: FileWatcherReset: add '/home/carsten/Dropbox/Public/KiCad/libs'

21:38:08: Debug: Adding duplicate image handler for 'PNG file'
21:38:08: Debug: Adding duplicate image handler for 'JPEG file'
21:38:08: Debug: Adding duplicate image handler for 'TIFF file'
21:38:08: Debug: Adding duplicate image handler for 'GIF file'
21:38:08: Debug: Adding duplicate image handler for 'PNM file'
21:38:08: Debug: Adding duplicate image handler for 'PCX file'
21:38:08: Debug: Adding duplicate image handler for 'IFF file'
21:38:08: Debug: Adding duplicate image handler for 'Windows icon file'
21:38:08: Debug: Adding duplicate image handler for 'Windows cursor file'
21:38:08: Debug: Adding duplicate image handler for 'Windows animated cursor 
file'
21:38:08: Debug: Adding duplicate image handler for 'TGA file'
21:38:08: Debug: Adding duplicate image handler for 'XPM file'
21:38:09: Debug: Loading project 
'/home/carsten/Dropbox/Public/KiCad/merkurboard2.pro' settings.
21:38:09: Debug: Skipping general section token 'links' 
21:38:09: Debug: Skipping general section token 'area' 
21:38:09: Debug: Skipping general section token 'drawings' 
21:38:09: Debug: Skipping general section token 'tracks' 
21:38:09: Debug: Skipping general section token 'zones' 
21:38:09: Debug: Skipping general section token 'symbol' 
[New Thread 0x7fffce21e700 (LWP 6072)]
[New Thread 0x7fffcda1d700 (LWP 6073)]
[New Thread 0x7fffcd21c700 (LWP 6074)]
[Thread 0x7fffdf211700 (LWP 6055) exited]
21:38:34: Debug: Status: Using GLEW 2.0.0

Thread 1 "kicad" received signal SIGSEGV, Segmentation fault.
0x0000555556ad93b0 in ?? ()
(gdb) thread apply all bt

Thread 7 (Thread 0x7fffcd21c700 (LWP 6074)):
#0  0x00007ffff3652d1e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff3650690 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff416d464 in start_thread (arg=0x7fffcd21c700) at 
pthread_create.c:333
#3  0x00007ffff316d9df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 6 (Thread 0x7fffcda1d700 (LWP 6073)):
#0  0x00007ffff3652d1e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff3650690 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff416d464 in start_thread (arg=0x7fffcda1d700) at 
pthread_create.c:333
#3  0x00007ffff316d9df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7fffce21e700 (LWP 6072)):
#0  0x00007ffff3652d1e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007ffff3650690 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007ffff416d464 in start_thread (arg=0x7fffce21e700) at 
pthread_create.c:333
#3  0x00007ffff316d9df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7fffdfa12700 (LWP 6054)):
#0  0x00007ffff316456d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff177c9f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff177cd82 in g_main_loop_run () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffeaec74f6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffff17a4345 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff416d464 in start_thread (arg=0x7fffdfa12700) at 
pthread_create.c:333
#6  0x00007ffff316d9df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7fffe0213700 (LWP 6053)):
#0  0x00007ffff316456d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff177c9f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff177cb0c in g_main_context_iteration () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff177cb51 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff17a4345 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff416d464 in start_thread (arg=0x7fffe0213700) at 
pthread_create.c:333
#6  0x00007ffff316d9df in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7ffff7f94ac0 (LWP 6049)):
#0  0x0000555556ad93b0 in ?? ()
#1  0x00007fffddfb7702 in ?? () from /usr/bin/_pcbnew.kiface
#2  0x00007fffddfb781f in ?? () from /usr/bin/_pcbnew.kiface
#3  0x00007ffff5a7de6b in make_fcontext () from 
/usr/lib/x86_64-linux-gnu/libboost_context.so.1.62.0
#4  0x00000000001e8480 in ?? ()
#5  0x00000000001e8000 in ?? ()
#6  0x00007fffc49a0000 in ?? ()
#7  0x00007fffddfb76e0 in ?? () from /usr/bin/_pcbnew.kiface
#8  0x0000000000000000 in ?? ()
(gdb) list
269         }
270     
271         /**
272          * Function MacOpenFile
273          * is specific to MacOSX (not used under Linux or Windows).
274          * MacOSX requires it for file association.
275          * @see http://wiki.wxwidgets.org/WxMac-specific_topics
276          */
277         void MacOpenFile( const wxString& aFileName )   // overload wxApp 
virtual
278         {
(gdb) 

This looks like a missing #ifdef or something (and a broken debug
package).
Someone can confirm the log?

Regards
Carsten

Reply via email to