carto crashes on selecting a tool when no image opened

Bug #619486 reported by Rafal Wokacz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Carto
Fix Committed
Medium
Krzysztof Klimczak

Bug Description

When there is no image opened and one attempts to select a brush or any other tool from Tool Box, then application crashes with
message:
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::bad_alloc'
  what(): std::bad_alloc

Related branches

Revision history for this message
Rafal Wokacz (rawo) wrote :

Exception is thrown at mainwindow.cpp, line 192:
Q_CHECK_PTR(sc);

Changed in cybercarto:
assignee: nobody → Krzysztof Klimczak (klimczak-k)
status: New → Fix Committed
janisozaur (janisozaur)
Changed in cybercarto:
milestone: none → chihiro
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.