Hi
I try to run rawtherapee over a folder with raw images.
They are over 50. But when i enter in the folder using rawtherapee, it crashes.
This also happens in ubuntu.
I have no log detailing the failure.
I’m using the last stable version of this software.
Any ideas about what is wrong?
Thanks
I have had RT crash if there are any corrupt files in the directory. Can you try moving the files in small batches to a new directory and see if you can locate the one that might be corrupt?
@jfca you haven’t provided any useful info.
See: How to write useful bug reports - RawPedia
I added a lot of photos. Then, in a folder which contained over 30 pictures and worked ok, now it began to collapse the program. So, I deleted the files that seemed corrupted.Any file of zero kb were moved to the trash. But it didn’t change the result. Rawtherapee crashes in the same way. This happens in Windows 7 and Ubuntu. In Ubuntu i use another software and it could load the images that were in the folder i’m talking about. So, i’m very confused.
You still haven’t provided any useful info.
I know. But that’s in part the problem.
When it crashes in W7, i don’t see any log file.
Is there a way to inspect the crash?
A hidden folder with the last process…?
Yes, that’s why I spent hours writing the link I sent you. Please see it.
[code]
C:\Program Files\RawTherapee-4.2.699>gdb rawtherapee.exe
GNU gdb (GDB) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
This binary was built by Equation Solution <http://www.Equation.com>...
Reading symbols from rawtherapee.exe...done.
(gdb) run
Starting program: C:\Program Files\RawTherapee-4.2.699\rawtherapee.exe
[New Thread 11412.0x1518]
[New Thread 11412.0x2b9c]
[New Thread 11412.0x258c]
[New Thread 11412.0x286c]
[New Thread 11412.0x2b48]
[New Thread 11412.0x298c]
[New Thread 11412.0x15e4]
[New Thread 11412.0x21fc]
[New Thread 11412.0x2de8]
[Thread 11412.0x21fc exited with code 0]
[Thread 11412.0x2de8 exited with code 0]
[New Thread 11412.0x1824]
[New Thread 11412.0x2810]
[New Thread 11412.0x2f7c]
[Thread 11412.0x2f7c exited with code 0]
[New Thread 11412.0x2ec0]
[Thread 11412.0x2810 exited with code 0]
[New Thread 11412.0x2ec4]
[Thread 11412.0x2ec4 exited with code 0]
[New Thread 11412.0x2948]
[New Thread 11412.0x2cf0]
[Thread 11412.0x2ec0 exited with code 0]
[New Thread 11412.0x2354]
[New Thread 11412.0x1ac]
[Thread 11412.0x2354 exited with code 0]
[Thread 11412.0x1ac exited with code 0]
[New Thread 11412.0x127c]
(rawtherapee.exe:11412): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory 'C:\Program Files\RawTherapee-4.2.699\network:': No such fil
e or directory
(rawtherapee.exe:11412): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory 'C:\Program Files\RawTherapee-4.2.699\network:': No such fil
e or directory
(rawtherapee.exe:11412): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory 'C:\Program Files\RawTherapee-4.2.699\network:': No such fil
e or directory
(rawtherapee.exe:11412): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory 'C:\Program Files\RawTherapee-4.2.699\network:': No such fil
e or directory
(rawtherapee.exe:11412): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory 'C:\Program Files\RawTherapee-4.2.699\network:': No such fil
e or directory
(rawtherapee.exe:11412): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory 'C:\Program Files\RawTherapee-4.2.699\network:': No such fil
e or directory
(rawtherapee.exe:11412): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory 'C:\Program Files\RawTherapee-4.2.699\network:': No such fil
e or directory
(rawtherapee.exe:11412): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory 'C:\Program Files\RawTherapee-4.2.699\network:': No such fil
e or directory
(rawtherapee.exe:11412): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory 'C:\Program Files\RawTherapee-4.2.699\network:': No such fil
e or directory
[Thread 11412.0x127c exited with code 0]
[New Thread 11412.0x2514]
[New Thread 11412.0x2c80]
[New Thread 11412.0x2c64]
[New Thread 11412.0x23a0]
[New Thread 11412.0x2c9c]
[New Thread 11412.0x274c]
[New Thread 11412.0x2874]
[New Thread 11412.0x11ec]
[New Thread 11412.0x1f64]
[Thread 11412.0x11ec exited with code 0]
[New Thread 11412.0x2720]
[New Thread 11412.0x2bf0]
[New Thread 11412.0x2660]
[New Thread 11412.0x2af4]
[New Thread 11412.0x2794]
[New Thread 11412.0x27c8]
[New Thread 11412.0x21e8]
[New Thread 11412.0x2e8c]
[New Thread 11412.0x2a64]
[New Thread 11412.0x20dc]
[New Thread 11412.0x288c]
[New Thread 11412.0x17d0]
[New Thread 11412.0x12ac]
[New Thread 11412.0x177c]
[New Thread 11412.0x124c]
[New Thread 11412.0x21fc]
[New Thread 11412.0x122c]
[New Thread 11412.0x1b5c]
[New Thread 11412.0x2de8]
[New Thread 11412.0x2810]
[New Thread 11412.0x1ed0]
[New Thread 11412.0x2f7c]
[New Thread 11412.0x1db8]
[New Thread 11412.0x2ec4]
[New Thread 11412.0x2354]
[New Thread 11412.0x22d0]
[New Thread 11412.0x9e0]
[New Thread 11412.0x1ac]
[New Thread 11412.0x2ec0]
[New Thread 11412.0x934]
[New Thread 11412.0x2da4]
[New Thread 11412.0x2d20]
[New Thread 11412.0xf94]
[New Thread 11412.0x2aa4]
[New Thread 11412.0x1e20]
[New Thread 11412.0x1440]
[New Thread 11412.0x1f50]
[New Thread 11412.0x15c8]
[New Thread 11412.0x127c]
[New Thread 11412.0xef8]
[New Thread 11412.0x2ab4]
[New Thread 11412.0xd58]
[New Thread 11412.0x2254]
[New Thread 11412.0x7c0]
[New Thread 11412.0x20f8]
[New Thread 11412.0x1ddc]
[New Thread 11412.0x2c48]
[New Thread 11412.0x2990]
[New Thread 11412.0x3018]
[New Thread 11412.0x11ec]
[New Thread 11412.0x3010]
[New Thread 11412.0x300c]
[New Thread 11412.0x3008]
[New Thread 11412.0x3004]
[New Thread 11412.0x3020]
[New Thread 11412.0x3014]
[New Thread 11412.0x301c]
[New Thread 11412.0x3024]
[New Thread 11412.0x3030]
[New Thread 11412.0x302c]
[New Thread 11412.0x3028]
[New Thread 11412.0x3038]
[New Thread 11412.0x3034]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 11412.0x2c9c]
0x000007fefe4d11fd in msvcrt!memmove () from C:\Windows\system32\msvcrt.dll
(gdb)[/code]
That’s much better! But two more things:
1- You missed the most important part, the output for the “bt” command, see the link again.
2- Make sure you are doing this on a debug build, not a release build. Only do it on a release build if you cannot reproduce the problem on a debug build.
I hope i did this right. I’m sorry for this messy topic.
[code]For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type “help”.
Type “apropos word” to search for commands related to “word”.
This binary was built by Equation Solution http://www.Equation.com…
Reading symbols from rawtherapee.exe…done.
(gdb) run
Starting program: C:\Program Files\RawTherapee-4.2.699\rawtherapee.exe
[New Thread 13428.0x3478]
[New Thread 13428.0x347c]
[New Thread 13428.0x3480]
[New Thread 13428.0x3488]
[New Thread 13428.0x348c]
[New Thread 13428.0x3490]
[New Thread 13428.0x3494]
[New Thread 13428.0x3498]
[New Thread 13428.0x34d4]
[Thread 13428.0x3498 exited with code 0]
[Thread 13428.0x34d4 exited with code 0]
[New Thread 13428.0x34d8]
[New Thread 13428.0x34dc]
[New Thread 13428.0x34e0]
[Thread 13428.0x34e0 exited with code 0]
[New Thread 13428.0x34e4]
[Thread 13428.0x34dc exited with code 0]
[New Thread 13428.0x34ec]
[Thread 13428.0x34e4 exited with code 0]
[New Thread 13428.0x34f0]
[Thread 13428.0x34f0 exited with code 0]
[New Thread 13428.0x3500]
[New Thread 13428.0x3508]
[Thread 13428.0x3500 exited with code 0]
[New Thread 13428.0x350c]
[New Thread 13428.0x3510]
[New Thread 13428.0x3514]
[Thread 13428.0x350c exited with code 0]
[Thread 13428.0x34ec exited with code 0]
[Thread 13428.0x3514 exited with code 0]
[New Thread 13428.0x3550]
(rawtherapee.exe:13428): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory ‘C:\Program Files\RawTherapee-4.2.699\network:’: No such fil
e or directory
(rawtherapee.exe:13428): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory ‘C:\Program Files\RawTherapee-4.2.699\network:’: No such fil
e or directory
(rawtherapee.exe:13428): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory ‘C:\Program Files\RawTherapee-4.2.699\network:’: No such fil
e or directory
(rawtherapee.exe:13428): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory ‘C:\Program Files\RawTherapee-4.2.699\network:’: No such fil
e or directory
(rawtherapee.exe:13428): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory ‘C:\Program Files\RawTherapee-4.2.699\network:’: No such fil
e or directory
(rawtherapee.exe:13428): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory ‘C:\Program Files\RawTherapee-4.2.699\network:’: No such fil
e or directory
(rawtherapee.exe:13428): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory ‘C:\Program Files\RawTherapee-4.2.699\network:’: No such fil
e or directory
(rawtherapee.exe:13428): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory ‘C:\Program Files\RawTherapee-4.2.699\network:’: No such fil
e or directory
(rawtherapee.exe:13428): Gtk-WARNING **: Failed to fetch network locations: Erro
r opening directory ‘C:\Program Files\RawTherapee-4.2.699\network:’: No such fil
e or directory
[Thread 13428.0x3550 exited with code 0]
[New Thread 13428.0x3558]
[New Thread 13428.0x355c]
[New Thread 13428.0x3560]
[New Thread 13428.0x3564]
[New Thread 13428.0x3568]
[New Thread 13428.0x356c]
[New Thread 13428.0x3570]
[New Thread 13428.0x3580]
[New Thread 13428.0x3584]
[Thread 13428.0x3580 exited with code 0]
[New Thread 13428.0x358c]
[New Thread 13428.0x3590]
[New Thread 13428.0x3594]
[New Thread 13428.0x3598]
[New Thread 13428.0x359c]
[New Thread 13428.0x35a0]
[New Thread 13428.0x35a4]
[New Thread 13428.0x35ac]
[New Thread 13428.0x35b0]
[New Thread 13428.0x35b8]
[New Thread 13428.0x35c0]
[New Thread 13428.0x35b4]
[New Thread 13428.0x35c4]
[New Thread 13428.0x35c8]
[New Thread 13428.0x35bc]
[New Thread 13428.0x35d0]
[New Thread 13428.0x35cc]
[New Thread 13428.0x35d4]
[New Thread 13428.0x35d8]
[New Thread 13428.0x35dc]
[New Thread 13428.0x35e0]
[New Thread 13428.0x35e4]
[New Thread 13428.0x35ec]
[New Thread 13428.0x35e8]
[New Thread 13428.0x35f0]
[New Thread 13428.0x35f4]
[New Thread 13428.0x35f8]
[New Thread 13428.0x35fc]
[New Thread 13428.0x3600]
[New Thread 13428.0x3604]
[New Thread 13428.0x3608]
[New Thread 13428.0x360c]
[New Thread 13428.0x3610]
[New Thread 13428.0x3614]
[New Thread 13428.0x3618]
[New Thread 13428.0x361c]
[New Thread 13428.0x3620]
[New Thread 13428.0x3624]
[New Thread 13428.0x3628]
[New Thread 13428.0x3630]
[New Thread 13428.0x362c]
[New Thread 13428.0x3634]
[New Thread 13428.0x3638]
[New Thread 13428.0x363c]
[New Thread 13428.0x3640]
[New Thread 13428.0x3644]
[New Thread 13428.0x3648]
[New Thread 13428.0x364c]
[New Thread 13428.0x3650]
[New Thread 13428.0x3654]
[New Thread 13428.0x3658]
[New Thread 13428.0x365c]
[New Thread 13428.0x3660]
[New Thread 13428.0x3664]
[New Thread 13428.0x3668]
[New Thread 13428.0x366c]
[New Thread 13428.0x3670]
[New Thread 13428.0x3674]
[New Thread 13428.0x3678]
[New Thread 13428.0x3684]
[New Thread 13428.0x3680]
[New Thread 13428.0x367c]
[New Thread 13428.0x3688]
no mmap
no mmap
no mmap
no mmap
no mmap
no mmap
no mmap
no mmap
no mmap
no mmap
no mmap
no mmap
no mmap
no mmap
no mmap
no mmap
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 13428.0x3564]
0x000007fefd6d11fd in msvcrt!memmove () from C:\Windows\system32\msvcrt.dll
(gdb) bt full
#0 0x000007fefd6d11fd in msvcrt!memmove ()
from C:\Windows\system32\msvcrt.dll
No symbol table info available.
#1 0x000000000099a77f in rtengine::Image8::setScanline (this=0x140c2bb0,
row=101, buffer=0x267415e0 “”, bps=8, minValue=0x0, maxValue=0x0)
at C:/Rawtherapee-sources/rtrepo-gtk3/rtengine/image8.cc:70
No locals.
#2 0x00000000009a5096 in rtengine::ImageIO::loadPPMFromMemory (
this=0x140c2c28,
buffer=0x266042a0 “'¯Ës\nL§óW!ã¹(\\020·6Ý\005¤«\024\071\006vPç)\033.i\021A¶
\004\030ë\020-±┼\031\032IWE”·Ñ3ÏTUzêÂázz¥u┼K[~\215~lYJêÐ\036f°tJØõló¼ÕFºË#%Z°*t Ù²ÅÚHx+\210©
\032oO êj¸ädÈã\021x\026]Ç[î~<\230åÐ\r.\231ÇI\{.ÒïY¦>“E8 iØØ3:zÛ;
025W\177£ºgÖÊòIU½Ðt\001àyÐ\036ÃÉ%‘sÊÆÀê(¥*¶E¬\022U \215.³O¾>v¤æ’”…,
width=4288, height=2848, swap=true, bps=8)
at C:/Rawtherapee-sources/rtrepo-gtk3/rtengine/imageio.cc:881
row = 101
line_length = 12864
#3 0x000000000089a784 in rtengine::Thumbnail::loadQuickFromRaw (fname=…,
rml=…, w=@0x140b9c78: -1, h=@0x140b9c7c: 250, fixwh=1, rotate=true,
inspectorMode=false)
at C:/Rawtherapee-sources/rtrepo-gtk3/rtengine/rtthumbnail.cc:186
data = 0x266042a0 “'¯Ës\nL§óW!ã¹(\\020·6Ý\005¤«\024\071\006vPç)\033.i\0
21A¶\004\030ë\020-±┼\031\032IWE”·Ñ3ÏTUzêÂázz¥u┼K[~\215~lYJêÐ\036f°tJØõló¼ÕFºË#% Z°*tÙ²ÅÚHx+\210©
\032oO êj¸ädÈã\021x\026]Ç[î~<\230åÐ\r.\231ÇI\{.ÒïY¦>“E8 i—T
ype to continue, or q to quit—return
ØØ3:zÛ;\025W\177£ºgÖÊòIU½Ðt\001àyÐ\036ÃÉ%‘sÊÆÀê(¥*¶E¬\022U \215.³O¾>v¤æ’”…
ri = 0x201b4510
r = 0
img = 0x140c2bb0
err = 1
tpp = 0x1
#4 0x00000000006596a7 in Thumbnail::generateThumbnailImage (this=0x140b9ae0)
at C:/Rawtherapee-sources/rtrepo-gtk3/rtgui/thumbnail.cc:135
quick = true
ri = {exifBase = 0, ciffBase = -1, ciffLength = 0}
ext = {static npos = 18446744073709551615, string = {
static npos = ,
_M_dataplus = {<std::allocator> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x14dff7c0 “DNG”},
_M_string_length = 3, {
_M_local_buf = “DNG\000\000\000\000\000g{\000\000\000\000",
_M_allocated_capacity = 4673092}}}
#5 0x00000000006590b1 in Thumbnail::Thumbnail (this=0x140b9ae0,
cm=0xe4a980 CacheManager::getInstance()::instance, fname=…, md5=…)
at C:/Rawtherapee-sources/rtrepo-gtk3/rtgui/thumbnail.cc:73
No locals.
#6 0x00000000004a420d in CacheManager::getEntry (
this=0xe4a980 CacheManager::getInstance()::instance, fname=…)
at C:/Rawtherapee-sources/rtrepo-gtk3/rtgui/cachemanager.cc:114
—Type to continue, or q to quit—
thumbnail = {
_M_t = {<std::_Tuple_impl<0ull, Thumbnail, std::default_delete >> = {<std::_Tuple_impl<1ull, std::default_delete >> = {<std::_H
ead_base<1ull, std::default_delete, true>> = {<std::default_delete> = {}, }, }, <std::_Hea
d_base<0ull, Thumbnail*, false>> = {
_M_head_impl = 0x0}, }, }}
md5 = {static npos = ,
_M_dataplus = {<std::allocator> = {<__gnu_cxx::new_allocator> = {}, },
_M_p = 0x13b3eef0 “37a737b3a0846241b555adeb925d58eb”},
_M_string_length = 32, {
_M_local_buf = " \000\000\000\000\000\000\000\001\000\000\000\000\00
0\000”, M_allocated_capacity = 32}}
cacheName = {static npos = 18446744073709551615, string = {
static npos = ,
_M_dataplus = {<std::allocator> = {<__gnu_cxx::new_allocator> = {}, },
_M_p = 0x171b16a0 “C:\Users\Jceccarelli\AppData\Local\RawTher
apee\cache\data\_IGP5221.DNG.37a737b3a0846241b555adeb925d58eb.txt”},
M_string_length = 107, {
M_local_buf = “k\000\000\000\000\000\000\000\020\000\000\000\000
000\000”, M_allocated_capacity = 107}}}
#7 0x0000000000a537bc in PreviewLoader::Impl::processNextJob (this=0xf60af60)
—Type to continue, or q to quit—
at C:/Rawtherapee-sources/rtrepo-gtk3/rtgui/previewloader.cc:127
tmb = 0x0
j = {dir_id = 2, dir_entry = {static npos = 18446744073709551615,
string = {static npos = ,
_M_dataplus = {<std::allocator> = {<__gnu_cxx::new_allocator
> = {}, },
_M_p = 0x137087a0 “C:\Users\Jceccarelli\Dropbox\Photos\Pent
ax\_IGP5221.DNG”}, _M_string_length = 55, {
_M_local_buf = “7\000\000\000\000\000\000\000\000ýß\024\000\000
000”, M_allocated_capacity = 55}}}, listener = 0xeb32098}
last = false
#8 0x0000000000b5ccb6 in sigc::bound_mem_functor0<void, PreviewLoader::Impl>::o
perator() (this=0x2016f9b8)
at C:/msys64/mingw64/include/sigc+±2.0/sigc++/functors/mem_fun.h:1787
No locals.
#9 0x0000000000b5830c in sigc::adaptor_functor<sigc::bound_mem_functor0<void, P
reviewLoader::Impl> >::operator() (this=0x2016f9b0)
at C:/msys64/mingw64/include/sigc+±2.0/sigc++/adaptors/adaptor_trait.h:256
No locals.
#10 0x0000000000a9ee94 in sigc::internal::slot_call0<sigc::bound_mem_functor0<vo
id, PreviewLoader::Impl>, void>::call_it (rep=0x2016f980)
at C:/msys64/mingw64/include/sigc+±2.0/sigc++/functors/slot.h:108
typed_rep = 0x2016f980
—Type to continue, or q to quit—
#11 0x00000000664dac94 in ?? ()
from C:\Program Files\RawTherapee-4.2.699\libglibmm-2.4-1.dll
No symbol table info available.
#12 0x0000000068618910 in ?? ()
from C:\Program Files\RawTherapee-4.2.699\libglib-2.0-0.dll
No symbol table info available.
#13 0x0000000068617fa9 in ?? ()
from C:\Program Files\RawTherapee-4.2.699\libglib-2.0-0.dll
No symbol table info available.
#14 0x0000000064944ac4 in ?? ()
from C:\Program Files\RawTherapee-4.2.699\libwinpthread-1.dll
No symbol table info available.
#15 0x000007fefd6d415f in srand () from C:\Windows\system32\msvcrt.dll
No symbol table info available.
#16 0x000007fefd6d6ebd in msvcrt!_ftime64_s ()
from C:\Windows\system32\msvcrt.dll
No symbol table info available.
#17 0x00000000770d59ed in KERNEL32!BaseThreadInitThunk ()
from C:\Windows\system32\kernel32.dll
No symbol table info available.
#18 0x000000007720b831 in ntdll!RtlUserThreadStart ()
from C:\Windows\SYSTEM32\ntdll.dll
No symbol table info available.
#19 0x0000000000000000 in ?? ()
—Type to continue, or q to quit—
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)
(gdb)[/code]
That’s perfect @jfca! You did it
Now can you please upload C:\Users\Jceccarelli\Dropbox\Photos\Pentax\_IGP5221.DNG to http://filebin.net/ and paste the full link here?
I confirm the segfault with your file!
Ingo
Reproduced here too, in RawTherapee and in other software. Your DNG file is corrupt.
Issue opened: Segfault on corrupt DNG · Issue #3129 · Beep6581/RawTherapee · GitHub
Confirmed, darktable fails, too, error messages are:
Magick: Not a JPEG file: starts with 0x92 0xaf. (JPEGLib).
[dt_imageio_large_thumbnail GM] thumbnail not found?
[rawspeed] DNG Decoding: Too many errors encountered. Giving up.
First Error:LJpegDecompressor::getNextMarker: (Noskip) Expected marker, but found stuffed 00 or ff.
[temperature] failed to read camera white balance information from `IGP5221.DNG'!
allocation failed???
You were right.
It was a list of corrupted files i had to deleted them.
Now Rawtherapee works!
Crash fixed just now by @heckflosse, the file will now simply appear black.
Yeah. Ufraw can open them and they appear just black.