[Bug 1503034] Re: Autofs 5.1.1-1ubuntu2 crashes with segfault on startup

Brian Murray brian at ubuntu.com
Wed Oct 7 19:34:56 UTC 2015


I've gone ahead and manually retraced the crash file.

StacktraceAddressSignature: /usr/sbin/automount:11:/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so+1bbcb:/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so+1bc48:/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so+1c50c:/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so+1df87:/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so+e56a:/usr/sbin/automount+15db6:/usr/sbin/automount+166e7:/usr/sbin/automount+172b1:/usr/lib/x86_64-linux-gnu/autofs/lookup_file.so+a253:/usr/sbin/automount+16701:/usr/sbin/automount+17323:/usr/sbin/automount+29378:/usr/sbin/automount+b42e:/usr/sbin/automount+256ac:/lib/x86_64-linux-gnu/libpthread-2.21.so+76aa
StacktraceSource:
 #0  0x00007fedfa228bcb in ?? () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so
 #1  0x00007fedfa228c48 in ?? () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so
 #2  0x00007fedfa22950c in ?? () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so
 #3  0x00007fedfa22af87 in defaults_get_ldap_timeout () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so
 #4  0x00007fedfa21b56a in lookup_init () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so
 #5  0x00005626d6cdfdb6 in open_lookup ()
 #6  0x00005626d6ce06e7 in ?? ()
 #7  0x00005626d6ce12b1 in lookup_nss_read_master ()
 #8  0x00007fedfaabb253 in lookup_read_master () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_file.so
 #9  0x00005626d6ce0701 in ?? ()
 #10 0x00005626d6ce1323 in lookup_nss_read_master ()
 #11 0x00005626d6cf3378 in master_read_master ()
 #12 0x00005626d6cd542e in main ()
 #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
   [Error: pthread_cond_wait.S was not found in source tree]
 #1  0x00005626d6cef6ac in ?? ()
 #2  0x00007fedfdf756aa in start_thread (arg=0x7fedfe3ac700) at pthread_create.c:333
   [Error: pthread_create.c was not found in source tree]
 #3  0x00007fedfd6eeeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
   [Error: clone.S was not found in source tree]
 #0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
   [Error: pthread_cond_wait.S was not found in source tree]
 #1  0x00005626d6ce4773 in ?? ()
 #2  0x00007fedfdf756aa in start_thread (arg=0x7fedfe38a700) at pthread_create.c:333
   [Error: pthread_create.c was not found in source tree]
 #3  0x00007fedfd6eeeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
   [Error: clone.S was not found in source tree]
 #0  0x00007fedfa228bcb in ?? () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so
 #1  0x00007fedfa228c48 in ?? () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so
 #2  0x00007fedfa22950c in ?? () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so
 #3  0x00007fedfa22af87 in defaults_get_ldap_timeout () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so
 #4  0x00007fedfa21b56a in lookup_init () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so
 #5  0x00005626d6cdfdb6 in open_lookup ()
 #6  0x00005626d6ce06e7 in ?? ()
 #7  0x00005626d6ce12b1 in lookup_nss_read_master ()
 #8  0x00007fedfaabb253 in lookup_read_master () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_file.so
 #9  0x00005626d6ce0701 in ?? ()
 #10 0x00005626d6ce1323 in lookup_nss_read_master ()
 #11 0x00005626d6cf3378 in master_read_master ()
 #12 0x00005626d6cd542e in main ()
StacktraceTop:
 ?? () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so
 ?? () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so
 ?? () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so
 defaults_get_ldap_timeout () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so
 lookup_init () from /mnt/sec-machines/apport-retrace/usr/lib/x86_64-linux-gnu/autofs/lookup_ldap.so


** Changed in: autofs (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/1503034

Title:
  Autofs 5.1.1-1ubuntu2 crashes with segfault on startup

Status in autofs package in Ubuntu:
  New

Bug description:
  I'm running Wily Beta 2, updated to the latest packages in the wily
  repository, with autofs-ldap using mounts stored in LDAP. On startup
  systemd immediately puts autofs into a failed state as it segfaults
  when reading the auto.master.

  Autofs & autofs-ldap version is 5.1.1-1ubuntu2.

  The log in journalctl looks like this:

  Oct 05 15:47:45 <hostname> autofs[2232]: * Starting automount...
  Oct 05 15:47:45 <hostname> automount[2240]: Starting automounter version 5.1.1, master map /etc/auto.master
  Oct 05 15:47:45 <hostname> automount[2240]: using kernel protocol version 5.02
  Oct 05 15:47:45 <hostname> automount[2240]: lookup_nss_read_master: reading master file /etc/auto.master
  Oct 05 15:47:45 <hostname> automount[2240]: parse_init: parse(sun): init gathered global options: (null)
  Oct 05 15:47:45 <hostname> automount[2240]: spawn_mount: mtab link detected, passing -n to mount
  Oct 05 15:47:45 <hostname> automount[2240]: spawn_umount: mtab link detected, passing -n to mount
  Oct 05 15:47:45 <hostname> automount[2240]: lookup_read_master: lookup(file): read entry /net
  Oct 05 15:47:45 <hostname> automount[2240]: lookup_read_master: lookup(file): read entry +dir:/etc/auto.master.d
  Oct 05 15:47:45 <hostname> automount[2240]: lookup_nss_read_master: reading master dir /etc/auto.master.d
  Oct 05 15:47:45 <hostname> automount[2240]: lookup(dir): dir map /etc/auto.master.d missing or not readable
  Oct 05 15:47:45 <hostname> automount[2240]: lookup(file): failed to read included master map dir:/etc/auto.master.d
  Oct 05 15:47:45 <hostname> automount[2240]: lookup_read_master: lookup(file): read entry +auto.master
  Oct 05 15:47:45 <hostname> automount[2240]: lookup_nss_read_master: reading master files auto.master
  Oct 05 15:47:45 <hostname> automount[2240]: parse_init: parse(sun): init gathered global options: (null)
  Oct 05 15:47:45 <hostname> automount[2240]: lookup_nss_read_master: reading master ldap auto.master
  Oct 05 15:47:45 <hostname> kernel: automount[2240]: segfault at 0 ip 00007fb87ade5bcb sp 00007ffc30b34550 error 4 in lookup_ldap.so[7fb87adca000+38000]
  Oct 05 15:47:47 <hostname> autofs[2232]: ...fail!
  Oct 05 15:47:47 <hostname> systemd[1]: autofs.service: Control process exited, code=exited status=1

  This occurs whenever the service is started with the line in
  auto.master which loads the ldap mounts. The line which causes the
  issue is
  "+ldap:automountMapName=auto.master.linux,ou=automount,ou=<location>,ou=<group>,o=<group>,dc=<base>,dc=com",
  and this configuration worked on 14.04, 14.10 and 15.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1503034/+subscriptions



More information about the foundations-bugs mailing list