[opensuse] backtraces in syslog?
I see a new item in /var/log/messages on openSUSE 11.2: Oct 1 09:49:09 acme kernel: [2605651.384950] rst2vvxml[8055]: segfault at 1d221 ip b7495a5a sp bfddb380 error 6 in libtprofile.so.18.00[b7494000+4000] I don't think this was there before. But that is not question. In this case, a local program has caused a segmentation violation and died. During development, this sort of thing does indeed happen. Knowing the library it was in when this happened is quite a nice thing. My question is: where is the mechanism that controls if I see application program failures like this? And, does anyone know if it is possible to have a backtrace as well? I have added backtrace() in my signal handler for these failures in some apps. But a system-wide enabling would be very useful! It seems that the kernel is reporting the error. So I guess, if fine control exists, it would be a kernel setting. Any ideas? -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 01 October 2010 11:20:56 Roger Oberholtzer wrote:
I see a new item in /var/log/messages on openSUSE 11.2:
Oct 1 09:49:09 acme kernel: [2605651.384950] rst2vvxml[8055]: segfault at 1d221 ip b7495a5a sp bfddb380 error 6 in libtprofile.so.18.00[b7494000+4000]
I don't think this was there before. But that is not question.
You see it on all x86-64 systems - it's there since we started porting to x86-64 ;)
In this case, a local program has caused a segmentation violation and died. During development, this sort of thing does indeed happen. Knowing the library it was in when this happened is quite a nice thing.
My question is: where is the mechanism that controls if I see application program failures like this? And, does anyone know if it is
The x86-64 kernel reports this automatically.
possible to have a backtrace as well? I have added backtrace() in my signal handler for these failures in some apps. But a system-wide enabling would be very useful!
It seems that the kernel is reporting the error. So I guess, if fine control exists, it would be a kernel setting.
Yes, the kernel does it but I'm not aware of any settings for these, Andreas -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 2010-10-01 at 11:28 +0200, Andreas Jaeger wrote:
On Friday 01 October 2010 11:20:56 Roger Oberholtzer wrote:
I see a new item in /var/log/messages on openSUSE 11.2:
Oct 1 09:49:09 acme kernel: [2605651.384950] rst2vvxml[8055]: segfault at 1d221 ip b7495a5a sp bfddb380 error 6 in libtprofile.so.18.00[b7494000+4000]
I don't think this was there before. But that is not question.
You see it on all x86-64 systems - it's there since we started porting to x86-64 ;)
I guess you see it on this as well: Linux acme 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 i686 i686 i386 GNU/Linux
Yes, the kernel does it but I'm not aware of any settings for these,
That's the problem with features. Users always want more! -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Roger Oberholtzer wrote:
I see a new item in /var/log/messages on openSUSE 11.2:
Oct 1 09:49:09 acme kernel: [2605651.384950] rst2vvxml[8055]: segfault at 1d221 ip b7495a5a sp bfddb380 error 6 in libtprofile.so.18.00[b7494000+4000]
I don't think this was there before. But that is not question.
In this case, a local program has caused a segmentation violation and died. During development, this sort of thing does indeed happen. Knowing the library it was in when this happened is quite a nice thing.
My question is: where is the mechanism that controls if I see application program failures like this? And, does anyone know if it is possible to have a backtrace as well? I have added backtrace() in my signal handler for these failures in some apps. But a system-wide enabling would be very useful!
Why don't you just enable core-dumps? -- Per Jessen, Zürich (13.4°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 2010-10-01 at 11:31 +0200, Per Jessen wrote:
Why don't you just enable core-dumps?
Perhaps this is another way. But the direct backtrace would be soo nice. And given that the kernel has gone as far as it has already... -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Roger Oberholtzer wrote:
On Fri, 2010-10-01 at 11:31 +0200, Per Jessen wrote:
Why don't you just enable core-dumps?
Perhaps this is another way. But the direct backtrace would be soo nice. And given that the kernel has gone as far as it has already...
I'm not sure if you get that info all the time - I've also noticed it, but not consistently. Maybe if all your systems are at the same level, but otherwise - core dumps. The backtrace is good to have, but am I rarely able to find the bug based just on that. Anyway, for code in development, I almost always run with core dumps enabled. -- Per Jessen, Zürich (14.4°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Andreas Jaeger
-
Per Jessen
-
Roger Oberholtzer