Project

General

Profile

Bug #9676

Crash if DT is closed during startup

Added by Torsten Bronger over 5 years ago. Updated over 5 years ago.

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

20%

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 Magnifier - Backtrace (15.2 KB) Torsten Bronger, 11/14/2013 02:02 PM

gdb.txt Magnifier (13.9 KB) Simon Spannagel, 12/06/2013 12:42 AM

History

#1 Updated by Tobias Ellinghaus over 5 years ago

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

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

#2 Updated by Torsten Bronger over 5 years ago

#3 Updated by Simon Spannagel over 5 years ago

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

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 over 5 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 over 5 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