[AD] Linux allegro not dumping core

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Title: Linux allegro not dumping core

Hi,

I tried sending that from an account that does not convert everything
to html, but it seems it didn't get through, so here it is, probably
in html :/

I recently updated my wip 36 to wip 38, and found that when crashing
(SIGSEGV, SIGABRT...), no core is dumped. A little sample program:

int main()
{
  install_allegro(SYSTEM_NONE,atexit,&errno);
  return 0;
}

does generate a core, but if I change SYSTGEM_NONE to SYSTEM_LINUX,
it does no more. I found that when I use the alternative (SIGALRM)
code in src/linux/lsystem.c and src/unix/sigalrm.c, I get cores again.
Unfortunately, I still don't get cores with my game, a much larger
program. I tried recompiling everything with HAVE_LIBPRTHEAD undefined,
but still no cores.
Does anyone have this problem ? Or was it solved already (I only
recently came back to AD).

Cheers

--
Vincent Penquerc'h



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/