Current-Users archive

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

Re: su(1) segfault w/ latest source



On Mon, Apr 25, 2011 at 07:17:42PM +0000, bch%methodlogic.net@localhost wrote:
> 
> 
> With src update this morning, su(1) started segfaulting. Transcript:

Datapoint: su(1) fails to "su up" (from non-root -> root), but will work
successfully root->non-root.

> Script started on Mon Apr 25 12:09:47 2011
> kamloops$ su -
> [1]   Segmentation fault      su -
> kamloops$ gdb su
> GNU gdb 6.5
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "x86_64--netbsd"...(no debugging symbols found)
> 
> (gdb) run -
> Starting program: /usr/bin/su -
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> 
> Program received signal SIGTRAP, Trace/breakpoint trap.
> 0x00007f7ff7c0c3ba in _sys___sigprocmask14 () from /usr/libexec/ld.elf_so
> (gdb) bt full
> #0  0x00007f7ff7c0c3ba in _sys___sigprocmask14 () from /usr/libexec/ld.elf_so
> No symbol table info available.
> #1  0x00007f7ff7c066c2 in dlopen () from /usr/libexec/ld.elf_so
> No symbol table info available.
> #2  0x00007f7ff6cc85ca in _nsdbtaddsrc () from /usr/lib/libc.so.12
> No symbol table info available.
> #3  0x00007f7ff6cc5f79 in vsprintf () from /usr/lib/libc.so.12
> No symbol table info available.
> #4  0x00007f7ff6cc661e in _nsyyparse () from /usr/lib/libc.so.12
> No symbol table info available.
> #5  0x00007f7ff6cc7c97 in _nsyylex () from /usr/lib/libc.so.12
> No symbol table info available.
> #6  0x00007f7ff6cc8185 in nsdispatch () from /usr/lib/libc.so.12
> No symbol table info available.
> #7  0x00007f7ff6c80433 in __getpwnam_r50 () from /usr/lib/libc.so.12
> No symbol table info available.
> #8  0x00000000004023ab in main ()
> No symbol table info available.
> (gdb) The program is running.  Exit anyway? (y or n) ^Dkamloops$ ^D
> Script done on Mon Apr 25 12:10:12 2011
> 
> 
> -bch
> 
> -- 
> Brad Harder
> Method Logic Digital Consulting
> http://methodlogic.net/
> http://twitter.com/bcharder
> 

-- 
Brad Harder
Method Logic Digital Consulting
http://methodlogic.net/
http://twitter.com/bcharder



Home | Main Index | Thread Index | Old Index