[sudo-users] sudo 1.8.6.p8 - broken on Sheevaplug ARM on FreeBSD 8.3

Łukasz Siemiradzki lukasz.siemiradzki at gmail.com
Fri May 3 05:42:32 MDT 2013


Hello, I'm having a problems using sudo on FreeBSD 8.3 on ARM machine.
Compilation is ok.
But:
$ sudo
Segmentation fault (core dumped)

$ gdb sudo sudo.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "arm-marcel-freebsd"...
Core was generated by `sudo'.
Program terminated with signal 11, Segmentation fault.
#0  0x00014a94 in exec_setup (details=0xbfffedec, ptyname=0x0, ptyfd=0) at
./sudo.c:964
964     ./sudo.c: No such file or directory.
        in ./sudo.c
(gdb) bt
#0  0x00014a94 in exec_setup (details=0xbfffedec, ptyname=0x0, ptyfd=0) at
./sudo.c:964
#1  0x20045bc8 in ?? ()
Cannot access memory at address 0x0

and

   678 ktrace   RET   ktrace 0
   678 ktrace   CALL  execve(0xbfffe830,0xbfffed68,0xbfffed70)
   678 ktrace   NAMI  "/sbin/sudo"
   678 ktrace   RET   execve -1 errno 2 No such file or directory
   678 ktrace   CALL  execve(0xbfffe830,0xbfffed68,0xbfffed70)
   678 ktrace   NAMI  "/bin/sudo"
   678 ktrace   RET   execve -1 errno 2 No such file or directory
   678 ktrace   CALL  execve(0xbfffe830,0xbfffed68,0xbfffed70)
   678 ktrace   NAMI  "/usr/sbin/sudo"
   678 ktrace   RET   execve -1 errno 2 No such file or directory
   678 ktrace   CALL  execve(0xbfffe830,0xbfffed68,0xbfffed70)
   678 ktrace   NAMI  "/usr/bin/sudo"
   678 ktrace   RET   execve -1 errno 2 No such file or directory
   678 ktrace   CALL  execve(0xbfffe830,0xbfffed68,0xbfffed70)
   678 ktrace   NAMI  "/usr/games/sudo"
   678 ktrace   RET   execve -1 errno 2 No such file or directory
   678 ktrace   CALL  execve(0xbfffe830,0xbfffed68,0xbfffed70)
   678 ktrace   NAMI  "/usr/local/sbin/sudo"
   678 ktrace   RET   execve -1 errno 2 No such file or directory
   678 ktrace   CALL  execve(0xbfffe830,0xbfffed68,0xbfffed70)
   678 ktrace   NAMI  "/usr/local/bin/sudo"
   678 ktrace   NAMI  "/libexec/ld-elf.so.1"
   678 sudo     RET   execve 0
   678 sudo     CALL  __sysctl(0xbfffe848,0x2,0x20076ab0,0xbfffe844,0,0)
   678 sudo     SCTL  "hw.pagesize"
   678 sudo     RET   __sysctl 0
   678 sudo     CALL  __sysctl(0xbfffe7d0,0x2,0xbfffe7cc,0xbfffe7d8,0,0)
   678 sudo     SCTL  "kern.osreldate"
   678 sudo     RET   __sysctl 0
   678 sudo     CALL
 mmap(0,0x8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,0xffffffff,0,0)
   678 sudo     RET   mmap 537370624/0x2007a000
   678 sudo     CALL  issetugid
   678 sudo     RET   issetugid 0
   678 sudo     CALL  open(0x200695d0,O_RDONLY,<unused>0x1b6)
   678 sudo     NAMI  "/etc/libmap.conf"
   678 sudo     RET   open -1 errno 2 No such file or directory
   678 sudo     CALL  access(0x2007e000,F_OK)
   678 sudo     NAMI  "/usr/local/lib/libintl.so.9"
   678 sudo     RET   access 0
   678 sudo     CALL  open(0x2007b020,O_RDONLY,<unused>0x20076a14)
   678 sudo     NAMI  "/usr/local/lib/libintl.so.9"
   678 sudo     RET   open 3
   678 sudo     CALL  fstat(0x3,0xbfffe804)
Bus error (core dumped)

Do you have any ideas?

Best regards / Pozdrawiam
Łukasz Siemiradzki
-- 

"Omnes homines natura scire desiderant"
                                           Aristotelis


More information about the sudo-users mailing list