text in torrent info tabs change after opening it to gibberish
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
transmission (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
on transmission-gtk
after opening the torrent's properties panel, the text at first it's showing ok, buy on mouse hover it changes to random text
worked fine on 21.10
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: transmission-gtk 3.00-2ubuntu2
ProcVersionSign
Uname: Linux 5.15.0-25-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sun Apr 17 19:28:03 2022
SourcePackage: transmission
UpgradeStatus: Upgraded to jammy on 2022-03-26 (22 days ago)

enorrmann (enorrmann) wrote : | #1 |
- Dependencies.txt Edit (7.6 KiB, text/plain; charset="utf-8")
- ProcCpuinfoMinimal.txt Edit (1.5 KiB, text/plain; charset="utf-8")
- ProcEnviron.txt Edit (310 bytes, text/plain; charset="utf-8")

Launchpad Janitor (janitor) wrote : | #2 |
Changed in transmission (Ubuntu): | |
status: | New → Confirmed |

Daniel (andrade) wrote : | #3 |

fprietog (fprietog) wrote : | #4 |
This problem happens with transmission-gtk package. A workaround is to use transmission-qt package instead of transmission-gtk.
With transmission-gtk, when you open the torrent's properties panel, apart from scramble the texts, buttons, etc, there are GTK related errors spammed every few milliseconds (can be seen with journalctl). This is an example of these errors:
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi transmission-
may 01 07:17:38 fpgrpi t...

tlk (sarcasticskull) wrote (last edit ): | #5 |
>A workaround is to use transmission-qt
Some workaround...
And yes it does spew all these errors for me as well. Ultimately it just crashed.
I fully understand everything and all and I do try to withhold from ranting/ whining especially towards a "freebie" service, but managing to make a something of an essential piece of offered by default software nigh unusable EVEN THOUGH THE UPSTREAM HASN'T CHANGED BETWEEN THE LTS RELEASES (the -v switch gives the very same version/signature as in 20.04) must take the cake.
// Ubuntu Mate 22.04 xorg no compositing kisak mesa 5.18.3 mainline kernel

Sebastien Bacher (seb128) wrote : | #6 |
thank you for your bug report, could you share a torrent url which shows the issue?

fprietog (fprietog) wrote : | #7 |
The problem happens with all torrents. You can use this one:
https:/

Sebastien Bacher (seb128) wrote : | #8 |
Which locale are people seeing the issue on? The report recorded es_ES.UTF-8 but it works fine with that one here. Could you take a screenshot showing the issue? The properties dialog is displaying strings correctly and there is no popover dialog, could you describe which UI you use exactly?

fprietog (fprietog) wrote : | #9 |
- Video showing the problem Edit (2.6 MiB, video/webm)
I'm using locale es_ES but I just tested with locale en_US and fails as well.
The UI used is transmission-gtk.
Steps to reproduce the problem:
- Open transmission-gtk.
- Open a terminal and enter journalctl -f to see the errors that will be generated.
- Open a torrent file.
- Open the torrent Properties and check it's tabs. All seems to be correct...
- Close properties. At this moment there will be lots of gtk errors shown in the terminal.
- Open the torrent Properties again and check it's tabs: the info is scrambled across tabs.
I've attached a video showing the problem.

Sebastien Bacher (seb128) wrote : | #10 |
how do you close the dialog? it doesn't do it here weirdly

fprietog (fprietog) wrote : | #11 |
In the video I used the right upper X but using the Close button also triggers the errors.

fprietog (fprietog) wrote : | #12 |
I suspect you may have something installed in your test PC that may mask/fix the error.
Please test this: start the PC with the Ubuntu 22.04 LTS CD image. It came with transmission-gtk installed. Just use the option "Try Ubuntu" and repeat the procedure (don't need to install anything, just download the torret with firefox). It will fail... I just tested it and fails...

Sebastien Bacher (seb128) wrote : | #13 |
I've just tried on a xubuntu live session in a VM and there is no such issue, so maybe something which has to do the environment?
Could you try to install https:/

fprietog (fprietog) wrote : | #14 |
- It works in xubuntu... Edit (329.6 KiB, image/png)
Why are you using xubuntu?
I just use distrotest.net with xubuntu 22.04 and Ubuntu 22.04.
- in xubuntu it works without error (attached screenshot).
- in Ubuntu (GNOME) it fails.
But problem was reported in Ubuntu (GNOME) from the beginning. Please, use Ubuntu (GNOME) instead of xubuntu and it will fail for sure.

fprietog (fprietog) wrote (last edit ): | #15 |
The proposed packages didn't solve the problem... Seems to but after a reboot it starts to fail again. Please test the problem in Ubuntu as asked in the previous post.

fprietog (fprietog) wrote : | #16 |

Sebastien Bacher (seb128) wrote : | #17 |
Thanks, it's a weird bug, the desktop environment in use shouldn't make it behave differently

tlk (sarcasticskull) wrote (last edit ): | #18 |
It's not about a specific dialog or menu, it's like the translation strings are all over the place getting assigned to random buttons/
I've set about to screenshot the issue(s) but this time it's crashed before I'd managed to cause some of these "interface inconsistencies". Duh.
user@ws:~$ transmission-gtk
(transmission-
(transmission-
(transmission-
(transmission-
(transmission-
=======
(transmission-
(transmission-
(transmission-
(transmission-
(transmission-
(transmission-
Ошибка сегментирования
(Ошибка сегментирования is Russian for Segmentation fault)
When I launched it just a couple of minutes later in the same shell session it started cleanly without a single error message and seemed to behave normally...
Couldn't immediately reproduce with LANGUAGE=en_US will keep an eye...
Also, FWIW it hasn't picked up half of my torrents copied over from the previous installation, complaining that the source is gone - even though most are in the same directory and some of them it had managed picked up fine. For those that are supposedly are gone, I have to point to their directory again... No idea if this has anything to do with the GTK issues...
#6
>thank you for your bug report, could you share a torrent url which shows the issue?
almost defo has nothing to do with the torrents loaded... I'll test with a clean profile tho.
#8
>Which locale are people seeing the issue on?
ru_RU.UTF-8 in my case, will try to test with en_US.UTF-8
#14
>Please, use Ubuntu (GNOME) instead of xubuntu and it will fail for sure.
doubt it's caused by one specific environment, I'm on MATE

tlk (sarcasticskull) wrote : | #19 |
Sure enough I hit the problem with LANGUAGE=en_US transmission-gtk
I've noticed that the labels change to this mess in a fraction of a second after the widgets are drawn.
And there are thousands of error messages like above that are spammed into .xsession-errors

Vladimir (javafors) wrote : | #20 |
The same problem happens with LANG=C and standard ubuntu environment.
both Transmission-gtk 3.00-2ubuntu2 and Transmission-gtk 3.00-2.1
...
(transmission-
(transmission-
(transmission-
(transmission-
(transmission-
(transmission-
...
Changed in transmission (Ubuntu): | |
importance: | Undecided → High |

thom (tsk) wrote : | #21 |
A week ago, after an update, the bug was magically resolved.
I kept on testing but I couldn't recreate the bug anymore.
Also other gtk based applications seemed to run a bit more reliable/solid (no crashes anymore in caja etc etc).
Could it be that some important library received an update/fix which also solved this problem ?

Daniel (andrade) wrote : | #22 |
Just tried recreating the issue and I'm no longer getting the bug either.

fprietog (fprietog) wrote : | #23 |
Unfortunately I'm still having this problem.
Just tested in Ubuntu 22.04 amd64 and arm64. No updates or phased updates pending...

Sebastien Bacher (seb128) wrote : | #24 |
The bug is weird yes, I've never been able to trigger it on my installation. It could be that it depends of a library yes, of from the theme in use perhaps, or other factor...

perasugu (perasugian) wrote (last edit ): | #25 |
- transmission-gtk, error, crash, tabs+text issue Edit (61.9 KiB, text/plain)
This bug has also been affecting me in Devuan (testing) for several months, I'm not sure when it started specifically, but I believe the last 2 months i can say for sure.
Joined here because my searches in my distributor didn't turn up much data.
I want also to add that Dialog Preferences/
Changing different GTK3 themes, even default Adwaita does not bring anything positively or a fix.
I gathered some data on the attach.

Daniel (andrade) wrote : | #26 |
After some time without the bug manifesting itself it's happening to me again.

perasugu (perasugian) wrote : | #27 |
With two or three clicks on the properties tabs it is not noticeable or not happening let say, but if we click frequently one by one the tabs from left to righ or vice versa, confuses the text data through tabs also other parts of properties dialog, also if the clicking is not stopped transmission-gtk GUI crashes.
I haven't passed this matter on upstream or forums yet. I have lived with it without going to propeties dialog.
P.S. no other applications have this concern on my system.

tlk (sarcasticskull) wrote : | #28 |
FWIW, the Debian Sid package transmission-

Rapper_skull (rapper-skull) wrote : | #29 |
Started happening to me as soon as I updated to Ubuntu 22.04.1. My locale is it_IT.

David Neugebauer (v645) wrote : | #30 |
- Output of: grep 'transmission-gt' /var/log/syslog Edit (108.8 KiB, application/octet-stream)
Can confirm this is still a problem on 22.04. I am attaching a syslog grep, which might be helpful. Switching to transmission-qt does work and shows no problems.

apinunt (apinunt) wrote : | #31 |
Same problem here since upgrading to Ubuntu Mate 22.04.
Transmission crashed nearly every time I add a torrent, and the Properties display sometimes changes when I move the window displaying it.
Reopening Transmission it usually runs without issue if I don't add a torrent and just leave it alone until the torrent is downloaded.

Hany Said EL-Nokaly (hany-elnokaly) wrote (last edit ): | #32 |
- transmission-console-errors Edit (9.3 KiB, text/plain)
I have the same issue, attached console errors.
Does Canonical ever care to fix bugs after release?

davygrvy (davygrvy) wrote : | #33 |
Here is my wasteful "Me Too" post. I hope a fix is coming soon. I'm not capable, but would help if I could. constant crashing on 22.04 with gtk variant from mainline

thom (tsk) wrote (last edit ): | #34 |
as followup c.q. correction to #21:
After a good while without any problems, the bug is back again.
So I think it never went away but just wasn't triggered for a long period of time.
In my logs, this is repeated over and over again:
invalid unclassed pointer in cast to 'GtkTreeModel'
gtk_tree_
gtk_widget_
invalid unclassed pointer in cast to 'GtkToggleButton'
gtk_toggle_
gtk_widget_
invalid unclassed pointer in cast to 'GtkLabel'
gtk_label_
gtk_label_
Regarding this, I am pretty convinced that the first line is the reason for the rest of the failures.
invalid unclassed pointer in cast to 'GtkTreeModel'
This hints to a declaration of a void pointer which is handed over *uninitialized* to a GTK-object-
This kind of thing can go randomly wrong (actually depending on what's in memory at that moment)
which would explain why the bug would sometimes pop up and sometimes not.
I can reasonably read and write "C" but I really can't wrap my head around any GTK code.
I swear if I could understand GTK code, I would personally wholeheartily get to the bottom of this.

Sebastien Bacher (seb128) wrote : | #35 |
Could someone report it upstream on https:/

Rapper_skull (rapper-skull) wrote : | #36 |
Unfortunately the upstream maintainers are busy with the release of version 4.0.0 (that's now in beta, and we won't see in Ubuntu until 24.04, I guess). They are not looking at old bugs because in version 4 a lot changed and they probably are not relevant anymore.

Sebastien Bacher (seb128) wrote : | #37 |
@Rapper, that's understandable, there is enough distributions on the current version and serie though that there would still be value in having a report upstream which is a distribution-

Ian (superian) wrote (last edit ): | #38 |
Here, this issue comes and goes. It felt like having a brutal prune of how many ISOs etc I was seeding got rid of it, but it's back again.
I did the grep above to see the messages in syslog.. ah, that's quite a lot, isn't it? How many lines?
user@pc:~$ grep 'transmission' -c /var/log/syslog
5399493
!!! Ah, that's why syslog is so large... and that's just the number of transmission-gtk messages in the past week.
Most are errors, repeated multiple times a second. Here's the output of the grep piped into tail:
Oct 22 20:28:25 pc transmission-
Oct 22 20:28:25 pc transmission-
Oct 22 20:28:25 pc transmission-
Oct 22 20:28:25 pc transmission-
Oct 22 20:28:25 pc transmission-
Oct 22 20:28:25 pc transmission-
Oct 22 20:28:25 pc transmission-
Oct 22 20:28:25 pc transmission-
Oct 22 20:28:25 pc transmission-
Oct 22 20:28:25 pc transmission-

thom (tsk) wrote : | #39 |
On 10-10-2022 I have, in 'startup applications', delayed the startup of transmission by 5 seconds.
It seems to have helped.
So far so good.
Let's see if it keeps on working this way.
Maybe this turns out to be a useful workaround.

thom (tsk) wrote : | #40 |
OK forget about post #39
just encountered the bug again
delayed startup of transmission doesn't help.

thom (tsk) wrote : | #41 |
Note to self:
disabled 'suspend' and 'screensaver' today to check if this transmission bug will still be triggered.
If not: we really got a problem because the underlying problem could be GTK related.
i.e. that GTK possibly loses some state after wakeup from suspend.
I'll check in when the problem persists or in two weeks if the problem doesn't appear anymore.

thom (tsk) wrote : | #42 |
In reply to my own previous message #41
Problem persists, suspend/

thom (tsk) wrote : | #43 |
Link to the bug upstream (github):

thom (tsk) wrote : | #44 |
I downgraded transmission-gtk to 3.00-1ubuntu1~
Guess what ? It runs troublefree on 20.04 but on 22.04 (this version) it has the mentioned bug
Seems that changes in GTK/Gnome libs broke transmission-gtk after all (as i suspected earlier).
The only thing that seems to work is upgrading to transmission_4.00 beta and compile it.
(https:/
I have 4.00 beta installed (tray-icon not yet working). I keep you posted.

tlk (sarcasticskull) wrote : | #45 |
Funny, I just came back to post that after all I've come to think it's something to do the way platform (GTK et al) libs are built in Ubuntu (Debian too?).
Because for me even the Arch binary exibits (on 22.04) the same broken behaviour.
BTW after this bug is "initiated" (by opening the torrent props window), even the GTK File chooser shows these misplaced labels all over it.

fprietog (fprietog) wrote : | #46 |
There is a new transmission version available. Hope it reach Ubuntu repo soon.

houdini68 (houdini68) wrote : | #47 |
On Ubuntu 22.04, I have switched 'temporarily' to transmission-qt.
sudo apt install transmission-qt
Then you can create an alias to temporarily replace the faulty 'transmission-gtk'.
alias transmission=
transmission-qt doesn't exhibit the faulty behaviour (and CTRL+S is back).

fprietog (fprietog) wrote : | #48 |
As a temporary workaround I've installed packages "transmission-
I hope these packages will be picked for Ubuntu 23.04 publish.
Note: the Debian package "transmission-

Sebastien Bacher (seb128) wrote : | #49 |
The new version is basically a rewrite, it's going to have to wait for next cycle in Ubuntu since we are past feature freeze and it's risky for that point in the cycle

Rapper_skull (rapper-skull) wrote : | #50 |
How can it be considered "risky" when the current version is completely broken?

Sebastien Bacher (seb128) wrote : | #51 |
Having corruption of labels sometime doesn't mean the software isn't working...

Rapper_skull (rapper-skull) wrote : | #52 |
That's not the only issue at all. High memory usage is also reported, and trying to use Transmission with corrupted labels (which happens very frequently in my case) will lead to crashes. So yeah, I currently can't use Transmission.
Status changed to 'Confirmed' because the bug affects multiple users.