Hi,
I experience a segfault while selecting an entity.
I've launched librecad (built from latest git).
Please find attached:
- a minimal example to trigger the crash.
- the log of the gdb session
Steps to reproduce the crash:
1 - launch librecad
2 - load the attached file
3 - select (try to...) one of the non-straight line
4 - ... segfault
Regards
Jean-Luc
gdb session
Hi,
I tried a bisect.
It is not so easy because there are other failures that I'm not sure they are related to this problem.
It seems that the commit generating this is the following:
[1] 29111 segmentation fault ./unix/librecad
[jean-luc@tangerine] % git bisect bad /usr/local/src/git/librecad
b849d7aa59443ece7d7c935490916ee6e308f69f is the first bad commit
commit b849d7aa59443ece7d7c935490916ee6e308f69f
Author: Dongxu Li dli@tamaggo.com
Date: Tue Mar 31 20:34:11 2015 -0400
:040000 040000 91918da68533880e061b0bf7af1270efb6607dcb ed3fddf2f5d2d8b0993555aef19bc26621d3eded M librecad
Regards
Jean-Luc
fixed by commit: https://github.com/LibreCAD/LibreCAD/commit/e9b7af7a2cea22a35e1e5a1a2e1c04ba4e87c87b
Sadly toady ppa version still have that crash...
used on ubuntu 14.04
Version: master
SCM Revision: 2.0.7
Compiler: GNU GCC 4.8.2
Qt Version: 4.8.6
Compiled on: Apr 23 2015
Portions (c) 2011 by R. van Twisk
Program Icons Supplied by
Pablo: LibreCAD Argentine
Splash and Logo supplied by
Diego Daltom Designer
Can you build from git head?
Launchpad has not being maintained for while, can you help?
Hi,
For me [tm], the problem is fixed till you last fix.
I have rebuilt it just now from git and it is fine also.
Regards
Jean-Luc
2015-04-23 15:06 GMT+02:00 Dongxu Li dongxuli@users.sf.net:
Related
Bugs: #514
Hello...
From ppa at http://ppa.launchpad.net/librecad-dev/librecad-daily/ubuntu
Version: master
SCM Revision: 2.0.7
Compiler: GNU GCC 4.8.2
Qt Version: 4.8.6
Compiled on: Apr 23 2015
Portions (c) 2011 by R. van Twisk
The program crashes on selecting curve.
From git at https://github.com/LibreCAD/LibreCAD.git
Version: master
SCM Revision: 2.0.7-177-g0270726
Compiler: GNU GCC 4.8.2
Qt Version: 4.8.6
Compiled on: Apr 24 2015
On start of program the popupwindow shows up with that info:
Cannot load library /home/slavko/xx/LibreCAD/unix/resources/plugins/libplotequation.so: (/home/slavko/xx/LibreCAD/unix/resources/plugins/libplotequation.so: undefined symbol: _ZTVN2mu6ParserE)
...but program starts and doesn't crash on selecting curve.
so the ppa and git version clearly isn't same.
Added console output for git version
./librecad
RS_DEBUG::setLevel(3)
RS_DEBUG: Critical
RS_DEBUG: Errors
RS_DEBUG: Warnings
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Snap Selection" under id 62
Last edit: eslavko 2015-04-24