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

Re: [sparc64] sudo command causes a bus error



On Thu, 2011-09-08 at 20:24 +0200, Julien Cristau wrote:

> 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

The sudo package created on sparc64-port with debug nostrip option on.

root@deblnxsrv254:~# gdb /usr/bin/sudo
GNU gdb (GDB) 7.3-debian

This GDB was configured as "sparc64-linux-gnu".

Reading symbols from /usr/bin/sudo...done.

(gdb) r
Starting program: /usr/bin/sudo 

Program received signal SIGBUS, Bus error.
0xfffff801008e0420 in make_grlist_item 
(user=<optimized out>, gids=<optimized out>, ngids=1)
at /usr/src/sudo-1.8.2/plugins/sudoers/pwutil.c:552
552		    grlist->groups[ngroups++] = cp;

Thanks,


Frans van Berckel



Reply to: