Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 7315

Summary: gen-index crashes (segmentation fault)
Product: [Retired] Red Hat Powertools Reporter: hdcg
Component: gnatsAssignee: Tim Powers <timp>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-01-13 01:35:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description hdcg 1999-11-25 00:34:35 UTC
We were running gnats-3.2 (compiled locally) by near two years. The
original RedHat Linux version installed was 5.1, but the system had been
running on 5.2 most time. At November 20th 1999, we installed 6.0 (I mean,
erased everything except user data), and installed gnats-3.108-1.i386.rpm.
We replicated our configuraion and copied data. But we are unable to access
PRs. I tried gen-index, but It crashed.
The core file was on /usr/share/gnats/gnats-db, so I issued:
gdb /usr/libexec/gnats/gen-index /usr/share/gnast/gnats-db/core
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(no debugging symbols found)...
Core was generated by `/usr/libexec/gnats/gen-index'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/
Reading symbols from /lib/
#0  0x4005b81a in _IO_vfprintf (s=0x0, format=0x8050090 "%s",
    at vfprintf.c:1013
1013	vfprintf.c: No such file or directory.
(gdb) where
#0  0x4005b81a in _IO_vfprintf (s=0x0, format=0x8050090 "%s",
    at vfprintf.c:1013
#1  0x400636f7 in fprintf (stream=0x0, format=0x8050090 "%s") at
#2  0x8049617 in strcpy () at ../sysdeps/generic/strcpy.c:30
#3  0x804998a in strcpy () at ../sysdeps/generic/strcpy.c:30
#4  0x4002ecb3 in __libc_start_main (main=0x8049864 <strcpy+1432>, argc=1,
    argv=0xbffffce4, init=0x8048e6c, fini=0x804ff5c <getopt_long_only+124>,
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffcdc)
    at ../sysdeps/generic/libc-start.c:78
(gdb) quit
I tried gnats-3.110-2.i386.rpm (powertools 6.1) but It crashed too.
I'm going to find gnats-3.2 and recompile it on 6.0. We have 594 PRs,
and really need the system up and running.

Comment 1 Tim Powers 1999-12-06 12:20:59 UTC
Sorry for the delay getting to you. Did gnats-3.2 work for you?

------- Email Received From  "'Aztec Eagle' Turbo" <> 12/06/99 11:10 -------

Comment 2 Tim Powers 2000-01-13 01:35:59 UTC
I am closing this bug since there hasn't been any response since my last
message. You can reopen this bug if you want to resume.