[tor-bugs] #14907 [Tor]: tor segfault after apt-get upgrade on raspbian
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Feb 16 10:40:12 UTC 2015
#14907: tor segfault after apt-get upgrade on raspbian
-----------------------+---------------------
Reporter: Daywalker | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor | Version:
Keywords: | Actual Points:
Parent ID: | Points:
-----------------------+---------------------
Tor died after upgradeing WITH loosing my ssh connection during the
upgrade.
So I purged the binaries and installed them again, but with no change...
`#strace torexecve("/usr/sbin/tor", tor, 18 vars */) = 0brk(0)
= 0xb736b000uname({sys="Linux", node="rpi", ...}) =
0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)mmap2(NULL, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6e96000access("/etc/ld.so.preload",
R_OK) = 0open("/etc/ld.so.preload", O_RDONLY) = 3fstat64(3,
{st_mode=S_IFREG|0644, st_size=44, ...}) = 0mmap2(NULL, 44,
PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0xb6e95000close(3)
= 0open("/usr/lib/arm-linux-gnueabihf/libcofi_rpi.so", O_RDONLY) =
3read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\270\4\0\0004\0\0\0"...,
512) = 512lseek(3, 7276, SEEK_SET) = 7276read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1080) = 1080lseek(3, 7001, SEEK_SET) = 7001read(3,
"A.\0\0\0aeabi\0\1$\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 47) =
47fstat64(3, {st_mode=S_IFREG|0755, st_size=10170, ...}) = 0mmap2(NULL,
39740, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb6e6a000mprotect(0xb6e6c000, 28672, PROT_NONE) = 0mmap2(0xb6e73000,
4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) =
0xb6e73000close(3) = 0munmap(0xb6e95000,
44) = 0open("/etc/ld.so.cache", O_RDONLY) =
3fstat64(3, {st_mode=S_IFREG|0644, st_size=28504, ...}) = 0mmap2(NULL,
28504, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6e63000close(3)
= 0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)open("/lib/arm-linux-gnueabihf/libz.so.1", O_RDONLY) = 3read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0008\33\0\0004\0\0\0"...,
512) = 512lseek(3, 86632, SEEK_SET) = 86632read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1160) = 1160lseek(3, 86300, SEEK_SET) = 86300read(3,
"A0\0\0\0aeabi\0\1&\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 49) =
49fstat64(3, {st_mode=S_IFREG|0644, st_size=87792, ...}) = 0mmap2(NULL,
119072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb6e45000mprotect(0xb6e59000, 32768, PROT_NONE) = 0mmap2(0xb6e61000,
8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14)
= 0xb6e61000close(3) =
0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)open("/lib/arm-linux-gnueabihf/libm.so.6", O_RDONLY) = 3read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\3201\0\0004\0\0\0"...,
512) = 512lseek(3, 426468, SEEK_SET) = 426468read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1160) = 1160lseek(3, 426136, SEEK_SET) = 426136read(3,
"A0\0\0\0aeabi\0\1&\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 49) =
49fstat64(3, {st_mode=S_IFREG|0644, st_size=427628, ...}) = 0mmap2(NULL,
458912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb6dd4000mprotect(0xb6e3c000, 28672, PROT_NONE) = 0mmap2(0xb6e43000,
8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x67)
= 0xb6e43000close(3) =
0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)open("/usr/lib/arm-linux-gnueabihf/libevent-2.0.so.5", O_RDONLY)
= 3read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0
\243\0\0004\0\0\0"..., 512) = 512lseek(3, 250440, SEEK_SET) =
250440read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1120) = 1120lseek(3, 250092, SEEK_SET) = 250092read(3,
"A0\0\0\0aeabi\0\1&\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 49) =
49fstat64(3, {st_mode=S_IFREG|0644, st_size=251560, ...}) = 0mmap2(NULL,
284356, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb6d8e000mprotect(0xb6dca000, 32768, PROT_NONE) = 0mmap2(0xb6dd2000,
8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3c)
= 0xb6dd2000close(3) =
0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)open("/usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0", O_RDONLY) =
3read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\306\0\0004\0\0\0"...,
512) = 512lseek(3, 296316, SEEK_SET) = 296316read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1120) = 1120lseek(3, 295996, SEEK_SET) = 295996read(3,
"A0\0\0\0aeabi\0\1&\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 49) =
49fstat64(3, {st_mode=S_IFREG|0644, st_size=297436, ...}) = 0mmap2(NULL,
328876, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb6d3d000mprotect(0xb6d81000, 28672, PROT_NONE) = 0mmap2(0xb6d88000,
24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x43)
= 0xb6d88000close(3) =
0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)open("/usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0",
O_RDONLY) = 3read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\200n\4\0004\0\0\0"...,
512) = 512lseek(3, 1409224, SEEK_SET) = 1409224read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1160) = 1160lseek(3, 1408888, SEEK_SET) = 1408888read(3,
"A.\0\0\0aeabi\0\1$\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 47) =
47fstat64(3, {st_mode=S_IFREG|0644, st_size=1410384, ...}) = 0mmap2(NULL,
4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6e95000mmap2(NULL, 1455060, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6bd9000mprotect(0xb6d1c000, 32768,
PROT_NONE) = 0mmap2(0xb6d24000, 86016, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x143) =
0xb6d24000mmap2(0xb6d39000, 13268, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6d39000close(3)
= 0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)open("/lib/arm-linux-gnueabihf/librt.so.1", O_RDONLY) = 3read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\300\26\0\0004\0\0\0"...,
512) = 512lseek(3, 25312, SEEK_SET) = 25312read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1320) = 1320lseek(3, 24924, SEEK_SET) = 24924read(3,
"A0\0\0\0aeabi\0\1&\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 49) =
49fstat64(3, {st_mode=S_IFREG|0644, st_size=26632, ...}) = 0mmap2(NULL,
57876, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb6bca000mprotect(0xb6bd0000, 28672, PROT_NONE) = 0mmap2(0xb6bd7000,
8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) =
0xb6bd7000close(3) =
0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)open("/lib/arm-linux-gnueabihf/libdl.so.2", O_RDONLY) = 3read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0(\t\0\0004\0\0\0"..., 512)
= 512lseek(3, 8652, SEEK_SET) = 8652read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1160) = 1160lseek(3, 8320, SEEK_SET) = 8320read(3,
"A0\0\0\0aeabi\0\1&\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 49) =
49fstat64(3, {st_mode=S_IFREG|0644, st_size=9812, ...}) = 0mmap2(NULL,
41136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb6bbf000mprotect(0xb6bc1000, 28672, PROT_NONE) = 0mmap2(0xb6bc8000,
8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) =
0xb6bc8000close(3) =
0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)open("/lib/arm-linux-gnueabihf/libgcc_s.so.1", O_RDONLY) =
3read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0P\364\0\0004\0\0\0"...,
512) = 512lseek(3, 129288, SEEK_SET) = 129288read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1160) = 1160lseek(3, 128956, SEEK_SET) = 128956read(3,
"A2\0\0\0aeabi\0\1(\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 51) =
51fstat64(3, {st_mode=S_IFREG|0644, st_size=130448, ...}) = 0mmap2(NULL,
161780, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb6b97000mprotect(0xb6bb7000, 28672, PROT_NONE) = 0mmap2(0xb6bbe000,
4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f)
= 0xb6bbe000close(3) =
0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)open("/lib/arm-linux-gnueabihf/libc.so.6", O_RDONLY) = 3read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\210y\1\0004\0\0\0"...,
512) = 512lseek(3, 1202976, SEEK_SET) = 1202976read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1360) = 1360lseek(3, 1202540, SEEK_SET) = 1202540read(3,
"A.\0\0\0aeabi\0\1$\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 47) =
47fstat64(3, {st_mode=S_IFREG|0755, st_size=1204336, ...}) = 0mmap2(NULL,
1246496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb6a66000mprotect(0xb6b8a000, 28672, PROT_NONE) = 0mmap2(0xb6b91000,
12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3,
0x123) = 0xb6b91000mmap2(0xb6b94000, 9504, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6b94000close(3)
= 0access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)open("/lib/arm-linux-gnueabihf/libpthread.so.0", O_RDONLY) =
3read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\274V\0\0004\0\0\0"...,
512) = 512lseek(3, 82712, SEEK_SET) = 82712read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1400) = 1400lseek(3, 82308, SEEK_SET) = 82308read(3,
"A0\0\0\0aeabi\0\1&\0\0\0\0056\0\6\6\10\1\t\1\n\2\22\4\24\1\25"..., 49) =
49fstat64(3, {st_mode=S_IFREG|0755, st_size=116462, ...}) = 0mmap2(NULL,
4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6e94000mmap2(NULL, 123412, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb6a47000mprotect(0xb6a5b000, 28672,
PROT_NONE) = 0mmap2(0xb6a62000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) =
0xb6a62000mmap2(0xb6a64000, 4628, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6a64000close(3)
= 0mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb6e93000set_tls(0xb6e934c0, 0xb6e93b98, 0xb6e9a048, 0xb6e934c0,
0xb6e9a048) = 0mprotect(0xb6a62000, 4096, PROT_READ) =
0mprotect(0xb6b91000, 8192, PROT_READ) = 0mprotect(0xb6bc8000, 4096,
PROT_READ) = 0mprotect(0xb6bd7000, 4096, PROT_READ) =
0mprotect(0xb6d24000, 53248, PROT_READ) = 0mprotect(0xb6d88000, 8192,
PROT_READ) = 0mprotect(0xb6dd2000, 4096, PROT_READ) =
0mprotect(0xb6e43000, 4096, PROT_READ) = 0mprotect(0xb6e61000, 4096,
PROT_READ) = 0mprotect(0xb6fe6000, 8192, PROT_READ) =
0mprotect(0xb6e99000, 4096, PROT_READ) = 0munmap(0xb6e63000, 28504)
= 0set_tid_address(0xb6e93068) =
13177set_robust_list(0xb6e93070, 0xc) = 0futex(0xbe8517d8,
FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, b6a63000) = -1
EAGAIN (Resource temporarily unavailable)rt_sigaction(SIGRTMIN,
{0xb6a4c20c, [], SA_SIGINFO|0x4000000}, NULL, 8) = 0rt_sigaction(SIGRT_1,
{0xb6a4c0b4, [], SA_RESTART|SA_SIGINFO|0x4000000}, NULL, 8) =
0rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) =
0getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) =
0rt_sigprocmask(SIG_SETMASK, ~[ILL TRAP BUS FPE SEGV RTMIN RT_1], [], 8) =
0rt_sigaction(SIGILL, {0xb6c235d4, ~[ILL TRAP BUS FPE SEGV RTMIN RT_1],
0x4000000 /* SA_??? */}, {SIG_DFL, [], 0}, 8) = 0rt_sigprocmask(SIG_BLOCK,
NULL, ~[ILL TRAP BUS FPE KILL SEGV STOP RTMIN RT_1], 8) = 0--- SIGILL
(Illegal instruction) @ 0 (0) ---rt_sigprocmask(SIG_SETMASK, ~[ILL TRAP
BUS FPE KILL SEGV STOP RTMIN RT_1], NULL, 8) = 0rt_sigprocmask(SIG_BLOCK,
NULL, ~[ILL TRAP BUS FPE KILL SEGV STOP RTMIN RT_1], 8) = 0--- SIGILL
(Illegal instruction) @ 0 (0) ---rt_sigprocmask(SIG_SETMASK, ~[ILL TRAP
BUS FPE KILL SEGV STOP RTMIN RT_1], NULL, 8) = 0rt_sigaction(SIGILL,
{SIG_DFL, [], 0x4000000 /* SA_??? */}, NULL, 8) =
0rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0--- SIGSEGV (Segmentation
fault) @ 0 (0) ---+++ killed by SIGSEGV +++Segmentation fault`
Basicaly i just get a segfault on the console...
(my fault? how to fix?)
ii tor 0.2.5.10-1~d70.wheezy+1
ii tor-geoipdb 0.2.5.10-1~d70.wheezy+
ii torsocks 1.2-3
(the link again to the output)
https://ezcrypt.it/1FAn#qP82sAK2ECsvv8cLmhiC9UN6
raspbian, Raspberripi, worked like charm till I destroyed it.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14907>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list