Opened 12 years ago
Closed 12 years ago
#2144 closed bug (Invalid)
Deluged segfault in 1.3.5 on startup
Reported by: | gkuenning | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | libtorrent | Version: | 1.3.5 |
Keywords: | Cc: |
Description
Running on OpenSuSE 12.1, building 1.3.5 from source on a 64-bit machine, I get a segfault when starting deluged from the command line. Based on the traceback, it looks like somebody is clobbering the stack in initlibtorrent, because $rip is invalid at crash time. Unfortunately, I don't have time right now to dig further.
I have attached a typescript of a brief gdb session.
Attachments (1)
Change History (5)
by , 12 years ago
Attachment: | segfault-1.3.5.typescript added |
---|
comment:1 by , 12 years ago
More info: I stepped a bit into initlibtorrent. The problem is only 4 instructions deep, where it does:
jmpq *0x46cdf2(%rip) # 0x2aaab08ff498
Sure enough, 0x2aaab08ff498 contains the offending address. But I don't know what's supposed to be there. (The vicinity of the address does look like a jump table of some sort, but either the addresses are relative or they haven't been relocated properly. But I don't know enough about Boost et al to decode further.)
comment:2 by , 12 years ago
This looks like a libtorrent issue that you would need to discuss on bug tracker or the mailing list.
comment:3 by , 12 years ago
Component: | core → libtorrent |
---|---|
Milestone: | Future |
Status: | new → pending |
comment:4 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Typescript of gdb session