[Reportbug-maint] Bug#620225: GTK+ UI errors: segfaults, floating-point exceptions, pango error
Bruno Filipe Oliveira Ramos
brunoramos.lu at gmail.com
Fri Feb 1 23:42:56 UTC 2013
Package: reportbug
Version: 6.4.3
Followup-For: Bug #620225
Dear Maintainer,
I have been looking at this problem and I think I might have some clues on what
is causing the error.
>From what I could find in my searches (gdb mainly) the problem is related to
the fact the reportbug is updating the UI directly from a thread.
Apparently the right way to update the UI directly from a thread is to use
gobject.idle_add().
>From the traces I got from gdb it seems that the problem was coming from the
call to label.set_text () so I modified all the calls to that to use idle_add.
And everything seems to be working ok here, no crashes for me now.
I hope this helps or at least could give you some clues on how to fix the
problem.
I'm not a python programmer so please take my patch with a grain of salt :)
Best regards,
Bruno Ramos
-- Package-specific info:
** Environment settings:
DEBEMAIL="brunoramos.lu at gmail.com"
DEBFULLNAME="Bruno Filipe Oliveira Ramos"
INTERFACE="gtk2"
** /home/brunoramos/.reportbugrc:
reportbug_version "6.4.3"
mode standard
ui gtk2
no-cc
header "X-Debbugs-CC: brunoramos.lu at gmail.com"
smtphost reportbug.debian.org
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages reportbug depends on:
ii apt 0.9.7.7
ii python 2.7.3-3
ii python-reportbug 6.4.3
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
pn debconf-utils <none>
pn debsums <none>
pn dlocate <none>
ii emacs23-bin-common 23.4+1-4
ii exim4 4.80-7
ii exim4-daemon-light [mail-transport-agent] 4.80-7
ii file 5.11-2
ii gnupg 1.4.12-7
ii python-gtk2 2.24.0-3+b1
ii python-gtkspell 2.25.3-12
pn python-urwid <none>
ii python-vte 1:0.28.2-5
ii xdg-utils 1.1.0~rc1+git20111210-6
Versions of packages python-reportbug depends on:
ii apt 0.9.7.7
ii python 2.7.3-3
ii python-debian 0.1.21+nmu2
ii python-debianbts 1.11
ii python-support 1.0.15
python-reportbug suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: try-to-fix-report-bug-crash.patch
Type: text/x-diff
Size: 2938 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20130202/0c0d998c/attachment.patch>
More information about the Reportbug-maint
mailing list