Opened 13 years ago

Last modified 7 years ago

#358 closed defect (None)

Segmentation fault on tor server 0.1.1.25

Reported by: konqui Owned by: phobos
Priority: Low Milestone:
Component: Core Tor/Tor Version: 0.1.1.24
Severity: Keywords:
Cc: konqui, arma Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Hi,

I got a segfault with the debian package on an GNU/Linux debian sarge system. Tor crash after 5-7 hour. Hiere the output:

---cut
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"...tor: Datei oder Verzeichnis nicht gefunden.

Using host libthread_db library "/lib/tls/libthread_db.so.1".
Core was generated by `/usr/sbin/tor'.
Program terminated with signal 11, Segmentation fault.
#0 0x08082862 in ?? ()
(gdb)
---cut

after typing "bt":

---cut
#0 0x08082862 in ?? ()
#1 0x0939f188 in ?? ()
#2 0x00000000 in ?? ()
#3 0x00000000 in ?? ()
#4 0x080a5ecd in ?? ()
#5 0x00000006 in ?? ()
#6 0x00000004 in ?? ()
#7 0x080c1e00 in ?? ()
#8 0x089690d0 in ?? ()
#9 0x00000004 in ?? ()
#10 0x080ce96b in ?? ()
#11 0xbffffcb8 in ?? ()
#12 0x080870c7 in ?? ()
#13 0x089690d0 in ?? ()
#14 0x455337de in ?? ()
#15 0xbffffca8 in ?? ()
#16 0x08068f66 in ?? ()
#17 0x0939f188 in ?? ()
#18 0x080f1880 in ?? ()
#19 0xbffffca8 in ?? ()
#20 0x080a5ecd in ?? ()
#21 0x00000007 in ?? ()
#22 0x0000006f in ?? ()
#23 0x00000004 in ?? ()
#24 0x089690d0 in ?? ()
#25 0x00000000 in ?? ()
#26 0x089690d0 in ?? ()
#27 0xbffffcd8 in ?? ()
#28 0x00000000 in ?? ()
#29 0x089a3430 in ?? ()
#30 0x080f1880 in ?? ()
#31 0xbffffcd8 in ?? ()
#32 0x08086dd4 in ?? ()
#33 0x0000024d in ?? ()
#34 0xbffffcd8 in ?? ()
#35 0x00000001 in ?? ()
#36 0x401bbac0 in ?? ()
#37 0x401bbac0 in ?? ()
#38 0x401bbac0 in ?? ()
#39 0xbffffd08 in ?? ()
#40 0x401b6c79 in ?? ()
#41 0x000000ac in ?? ()
#42 0x00000004 in ?? ()
#43 0x089690d0 in ?? ()
#44 0xbffffcf0 in ?? ()
#45 0x455337de in ?? ()
#46 0xbffffcfe in ?? ()
#47 0x080f2b90 in ?? ()
#48 0x0000bac0 in ?? ()
#49 0xbffffd40 in ?? ()
#50 0x080f1880 in ?? ()
#51 0xbffffd58 in ?? ()
#52 0x401b6f65 in ?? ()
#53 0x080f1880 in ?? ()
#54 0x080f18b8 in ?? ()
#55 0xbffffd40 in ?? ()
#56 0x4000baa3 in ?? ()
#57 0x4015f67c in ?? ()
#58 0x401bbae4 in ?? ()
#59 0x0000002a in ?? ()
#60 0x00000000 in ?? ()
#61 0x080f18b8 in ?? ()
#62 0x401bb9b0 in ?? ()
#63 0x00000000 in ?? ()
#64 0x00016822 in ?? ()
#65 0x00000000 in ?? ()
#66 0x00064b26 in ?? ()
#67 0xbffffd80 in ?? ()
#68 0x401bbac0 in ?? ()
#69 0x40016540 in ?? ()
#70 0xbffffe44 in ?? ()
#71 0xbffffd78 in ?? ()
#72 0x401b6dcb in ?? ()
#73 0x080f1880 in ?? ()
#74 0x00000000 in ?? ()
#75 0xbffffd80 in ?? ()
#76 0x080f18ac in ?? ()
#77 0x401b6da0 in ?? ()
#78 0x401bbac0 in ?? ()
#79 0xbffffd88 in ?? ()
#80 0x401b6cb0 in ?? ()
#81 0x00000000 in ?? ()
#82 0x402ebc80 in ?? ()
#83 0xbffffdb8 in ?? ()
#84 0x0808849b in ?? ()
#85 0x00000000 in ?? ()
#86 0x00000000 in ?? ()
#87 0x00000000 in ?? ()
#88 0x08088fb4 in ?? ()
#89 0x00000000 in ?? ()
#90 0xbffffe44 in ?? ()
#91 0x080ce660 in ?? ()
#92 0x080bdbcf in ?? ()
#93 0x402eb8c0 in ?? ()
#94 0x40016540 in ?? ()
#95 0xbffffdd8 in ?? ()
#96 0x08089465 in ?? ()
#97 0x00000001 in ?? ()
#98 0xbffffe44 in ?? ()
#99 0xbffffde8 in ?? ()
#100 0x080b733b in ?? ()
#101 0x402eb8c0 in ?? ()
#102 0x080b7380 in ?? ()
#103 0xbffffde8 in ?? ()
#104 0x080a5b8b in ?? ()
#105 0x00000001 in ?? ()
#106 0xbffffe44 in ?? ()
#107 0xbffffe18 in ?? ()
#108 0x401d1e36 in ?? ()
#109 0x00000001 in ?? ()
#110 0xbffffe44 in ?? ()
#111 0xbffffe4c in ?? ()
#112 0x0804c550 in ?? ()
#113 0x00000000 in ?? ()
#114 0x4000bcd0 in ?? ()
#115 0x402ecdb4 in ?? ()
#116 0x40016ca0 in ?? ()
#117 0x00000001 in ?? ()
#118 0x0804c550 in ?? ()
#119 0x00000000 in ?? ()
#120 0x0804c571 in ?? ()
#121 0x080a5b70 in ?? ()
#122 0x00000001 in ?? ()
#123 0xbffffe44 in ?? ()
#124 0x080b7320 in ?? ()
#125 0x080b7380 in ?? ()
#126 0x4000c380 in ?? ()
#127 0xbffffe3c in ?? ()
#128 0x00000000 in ?? ()
#129 0x00000001 in ?? ()
#130 0xbfffff13 in ?? ()
#131 0x00000000 in ?? ()
#132 0xbfffff21 in ?? ()
#133 0xbfffff28 in ?? ()
#134 0xbfffff33 in ?? ()
#135 0xbfffff43 in ?? ()
#136 0xbfffff4d in ?? ()
#137 0xbfffff8f in ?? ()
#138 0xbfffffa3 in ?? ()
#139 0xbfffffb4 in ?? ()
#140 0xbfffffbf in ?? ()
#141 0xbfffffc7 in ?? ()
#142 0xbfffffd4 in ?? ()
#143 0x00000000 in ?? ()
#144 0x00000010 in ?? ()
#145 0x178bfbff in ?? ()
#146 0x00000006 in ?? ()
#147 0x00001000 in ?? ()
#148 0x00000011 in ?? ()
#149 0x00000064 in ?? ()
#150 0x00000003 in ?? ()
#151 0x08048034 in ?? ()
#152 0x00000004 in ?? ()
#153 0x00000020 in ?? ()
#154 0x00000005 in ?? ()
#155 0x00000008 in ?? ()
#156 0x00000007 in ?? ()
#157 0x40000000 in ?? ()
#158 0x00000008 in ?? ()
#159 0x00000000 in ?? ()
#160 0x00000009 in ?? ()
#161 0x0804c550 in ?? ()
#162 0x0000000b in ?? ()
#163 0x0000006e in ?? ()
#164 0x0000000c in ?? ()
#165 0x0000006e in ?? ()
#166 0x0000000d in ?? ()
#167 0x0000006e in ?? ()
#168 0x0000000e in ?? ()
#169 0x0000006e in ?? ()
#170 0x0000000f in ?? ()
#171 0xbfffff0e in ?? ()
#172 0x00000000 in ?? ()
#173 0x00000000 in ?? ()
#174 0x00000000 in ?? ()
#175 0x00000000 in ?? ()
#176 0x00000000 in ?? ()
#177 0x00000000 in ?? ()
#178 0x00000000 in ?? ()
#179 0x00000000 in ?? ()
#180 0x36690000 in ?? ()
#181 0x2f003638 in ?? ()
#182 0x2f727375 in ?? ()
#183 0x6e696273 in ?? ()
#184 0x726f742f in ?? ()
#185 0x3d5a4800 in ?? ()
#186 0x00303031 in ?? ()
#187 0x4d524554 in ?? ()
#188 0x6574783d in ?? ()
#189 0x53006d72 in ?? ()
#190 0x4c4c4548 in ?? ()
#191 0x69622f3d in ?? ()
#192 0x61622f6e in ?? ()
#193 0x55006873 in ?? ()
#194 0x3d524553 in ?? ()
#195 0x746f6f72 in ?? ()
#196 0x54415000 in ?? ()
#197 0x752f3d48 in ?? ()
#198 0x6c2f7273 in ?? ()
#199 0x6c61636f in ?? ()
#200 0x6962732f in ?? ()
#201 0x752f3a6e in ?? ()
#202 0x6c2f7273 in ?? ()
#203 0x6c61636f in ?? ()
#204 0x6e69622f in ?? ()
#205 0x62732f3a in ?? ()
#206 0x2f3a6e69 in ?? ()
#207 0x3a6e6962 in ?? ()
#208 0x7273752f in ?? ()
#209 0x6962732f in ?? ()
#210 0x752f3a6e in ?? ()
#211 0x622f7273 in ?? ()
#212 0x4d006e69 in ?? ()
#213 0x3d4c4941 in ?? ()
#214 0x7261762f in ?? ()
#215 0x69616d2f in ?? ()
#216 0x6f722f6c in ?? ()
#217 0x5000746f in ?? ()
#218 0x2f3d4457 in ?? ()
#219 0x2f726176 in ?? ()
#220 0x2f62696c in ?? ()
#221 0x00726f74 in ?? ()
#222 0x454d4f48 in ?? ()
#223 0x6f722f3d in ?? ()
#224 0x5300746f in ?? ()
#225 0x4c564c48 in ?? ()
#226 0x4c00323d in ?? ()
#227 0x414e474f in ?? ()
#228 0x723d454d in ?? ()
#229 0x00746f6f in ?? ()
#230 0x732f3d5f in ?? ()
#231 0x2f6e6962 in ?? ()
#232 0x72617473 in ?? ()
#233 0x74732d74 in ?? ()
#234 0x642d706f in ?? ()
#235 0x6f6d6561 in ?? ()
#236 0x752f006e in ?? ()
#237 0x732f7273 in ?? ()
#238 0x2f6e6962 in ?? ()
#239 0x00726f74 in ?? ()
#240 0x00000000 in ?? ()
---cut

hope that helps.

cu
Rainer

[Automatically added by flyspray2trac: Operating System: Other Linux]

Child Tickets

Change History (9)

comment:1 Changed 13 years ago by arma

Hm. The backtrace is not useful. :(

What version of libevent are you using?

Is the seg fault repeatable?

Run 'dmesg' after it crashes and see if it has any other details, such as
'out of memory'

Could it be a hardware problem?

comment:2 Changed 13 years ago by konqui

s15227619:/home/rainer# dpkg -l libevent
No packages found matching libevent.
s15227619:/home/rainer# dpkg -l | grep libevent
ii libevent1 1.1a-1~sarge.1 An asynchronous event notification library

dmesg or /var/log/kern.log is showing nothing but it is an vserver.

Yes it is repeatbale.

cu
Rainer

comment:3 Changed 13 years ago by konqui

ok I now build the package new. this time with libevent 1.1b. and for now it is working. tor run for over 10h.

comment:4 Changed 12 years ago by arma

All fixed now?

comment:5 Changed 12 years ago by phobos

is this still a problem with 0.1.1.26 or 0.1.2.4-alpha?

comment:6 Changed 12 years ago by konqui

I now use the 0.1.2.4-alpha and I reject the ports for torrent. Than I do not get any segfaults. I think that with the torrent ports it was to much connections for the vserver. thx

cu
Rainer

comment:7 Changed 12 years ago by nickm

It doesn't look like this is reproducible, or that any more information about the original problem
is forthcoming. I'll mark this as closed.

comment:8 Changed 12 years ago by nickm

flyspray2trac: bug closed.

comment:9 Changed 7 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.