Kernel Panic with Rawtherapee
Hello,
in the last few weeks I've been having several crashes when processing raw photo files with rawtherapee. AFAICT this always happend under (high) cpu load (e.g. when exporting a file to jpg), however I am not able to narrow it down a certain operation.
I am running debian testing on a Core 2 Duo E8400 (not overclocked or anything) with 8GB of ram on an Asus board.
$ uname -a Linux erde 3.2.0-1-amd64 #1 SMP Fri Feb 17 05:17:36 UTC 2012 x86_64 GNU/Linux
Is anyone able to tell from the stack trace ("screenshot" attached) what might be going on?
(Please CC me, as I am not subscribed to the list.)
Thank you
Adalbert
Re: Kernel Panic with Rawtherapee (mce related)
[Adding some Cc's]
Quoted 20 lines · Adalbert Dawid
Hello,
in the last few weeks I've been having several crashes when processing raw photo files with rawtherapee. AFAICT this always happend under (high) cpu load (e.g. when exporting a file to jpg), however I am not able to narrow it down a certain operation.
I am running debian testing on a Core 2 Duo E8400 (not overclocked or anything) with 8GB of ram on an Asus board.
$ uname -a Linux erde 3.2.0-1-amd64 #1 SMP Fri Feb 17 05:17:36 UTC 2012 x86_64 GNU/LinuxIs anyone able to tell from the stack trace ("screenshot" attached) what might be going on?
(Please CC me, as I am not subscribed to the list.)
Thank you
Adalbert
Re: Kernel Panic with Rawtherapee (mce related)
Quoted 19 lines · Srivatsa S. Bhat
[Adding some Cc's]
Quoted 15 lines · Adalbert Dawid
Hello,
in the last few weeks I've been having several crashes when processing raw photo files with rawtherapee. AFAICT this always happend under (high) cpu load (e.g. when exporting a file to jpg), however I am not able to narrow it down a certain operation.
I am running debian testing on a Core 2 Duo E8400 (not overclocked or anything) with 8GB of ram on an Asus board.
$ uname -a Linux erde 3.2.0-1-amd64 #1 SMP Fri Feb 17 05:17:36 UTC 2012 x86_64 GNU/LinuxIs anyone able to tell from the stack trace ("screenshot" attached) what might be going on?
You're getting a bunch of machine checks, the last one of them being fatal (Process Context Corrupt bit is set) causing the machine to panic.
Tony will probably be able to help you further in decoding what exactly those MC0_STATUS and MC5_STATUS values mean. <tease>Well, if we had MCE decoding in the kernel that would've not been an issue... :-)</tease>
Signature · 8 lines
Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551
RE: Kernel Panic with Rawtherapee (mce related)
Quoted 2 lines
You're getting a bunch of machine checks, the last one of them being fatal (Process Context Corrupt bit is set) causing the machine to panic.
PCC is set in all of them
Quoted 2 lines
Tony will probably be able to help you further in decoding what exactly those
MC0_STATUSandMC5_STATUSvalues mean
Bank 5 ends in 0400 - which means "Internal timer error". Bank 0 has 0800 which is a bus/interconnect error where this processor was the source of a memory transaction.
That's where the facts end - speculation begins here ...
Since this is repeatable under load - it's possible that a page table got corrupted and you are trying to access some non-existent memory location? Do all traces for this panic involve *_tlb_* functions?
Or perhaps you have a cooling problem - and when stressed your cpu or memory is getting too hot?
-Tony
RE: Kernel Panic with Rawtherapee (mce related)
Thank you for the quick reply.
Quoted 12 lines · Tony
Quoted 2 lines
You're getting a bunch of machine checks, the last one of them being fatal (Process Context Corrupt bit is set) causing the machine to panic.
PCC is set in all of them
Quoted 2 lines
Tony will probably be able to help you further in decoding what exactly those
MC0_STATUSandMC5_STATUSvalues meanBank 5 ends in 0400 - which means "Internal timer error". Bank 0 has 0800 which is a bus/interconnect error where this processor was the source of a memory transaction.
Quoted 5 lines
That's where the facts end - speculation begins here ...
Since this is repeatable under load - it's possible that a page table got corrupted and you are trying to access some non-existent memory location? Do all traces for this panic involve *_tlb_* functions?
Since the screenshot I had posted is the only one I have been able to capture, I don't know. I will try to provoke the crash by setting the machine under load utilizing rawtherapee and will post results in case of success. Cpuburn did not manage to crash the machine in a (shortish) test I did a few days ago.
It would be very helpful to disable the "reboot in 30 seconds" timeout. Is that possible somehow?
Quoted 2 lines
Or perhaps you have a cooling problem - and when stressed your cpu or memory is getting too hot?
I do not believe this is true as the cpu fan plus two case fans are running fine and the sensors display cpu tempratures <60°C, even under load.
Up to now, it has always been rawtherapee that crashed the machine. This is why I thought it might possibly be some special cpu feature (an SSE command or something) that happens to be broken in my cpu and that is triggered only by rawtherapee and not by any other software. What is your opinion on this theory?
Quoted 2 lines
-Tony
RE: Kernel Panic with Rawtherapee (mce related)
Quoted 2 lines
It would be very helpful to disable the "reboot in 30 seconds" timeout. Is that possible somehow?
# echo 0 > /proc/sys/kernel/panic
[A non-zero value is the number of seconds before rebooting. zero means don't reboot]
Quoted 5 lines
Up to now, it has always been rawtherapee that crashed the machine. This is why I thought it might possibly be some special cpu feature (an SSE command or something) that happens to be broken in my cpu and that is triggered only by rawtherapee and not by any other software. What is your opinion on this theory?
Can you set up a serial console for this system? Seeing the kernel log leading up to the machine checks might also give some clues (e.g. perhaps rawtherapee is running the system out of memory right before the crash).
-Tony
���{.n�+�������+%�����ݶ��w��{.n�+����{��G�����{ay�ʇڙ�,j��f���h��������z_�(�階�ݢj"���m������G������?����&���~��iO��z��v�^�m����������?�I�