Opened 7 years ago

Closed 6 years ago

#4573 closed Bug (fixed)

Crash when opening a torrent file

Reported by: bjorndevos Owned by: jordan
Priority: High Milestone: 2.51
Component: GTK+ Client Version: 2.41
Severity: Normal Keywords:
Cc:

Description

I'm using arch linux with gnome 3.2 and when I want to open a torrent file it gives me this error: ERROR:open-dialog.c:285:gtr_torrent_options_dialog_new: code should not be reached Aborted

Then transmission is gone.

Attachments (1)

0001-gtk-conf-set-correct-download-dir-default.patch (1.0 KB) - added by felipec 7 years ago.
Here's a patch that fixes the problem

Download all attachments as: .zip

Change History (13)

comment:1 Changed 7 years ago by livings124

  • Component changed from Transmission to GTK+ Client
  • Owner set to jordan

comment:2 Changed 7 years ago by khoma

I have the same problem, though with version 2.42 from arch repos.

comment:3 follow-up: Changed 7 years ago by jamson

Had the same problem. Adding gtk-3.0 theme fixed it.

[Settings]
gtk-theme-name = Adwaita
gtk-fallback-icon-theme = gnome

in ~/.config/gtk-3.0/settings.ini

Changed 7 years ago by felipec

Here's a patch that fixes the problem

comment:4 Changed 7 years ago by felipec

Yeap, 2.42 from archlinux and I have the same.

I'm not running GNOME, but Xfce, and I tried to edit '~/.config/gtk-3.0/settings.ini' to no avail. I also installed gnome-themes-standard, and gnome-icon-theme-extras. No changes.

comment:5 in reply to: ↑ 3 Changed 7 years ago by felipec

Replying to jamson:

Had the same problem. Adding gtk-3.0 theme fixed it.

[Settings]
gtk-theme-name = Adwaita
gtk-fallback-icon-theme = gnome

in ~/.config/gtk-3.0/settings.ini

That doesn't fix the issue for me, but looking at the code I found a workaround; open and close the Preferences dialog.

The reason is that G_USER_DIRECTORY_DOWNLOAD is NULL, so I guess you are not using GNOME like me.

comment:6 Changed 7 years ago by KerrickStaley

I have Gnome 3.2 on Arch Linux and also ran into this bug. Both fixes (applying the patch and opening/closing the preferences dialog) worked for me. Thanks felipec.

comment:7 Changed 6 years ago by thepapermen

  • Summary changed from Crash when opening a torrent file in gnome 3.2 + arch linux to Crash when opening a torrent file
  • Version changed from 2.41 to 2.50

Same issue with Xfce, Transmission 2.50 on Debian wheezy/sid. Opening and closing Preferences dialog worked for me.

comment:8 Changed 6 years ago by livings124

  • Version changed from 2.50 to 2.41

comment:9 Changed 6 years ago by thepapermen

  • Version changed from 2.41 to 2.41+

I'm running Transmission 2.50 (13228).

# apt-show-versions |grep transmission transmission/sid uptodate 2.50-1 transmission-common/sid uptodate 2.50-1 transmission-gtk/sid uptodate 2.50-1

comment:10 Changed 6 years ago by livings124

  • Version changed from 2.41+ to 2.41

comment:11 Changed 6 years ago by jordan

  • Milestone changed from None Set to 2.51
  • Status changed from new to assigned

Fixed in r13273. Thanks for the patch!

comment:12 Changed 6 years ago by jordan

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