gittup/tup — Issue #35: SIGSEGV in HEAD
Author: anatol
Created: 2011-10-20 17:12:28+00:00
State: open

$ tup --version
tup v0.4.1-82-gfbfffe4

[ 17% ] external/tagsoup/src/org/ccil/cowan/tagsoup
[ 17% ] external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp
[ 17% ] external/expat
tup error: Unable to find tup entry for file ''
tup error: Failed to parse included file ''

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff61f9700 (LWP 4334)]
0x00000000004175b6 in string_entries_RB_REMOVE (head=0x7ffff61f8d30, elm=0x4800000003) at string_tree.c:16
(gdb) bt
#0 0x00000000004175b6 in string_entries_RB_REMOVE (head=0x7ffff61f8d30, elm=0x4800000003) at string_tree.c:16
#1 0x000000000041c0b3 in string_tree_rm (root=0x7ffff61f8d30, st=0x7ffff04eff80) at string_tree.h:26
#2 0x000000000041c103 in vardb_close (v=0x7ffff61f8d30) at vardb.c:22
#3 0x000000000047350c in parse (n=0x50830f0, g=0x7fffffffd8e0) at parser.c:275
#4 0x000000000041b57f in create_work (arg=0x53d7b60) at updater.c:823
#5 0x00007ffff7bc69ca in start_thread (arg=) at pthread_create.c:300
#6 0x00007ffff72e270d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()
(gdb) fr 1
#1 0x000000000041c0b3 in string_tree_rm (root=0x7ffff61f8d30, st=0x7ffff04eff80) at string_tree.h:26
(gdb) p *root
$1 = {rbh_root = 0x7ffff04eff80}
(gdb) p *st
$2 = {linkage = {rbe_left = 0x7ffff04e8d20, rbe_right = 0x7ffff04f6be0, rbe_parent = 0x0, rbe_color = 0}, s = 0x7ffff03a2540 "BUILD_ID", len = 8}