Project

General

Profile

Bug #9676

Crash if DT is closed during startup

Added by Torsten Bronger almost 6 years ago. Updated almost 6 years ago.

Status:
Triaged
Priority:
Low
Assignee:
-
Category:
General
Target version:
-
Start date:
11/14/2013
Due date:
% Done:

20%

Estimated time:
Affected Version:
git development version
System:
all
bitness:
64-bit
hardware architecture:
amd64/x86

Description

If you close the DT main windows (e.g. with Alt-F4) during the startup phase, i.e. the thumbnails of the lighttable are not yet visible, it crashes with "SIGSEGV in dt_view_manager_configure()".

bt.txt (15.2 KB) bt.txt Backtrace Torsten Bronger, 11/14/2013 02:02 PM
gdb.txt (13.9 KB) gdb.txt Simon Spannagel, 12/06/2013 12:42 AM

History

#1 Updated by Tobias Ellinghaus almost 6 years ago

  • % Done changed from 0 to 20
  • Target version set to Candidate for next minor release
  • Status changed from New to Incomplete
  • Category set to General

For me darktable starts too fast to be able to quit it that fast. Can you provide a backtrace?

#2 Updated by Torsten Bronger almost 6 years ago

#3 Updated by Simon Spannagel almost 6 years ago

  • Status changed from Incomplete to Triaged
  • File gdb.txt gdb.txt added

We should exchange laptops, then. I can comfortably crash it whenever I want. Especially when running gdb. Just start it up, wait till the window pops up and hit Alt+F4. Bt attached.

#4 Updated by Tobias Ellinghaus almost 6 years ago

  • System changed from Ubuntu to all

So, the crash is in if(v->configure) v->configure(v, width, height);. The only thing we could do is adding some more mutexes, probably a "start_mutex" which is set in the very beginning, released when initialization is complete and checked in the tear down code.

#5 Updated by Tobias Ellinghaus almost 6 years ago

  • Target version deleted (Candidate for next minor release)

We discussed this and will try to fix it after the next release. The potential to add deadlocks that harm many users is bigger than having a way to provoke a crash when terminating darktable during startup.

Also available in: Atom PDF

Go to top