FluffyMortain / heekscad

Automatically exported from code.google.com/p/heekscad
Other
0 stars 0 forks source link

Coredump on File -> Exit on Linux #375

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
File -> Exit causes a coredump on the latest svn codebase r1520.

Message:

heekscad
Looking for default data in '/home/j'
Looking for default data in '/usr/lib'
Looking for default data in '/usr/lib/heekscnc'
Importing data from /usr/lib/heekscnc/default.speeds
Importing data from /usr/lib/heekscnc/default.tooltable
[1]    9631 segmentation fault (core dumped)  heekscad

stack trace:

gdb heekscad                                      
GNU gdb (GDB) 7.4.1
Copyright (C) 2012 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/heekscad...done.
(gdb) run
Starting program: /usr/bin/heekscad 
warning: no loadable sections found in added symbol-file system-supplied DSO at 
0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Looking for default data in '/home/j'
Looking for default data in '/usr/lib'
Looking for default data in '/usr/lib/heekscnc'
Importing data from /usr/lib/heekscnc/default.speeds
Importing data from /usr/lib/heekscnc/default.tooltable

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7b6b48d in wxEventHashTable::~wxEventHashTable() () from 
/usr/lib/libwx_baseu-2.8.so.0
(gdb) bt
#0  0x00007ffff7b6b48d in wxEventHashTable::~wxEventHashTable() () from 
/usr/lib/libwx_baseu-2.8.so.0
#1  0x00007fffeadc5171 in ?? () from /lib/libc.so.6
#2  0x00007fffeadc51c5 in exit () from /lib/libc.so.6
#3  0x00007fffeadaec84 in __libc_start_main () from /lib/libc.so.6
#4  0x00000000004d5299 in _start () at ../sysdeps/x86_64/elf/start.S:113
(gdb) bt full
#0  0x00007ffff7b6b48d in wxEventHashTable::~wxEventHashTable() () from 
/usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#1  0x00007fffeadc5171 in ?? () from /lib/libc.so.6
No symbol table info available.
#2  0x00007fffeadc51c5 in exit () from /lib/libc.so.6
No symbol table info available.
#3  0x00007fffeadaec84 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#4  0x00000000004d5299 in _start () at ../sysdeps/x86_64/elf/start.S:113
No locals.
(gdb) quit
A debugging session is active.

    Inferior 1 [process 8386] will be killed.

Quit anyway? (y or n) y

Original issue reported on code.google.com by joe9m...@gmail.com on 14 Aug 2012 at 7:13

GoogleCodeExporter commented 9 years ago
Same problem here but I noticed that happens only when HeeksCNC addin is 
loaded. Its probably an HeeksCNC's bug.

Original comment by neomil...@gmail.com on 29 May 2014 at 10:40

GoogleCodeExporter commented 9 years ago

Original comment by neomil...@gmail.com on 28 Jun 2014 at 5:11

GoogleCodeExporter commented 9 years ago
Issue 379 has been merged into this issue.

Original comment by neomil...@gmail.com on 29 Jun 2014 at 7:37

GoogleCodeExporter commented 9 years ago
After a long session of debugging, I was not able to find any major problem in 
HeeksCAD nor HeeksCNC.
Digging the Internet, I found:
http://trac.wxwidgets.org/ticket/14292

That's probably a combo-bug: Ubuntu + wxWidgets...

More tests needed under various platforms.

Original comment by neomil...@gmail.com on 1 Jul 2014 at 11:15

GoogleCodeExporter commented 9 years ago
For the record: its not related to LIBDBUSMENU-GLIB-WARNING , so the previously 
mentioned trac ticket is not relevant.

Original comment by neomil...@gmail.com on 28 Jul 2014 at 12:09

GoogleCodeExporter commented 9 years ago
Same issue here. I just built, on Fedora 20 x86_64. Segmentation fault on exit.

Original comment by jamcinn...@gmail.com on 24 Aug 2014 at 8:47

GoogleCodeExporter commented 9 years ago
Fixed by a patch from Einar Rünkaru

Original comment by danhe...@gmail.com on 16 Dec 2014 at 12:09