On Tue, Dec 12, 2006 at 08:10:07PM +0100, Aurélien GÉRÔME wrote: > Starting program: /home/ag/build/scilab-4.0/bin/scilex > [Thread debugging using libthread_db enabled] > [New Thread 16384 (LWP 17888)] > [New Thread 32769 (LWP 17893)] > [New Thread 16386 (LWP 17894)] > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 16384 (LWP 17888)] > 0x0000000120078cfc in cresmatvar_ () > (gdb) bt > #0 0x0000000120078cfc in cresmatvar_ () > #1 0x0000000120078418 in inisci_ () > #2 0x00000001205771a8 in VTRun () > #3 0x000000012057c67c in main_sci () > #4 0x000000012057cf00 in realmain_ () > #5 0x000000012004d718 in MAIN__ () > > The bug is located in the Fortran code of ./routines/system/inisci.f, > so it must be related to g77 in some way. I searched a bit, but I > do not know much about Fortran. Sylvestre, can you be of any help on > this? :)
I rebuilt scilab with FC_OPTIONS=-g and here is the gdb session with debugging symbols support. (gdb) r Starting program: /home/ag/build/scilab-4.0/bin/scilex [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 31355)] [New Thread 32769 (LWP 31360)] [New Thread 16386 (LWP 31361)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 31355)] 0x0000000120085700 in cresmatvar_ (id=0x11fec55c0, lw=0x11fec558c, str=0x120fbbe9e, lstr=0x11fec5628, __g77_length_str=4096) at inisci.f:427 427 istk(il ) = 10 (gdb) bt #0 0x0000000120085700 in cresmatvar_ (id=0x11fec55c0, lw=0x11fec558c, str=0x120fbbe9e, lstr=0x11fec5628, __g77_length_str=4096) at inisci.f:427 #1 0x0000000120084780 in inisci_ (ini1=0x120aaf3b8, vsizr=0x11fec5690, ierr=0x120ab1c5c) at inisci.f:259 #2 0x00000001207812c0 in VTRun () #3 0x0000000120786794 in main_sci () #4 0x0000000120787018 in realmain_ () #5 0x000000012004d720 in MAIN__ () at mainsci.f:4 Cheers, -- .''`. Aurélien GÉRÔME : :' : `. `'` Free Software Developer `- Unix Sys & Net Admin
signature.asc
Description: Digital signature