NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/47271: host (1) dumps core on latest netbsd-6

The following reply was made to PR bin/47271; it has been noted by GNATS.

From: David Laight <>
Subject: Re: bin/47271: host (1) dumps core on latest netbsd-6
Date: Sat, 1 Dec 2012 08:36:12 +0000

 On Sat, Dec 01, 2012 at 06:10:01AM +0000, wrote:
 > >Number:         47271
 > >Category:       bin
 > >Synopsis:       host (1) dumps core on latest netbsd-6
 > (gdb) bt
 > #0  0xbb72e3b6 in __fpclassifyf () from /usr/lib/
 > #1  0xbb9aea83 in pthread_create () from /usr/lib/
 > #2  0xbb9f2558 in isc__taskmgr_create () from /usr/lib/
 > #3  0xbb9f219b in isc__task_getcurrenttime () from /usr/lib/
 > #4  0x0804f925 in setup_libs ()
 > #5  0x0804d624 in main ()
 That stack trace doesn't look entirely correct - or something odd
 is going on.
 AFAICT __fpclassifyf() is very unlikely to fault and it won't be called
 directly by pthread_create().
 Probably worth disassembling the code before and after each return address
 to help verify the location  (starting 64 bytes before might be enough
 to get the instruction bytes aligned).
 Also the registers of the faulting stack frame will show why it faulted.
 (I can't quote the exact gdb commands - I usually manage to find them
 by trial and error!)
 David Laight:

Home | Main Index | Thread Index | Old Index