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

Re: [sparc64] sudo command causes a bus error



On Thu, Sep  8, 2011 at 11:41:54 +0200, Frans van Berckel wrote:

> root@deblnxsrv254:~# gdb /usr/bin/sudo   
> GNU gdb (GDB) 7.3-debian
> Copyright (C) 2011 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show
> copying" and "show warranty" for details.
> This GDB was configured as "sparc64-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/bin/sudo...(no debugging symbols
> found)...done.
> 
> (gdb) r
> Starting program: /usr/bin/sudo 
> 
> Program received signal SIGBUS, Bus error.
> 0xfffff801008e0220 in ?? () from /usr/lib/sudo/sudoers.so
> 
> Why is sudoers.so going true it knies? Do I need to build the package my
> selfs and run some tests? Or do you know what goes on?
> 
You need to build the package with debug symbols (usually setting
DEB_BUILD_OPTIONS=nostrip in the build environment works), then run gdb
on that binary to get more useful information.  Bus error most likely
means unaligned access, so you'll have to figure out where that comes
from.

Cheers,
Julien


Reply to: