elliotf / heekscad

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

segfault or "corrupted double-linked list" during startup #237

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. checkout and compile heekscad/heekscnc/pycam/libarea/libactp according to 
http://code.google.com/p/heekscad/wiki/CompilingForDebian
2. run ./HeeksCAD (PYTHONPATH is set)

This causes sometimes a segfault and sometimes a "corrupted double-linked list" 
error.

My build system is i386 on Debian (testing).

I attached a valgrind and gdb log.
I hope, this is helpful for analyzing the problem.

Thanks for your work,
Lars

Original issue reported on code.google.com by de...@sumpfralle.de on 16 Jan 2010 at 4:51

Attachments:

GoogleCodeExporter commented 9 years ago
The segfault still occours with the current svn.

Does anybody have any idea, how I could track it down?

cheers,
Lars

Original comment by de...@sumpfralle.de on 26 Jan 2010 at 2:54

GoogleCodeExporter commented 9 years ago
Please check that
"/home/lars/ttt/heeks/heekscad_runinplace/heekscnc/libheekscnc.so.0.5" was 
built at a
similar time ( with the same source code ) as the HeeksCAD program you are 
running. 

Original comment by danhe...@gmail.com on 26 Jan 2010 at 10:09

GoogleCodeExporter commented 9 years ago
thanks a lot for your comment!

I didn't notice, that HeeksCAD uses a separate config file, thus I was not 
aware of the link to HeeksCNC in a 
different location.

I removed the config files and added the correct cnc plugin again, but it still 
causes a (different) segfault on 
startup:
 PYTHONPATH=heekscnc ./HeeksCAD
 Within directory /usr/share/qcad/fonts
 Read 0 vector font files
 CHeeksCADInterface::intersect(line,line) called
 Failed to register handler for Excellon dril files
 Failed to register handler for Fixture files
 Failed to register handler for Tool Table files
 Failed to register handler for Speed References files
 make: *** [run] Segmentation fault

I will investigate this today.
Thanks for your hint!

regards,
Lars

Original comment by de...@sumpfralle.de on 26 Jan 2010 at 11:23

GoogleCodeExporter commented 9 years ago
the issue seems to be fixed now (r1051).

Original comment by de...@sumpfralle.de on 30 Jan 2010 at 1:30

GoogleCodeExporter commented 9 years ago
Fixed per user comment. 

Original comment by shopinth...@gmail.com on 28 Oct 2010 at 3:52