[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
locate
From: |
Tom Fischer |
Subject: |
locate |
Date: |
Fri, 13 Jul 2001 19:14:27 +0200 |
Hi,
i'm not sure about this but my locate (version 4.1) crashes with Segmentation
fault (Program received signal SIGSEGV). It's reproduceable on every machine
here. Pentium III and AMD K6. the chrash appears after i run updatedb and
mountet windows-shares via samba.
This is what gdb says:
(gdb) run getline.c
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/bin/locate getline.c
/usr/src/findutils-4.1/lib/getline.c
Program received signal SIGSEGV, Segmentation fault.
0x8049588 in getstr (lineptr=0xbffffb30, n=0xbffffb34, stream=0x804a970,
terminator=0 '\000', offset=65584)
at getline.c:104
104 in getline.c
(gdb) bt
#0 0x8049588 in getstr (lineptr=0xbffffb30, n=0xbffffb34, stream=0x804a970,
terminator=0 '\000',
offset=65584) at getline.c:104
#1 0x8048f6e in locate (pathpart=0xbffffe44 "getline.c", dbfile=0x804a958
"/usr/var/locatedb")
at locate.c:277
#2 0x8049202 in main (argc=2, argv=0xbffffd2c) at locate.c:398
#3 0x4002deaa in __libc_start_main (main=0x8049104 <main>, argc=2,
argv=0xbffffd2c, init=0x8048830 <_init>,
fini=0x8049614 <_fini>, rtld_fini=0x4000aad0 <_dl_fini>,
stack_end=0xbffffd24)
at ../sysdeps/generic/libc-start.c:92
hope this can help
regards
Tom