Project

General

Profile

Bug #9866

coredump while drawing mask 1.5+608~g304ca87

Added by Gilbert Therrien over 5 years ago. Updated over 5 years ago.

Status:
Incomplete
Priority:
Low
Assignee:
-
Category:
Darkroom
Target version:
-
Start date:
03/22/2014
Due date:
% Done:

20%

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

Description

sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:801, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:802, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:803, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:804, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:805, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:806, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:807, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:808, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:809, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:811, function auto_apply_presets(): no such column: format
  • Error in `/usr/local/darktable/bin/darktable': munmap_chunk(): invalid pointer: 0x00000000039a8020 *** ======= Backtrace: =========
    /lib/x86_64-linux-gnu/libc.so.6(+0x7f4c6)[0x7fb441df54c6]
    /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(gdk_region_union+0x97)[0x7fb4415a4487]
    /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x3cb7d)[0x7fb4415aeb7d]
    /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x3ccbb)[0x7fb4415aecbb]
    /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_widget_queue_draw_area+0x16f)[0x7fb441173d6f]
    /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_widget_queue_draw+0x73)[0x7fb44117a983]
    /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x103b7)[0x7fb4418343b7]
    /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x442)[0x7fb44184ce82]
    /usr/local/darktable/bin/../lib/darktable/libdarktable.so(dt_control_signal_raise+0xf7)[0x7fb44242af17]
    /usr/local/darktable/bin/../lib/darktable/libdarktable.so(+0x11f1ba)[0x7fb44247a1ba]
    /usr/local/darktable/bin/../lib/darktable/libdarktable.so(dt_masks_events_mouse_moved+0x155)[0x7fb44247c6a5]
    /usr/local/darktable/lib/darktable/views/libdarkroom.so(mouse_moved+0x120)[0x7fb3c4108380]
    /usr/local/darktable/bin/../lib/darktable/libdarktable.so(+0x1419e9)[0x7fb44249c9e9]
    /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x12d645)[0x7fb441063645]
    /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x138)[0x7fb441834188]
    /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x21b1d)[0x7fb441845b1d]
    /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xab9)[0x7fb44184d4f9]
    /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7fb44184dae2]
    /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x23d5f4)[0x7fb4411735f4]
    /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc4)[0x7fb441061df4]
    /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2db)[0x7fb4410621ab]
    /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x5927c)[0x7fb4415cb27c]
    /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x146)[0x7fb441abd3b6]
    /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x48708)[0x7fb441abd708]
    /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x6a)[0x7fb441abdb0a]
    /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x7fb441061277]
    /usr/local/darktable/bin/../lib/darktable/libdarktable.so(dt_gui_gtk_run+0x6b)[0x7fb44249ee3b]
    /usr/local/darktable/bin/darktable(main+0x28)[0x4007e8]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fb441d97de5]
    /usr/local/darktable/bin/darktable[0x40082c] ======= Memory map: ========
    00400000-00401000 r-xp 00000000 08:01 3543440 /usr/local/darktable/bin/darktable
    00600000-00601000 r--p 00000000 08:01 3543440 /usr/local/darktable/bin/darktable
    00601000-00602000 rw-p 00001000 08:01 3543440 /usr/local/darktable/bin/darktable
    00731000-039e2000 rw-p 00000000 00:00 0 [heap]
    7fb2ba5cf000-7fb2c9b40000 rw-p 00000000 00:00 0
    7fb2d92a4000-7fb2e8815000 rw-p 00000000 00:00 0
    7fb2ea495000-7fb2ec382000 rw-p 00000000 00:00 0
    7fb2fbae6000-7fb2fbae7000 ---p 00000000 00:00 0
    7fb2fbae7000-7fb2fc2e7000 rw-p 00000000 00:00 0 [stack:11965]
    7fb2fc2e7000-7fb2fc2e8000 ---p 00000000 00:00 0
    7fb2fc2e8000-7fb2fcae8000 rw-p 00000000 00:00 0 [stack:11958]
    7fb2fcae8000-7fb2fcae9000 ---p 00000000 00:00 0
    7fb2fcae9000-7fb2fd2e9000 rw-p 00000000 00:00 0 [stack:11957]
    7fb2fd2e9000-7fb2fd2ea000 ---p 00000000 00:00 0
    7fb2fd2ea000-7fb2fdaea000 rw-p 00000000 00:00 0 [stack:11956]
    7fb2fdaea000-7fb2fdaeb000 ---p 00000000 00:00 0
    7fb2fdaeb000-7fb2fe2eb000 rw-p 00000000 00:00 0 [stack:11955]
    7fb2fe2eb000-7fb2fe2ec000 ---p 00000000 00:00 0
    7fb2fe2ec000-7fb2feaec000 rw-p 00000000 00:00 0 [stack:11954]
    7fb2feaec000-7fb2feaed000 ---p 00000000 00:00 0
    7fb2feaed000-7fb2ff2ed000 rw-p 00000000 00:00 0 [stack:11953]
    7fb301475000-7fb307f50000 rw-p 00000000 00:00 0
    7fb309a1d000-7fb309a1e000 ---p 00000000 00:00 0
    7fb309a1e000-7fb30a21e000 rw-p 00000000 00:00 0 [stack:12104]
    7fb30a21e000-7fb30a21f000 ---p 00000000 00:00 0
    7fb30a21f000-7fb30aa1f000 rw-p 00000000 00:00 0 [stack:12103]
    7fb30aa1f000-7fb30aa20000 ---p 00000000 00:00 0
    7fb30aa20000-7fb30b220000 rw-p 00000000 00:00 0 [stack:12102]
    7fb30c051000-7fb30c052000 ---p 00000000 00:00 0
    7fb30c052000-7fb30c852000 rw-p 00000000 00:00 0
    7fb30c852000-7fb30c853000 ---p 00000000 00:00 0
    7fb30c853000-7fb30d053000 rw-p 00000000 00:00 0
    7fb30d053000-7fb30d054000 ---p 00000000 00:00 0
    7fb30d054000-7fb30d854000 rw-p 00000000 00:00 0
    7fb30d854000-7fb30d855000 ---p 00000000 00:00 0
    7fb30d855000-7fb30e055000 rw-p 00000000 00:00 0
    7fb30e055000-7fb30e056000 ---p 00000000 00:00 0
    7fb30e056000-7fb30e856000 rw-p 00000000 00:00 0 [stack:12111]
    7fb30e856000-7fb30e857000 ---p 00000000 00:00 0
    7fb30e857000-7fb30f057000 rw-p 00000000 00:00 0 [stack:12110]
    7fb30f057000-7fb30f058000 ---p 00000000 00:00 0
    7fb30f058000-7fb30f858000 rw-p 00000000 00:00 0 [stack:12109]
    7fb30f858000-7fb30f859000 ---p 00000000 00:00 0
    7fb30f859000-7fb310059000 rw-p 00000000 00:00 0 [stack:12108]
    7fb3128fe000-7fb3166d8000 rw-p 00000000 00:00 0
    7fb3166d8000-7fb3166d9000 ---p 00000000 00:00 0
    7fb3166d9000-7fb316ed9000 rw-p 00000000 00:00 0 [stack:11979]
    7fb316ed9000-7fb316eda000 ---p 00000000 00:00 0
    7fb316eda000-7fb31e1b5000 rw-p 00000000 00:00 0 [stack:11978]
    7fb31e1b5000-7fb31e1b6000 ---p 00000000 00:00 0
    7fb31e1b6000-7fb31e9b6000 rw-p 00000000 00:00 0 [stack:11951]
    7fb31e9b6000-7fb31e9b7000 ---p 00000000 00:00 0
    7fb31e9b7000-7fb31f1b7000 rw-p 00000000 00:00 0 [stack:11950]
    7fb31f1b7000-7fb31f1b8000 ---p 00000000 00:00 0
    7fb31f1b8000-7fb3218a5000 rw-p 00000000 00:00 0 [stack:11949]
    7fb3218a5000-7fb3238a5000 rw-s 00000000 00:04 4751371 /SYSV00000000 (deleted)
    7fb3238a5000-7fb3238a6000 ---p 00000000 00:00 0
    7fb3238a6000-7fb3240a6000 rw-p 00000000 00:00 0 [stack:11929]
    7fb3240a6000-7fb3240a7000 ---p 00000000 00:00 0
    7fb3240a7000-7fb3248a7000 rw-p 00000000 00:00 0 [stack:11928]
    7fb3248a7000-7fb3248a8000 ---p 00000000 00:00 0
    7fb3248a8000-7fb3250a8000 rw-p 00000000 00:00 0 [stack:11927]
    7fb3250a8000-7fb3250a9000 ---p 00000000 00:00 0
    7fb3250a9000-7fb3258a9000 rw-p 00000000 00:00 0 [stack:11926]
    7fb3258a9000-7fb3258aa000 ---p 00000000 00:00 0
    7fb3258aa000-7fb3260aa000 rw-p 00000000 00:00 0 [stack:11925]
    7fb326219000-7fb32621a000 ---p 00000000 00:00 0
    7fb32621a000-7fb326a1a000 rw-p 00000000 00:00 0 [stack:11948]
    7fb32712a000-7fb32712b000 ---p 00000000 00:00 0
    7fb32712b000-7fb32792b000 rw-p 00000000 00:00 0 [stack:11972]
    7fb32792b000-7fb32792c000 ---p 00000000 00:00 0
    7fb32792c000-7fb32812c000 rw-p 00000000 00:00 0 [stack:11964]
    7fb32812c000-7fb32812d000 ---p 00000000 00:00 0
    7fb32812d000-7fb32892d000 rw-p 00000000 00:00 0 [stack:11963]
    7fb32892d000-7fb32892e000 ---p 00000000 00:00 0
    7fb32892e000-7fb32912e000 rw-p 00000000 00:00 0 [stack:11962]
    7fb32912e000-7fb32912f000 ---p 00000000 00:00 0
    7fb32912f000-7fb32992f000 rw-p 00000000 00:00 0 [stack:11961]
    7fb32992f000-7fb329930000 ---p 00000000 00:00 0
    7fb329930000-7fb32a130000 rw-p 00000000 00:00 0 [stack:11960]
    7fb32a130000-7fb32a131000 ---p 00000000 00:00 0
    7fb32a131000-7fb32a931000 rw-p 00000000 00:00 0 [stack:11959]
    7fb32aaa0000-7fb32aaa1000 ---p 00000000 00:00 0
    7fb32aaa1000-7fb32b2a1000 rw-p 00000000 00:00 0 [stack:11971]
    7fb32b2a1000-7fb32b2a2000 ---p 00000000 00:00 0
    7fb32b2a2000-7fb32baa2000 rw-p 00000000 00:00 0 [stack:11938]
    7fb32baa2000-7fb32baa3000 ---p 00000000 00:00 0
    7fb32baa3000-7fb32c2a3000 rw-p 00000000 00:00 0 [stack:11939]
    7fb32c4af000-7fb32c4b0000 ---p 00000000 00:00 0
    7fb32c4b0000-7fb32ccb0000 rw-p 00000000 00:00 0 [stack:11970]
    7fb32ccb0000-7fb32ccb1000 ---p 00000000 00:00 0
    7fb32ccb1000-7fb32d4b1000 rw-p 00000000 00:00 0 [stack:11969]
    7fb32d4b1000-7fb32d4b2000 ---p 00000000 00:00 0
    7fb32d4b2000-7fb32dcb2000 rw-p 00000000 00:00 0 [stack:11968]
    7fb32dcb2000-7fb32dcb3000 ---p 00000000 00:00 0
    7fb32dcb3000-7fb32edac000 rw-p 00000000 00:00 0 [stack:11967]
    7fb32eed5000-7fb32eed6000 ---p 00000000 00:00 0
    7fb32eed6000-7fb32f6d6000 rw-p 00000000 00:00 0 [stack:11966]
    7fb32f7ff000-7fb32f800000 ---p 00000000 00:00 0
    7fb32f800000-7fb330000000 rw-p 00000000 00:00 0 [stack:12101]
    7fb330000000-7fb330021000 rw-p 00000000 00:00 0
    7fb330021000-7fb334000000 ---p 00000000 00:00 0
    7fb334028000-7fb334029000 ---p 00000000 00:00 0
    7fb334029000-7fb334829000 rw-p 00000000 00:00 0 [stack:11924]
    7fb334ffa000-7fb334ffb000 ---p 00000000 00:00 0
    7fb334ffb000-7fb3357fb000 rw-p 00000000 00:00 0 [stack:11940]
    7fb3357fb000-7fb3357fc000 ---p 00000000 00:00 0
    7fb3357fc000-7fb335ffc000 rw-p 00000000 00:00 0 [stack:11941]
    7fb335ffc000-7fb335ffd000 ---p 00000000 00:00 0
    7fb335ffd000-7fb3367fd000 rw-p 00000000 00:00 0 [stack:11916]
    7fb3367fd000-7fb3367fe000 ---p 00000000 00:00 0
    7fb3367fe000-7fb336ffe000 rw-p 00000000 00:00 0 [stack:11947]
    7fb336ffe000-7fb336fff000 ---p 00000000 00:00 0
    7fb336fff000-7fb3377ff000 rw-p 00000000 00:00 0 [stack:11944]
    7fb3377ff000-7fb337800000 ---p 00000000 00:00 0
    7fb337800000-7fb338000000 rw-p 00000000 00:00 0 [stack:11943]
    7fb338000000-7fb338021000 rw-p 00000000 00:00 0
    7fb338021000-7fb33c000000 ---p 00000000 00:00 0
    7fb33c10f000-7fb33c110000 ---p 00000000 00:00 0
    7fb33c110000-7fb33e7fd000 rw-p 00000000 00:00 0 [stack:11923]
    7fb33e7fd000-7fb33e7fe000 ---p 00000000 00:00 0
    7fb33e7fe000-7fb33effe000 rw-p 00000000 00:00 0 [stack:11917]
    7fb33effe000-7fb33efff000 ---p 00000000 00:00 0
    7fb33efff000-7fb33f7ff000 rw-p 00000000 00:00 0 [stack:11918]
    7fb33f7ff000-7fb33f800000 ---p 00000000 00:00 0
    7fb33f800000-7fb340000000 rw-p 00000000 00:00 0 [stack:11919]
    7fb340000000-7fb340021000 rw-p 00000000 00:00 0
    7fb340021000-7fb344000000 ---p 00000000 00:00 0
    7fb344000000-7fb344021000 rw-p 00000000 00:00 0
    7fb344021000-7fb348000000 ---p 00000000 00:00 0
    7fb348000000-7fb348021000 rw-p 00000000 00:00 0
    7fb348021000-7fb34c000000 ---p 00000000 00:00 0
    7fb34c000000-7fb34c021000 rw-p 00000000 00:00 0
    7fb34c021000-7fb350000000 ---p 00000000 00:00 0
    7fb35009e000-7fb35046f000 rw-p 00000000 00:00 0
    7fb35046f000-7fb350470000 ---p 00000000 00:00 0
    7fb350470000-7fb350c70000 rw-p 00000000 00:00 0 [stack:11942]
    7fb350c70000-7fb350c71000 ---p 00000000 00:00 0
    7fb350c71000-7fb351471000 rw-p 00000000 00:00 0 [stack:11922]
    7fb35187a000-7fb35197a000 rw-s 07366000 00:05 1865 /dev/ati/card0
    7fb351a3b000-7fb351a3c000 ---p 00000000 00:00 0
    7fb351a3c000-7fb35223c000 rw-p 00000000 00:00 0 [stack:11946]
    7fb35223c000-7fb35223d000 ---p 00000000 00:00 0
    7fb35223d000-7fb352a3d000 rw-p 00000000 00:00 0 [stack:11945]
    7fb352bac000-7fb352bad000 ---p 00000000 00:00 0
    7fb352bad000-7fb3533ad000 rw-p 00000000 00:00 0 [stack:11952]
    7fb3533ad000-7fb3537ff000 r--p 00000000 08:01 2360819 /usr/share/fonts/truetype/droid/DroidSansFallbackFull.ttf
    7fb3537ff000-7fb353800000 ---p 00000000 00:00 0
    7fb353800000-7fb354000000 rw-p 00000000 00:00 0 [stack:11907]
    7fb354000000-7fb354022000 rw-p 00000000 00:00 0
    7fb354022000-7fb358000000 ---p 00000000 00:00 0
    7fb358397000-7fb3583ea000 r-xp 00000000 08:01 1706090 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.5.0.503
    7fb3583ea000-7fb3585e9000 ---p 00053000 08:01 1706090 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.5.0.503
    7fb3585e9000-7fb3585eb000 r--p 00052000 08:01 1706090 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.5.0.503
    7fb3585eb000-7fb3585ec000 rw-p 00054000 08:01 1706090 /usr/lib/x86_64-linux-gnu/libibus-1.0.so.5.0.503
    7fb3585ec000-7fb3585ed000 rw-p 00000000 00:00 0
    7fb3585ed000-7fb3585f3000 r-xp 00000000 08:01 1968669 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so
    7fb3585f3000-7fb3587f2000 ---p 00006000 08:01 1968669 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so
    7fb3587f2000-7fb3587f3000 r--p 00005000 08:01 1968669 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so
    7fb3587f3000-7fb3587f4000 rw-p 00006000 08:01 1968669 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so
    7fb3587f4000-7fb3587f5000 ---p 00000000 00:00 0
    7fb3587f5000-7fb358ff5000 rw-p 00000000 00:00 0 [stack:11973]
    7fb358ff5000-7fb358ffa000 r-xp 00000000 08:01 3543557 /usr/local/darktable/lib/darktable/plugins/imageio/storage/liblatex.so
    7fb358ffa000-7fb3591f9000 ---p 00005000 08:01 3543557 /usr/local/darktable/lib/darktable/plugins/imageio/storage/liblatex.so
    7fb3591f9000-7fb3591fa000 r--p 00004000 08:01 3543557 /usr/local/darktable/lib/darktable/plugins/imageio/storage/liblatex.so
    7fb3591fa000-7fb3591fb000 rw-p 00005000 08:01 3543557 /usr/local/darktable/lib/darktable/plugins/imageio/storage/liblatex.so
    7fb3591fb000-7fb3591fd000 r-xp 00000000 08:01 3543555 /usr/local/darktable/lib/darktable/plugins/imageio/storage/libemail.so
    7fb3591fd000-7fb3593fd000 ---p 00002000 08:01 3543555 /usr/local/darktable/lib/darktable/plugins/imageio/storage/libemail.so
    7fb3593fd000-7fb3593fe000 r--p 00002000 08:01 3543555 /usr/local/darktable/lib/darktable/plugins/imageio/storage/libemail.so./update_and_build.sh: line 22: 11865 Aborted (core dumped) /usr/local/darktable/bin/darktable
debugInfo.txt (160 KB) debugInfo.txt sql debug info and dt stdout + stderr Gilbert Therrien, 03/23/2014 03:04 PM

History

#1 Updated by Ulrich Pegelow over 5 years ago

What kind of shape?

#2 Updated by Tobias Ellinghaus over 5 years ago

  • % Done changed from 0 to 20
  • Status changed from New to Incomplete

Gilbert Therrien wrote:

sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:801, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:802, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:803, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:804, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:805, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:806, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:807, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:808, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:809, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:811, function auto_apply_presets(): no such column: format
  • Error in `/usr/local/darktable/bin/darktable': munmap_chunk(): invalid pointer: 0x00000000039a8020 ***

This looks as if something was wrong with your database. I would like to see the output of

sqlite3 ~/.config/darktable/library.db .schema

[...]

/usr/local/darktable/bin/../lib/darktable/libdarktable.so(dt_control_signal_raise+0xf7)[0x7fb44242af17]
/usr/local/darktable/bin/../lib/darktable/libdarktable.so(+0x11f1ba)[0x7fb44247a1ba]
/usr/local/darktable/bin/../lib/darktable/libdarktable.so(dt_masks_events_mouse_moved+0x155)[0x7fb44247c6a5]
/usr/local/darktable/lib/darktable/views/libdarkroom.so(mouse_moved+0x120)[0x7fb3c4108380]
/usr/local/darktable/bin/../lib/darktable/libdarktable.so(+0x1419e9)[0x7fb44249c9e9]

Could you install the -dbg package, too?

[...]

#3 Updated by Gilbert Therrien over 5 years ago

Hello Ulrick.

The shape type was a "path"
Image zoom at 200%
Little shape for an eye.

Just tried to reproduce the problem without success...

Thank's

#4 Updated by Gilbert Therrien over 5 years ago

Hello Tobias.

About the -dbg.. which one?
see: http://packages.ubuntu.com/search?lang=en&suite=saucy&searchon=names&keywords=sqlite3-dbg

As requested:

sqlite3 ~/.config/darktable/library.db .schema
CREATE TABLE film_rolls (id integer primary key, datetime_accessed char(20), folder varchar(1024));
CREATE TABLE history (imgid integer, num integer, module integer, operation varchar(256), op_params blob, enabled integer, blendop_params blob, blendop_version integer, multi_priority integer, multi_name varchar(256));
CREATE TABLE mask (imgid integer, formid integer, form integer, name varchar(256), version integer, points blob, points_count integer, source blob);
CREATE TABLE tags (id integer primary key, name varchar, icon blob, description varchar, flags integer);
CREATE TABLE tagxtag (id1 integer, id2 integer, count integer, primary key(id1, id2));
CREATE TABLE tagged_images (imgid integer, tagid integer, primary key(imgid, tagid));
CREATE TABLE styles (id INTEGER, name VARCHAR, description VARCHAR);
CREATE TABLE style_items (styleid integer, num integer, module integer, operation varchar(256), op_params blob, enabled integer, blendop_params blob, blendop_version integer, multi_priority integer, multi_name varchar(256));
CREATE INDEX tagged_images_tagid_index ON tagged_images(tagid);
CREATE INDEX film_rolls_folder_index ON film_rolls(folder);
CREATE TABLE meta_data (id integer,key integer,value varchar);
CREATE INDEX metadata_index ON meta_data (id,key);
CREATE TABLE presets (name varchar, description varchar, operation varchar, op_version integer, op_params blob, enabled integer, blendop_params blob, blendop_version integer, multi_priority integer, multi_name varchar(256), model varchar, maker varchar, lens varchar, iso_min real, iso_max real, exposure_min real, exposure_max real, aperture_min real, aperture_max real, focal_length_min real, focal_length_max real, writeprotect integer, autoapply integer, filter integer, def integer, isldr integer);
CREATE UNIQUE INDEX presets_idx ON presets(name,operation,op_version);
CREATE TABLE db_info (key VARCHAR PRIMARY KEY, value VARCHAR);
CREATE TABLE images (id INTEGER PRIMARY KEY AUTOINCREMENT, group_id INTEGER, film_id INTEGER, width INTEGER, height INTEGER, filename VARCHAR, maker VARCHAR, model VARCHAR, lens VARCHAR, exposure REAL, aperture REAL, iso REAL, focal_length REAL, focus_distance REAL, datetime_taken CHAR, flags INTEGER, output_width INTEGER, output_height INTEGER, crop REAL, raw_parameters INTEGER, raw_denoise_threshold REAL, raw_auto_bright_threshold REAL, raw_black INTEGER, raw_maximum INTEGER, caption VARCHAR, description VARCHAR, license VARCHAR, sha1sum CHAR, orientation INTEGER, histogram BLOB, lightmap BLOB, longitude REAL, latitude REAL, color_matrix BLOB, colorspace INTEGER, version INTEGER, max_version INTEGER, write_timestamp INTEGER);
CREATE INDEX images_group_id_index ON images (group_id);
CREATE INDEX images_film_id_index ON images (film_id);
CREATE TABLE selected_images (imgid INTEGER PRIMARY KEY);
CREATE INDEX history_imgid_index ON history (imgid);
CREATE TABLE color_labels (imgid INTEGER, color INTEGER);
CREATE UNIQUE INDEX color_labels_idx ON color_labels (imgid, color);
CREATE TRIGGER insert_tag AFTER INSERT ON tags BEGIN INSERT INTO tagxtag SELECT id, new.id, 0 FROM TAGS; UPDATE tagxtag SET count = 1000000 WHERE id1=new.id AND id2=new.id; END;
CREATE TRIGGER delete_tag BEFORE DELETE on tags BEGIN DELETE FROM tagxtag WHERE id1=old.id OR id2=old.id; DELETE FROM tagged_images WHERE tagid=old.id; END;
CREATE TRIGGER attach_tag AFTER INSERT ON tagged_images BEGIN UPDATE tagxtag SET count = count + 1 WHERE (id1=new.tagid AND id2 IN (SELECT tagid FROM tagged_images WHERE imgid=new.imgid)) OR (id2=new.tagid AND id1 IN (SELECT tagid FROM tagged_images WHERE imgid=new.imgid)); END;
CREATE TRIGGER detach_tag BEFORE DELETE ON tagged_images BEGIN UPDATE tagxtag SET count = count - 1 WHERE (id1=old.tagid AND id2 IN (SELECT tagid FROM tagged_images WHERE imgid=old.imgid)) OR (id2=old.tagid AND id1 IN (SELECT tagid FROM tagged_images WHERE imgid=old.imgid)); END;
CREATE INDEX group_id_index on images (group_id);
CREATE INDEX imgid_index on history (imgid);
CREATE TABLE lock (id integer);
CREATE TABLE settings (settings blob);
CREATE TABLE legacy_presets (name varchar, description varchar, operation varchar, op_version integer, op_params blob, enabled integer, blendop_params blob, blendop_version integer, multi_priority integer, multi_name varchar, model varchar, maker varchar, lens varchar, iso_min real, iso_max real, exposure_min real, exposure_max real, aperture_min real, aperture_max real, focal_length_min real, focal_length_max real, writeprotect integer, autoapply integer, filter integer, def integer, isldr integer);

Thank's

#5 Updated by Tobias Ellinghaus over 5 years ago

Oh wait, you are compiling yourself. I wonder why the backtrace doesn't contain source code locations then. Do you do anything special during compilation/installation?

#6 Updated by Tobias Ellinghaus over 5 years ago

Two other pieces of information I need:

  • how old is that checkout of git master?
  • output of sqlite3 ~/.config/darktable/library.db "select * from db_info;"

#7 Updated by Gilbert Therrien over 5 years ago

Hello Tobias.

checkout done about 12 hours ago.

Here's the checkout, compilation and execution script:
--------------
#!/bin/bash

git pull

echo "enter pour demarrer build ou ctrl c"
read a
./build.sh --prefix /usr/local/darktable

if [ $? -eq 0 ]
then
cd build
sudo make install

echo "enter pour demarrer darktable ou ctrl c" 
read a
cd /home/therrigi/.config/darktable
cp library.db library.saved
/usr/local/darktable/bin/darktable
cd /home/therrigi/.config/darktable
cp library.saved library.db

fi
-----------------------------------

sqlite3 ~/.config/darktable/library.db "select * from db_info;"
version|4

#8 Updated by Tobias Ellinghaus over 5 years ago

Well, that strange copying of the library explains why the format your sqlite3 calls reported (4, should be 5 by now) are off. It however doesn't explain the sqlite errors printed by darktable, since it should be updating the database on startup.

Could you please repeat the two sqlite3 calls (to get the .schema and content of db_info) with the database that you have once darktable terminates?

#9 Updated by Gilbert Therrien over 5 years ago

Hello Thobias.

As i still use the DT 1.4.1 version, i want to "protect" my database from the unstable version.

I modified my script to use another config path. The conversions should execute each time:

#!/bin/bash

git pull

echo "enter to build or ctrl c" 
read a
./build.sh --prefix /usr/local/darktable

if [ $? -eq 0 ]
then
  cd build
  sudo make install

  echo "enter to execute darktable or ctrl c" 
  read a

  CONFIGDIR="${HOME}/.config/darktable_unstable" 
  if [ ! -d ${CONFIGDIR} ]
  then
    mkdir ${CONFIGDIR}
  fi

  cd ${HOME}/.config/darktable
  cp --recursive * ${CONFIGDIR}/

  cd ${CONFIGDIR}
  /usr/local/darktable/bin/darktable -d sql --configdir ${CONFIGDIR} >${CONFIGDIR}/debugInfo.txt 2>&1

fi

therrigi@therrigi-XPS-8500:~/.config/darktable_unstable$ sqlite3 ./library.db "select * from db_info;"
version|5

therrigi@therrigi-XPS-8500:~/.config/darktable_unstable$ sqlite3 ./library.db .schema

CREATE TABLE film_rolls (id integer primary key, datetime_accessed char(20), folder varchar(1024));
CREATE TABLE history (imgid integer, num integer, module integer, operation varchar(256), op_params blob, enabled integer, blendop_params blob, blendop_version integer, multi_priority integer, multi_name varchar(256));
CREATE TABLE mask (imgid integer, formid integer, form integer, name varchar(256), version integer, points blob, points_count integer, source blob);
CREATE TABLE tags (id integer primary key, name varchar, icon blob, description varchar, flags integer);
CREATE TABLE tagxtag (id1 integer, id2 integer, count integer, primary key(id1, id2));
CREATE TABLE tagged_images (imgid integer, tagid integer, primary key(imgid, tagid));
CREATE TABLE styles (id INTEGER, name VARCHAR, description VARCHAR);
CREATE TABLE style_items (styleid integer, num integer, module integer, operation varchar(256), op_params blob, enabled integer, blendop_params blob, blendop_version integer, multi_priority integer, multi_name varchar(256));
CREATE INDEX tagged_images_tagid_index ON tagged_images(tagid);
CREATE INDEX film_rolls_folder_index ON film_rolls(folder);
CREATE TABLE meta_data (id integer,key integer,value varchar);
CREATE INDEX metadata_index ON meta_data (id,key);
CREATE TABLE db_info (key VARCHAR PRIMARY KEY, value VARCHAR);
CREATE TABLE images (id INTEGER PRIMARY KEY AUTOINCREMENT, group_id INTEGER, film_id INTEGER, width INTEGER, height INTEGER, filename VARCHAR, maker VARCHAR, model VARCHAR, lens VARCHAR, exposure REAL, aperture REAL, iso REAL, focal_length REAL, focus_distance REAL, datetime_taken CHAR(20), flags INTEGER, output_width INTEGER, output_height INTEGER, crop REAL, raw_parameters INTEGER, raw_denoise_threshold REAL, raw_auto_bright_threshold REAL, raw_black INTEGER, raw_maximum INTEGER, caption VARCHAR, description VARCHAR, license VARCHAR, sha1sum CHAR(40), orientation INTEGER, histogram BLOB, lightmap BLOB, longitude REAL, latitude REAL, color_matrix BLOB, colorspace INTEGER, version INTEGER, max_version INTEGER, write_timestamp INTEGER);
CREATE INDEX images_group_id_index ON images (group_id);
CREATE INDEX images_film_id_index ON images (film_id);
CREATE TABLE selected_images (imgid INTEGER PRIMARY KEY);
CREATE INDEX history_imgid_index ON history (imgid);
CREATE TABLE color_labels (imgid INTEGER, color INTEGER);
CREATE UNIQUE INDEX color_labels_idx ON color_labels (imgid, color);
CREATE TRIGGER insert_tag AFTER INSERT ON tags BEGIN   INSERT INTO tagxtag SELECT id, new.id, 0 FROM TAGS;   UPDATE tagxtag SET count = 1000000 WHERE id1=new.id AND id2=new.id; END;
CREATE TRIGGER delete_tag BEFORE DELETE on tags BEGIN   DELETE FROM tagxtag WHERE id1=old.id OR id2=old.id;   DELETE FROM tagged_images WHERE tagid=old.id; END;
CREATE TRIGGER attach_tag AFTER INSERT ON tagged_images BEGIN   UPDATE tagxtag     SET count = count + 1     WHERE (id1=new.tagid AND id2 IN (SELECT tagid FROM tagged_images WHERE imgid=new.imgid))        OR (id2=new.tagid AND id1 IN (SELECT tagid FROM tagged_images WHERE imgid=new.imgid)); END;
CREATE TRIGGER detach_tag BEFORE DELETE ON tagged_images BEGIN   UPDATE tagxtag     SET count = count - 1     WHERE (id1=old.tagid AND id2 IN (SELECT tagid FROM tagged_images WHERE imgid=old.imgid))        OR (id2=old.tagid AND id1 IN (SELECT tagid FROM tagged_images WHERE imgid=old.imgid)); END;
CREATE INDEX group_id_index on images (group_id);
CREATE INDEX imgid_index on history (imgid);
CREATE TABLE lock (id integer);
CREATE TABLE presets (name VARCHAR, description VARCHAR, operation VARCHAR, op_params BLOB,enabled INTEGER, blendop_params BLOB, model VARCHAR, maker VARCHAR, lens VARCHAR,iso_min REAL, iso_max REAL, exposure_min REAL, exposure_max REAL, aperture_min REAL,aperture_max REAL, focal_length_min REAL, focal_length_max REAL, writeprotect INTEGER,autoapply INTEGER, filter INTEGER, def INTEGER, format INTEGER, op_version INTEGER,blendop_version INTEGER, multi_priority INTEGER, multi_name VARCHAR(256));
CREATE TABLE legacy_presets (name varchar, description varchar, operation varchar, op_version integer, op_params blob, enabled integer, blendop_params blob, blendop_version integer, multi_priority integer, multi_name varchar, model varchar, maker varchar, lens varchar, iso_min real, iso_max real, exposure_min real, exposure_max real, aperture_min real, aperture_max real, focal_length_min real, focal_length_max real, writeprotect integer, autoapply integer, filter integer, def integer, isldr integer);

#10 Updated by Tobias Ellinghaus over 5 years ago

Thanks, that looks good indeed. Do you get the lines like

 sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:801, function auto_apply_presets(): no such column: format

every time on startup? If that is the case I would try
rm -rf /home/therrigi/darktable/build/
rm -rf /usr/local/darktable/

and try again.

#11 Updated by Gilbert Therrien over 5 years ago

Hello Tobias.

Yes. Still have it before and after the rm -rf. (debug info file attached)

therrigi@therrigi-XPS-8500:~/.config/darktable_unstable$ grep -i "no such column" debugInfo.txt

sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:801, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:802, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:803, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:804, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:805, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:806, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:807, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:808, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:809, function auto_apply_presets(): no such column: format
sqlite3 error: /home/therrigi/darktable/src/develop/develop.c:811, function auto_apply_presets(): no such column: format

#12 Updated by Tobias Ellinghaus over 5 years ago

What if you move away the ~/.config/darktable/library.db (rename it) and start with a fresh database? You can copy it back later to not lose anything.

All of this might be a red herring that has nothing to do with your crash. To know I would like to find out the reason for these error messages though.

#13 Updated by Gilbert Therrien over 5 years ago

Hello Tobias.

therrigi@therrigi-XPS-8500:~/.config/darktable_unstable$ rm library.db

therrigi@therrigi-XPS-8500:~/.config/darktable_unstable$ /usr/local/darktable/bin/darktable -d sql --configdir ${HOME}/.config/darktable_unstable >debugInfo.txt 2>&1

therrigi@therrigi-XPS-8500:~/.config/darktable_unstable$ grep -i "no such column" debugInfo.txt

therrigi@therrigi-XPS-8500:~/.config/darktable_unstable$ ll debugInfo.txt
-rw-r--r-- 1 therrigi therrigi 2066835 Mar 23 12:23 debugInfo.txt

No more "_function auto_apply_presets(): no such column_" found in log file after deleting the file library.db.

Also available in: Atom PDF

Go to top