GNU gdb (GDB) 6.8.50.20090628-cvs-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: . warning: not using untrusted file "/home/chr1s/.gdbinit" (gdb) attach 24245 Attaching to process 24245 Reading symbols from /sbin/mountall...Reading symbols from /usr/lib/debug/sbin/mountall...done. done. Loaded symbols for /sbin/mountall Reading symbols from /lib/libdbus-1.so.3...Reading symbols from /usr/lib/debug/lib/libdbus-1.so.3.4.0...done. done. Loaded symbols for /lib/libdbus-1.so.3 Reading symbols from /lib/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/libpthread-2.10.1.so...done. [Thread debugging using libthread_db enabled] done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/librt.so.1...Reading symbols from /usr/lib/debug/lib/librt-2.10.1.so...done. done. Loaded symbols for /lib/librt.so.1 Reading symbols from /lib/libudev.so.0...Reading symbols from /usr/lib/debug/lib/libudev.so.0.5.0...done. done. Loaded symbols for /lib/libudev.so.0 Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug/lib/libc-2.10.1.so...done. done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.10.1.so...done. done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 0x00007fb84a9a1b7f in do_waitid (idtype=, id=, infop=0x7fff2c45dad0, options=) at ../sysdeps/unix/sysv/linux/waitid.c:36 36 ../sysdeps/unix/sysv/linux/waitid.c: No such file or directory. in ../sysdeps/unix/sysv/linux/waitid.c (gdb) bt full #0 0x00007fb84a9a1b7f in do_waitid (idtype=, id=, infop=0x7fff2c45dad0, options=) at ../sysdeps/unix/sysv/linux/waitid.c:36 resultvar = 18446744073709551104 #1 __waitid (idtype=, id=, infop=0x7fff2c45dad0, options=) at ../sysdeps/posix/waitid.c:160 oldtype = result = #2 0x00007fb84b704302 in spawn (mnt=, args=0x7fb84bd4a038, wait=1, handler=) at mountall.c:1293 __ret = info = {si_signo = 1272209752, si_errno = 32696, si_code = 1251444718, _sifields = {_pad = {1272209752, 32696, 1265688375, 32696, 1272213632, 32696, 1272226384, 32696, 1272213632, 32696, 1265684110, 32696, 1272226192, 32696, 742775744, 32767, 742775752, 32767, 1272213672, 32696, 742775744, 32767, 1265685527, 32696, 1272209752, 32696, 19, 0}, _kill = { si_pid = 1272209752, si_uid = 32696}, _timer = { si_tid = 1272209752, si_overrun = 32696, si_sigval = { sival_int = 1265688375, sival_ptr = 0x7fb84b70df37}}, _rt = { si_pid = 1272209752, si_uid = 32696, si_sigval = { sival_int = 1265688375, sival_ptr = 0x7fb84b70df37}}, _sigchld = {si_pid = 1272209752, si_uid = 32696, si_status = 1265688375, si_utime = 140429522923648, si_stime = 140429522936400}, _sigfault = { si_addr = 0x7fb84bd46158}, _sigpoll = { si_band = 140429522919768, si_fd = 1265688375}}} pid = 24265 fds = {7, 8} flag = 33 '!' __FUNCTION__ = "spawn" #3 0x00007fb84b70747e in run_mount (mnt=0x7fb84bd4c278, fake=1) at mountall.c:1442 args = 0x7fb84bd4a038 args_len = 7 __FUNCTION__ = "run_mount" #4 0x00007fb84b707514 in write_mtab () at mountall.c:1633 i = 21 mtab = #5 0x00007fb84b706af7 in mounted (mnt=0x7fb84bd4bd38) at mountall.c:1043 num_virtual = 140429522942904 num_virtual_mounted = 0 virtual_triggered = 0 num_swap = num_swap_mounted = 4 swap_triggered = 0 num_remote = num_remote_mounted = remote_triggered = 0 num_local = num_local_mounted = local_triggered = 0 num_fhs = 140428250710016 num_fhs_mounted = 140429516361707 fhs_triggered = 0 __FUNCTION__ = "mounted" #6 0x00007fb84b70709e in run_mount (mnt=0x7fb84bd4bd38, fake=0) at mountall.c:1377 args = 0x0 args_len = 0 __FUNCTION__ = "run_mount" #7 0x00007fb84b7068cb in children_ready (root=0x7fb84bd4ba98, pass=) at mountall.c:1188 statbuf = {st_dev = 15, st_ino = 1109, st_nlink = 15, st_mode = 16877, st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 4640, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1253135309, tv_nsec = 687663154}, st_mtim = {tv_sec = 1253125142, tv_nsec = 506665498}, st_ctim = {tv_sec = 1253125142, tv_nsec = 506665498}, __unused = {0, 0, 0}} i = 3 __FUNCTION__ = "children_ready" #8 0x00007fb84b707a40 in main (argc=, argv=) at mountall.c:2405 udev = udev_monitor = root = 0x7fb84bd4ba98 ret = -512 __FUNCTION__ = "main" #9 0x00007fb84a91cabd in __libc_start_main (main=, argc=, ubp_av=, init=, fini=, rtld_fini=, stack_end=0x7fff2c45df08) at libc-start.c:220 result = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -2645753826188433201, 140429516353392, 140733936164624, 0, 0, 2645368222972930255, 2610101834586024143}, mask_was_saved = 0}}, priv = {pad = { 0x0, 0x0, 0x7fb84b4eb86f, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 1263450223}}} not_first_call = #10 0x00007fb84b702f99 in _start () at ../sysdeps/x86_64/elf/start.S:103 No locals. (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) Detaching from program: /sbin/mountall, process 24245