[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: next version of Lout
From: |
kahl |
Subject: |
Re: next version of Lout |
Date: |
28 Sep 2008 15:46:07 -0000 |
User-agent: |
SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.7 Emacs/21.4 (powerpc-unknown-linux-gnu) MULE/5.0 (SAKAKI) |
Jeff wrote:
> I'm hoping that someone will find out why
> prg2lout is crashing under Ubuntu between now and then.
> I did read carefully through prg2lout.c and change a
> couple of things that looked slightly suspicious, but
> Mark Summerfield reported that the changes did no good.
> So I've basically done everything I can do here without
> a core dump to guide me.
Our local Ubuntu developer and guru explained to me:
| Ubuntu has a special program ("apport") to detect crashes and report
| information about them (including stack backtraces) to the Ubuntu issue
| tracker.
|
| The kernel has a sysctl variable to support this called
|
| kernel.core_pattern
|
| if set to a string starting with '|' then it invokes the named program
| instead of writing the core to the named file. The kernel default is
| 'core'.
|
| You can check with 'sysctl kernel.core_pattern'.
|
| Ubuntu sets this to redirect crashes to their special handler program.
|
| If you set it back (see /etc/sysctl.conf or "man sysctl") to "core" and
| set "ulimit -c unlimited" then you'll get core files in the current
| working directory when a program crashes.
But I am not running Ubuntu myself...
Wolfram