Project

General

Profile

Bug #9357

crash after reassigning folder to filmroll

Added by Simon Harhues about 6 years ago. Updated over 5 years ago.

Status:
Fixed
Priority:
Medium
Assignee:
Category:
-
Start date:
04/12/2013
Due date:
% Done:

100%

Affected Version:
1.2
System:
Ubuntu
bitness:
64-bit
hardware architecture:
amd64/x86

Description

move folder in filesystem (to archive)
-switch in dt to filemanager mode in collection pane in lt
-select crossed out filmroll and rightclick to choose filmroll, choose folder in gtk file dialogue
-go inside the folder to assign and press the open button
dt crashes

console output from darktable -d: http://pastebin.com/VaA7Ja0n

the path to the folder contains a symlink

dt from ppa plus

Associated revisions

Revision 3c6ff27b
Added by Pascal Obry over 5 years ago

Fix crash when a film_rolls is not found.

In this case we deallocate two times the query.

Fixes #9357.

History

#1 Updated by Simon Harhues about 6 years ago

Simon Harhues wrote:

- move folder in filesystem (to archive)
- switch in dt to filemanager mode in collection pane in lt
- select crossed out filmroll and rightclick to choose filmroll, choose folder in gtk file dialogue
- go inside the folder to assign and press the open button
- dt crashes

console output from darktable -d: http://pastebin.com/VaA7Ja0n

the path to the folder contains a symlink

dt from ppa plus

Nevertheless the reassigning works, the folder is corrected even if dt crashed.

#2 Updated by Simon Harhues about 6 years ago

I found out by chance the the problem seems to be a little different:
- if you try to reassign the folder for the first time, you get no feedback, the folder stays crossed out (the user gets the feedback that it didn't work, maybe they did something wrong...) BUT the correct folder got reassaigned in the background (sometimes I managed to update the list correctly by switching between folder and film role mode several times and scrolling through the list). A restart of dt actually shows the changes correctly in the collection module
- if the user then directly tries to correct the folder a second time (without restarting dt, because it is still shown the old folder), dt crashes as described.

#3 Updated by Pascal Obry over 5 years ago

  • Target version set to Candidate for next major release
  • bitness set to 64-bit
  • Status changed from New to Fixed
  • Assignee set to Pascal Obry
  • % Done changed from 0 to 100

Fixed.

Also available in: Atom PDF