Hello,

I tried to generate denoise profile for Pentax K-S1. At first, gen-profile
script ended silently in the phase of
 ===> Checking profiling RAW images correctness + Jpeg export
after first image. When started another time it went throuh two images, and
so on. After several restarts when it went through all the images and
continued I got segmentation fault message.
I am attaching all program output, backtrace file generated, and links to
raw files used for generation.

Regards,

Piotr

​
 IMGP0069.DNG
<https://drive.google.com/file/d/0B3cSQCYRbO3RVzNVcC1Od01veXM/edit?usp=drive_web>
​​
 IMGP0068.DNG
<https://drive.google.com/file/d/0B3cSQCYRbO3RYmRZbVpweWVxZmc/edit?usp=drive_web>
​​
 IMGP0066.DNG
<https://drive.google.com/file/d/0B3cSQCYRbO3ROHZQUHhvLUhOdms/edit?usp=drive_web>
​​
 IMGP0065.DNG
<https://drive.google.com/file/d/0B3cSQCYRbO3RbVBHRXdjc2VaY3M/edit?usp=drive_web>
​​
 IMGP0064.DNG
<https://drive.google.com/file/d/0B3cSQCYRbO3RN1VfZ0JIa2sySkk/edit?usp=drive_web>
​​
 IMGP0063.DNG
<https://drive.google.com/file/d/0B3cSQCYRbO3RY1kwcWZXSng5WDA/edit?usp=drive_web>
​​
 IMGP0062.DNG
<https://drive.google.com/file/d/0B3cSQCYRbO3ReTMyQldBeHl3SkE/edit?usp=drive_web>
​​
 IMGP0061.DNG
<https://drive.google.com/file/d/0B3cSQCYRbO3RWjgwdFp5cVJaeHM/edit?usp=drive_web>
​​
 IMGP0060.DNG
<https://drive.google.com/file/d/0B3cSQCYRbO3RMG8xaGZnT0xZanM/edit?usp=drive_web>
​​
 IMGP0059.DNG
<https://drive.google.com/file/d/0B3cSQCYRbO3RQXZYWFZ6Y1RnMWM/edit?usp=drive_web>
​
this is darktable 1.6.7 reporting a segfault:

#0  0x00007f540e9688ab in __waitpid (pid=pid@entry=14295, 
stat_loc=stat_loc@entry=0x0, options=options@entry=0) at 
../sysdeps/unix/sysv/linux/waitpid.c:40
#1  0x00007f540f5594b0 in _dt_sigsegv_handler (param=11) at 
/build/darktable-owcuer/darktable-1.6.7/src/common/darktable.c:181
#2  <signal handler called>
#3  0x00007f540f54879b in dt_bauhaus_cleanup () at 
/build/darktable-owcuer/darktable-1.6.7/src/bauhaus/bauhaus.c:658
#4  0x00007f540f55cf36 in dt_cleanup () at 
/build/darktable-owcuer/darktable-1.6.7/src/common/darktable.c:984
#5  0x00000000004017fc in main (argc=9, arg=0x7fff032d7fa8) at 
/build/darktable-owcuer/darktable-1.6.7/src/cli/main.c:293

Thread 5 (Thread 0x7f5401035700 (LWP 14281)):
#0  0x00007f540e6898dd in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x00007f540f20aebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x00007f540f20b242 in g_main_loop_run () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3  0x00007f540d1e5af6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#4  0x00007f540f231955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5  0x00007f540e95f6aa in start_thread (arg=0x7f5401035700) at 
pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f5401035700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139998770976512, 
3907468796420432951, 0, 140733246668463, 139998770977216, 27990736, 
-3994098942243494857, -3994126616672721865}, mask_was_saved = 0}}, priv = {pad 
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#6  0x00007f540e694eed in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 4 (Thread 0x7f53ae2b2700 (LWP 14292)):
#0  0x00007f54098632de in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
No symbol table info available.
#1  0x00007f5409860bf0 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
No symbol table info available.
#2  0x00007f540e95f6aa in start_thread (arg=0x7f53ae2b2700) at 
pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f53ae2b2700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139997381076736, 
3907468796420432951, 0, 140733246601055, 8388608, 35408320, 
-3990960590849825737, -3994126616672721865}, mask_was_saved = 0}}, priv = {pad 
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f540e694eed in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 3 (Thread 0x7f53adab1700 (LWP 14293)):
#0  0x00007f54098632de in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
No symbol table info available.
#1  0x00007f5409860bf0 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
No symbol table info available.
#2  0x00007f540e95f6aa in start_thread (arg=0x7f53adab1700) at 
pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f53adab1700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139997372684032, 
3907468796420432951, 0, 140733246601055, 8388608, 35409776, 
-3990957291778071497, -3994126616672721865}, mask_was_saved = 0}}, priv = {pad 
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f540e694eed in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 2 (Thread 0x7f53ad2b0700 (LWP 14294)):
#0  0x00007f54098632de in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
No symbol table info available.
#1  0x00007f5409860bf0 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
No symbol table info available.
#2  0x00007f540e95f6aa in start_thread (arg=0x7f53ad2b0700) at 
pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f53ad2b0700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139997364291328, 
3907468796420432951, 0, 140733246601055, 8388608, 35411232, 
-3990958382162893769, -3994126616672721865}, mask_was_saved = 0}}, priv = {pad 
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f540e694eed in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 1 (Thread 0x7f540fbd6a40 (LWP 14280)):
#0  0x00007f540e9688ab in __waitpid (pid=pid@entry=14295, 
stat_loc=stat_loc@entry=0x0, options=options@entry=0) at 
../sysdeps/unix/sysv/linux/waitpid.c:40
        resultvar = 18446744073709551104
        oldtype = 0
        result = <optimized out>
#1  0x00007f540f5594b0 in _dt_sigsegv_handler (param=11) at 
/build/darktable-owcuer/darktable-1.6.7/src/common/darktable.c:181
        pid = 14295
        name_used = 0x1ab9eb0 "/tmp/darktable_bt_9EMI1X.txt"
        fout = <optimized out>
        delete_file = 0
        datadir = "/usr/share/darktable", '\000' <repeats 4075 times>
        pid_arg = 0x1d88a00 "14280"
        comm_arg = 0x1bb3480 "/usr/share/darktable/gdb_commands"
        log_arg = 0x23c2ea0 "set logging on /tmp/darktable_bt_9EMI1X.txt"
#2  <signal handler called>
No locals.
#3  0x00007f540f54879b in dt_bauhaus_cleanup () at 
/build/darktable-owcuer/darktable-1.6.7/src/bauhaus/bauhaus.c:658
No locals.
#4  0x00007f540f55cf36 in dt_cleanup () at 
/build/darktable-owcuer/darktable-1.6.7/src/common/darktable.c:984
        init_gui = <optimized out>
#5  0x00000000004017fc in main (argc=9, arg=0x7fff032d7fa8) at 
/build/darktable-owcuer/darktable-1.6.7/src/cli/main.c:293
        image_filename = <optimized out>
        xmp_filename = <optimized out>
        output_filename = <optimized out>
        file_counter = <optimized out>
        width = <optimized out>
        height = <optimized out>
        bpp = <optimized out>
        verbose = <optimized out>
        high_quality = <optimized out>
        k = <optimized out>
        m_argc = <optimized out>
        m_arg = 0x7fff032d7b90
        film = {id = 1, dirname = 
".\000\000\000\310\355Y\016T\177\000\000蹿\017T\177\000\000\350|-\003\377\177\000\000\344|-\003\377\177\000\000\214\357\240\017T\177\000\000\340\306M\017T\177\000\000\063\b\000\000\000\000\000\000蹿\017T\177\000\000\060\035Y\016T\177\000\000\310\355Y\016T\177\000\000\262\367\240\017T\177\000\000\063\b\000\000\000\000\000\000\310\355Y\016T\177\000\000蹿\017T\177\000\000H}-\003\377\177\000\000D}-\003\377\177\000\000@\361\240\017T\177\000\000\000\000\000\000\000\000\000\000i\n@\000\000\000\000\000\240\005@\000\000\000\000\000H}-\003\377\177\000\000.N=\366\000\000\000\000\070\365\330\003\000\000\000\000.\000\000\000\377\177\000\000
 ~-\003\377\177\000\000\310\355"..., images_mutex = {__data = {__lock = 0, 
__count = 0, __owner = 0, __nusers = 0, __kind = 119, __spins = 124, __elision 
= 0, __list = {__prev = 0x1, __next = 0x0}}, __size = '\000' <repeats 16 
times>, "w\000\000\000|\000\000\000\001", '\000' <repeats 14 times>, __align = 
0}, dir = 0x7f540f9afff8, num_images = 240740592, last_loaded = 0, ref = 2}
        id = 1
        filmid = <optimized out>
        directory = <optimized out>
        ext = <optimized out>
        format = 0x2022c00
        storage = 0x20239f0
        sdata = 0x2160b00
        fdata = 0x21c0140
        w = <optimized out>
        h = <optimized out>
        fw = 0
        fh = 0
        sw = 0
        sh = 0
===> Check for required tools
--> Check for images handling tools availability
--> Check for images export tools availability
--> Check for profiling tools availability
--> Check for database tools availability
--> Check for internal tools availability
--> Build profiling tools
make: Entering directory '/home/mullah/archiv/darktable-1.6.7/tools/noise'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/mullah/archiv/darktable-1.6.7/tools/noise'
--> Check for tethering tools availability
$ERROR: gphoto2 not found$

gphoto2 is needed if you want this script to automatically take the
required pictures.


$\033[33mNOTE: Tethering tools are missing; you'll need to provide input images
yourself.$\033[0m

===> Check profiling directory

===> List profiling input RAW images
--> Found ISO 100 image: ./IMGP0059.DNG
--> Found ISO 200 image: ./IMGP0060.DNG
--> Found ISO 400 image: ./IMGP0061.DNG
--> Found ISO 800 image: ./IMGP0062.DNG
--> Found ISO 1600 image: ./IMGP0063.DNG
--> Found ISO 3200 image: ./IMGP0064.DNG
--> Found ISO 6400 image: ./IMGP0065.DNG
--> Found ISO 12800 image: ./IMGP0066.DNG
--> Found ISO 25600 image: ./IMGP0068.DNG
--> Found ISO 51200 image: ./IMGP0069.DNG

===> Checking profiling RAW images correctness + Jpeg export
--> ISO 100:
    ./IMGP0059.DNG
--> ISO 200:
    ./IMGP0060.DNG
--> ISO 400:
    ./IMGP0061.DNG
--> ISO 800:
    ./IMGP0062.DNG
--> ISO 1600:
    ./IMGP0063.DNG
--> ISO 3200:
    ./IMGP0064.DNG
--> ISO 6400:
    ./IMGP0065.DNG
--> ISO 12800:
    ./IMGP0066.DNG
--> ISO 25600:
    ./IMGP0068.DNG
--> ISO 51200:
    ./IMGP0069.DNG

===> Prepare profiling job
--> Copy darktable library for testing purpose
--> Remove previous presets
--> Ready to profile images

NOTE: This process takes some time and a lot of memory and disc space
(up-to several gigabytes, depending on the number of ISO settings and
the size of the RAW files.

===> Profile image for "RICOH IMAGING COMPANY, LTD. - PENTAX K-S1 - 100 ISO"
--> Converting ./IMGP0059.DNG (ISO 100)
[New LWP 14294]
[New LWP 14293]
[New LWP 14292]
[New LWP 14281]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f540e9688ab in __waitpid (pid=pid@entry=14295, stat_loc=stat_loc@entry=0x0, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
40	../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
backtrace written to /tmp/darktable_bt_9EMI1X.txt
Segmentation fault (core dumped)
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to