On Saturday, March 9, 2019 7:18:44 PM CET Wolfgang Goetz wrote:
> Hi,
> 
> following the new process for generating noise profiles by Andreas Schneider
> on pixls.us: unfortunately the tool is stopping in first picture.
> (Exitcode: 139)

Pascal, this dereferences `self` which is a NULL pointer when calling 
dt_undo_start_group().

This means that when we call the function in dt_undo_start_group(). The global 
variable `darktable` seems not to be set up yet! Also normally it is a bad 
thing to work with extern variables, we should use getter and setter for that 
which do error checking and probably abort() early if something is wrong.


Just my 2 cents :-)



        Andreas

> 
> see ProcCmdLine in Ubu problem report. (sorry for the Screenshot, c+p not
> possible)
> 
> 
> darktable-cli DSC_0120.NEF DSC_0120.-l.jpg
> 
> crashlog attached.
> 
> 
> 
> 
> goetz@wgdesktop:~/noiseprofile_Z7$
> /opt/darktable/libexec/darktable/tools/darktable-gen-noiseprofile -d $(pwd)
> ===> Check for required tools
> --> Check for images handling tools availability
> --> Check for images export tools availability
> --> Check for profiling tools availability
> --> Check for tethering tools availability
> --> Check for pdf tools availability
> 
> ===> Check profiling directory
> 
> ===> List profiling input RAW images
> --> Found ISO 31 image: /home/goetz/noiseprofile_Z7/DSC_0120.NEF
> --> Found ISO 40 image: /home/goetz/noiseprofile_Z7/DSC_0121.NEF
> --> Found ISO 50 image: /home/goetz/noiseprofile_Z7/DSC_0122.NEF
> --> Found ISO 64 image: /home/goetz/noiseprofile_Z7/DSC_0123.NEF
> --> Found ISO 80 image: /home/goetz/noiseprofile_Z7/DSC_0124.NEF
> --> Found ISO 100 image: /home/goetz/noiseprofile_Z7/DSC_0125.NEF
> --> Found ISO 125 image: /home/goetz/noiseprofile_Z7/DSC_0126.NEF
> --> Found ISO 160 image: /home/goetz/noiseprofile_Z7/DSC_0127.NEF
> --> Found ISO 200 image: /home/goetz/noiseprofile_Z7/DSC_0128.NEF
> --> Found ISO 250 image: /home/goetz/noiseprofile_Z7/DSC_0129.NEF
> --> Found ISO 320 image: /home/goetz/noiseprofile_Z7/DSC_0130.NEF
> --> Found ISO 400 image: /home/goetz/noiseprofile_Z7/DSC_0131.NEF
> --> Found ISO 500 image: /home/goetz/noiseprofile_Z7/DSC_0132.NEF
> --> Found ISO 640 image: /home/goetz/noiseprofile_Z7/DSC_0133.NEF
> --> Found ISO 800 image: /home/goetz/noiseprofile_Z7/DSC_0134.NEF
> --> Found ISO 1000 image: /home/goetz/noiseprofile_Z7/DSC_0135.NEF
> --> Found ISO 1250 image: /home/goetz/noiseprofile_Z7/DSC_0136.NEF
> --> Found ISO 1600 image: /home/goetz/noiseprofile_Z7/DSC_0137.NEF
> --> Found ISO 2000 image: /home/goetz/noiseprofile_Z7/DSC_0138.NEF
> --> Found ISO 2500 image: /home/goetz/noiseprofile_Z7/DSC_0139.NEF
> --> Found ISO 3200 image: /home/goetz/noiseprofile_Z7/DSC_0140.NEF
> --> Found ISO 4000 image: /home/goetz/noiseprofile_Z7/DSC_0141.NEF
> --> Found ISO 5000 image: /home/goetz/noiseprofile_Z7/DSC_0142.NEF
> --> Found ISO 6400 image: /home/goetz/noiseprofile_Z7/DSC_0143.NEF
> --> Found ISO 8000 image: /home/goetz/noiseprofile_Z7/DSC_0144.NEF
> --> Found ISO 10000 image: /home/goetz/noiseprofile_Z7/DSC_0145.NEF
> --> Found ISO 12800 image: /home/goetz/noiseprofile_Z7/DSC_0146.NEF
> --> Found ISO 16000 image: /home/goetz/noiseprofile_Z7/DSC_0147.NEF
> --> Found ISO 20000 image: /home/goetz/noiseprofile_Z7/DSC_0148.NEF
> --> Found ISO 25600 image: /home/goetz/noiseprofile_Z7/DSC_0149.NEF
> --> Found ISO 32254 image: /home/goetz/noiseprofile_Z7/DSC_0150.NEF
> --> Found ISO 40637 image: /home/goetz/noiseprofile_Z7/DSC_0151.NEF
> --> Found ISO 51200 image: /home/goetz/noiseprofile_Z7/DSC_0152.NEF
> --> Found ISO 102400 image: /home/goetz/noiseprofile_Z7/DSC_0153.NEF
> 
> The script will use existing input RAW images for the profiling. No more
> shot will be taken.
> 
> ===> Checking profiling RAW images correctness + Jpeg export
> --> ISO 31:
>     /home/goetz/noiseprofile_Z7/DSC_0120.NEF
> goetz@wgdesktop:~/noiseprofile_Z7$ echo $?
> 139


-- 
Andreas Schneider                 a...@cryptomilk.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D


___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to