[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #12035 [Tor]: Crash/stack trace with Sandbox enabled and DirReqStatistics not disabled
#12035: Crash/stack trace with Sandbox enabled and DirReqStatistics not disabled
---------------------------+------------------------------------
Reporter: alphawolf | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.5.x-final
Component: Tor | Version: Tor: 0.2.5.4-alpha
Keywords: sandbox,crash | Actual Points:
Parent ID: | Points:
---------------------------+------------------------------------
Tor crashes @ log rotation time if sandbox is enabled and DirReqStatistics
is not disabled. Version is Tor 0.2.5.4-alpha-dev (git-081ff5fa83cf146a)
on Debian Jessie.
log:
{{{
May 17 06:25:03.000 [warn] sandbox_intern_string(): Bug: No interned
sandbox parameter found for /var/lib/tor/stats
May 17 06:25:03.000 [warn] sandbox_intern_string(): Bug: No interned
sandbox parameter found for /var/lib/tor/stats/dirreq-stats.tmp
============================================================ T= 1400322303
(Sandbox) Caught a bad syscall attempt (syscall open)
/usr/bin/tor(+0x124e7a)[0x7f0630d98e7a]
/lib/x86_64-linux-gnu/libpthread.so.0(open64+0x2d)[0x7f062f87a19d]
/lib/x86_64-linux-gnu/libpthread.so.0(open64+0x2d)[0x7f062f87a19d]
/usr/bin/tor(tor_open_cloexec+0x40)[0x7f0630d84940]
/usr/bin/tor(start_writing_to_file+0xfb)[0x7f0630d9444b]
/usr/bin/tor(+0x1205ab)[0x7f0630d945ab]
/usr/bin/tor(+0x1206f8)[0x7f0630d946f8]
/usr/bin/tor(write_to_data_subdir+0x53)[0x7f0630d32983]
/usr/bin/tor(geoip_dirreq_stats_write+0x137)[0x7f0630d77487]
/usr/bin/tor(+0x359bc)[0x7f0630ca99bc]
/usr/lib/x86_64-linux-
gnu/libevent-2.0.so.5(event_base_loop+0x414)[0x7f0630300184]
/usr/bin/tor(do_main_loop+0x19d)[0x7f0630caa5bd]
/usr/bin/tor(tor_main+0x12b5)[0x7f0630cacf75]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f062f2deb45]
/usr/bin/tor(+0x32e0b)[0x7f0630ca6e0b]
}}}
/usr/share/tor/tor-service-defaults-torrc:
{{{
DataDirectory /var/lib/tor
PidFile /var/run/tor/tor.pid
RunAsDaemon 1
User debian-tor
ControlSocket /var/run/tor/control
ControlSocketsGroupWritable 1
CookieAuthentication 1
CookieAuthFileGroupReadable 1
CookieAuthFile /var/run/tor/control.authcookie
Log notice file /var/log/tor/log
}}}
torrc: (trimmed for brevity...)
{{{
ORPort 443 NoListen
ORPort 9001 NoAdvertise
DirPort 80 NoListen
DirPort 9030 NoAdvertise
# DirReqStatistics 0
ExitPolicy reject *:* # no exits allowed
Sandbox 1
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12035>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs