Article View: gnu.utils.bug
Article #1606ar core dump
From: "Karl Berry."
Date: Tue, 16 May 1989 20:53
Date: Tue, 16 May 1989 20:53
25 lines
1636 bytes
1636 bytes
I am not exactly sure how to report this, since I doubt you want to see the
30-odd object files. This is on a Sun 3 running 3.4, ar version of Mar 5.
The problem is just that strcmp is called with a null pointer, as the
following backtrace shows.
Please let me know what other information I could give you that would help.
gdb $gnu/bin/ar core
Reading symbol data from /usr/local/gnu/bin/ar...done.
Core file is from "ar".
Program terminated with signal 11, Segmentation fault.
(gdb) bt
#0 0x6650 in strcmp ()
#1 0x3c94 in update_symdefs (map=(struct mapelt *) 0x25af8, archive_indesc=3) (ar.c line 1523)
#2 0x2e0e in write_archive (map=(struct mapelt *) 0x25af8, appendflag=0) (ar.c line 819)
#3 0x33e2 in replace_members () (ar.c line 1124)
#4 0x2342 in main (argc=35, argv=(char **) 0xefff1b0) (ar.c line 363)
(gdb) up
#1 0x3c94 in update_symdefs (map=(struct mapelt *) 0x25af8, archive_indesc=3) (ar.c line 1523)
1523 if (!strcmp (tail->info.name, "__.SYMDEF"))
(gdb) p tail
$1 = (struct mapelt *) 0x25b40
(gdb) p *tail
$2 = {info = {name = 0x0, mode = 33204, date = 611351502, size = 63437, uid = 1377, gid = 6107, offset = 17572, data_offset = 17632, new_offset = 0, symdefs = 0x0, nsymdefs = 0, string_size = 0}, next = 0x25b8c}
Technical Details
Message-ID:
<8905162053.AA18216@mote.umb.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!mote.umb.edu!karlShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!mote.umb.edu!karl
From: karl@mote.umb.edu ("Karl Berry.")
Newsgroups: gnu.utils.bug
Subject: ar core dump
Message-ID: <8905162053.AA18216@mote.umb.edu>
Date: 16 May 89 20:53:10 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 25