Skip to content

Instantly share code, notes, and snippets.

@hyperair
Created December 20, 2014 14:06
Show Gist options
  • Select an option

  • Save hyperair/384e3d9bca637ae0b97d to your computer and use it in GitHub Desktop.

Select an option

Save hyperair/384e3d9bca637ae0b97d to your computer and use it in GitHub Desktop.
(gdb) bt full
#0 0x00007f386e1f2b5b in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
resultvar = 0
pid = <optimised out>
#1 0x000000000040cc1a in crash (sig=6) at ../src/core/main.c:152
rl = {
rlim_cur = 18446744073709551615,
rlim_max = 18446744073709551615
}
sa = {
__sigaction_handler = {
sa_handler = 0x0,
sa_sigaction = 0x0
},
sa_mask = {
__val = {0 <repeats 16 times>}
},
sa_flags = 0,
sa_restorer = 0x0
}
__func__ = "crash"
__PRETTY_FUNCTION__ = "crash"
#2 <signal handler called>
No locals.
#3 0x00007f386de54d27 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 1
selftid = 8013
#4 0x00007f386de56418 in __GI_abort () at abort.c:89
save_stage = 2
act = {
__sigaction_handler = {
sa_handler = 0x10,
sa_sigaction = 0x10
},
sa_mask = {
__val = {5010620, 139880325118352, 32768, 18, 139880339191681, 139880325118416, 139880325118416, 18, 0, 1, 139880339193372, 64513, 4755511587509137408, 2, 5010466, 5016552}
},
sa_flags = 0,
sa_restorer = 0x0
}
sigs = {
__val = {32, 0 <repeats 15 times>}
}
#5 0x0000000000467dba in log_assert (text=text@entry=0x4c74bc "close_nointr(fd) == 0", file=file@entry=0x4c7422 "../src/shared/util.c", line=line@entry=188,
---Type <return> to continue, or q <return> to quit---
func=func@entry=0x4c8be8 <__PRETTY_FUNCTION__.9866> "safe_close", format=format@entry=0x4c64d0 "Assertion '%s' failed at %s:%u, function %s(). Aborting.") at ../src/shared/log.c:702
buffer = "Assertion 'close_nointr(fd) == 0' failed at ../src/shared/util.c:188, function safe_close(). Aborting.", '\000' <repeats 1945 times>
#6 0x0000000000468590 in log_assert_failed (text=text@entry=0x4c74bc "close_nointr(fd) == 0", file=file@entry=0x4c7422 "../src/shared/util.c", line=line@entry=188,
func=func@entry=0x4c8be8 <__PRETTY_FUNCTION__.9866> "safe_close") at ../src/shared/log.c:707
No locals.
#7 0x000000000046ef7f in safe_close (fd=16) at ../src/shared/util.c:188
fd = 16
#8 0x0000000000472d3d in rm_rf_children_dangerous (fd=fd@entry=16, only_dirs=only_dirs@entry=false, honour_sticky=honour_sticky@entry=false, root_dev=root_dev@entry=0x0)
at ../src/shared/util.c:2780
d = 0x0
ret = 0
__PRETTY_FUNCTION__ = "rm_rf_children_dangerous"
#9 0x0000000000475e2c in rm_rf_internal (path=path@entry=0xab9bd0 "/var/tmp/systemd-cups.service-XNojuVs/tmp", only_dirs=only_dirs@entry=false, delete_root=delete_root@entry=true,
honour_sticky=honour_sticky@entry=false, dangerous=dangerous@entry=true) at ../src/shared/util.c:2941
r = <optimised out>
s = {
f_type = 0,
f_bsize = 0,
f_blocks = 139880325122496,
f_bfree = 139880344568264,
f_bavail = 139880239726624,
f_files = 128,
f_ffree = 139880339881567,
f_fsid = {
__val = {1830225664, 32568}
},
f_namelen = 139878494896128,
f_frsize = 139880342405216,
f_flags = 5,
f_spare = {0, 0, 139880338478336, 139880325121792}
}
__PRETTY_FUNCTION__ = "rm_rf_internal"
__func__ = "rm_rf_internal"
#10 0x0000000000476025 in rm_rf_dangerous (path=path@entry=0xab9bd0 "/var/tmp/systemd-cups.service-XNojuVs/tmp", only_dirs=only_dirs@entry=false, delete_root=delete_root@entry=true,
honour_sticky=honour_sticky@entry=false) at ../src/shared/util.c:2961
No locals.
#11 0x00000000004390ee in remove_tmpdir_thread (p=0xab9bd0) at ../src/core/execute.c:1582
r = <optimised out>
dirp = 0xab9bd0 "/var/tmp/systemd-cups.service-XNojuVs/tmp"
dir = <optimised out>
__PRETTY_FUNCTION__ = "remove_tmpdir_thread"
__func__ = "remove_tmpdir_thread"
#12 0x00007f386e1eb0a5 in start_thread (arg=0x7f386d170700) at pthread_create.c:309
__res = <optimised out>
---Type <return> to continue, or q <return> to quit---
pd = 0x7f386d170700
now = <optimised out>
unwind_buf = {
cancel_jmp_buf = {{
jmp_buf = {139880325121792, 126098243445091823, 0, 0, 139880325122496, 139880325121792, -13748831001219601, -13755361575932433},
mask_was_saved = 0
}},
priv = {
pad = {0x0, 0x0, 0x0, 0x0},
data = {
prev = 0x0,
cleanup = 0x0,
canceltype = 0
}
}
}
not_first_call = <optimised out>
pagesize_m1 = <optimised out>
sp = <optimised out>
freesize = <optimised out>
__PRETTY_FUNCTION__ = "start_thread"
#13 0x00007f386df1877d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment