Opened 10 years ago

Closed 10 years ago

#4316 closed Bug (fixed)

Transmission 2.31 crashes (segfaults) immediately after launch

Reported by: draga Owned by: jordan
Priority: High Milestone: 2.32
Component: libtransmission Version: 2.31
Severity: Major Keywords:
Cc:

Description

Hello, I've compile Transmission 2.31 on NetBSD. It compiles, but as soon as I launch transmission-daemon, it segfaults. I've seen similar problems in the forum, also with Slackware, so it seems it's not just me.

Here's what my gdb says: http://pastebin.com/Urp5N554

Could you please have a look at it?

Change History (2)

comment:1 Changed 10 years ago by jordan

  • Component changed from Transmission to libtransmission
  • Milestone changed from None Set to 2.32
  • Owner set to jordan
  • Severity changed from Blocker to Major
  • Status changed from new to assigned
#0  0x0805223e in fileset_construct (set=0xbb607a6c, n=-112) at fdlimit.c:447
447     fdlimit.c: No such file or directory.
        in fdlimit.c
(gdb) bt
#0  0x0805223e in fileset_construct (set=0xbb607a6c, n=-112) at fdlimit.c:447
#1  0x08052adb in tr_fdSetFileLimit (session=0xbb608800, limit=-112) at fdlimit.c:786
#2  0x0805b2e4 in sessionSetImpl (vdata=0xbb5ffc0c) at session.c:836
#3  0x0806a3fb in tr_runInEventThread (session=0xbb608800, func=0x805abf3 <sessionSetImpl>, user_data=0xbb5ffc0c) at trevent.c:312
#4  0x0805b67f in tr_sessionSet (session=0xbb608800, settings=0xbb5ffc44) at session.c:906
#5  0x0805aba5 in tr_sessionInitImpl (vdata=0xbfbfe7b8) at session.c:712

comment:2 Changed 10 years ago by jordan

  • Resolution set to fixed
  • Status changed from assigned to closed

r12514 libtransmission/ (fdlimit.c fdlimit.h session.c session.h transmission.h): (trunk libt) #4315 "Transmission 2.31 crashes (segfaults) immediately after launch" -- remove the "max-open-files" code.

max-open-files might have been a nice configuration option once, but (1) we've never advertised it in the gui apps, and (2) the crazy cases are causing more trouble than this feature is worth. It's more complicated now after #4164 -- see #4294, #4311, and this ticket.

Note: See TracTickets for help on using tickets.