Bug 254 - Segfault when running from KDE
Segfault when running from KDE
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.9
PC FreeBSD
: high normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-07-21 05:31 MDT by yarodin
Modified: 2007-07-30 12:46 MDT (History)
0 users

See Also:


Attachments
Workaround for FreeBSD PAM bug (461 bytes, patch)
2007-07-22 08:27 MDT, Todd C. Miller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description yarodin 2007-07-21 05:31:08 MDT
Jul 21 14:23:52 home sudo:    admin : TTY=unknown ; PWD=/home/admin ; USER=root ; COMMAND=/usr/local/bin/konsole --type su
Jul 21 14:23:52 home kernel: pid 19915 (sudo), uid 0: exited on signal 11

Jul 21 15:12:01 home sudo:    admin : TTY=unknown ; PWD=/home/admin ; USER=root ; COMMAND=/sbin/ipfw
Jul 21 15:12:36 home kernel: pid 42226 (sudo), uid 0: exited on signal 11

etc
Comment 1 Todd C. Miller 2007-07-21 07:49:29 MDT
Does the segfault only occur when sudo is called from KDE or does it happen in regular usage too? Are you using LDAP or a regular file for sudoers?  Do you have any non-standard PAM modules installed?

Can you try configuring sudo with the --with-devel option and turning on the kern.sugid_coredump sysctl to get a core dump and gdb backtrace?
Comment 2 Todd C. Miller 2007-07-22 08:27:10 MDT
Created attachment 209 [details]
Workaround for FreeBSD PAM bug

Verified fix with submitter; will be part of sudo 1.6.9p1
Comment 3 Todd C. Miller 2007-07-30 12:46:52 MDT
Fixed in sudo 1.6.9p1