← Back to team overview

ecryptfs team mailing list archive

[Bug 403011] Re: login crashed with SIGSEGV in __flockfile()

 

bt full:

#0  __flockfile (stream=0x0) at ../nptl/sysdeps/pthread/flockfile.c:30
No locals.
#1  0x00007f083d46380c in ecryptfs_fetch_private_mnt ()
   from /usr/lib/libecryptfs.so.0
No symbol table info available.
#2  0x00007f083d682d38 in pam_sm_authenticate (pamh=0x1298460, 
    flags=<value optimized out>, argc=1, argv=0x129f920) at pam_ecryptfs.c:135
        uid = 1000
        homedir = 0x12aebb2 "/home/martin"
        saved_uid = 1041103611
        username = 0x12985e0 "martin"
        passphrase = 0x0
        salt = "\0\0\0\0\0\0\0"
        salt_hex = ""\340Ɓ[\377\177\0\0\220\245)\1\0\0\0
        private_mnt = <value optimized out>
        tmp_pid = <value optimized out>
        rc = <value optimized out>
        version = 32520
        __FUNCTION__ = "pam_sm_authenticate"
#3  0x00007f083f8b9b70 in ?? () from /lib/libpam.so.0
No symbol table info available.
#4  0x00007f083f8b9498 in pam_authenticate () from /lib/libpam.so.0
No symbol table info available.
#5  0x00000000004033ca in ?? ()
#6  0x00007f083f362606 in __libc_start_main (
    main=0x402ce0 <getgrnam_r@plt+952>, argc=3, ubp_av=0x7fff5b81eda8, 
    init=0x407f50 <getgrnam_r@plt+22056>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff5b81ed98)
    at libc-start.c:220
        result = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {4226896, 
                -5134769356078350032, 4204864, 140734728629664, 0, 0, 
                5134971614242505008, 5092968738607694128}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x3, 0x402ce0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 3}}}
        not_first_call = <value optimized out>


** Visibility changed to: Public

-- 
login crashed with SIGSEGV in __flockfile()
https://bugs.launchpad.net/bugs/403011
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in “ecryptfs-utils” package in Ubuntu: Triaged

Bug description:
ecryptfs 77-0ubuntu1 introduces a segfault in the PAM module which causes login, sudo, etc. to crash.

ProblemType: Crash
Architecture: amd64
Date: Wed Jul 22 14:06:05 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /bin/login
Package: login 1:4.1.4.1-1ubuntu1
ProcCmdline: /bin/login --
ProcEnviron: PATH=(custom, no user)
ProcVersionSignature: Ubuntu 2.6.31-3.19-generic
SegvAnalysis:
 Segfault happened at: 0x7f083f39cc11 <__flockfile+1>:	mov    0x88(%rdi),%r10
 PC (0x7f083f39cc11) ok
 source "0x88(%rdi)" (0x00000088) not located in a known VMA region (needed readable region)!
 destination "%r10" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: shadow
StacktraceTop:
 __flockfile (stream=0x0) at ../nptl/sysdeps/pthread/flockfile.c:30
 ecryptfs_fetch_private_mnt ()
 pam_sm_authenticate ()
 ?? ()
 ?? ()
Title: login crashed with SIGSEGV in __flockfile()
Uname: Linux 2.6.31-3-generic x86_64
UserGroups: