On Tue, Feb 03, 2009 at 11:26:12PM +0100, Pere Pujal i Carabantes wrote:
> Hi all!
>
> Can someone reproduce this?:
>
> Start, click on magic, click on rails, click on rainbow, click on quit,
> click on yes.
GDB shows:
(gdb) bt
#0 0xb80fb430 in __kernel_vsyscall ()
#1 0xb7c89880 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7c8b248 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7ccd423 in ?? () from /lib/tls/i686/cmov/libc.so.6
#4 0xb7ccf3f5 in free () from /lib/tls/i686/cmov/libc.so.6
#5 0xb4c6a343 in rails_shutdown (api=0x8934930) at magic/src/rails.c:145
#6 0x0804f6d5 in cleanup ()
#7 0x08069841 in main ()
That's this line:
free(rails_status_of_segments);
It looks like _switchout() is already free'ing it. It should free,
then set to NULL, then shutdown can check whether it's NULL before
freeing it.
I'll do that right now. (Yep, seems fixed; committing to CVS)
-bill!
|