RT 5.1 crashing - mostly on zoom


#41

Ok - will do.


#42

Interesting - I’d never heard of this, but thanks for the link.


(Sebastien Guyader) #43

@porchard here’s a RelWithDebInfo executable (just the executable, not the full package): https://filebin.net/oaotxgmm7lhbpg89
Extract here in the main installation folder.
I hope this helps.


#44

Thanks for this. :smile:

I downloaded it into the RT folder (5.2), ran it and loaded a Raw file. After about five minutes of carrying out various actions on the file, the program crashed while zooming!!

The only problem now is: where is the crash information? I can’t see a log file anywhere.


(Alberto) #45

you need to run this from gdb to get the backtrace – assuming this is sufficient. given the info you provided, I suspect there’s some access to uninitialised memory (perhaps a buffer overflow) which gets ‘masked’ when running via gdb, perhaps because that memory portion is filled eg. with zeros in that case. this is all speculation though – unfortunately I don’t have Windows so I can’t test


(Morgan Hardwood) #46

This explains how to get a log file:
http://rawpedia.rawtherapee.com/How_to_write_useful_bug_reports#Step_by_step


#47

I’m possibly being a bit dim here, but I thought that the idea of the RelWithDebInfo download was that it would run outside gdb.exe, since I can’t get the crash to happen under gdb? :confused:


(Morgan Hardwood) #48

No, it needs to run through GDB, but there is a chance that it will crash where the debug build would not.

It might be GDB which is preventing the crash, or it might be that the debug build is built differently to the release build. It won’t hurt to try the RelWithDebInfo build under GDB, and if that doesn’t crash, then you can try the release build under GDB. If that doesn’t crash, then we’re boned :]


#49

Ok - got it.

I’ll try that, and if it fails to produce something useful, I’ll stop bothering everyone! :wink:


#50

Post deleted (irrelevant information).


(Morgan Hardwood) #51

When it gets to the part which says “Program received signal SIGSEGV”, you need to type “bt full”. The stuff which gets printed when you type that is the only relevant part, the stuff before is irrelevant and can be skipped. Please see the instructions.


#52

Ok, apologies - this is all new to me. Here it is…

(gdb) bt full
#0  0x000000000047b9ef in ?? ()
No symbol table info available.
#1  0x0000000000560849 in ?? ()
No symbol table info available.
#2  0x0000000063f07088 in ?? ()
   from C:\Program Files\RawTherapee\5.2\libgtkmm-3.0-1.dll
No symbol table info available.
#3  0x0000000000fab7c5 in ?? ()
   from C:\Program Files\RawTherapee\5.2\libgtk-3-0.dll
No symbol table info available.
#4  0x0000000063a46347 in ?? ()
   from C:\Program Files\RawTherapee\5.2\libgobject-2.0-0.dll
No symbol table info available.
#5  0x0000000063a5e972 in ?? ()
   from C:\Program Files\RawTherapee\5.2\libgobject-2.0-0.dll
No symbol table info available.
#6  0x0000000063a5f288 in ?? ()
   from C:\Program Files\RawTherapee\5.2\libgobject-2.0-0.dll
No symbol table info available.
#7  0x00000000010f5e5e in ?? ()
   from C:\Program Files\RawTherapee\5.2\libgtk-3-0.dll
No symbol table info available.
#8  0x0000000000fa84fd in ?? ()
   from C:\Program Files\RawTherapee\5.2\libgtk-3-0.dll
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#9  0x0000000000faa6d4 in ?? ()
   from C:\Program Files\RawTherapee\5.2\libgtk-3-0.dll
No symbol table info available.
#10 0x0000000070ecdb09 in ?? ()
   from C:\Program Files\RawTherapee\5.2\libgdk-3-0.dll
No symbol table info available.
#11 0x0000000070ef8e80 in ?? ()
   from C:\Program Files\RawTherapee\5.2\libgdk-3-0.dll
No symbol table info available.
#12 0x00000000685f22a1 in ?? ()
   from C:\Program Files\RawTherapee\5.2\libglib-2.0-0.dll
No symbol table info available.
#13 0x00000000685f2488 in ?? ()
   from C:\Program Files\RawTherapee\5.2\libglib-2.0-0.dll
No symbol table info available.
#14 0x00000000685f28f3 in ?? ()
   from C:\Program Files\RawTherapee\5.2\libglib-2.0-0.dll
No symbol table info available.
#15 0x0000000000fa98dd in ?? ()
   from C:\Program Files\RawTherapee\5.2\libgtk-3-0.dll
No symbol table info available.
#16 0x0000000063ea36c2 in ?? ()
   from C:\Program Files\RawTherapee\5.2\libgtkmm-3.0-1.dll
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#17 0x0000000000a06ffd in ?? ()
No symbol table info available.
#18 0x00000000004013f8 in ?? ()
No symbol table info available.
#19 0x00000000004014eb in ?? ()
No symbol table info available.
#20 0x00000000773e59cd in KERNEL32!BaseThreadInitThunk ()
   from C:\Windows\system32\kernel32.dll
No symbol table info available.
#21 0x000000007751a561 in ntdll!RtlUserThreadStart ()
   from C:\Windows\SYSTEM32\ntdll.dll
No symbol table info available.
#22 0x0000000000000000 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

(Morgan Hardwood) #53

No need to apologize - thank you for the effort!