Menu

#508 Exception and crash

master branch
open-fixed
None
9
2015-03-19
2015-03-19
No

System : Debian GNU/Linux linux-3.19.1
Hardware : AMD X2 240 with 4GB DDR3

Hi,

I experienced crashes while opening a drawing with the last git commit.
When I start librecad from a terminal, I get the following:

[jean-luc@tangerine] % librecad
RS_DEBUG::setLevel(3)
RS_DEBUG: Critical
RS_DEBUG: Errors
RS_DEBUG: Warnings
QLayout: Attempting to add QLayout "" to QG_LayerWidget "Layer", which already has a layout
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
[1] 22114 abort librecad

I've done a bisect on the repository and got the following for the first "bad" commit:

[jean-luc@tangerine] % git bisect good /usr/local/src/git/librecad
e5717210913cf8fac1918ca3f3f10ea3e3b9e8fd is the first bad commit
commit e5717210913cf8fac1918ca3f3f10ea3e3b9e8fd
Author: Dongxu Li dli@tamaggo.com
Date: Mon Mar 16 16:34:18 2015 -0400

more compiler warning

:040000 040000 b99c3539019fc5836dac46955c4a28cd24dfaa35 58c0a33fc35d4a079b43d4a0108625c1c4436787 M librecad

Please find attached the drawing that triggers the crash.
This drawing is from a foreign system/software.

Best Regards

Jean-Luc

1 Attachments

Discussion

  • Dongxu Li

    Dongxu Li - 2015-03-19
    • status: open --> open-accepted
    • assigned_to: Dongxu Li
    • Priority: 5 --> 9
     
  • Dongxu Li

    Dongxu Li - 2015-03-19
    • status: open-accepted --> open-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB