Opened 12 years ago

Closed 11 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:


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)

segfault-1.3.5.typescript (16.1 KB) - added by gkuenning 12 years ago.
Typescript of gdb session

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by gkuenning

Typescript of gdb session

comment:1 Changed 12 years ago by gkuenning

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 Changed 12 years ago by Cas

This looks like a libtorrent issue that you would need to discuss on bug tracker or the mailing list.

comment:3 Changed 12 years ago by Cas

  • Component changed from core to libtorrent
  • Milestone Future deleted
  • Status changed from new to pending

comment:4 Changed 11 years ago by Cas

  • Resolution set to invalid
  • Status changed from pending to closed
Note: See TracTickets for help on using tickets.