[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dawrin- why does pinky SIGBUS (was: What to do with 'make check'?)
From: |
mwoehlke |
Subject: |
Dawrin- why does pinky SIGBUS (was: What to do with 'make check'?) |
Date: |
Tue, 26 Sep 2006 16:43:16 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.0 |
Paul Eggert wrote:
[for power_darwin-local]
Why does pinky dump core? What does ktrace say for it?
Well, for starters...
(gdb) run
Starting program: /home/install/gnu/power_darwin/bin/pinky
Reading symbols for shared libraries +.. done
Reading symbols for shared libraries . done
[snip many repetitions of the above]
Reading symbols for shared libraries . done
Login Name TTY Idle When Where
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x90007260 in strlen ()
(gdb) bt
#0 0x90007260 in strlen ()
#1 0x9000d1d8 in strdup ()
#2 0x0000393c in canon_host_r (host=0xfffffffc <Address 0xfffffffc out
of bounds>, cherror=0x8248) at canon-host.c:74
#3 0x00002df8 in print_entry (utmp_ent=0x0) at pinky.c:305
#4 0x0000342c in scan_entries (n=1, utmp_buf=0x18013d4, argc_names=0,
argv_names=0xbffffb20) at pinky.c:476
#5 0x000034c4 in short_pinky (filename=0x796c "/var/run/utmp",
argc_names=25170900, argv_names=0xbffffb20) at pinky.c:494
#6 0x000038a4 in main (argc=1, argv=0xbffffb1c) at pinky.c:622
(gdb)
Honestly I have never used pinky so I don't really care. (WAG:
print_entry is missing a check for NULL?) I'll take a look at some of
the others with ktrace (hmm, why does the test that wants strace not
know about ktrace?).
--
Matthew
Download. Untar. Configure. Make. Install. Lather. Rinse. Repeat.
- What to do with 'make check'?, mwoehlke, 2006/09/26
- Re: What to do with 'make check'?, Paul Eggert, 2006/09/26
- Re: What to do with 'make check'?, mwoehlke, 2006/09/26
- Re: What to do with 'make check'?, Paul Eggert, 2006/09/26
- Re: What to do with 'make check'?, mwoehlke, 2006/09/26
- Re: What to do with 'make check'?, Paul Eggert, 2006/09/26
- Dawrin- why does pinky SIGBUS (was: What to do with 'make check'?),
mwoehlke <=
- Re: Dawrin- why does pinky SIGBUS, Paul Eggert, 2006/09/27
- Re: Dawrin- why does pinky SIGBUS, mwoehlke, 2006/09/27
- Re: Dawrin- why does pinky SIGBUS, Paul Eggert, 2006/09/27
- Darwin - chmod broken? (was: What to do with 'make check'?), mwoehlke, 2006/09/26
- Re: Darwin - chmod broken?, Paul Eggert, 2006/09/27
- Re: Darwin - chmod broken?, mwoehlke, 2006/09/27
- Re: Darwin - chmod broken?, Jim Meyering, 2006/09/27