hi, sorry for the long delay... the segfault problem is still there...
i tried gdb locate and get the following output: (gdb) run XF86 Starting program: /sw/bin/locate XF86 [Switching to thread 1 (process 10188 thread 0x1603)] Reading symbols for shared libraries .. done Program received signal EXC_BAD_ACCESS, Could not access memory. getstr (lineptr=0xbffff73c, n=0xbffff740, stream=0x80008a98, terminator=0 '\000', offset=65594) at getline.c:104 104 *read_pos++ = c; (gdb) bt #0 getstr (lineptr=0xbffff73c, n=0xbffff740, stream=0x80008a98, terminator=0 '\000', offset=65594) at getline.c:104 #1 0x00002c08 in locate (pathpart=0xbffff957 "XF86", dbfile=0x6b2b0 "/sw/var/locatedb") at locate.c:277 #2 0x00002f08 in main (argc=2, argv=0xbffff898) at locate.c:398 #3 0x00002698 in _start () #4 0x000024c8 in start () (gdb) thank you for looking into this! cheers, kilian On Thu, May 30, 2002 at 04:12:44PM +0200, Max Horn wrote: > To: Kilian Koepsell <[EMAIL PROTECTED]>, > fink developers <[EMAIL PROTECTED]> > From: Max Horn <[EMAIL PROTECTED]> > Subject: Re: [Fink-devel] Segmentation fault in findutils > Date: Thu, 30 May 2002 16:12:44 +0200 > > At 14:52 Uhr +0200 30.05.2002, Kilian Koepsell wrote: > >hello, > > > >when I use the locate command from findutils-4.1-4 i only get a > > 'Segmentation fault' > > Just for the record, it works here (i.e. seems to be not a global > problem, phew <g>) > > >i tried to rebuild, but it doesn't help. what is the best way to trace back > >that error? > > Try this: > > gdb locate > > > Then at the prompt, type > > run PARAMS > > where PARAMS is whatever you were passing to locate. locate should > now run and when it crashes pop into gdb. Now type "bt" -> this will > print out a backtrace. Send that to us, and maybe we can get an idea > of what is going on. > > > Cheers, > > Max > -- > ----------------------------------------------- > Max Horn > Software Developer > > email: <mailto:[EMAIL PROTECTED]> > phone: (+49) 6151-494890 > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Fink-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/fink-devel _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
