Bug#668657: wicd-gtk segfaults after clicking tray icon.

April 13th, 2012 - 05:00 pm ET by Pawel Rozanski | Report spam
Package: wicd-gtk
Version: 1.7.2.1-1
Severity: normal

Wicd-gtk runs fine, unless I click on icon in the tray, then crashes. Running on console wicd-gtk causes instant
segfault. Running wicd-gtk -t makes it run, unless tray icon is clicked. I belive locale setting are the problem,
as running LANG=C wicd-gtk or LANG=pl_PL.UTF-8 wicd-gtk solves the problem.

System is stable+testing+unstable. The same problem existed on version 1.7.1-1 from testing.

It may have the same source as bug #640248. Anyway I believe, application shouldn't crash on locale problem.

Debian Release: 6.0.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (401, 'testing'), (400, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages wicd-gtk depends on:
ii python 2.7.2-10 interactive high-level object-orie
ii python-glade2 2.24.0-3 GTK+ bindings: Glade support
ii python-gtk2 2.24.0-3 Python bindings for the GTK+ widge
ii wicd-daemon 1.7.2.1-1 wired and wireless network manager

Versions of packages wicd-gtk recommends:
ii gksu 2.0.2-5 graphical frontend to su
ii python-notify 0.1.1-3 Python bindings for libnotify

wicd-gtk suggests no packages.

Versions of packages wicd depends on:
ii wicd-daemon 1.7.2.1-1 wired and wireless network manager

Versions of packages wicd-curses depends on:
ii python 2.7.2-10 interactive high-level object-orie
ii python-urwid 1.0.1-2 curses-based UI/widget library for
ii wicd-daemon 1.7.2.1-1 wired and wireless network manager

Versions of packages wicd-daemon depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii dbus 1.2.24-4+squeeze1 simple interprocess messaging syst
ii debconf 1.5.36.1 Debian configuration management sy
ii iproute 20100519-3 networking and traffic control too
ii iputils-ping 3:20100418-3 Tools to test the reachability of
ii isc-dhcp-client [dh 4.1.1-P1-15+squeeze3 ISC DHCP client
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii net-tools 1.60-23 The NET-3 networking toolkit
ii psmisc 22.11-1 utilities that use the proc file s
ii python 2.7.2-10 interactive high-level object-orie
ii python-dbus 0.84.0-3 simple interprocess messaging syst
ii python-gobject 3.1.0-2 Python 2.x bindings for GObject -
ii python-wicd 1.7.2.1-1 wired and wireless network manager
ii wireless-tools 30~pre9-5 Tools for manipulating Linux Wirel
ii wpasupplicant 0.7.3-6 client support for WPA and WPA2 (I

Versions of packages python-wicd depends on:
ii python 2.7.2-10 interactive high-level object-orie
ii python2.6 2.6.7-4 An interactive high-level object-o
ii python2.7 2.7.3~rc2-2 Interactive high-level object-orie




To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 3 repliesReplies Make a reply

Similar topics

Replies

#1 Paweł Różański
April 13th, 2012 - 06:00 pm ET | Report spam
On 13.04.2012 22:53, David Paleino wrote:
tags 668657 upstream unreproducible moreinfo
thanks

On Fri, 13 Apr 2012 22:46:52 +0200, Pawel Rozanski wrote:

Wicd-gtk runs fine, unless I click on icon in the tray, then crashes. Running
on console wicd-gtk causes instant segfault. Running wicd-gtk -t makes it
run, unless tray icon is clicked. I belive locale setting are the problem, as
running LANG=C wicd-gtk or LANG=pl_PL.UTF-8 wicd-gtk solves the problem.



I have an UTF-8 locale (Italian), and can't reproduce this.

Also, it would be nice if you could give some more info, for example the
traceback you get on console.



To reproduce try to run LANG=pl_PL wicd-gtk (no other interaction
required as it opens wicd-gtk in a window - the same thing as clicking
on tray icon does).

Not sure what you mean by traceback. I assume it's console output, so:
$ wicd-gtk
Has notifications support True
Loading...
Connecting to daemon...
Connected.
Naruszenie ochrony pamięci

Last line is segfault message in Polish.
Strace result (strace wicd-gtk): http://pastebin.com/WNCxHP7E

Kind regards,
Pawel Rozanski



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
#2 Paweł Różański
April 13th, 2012 - 06:10 pm ET | Report spam
On 13.04.2012 22:53, David Paleino wrote:
Also, it would be nice if you could give some more info, for example the
traceback you get on console.



Hi David,
In case you meant gdb output:

gdb --args /usr/bin/python -O /usr/share/wicd/gtk/wicd-client.py
GNU gdb (GDB) 7.4-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/python -O /usr/share/wicd/gtk/wicd-client.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Has notifications support True
Loading...
Connecting to daemon...
Connected.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5977300 in g_markup_escape_text () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0 0x00007ffff5977300 in g_markup_escape_text () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007ffff48331f4 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#2 0x00007ffff6042922 in g_object_set_property () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3 0x00007ffff4660c03 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#4 0x00007ffff46613a3 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#5 0x00007ffff4662c4f in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#6 0x00007ffff5976916 in g_markup_parse_context_parse () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7 0x00007ffff4662f80 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#8 0x00007ffff465f0fe in gtk_builder_add_from_file () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#9 0x00007ffff4ce46a8 in ?? () from
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/_gtk.so
#10 0x00000000005228cc in PyEval_EvalFrameEx ()
#11 0x0000000000529c42 in PyEval_EvalCodeEx ()
#12 0x000000000057e872 in ?? ()
#13 0x000000000049d1e6 in PyObject_Call ()
#14 0x00000000004e4baa in ?? ()
#15 0x000000000049d1e6 in PyObject_Call ()
#16 0x000000000051a3ee in ?? ()
#17 0x000000000048e8e6 in ?? ()
#18 0x000000000049d1e6 in PyObject_Call ()
#19 0x0000000000522f4a in PyEval_EvalFrameEx ()
#20 0x00000000005230b2 in PyEval_EvalFrameEx ()
#21 0x0000000000529c42 in PyEval_EvalCodeEx ()
#22 0x000000000057e872 in ?? ()
#23 0x000000000049d1e6 in PyObject_Call ()
#24 0x00000000004e4baa in ?? ()
#25 0x000000000049d1e6 in PyObject_Call ()
#26 0x000000000051a3ee in ?? ()
#27 0x000000000048e8e6 in ?? ()
#28 0x000000000049d1e6 in PyObject_Call ()
#29 0x0000000000522f4a in PyEval_EvalFrameEx ()
#30 0x0000000000529c42 in PyEval_EvalCodeEx ()
#31 0x000000000057e872 in ?? ()
#32 0x000000000049d1e6 in PyObject_Call ()
#33 0x0000000000524605 in PyEval_EvalFrameEx ()
#34 0x0000000000529c42 in PyEval_EvalCodeEx ()
#35 0x0000000000522e68 in PyEval_EvalFrameEx ()
#36 0x0000000000529c42 in PyEval_EvalCodeEx ()
#37 0x000000000057ee71 in PyRun_FileExFlags ()
#38 0x000000000057f533 in PyRun_SimpleFileExFlags ()
#39 0x00000000005345e6 in Py_Main ()
#40 0x00007ffff6977ead in __libc_start_main () from
/lib/x86_64-linux-gnu/libc.so.6
#41 0x000000000041dfd1 in _start ()

Kind regards,
Pawel



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Replies Reply to this message
#3 David Paleino
April 14th, 2012 - 03:20 am ET | Report spam

reassign 668657 libglib2.0-0
retitle 668657 GTK application segfaults with ISO-8859-2 locale
thanks

On Sat, 14 Apr 2012 00:06:56 +0200, Paweł Różański wrote:

On 13.04.2012 22:53, David Paleino wrote:
> Also, it would be nice if you could give some more info, for example the
> traceback you get on console.

Hi David,
In case you meant gdb output:

gdb --args /usr/bin/python -O /usr/share/wicd/gtk/wicd-client.py
GNU gdb (GDB) 7.4-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/python -O /usr/share/wicd/gtk/wicd-client.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Has notifications support True
Loading...
Connecting to daemon...
Connected.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5977300 in g_markup_escape_text () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0 0x00007ffff5977300 in g_markup_escape_text () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007ffff48331f4 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#2 0x00007ffff6042922 in g_object_set_property () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3 0x00007ffff4660c03 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#4 0x00007ffff46613a3 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#5 0x00007ffff4662c4f in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#6 0x00007ffff5976916 in g_markup_parse_context_parse () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7 0x00007ffff4662f80 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#8 0x00007ffff465f0fe in gtk_builder_add_from_file () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#9 0x00007ffff4ce46a8 in ?? () from
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/_gtk.so
#10 0x00000000005228cc in PyEval_EvalFrameEx ()
#11 0x0000000000529c42 in PyEval_EvalCodeEx ()
#12 0x000000000057e872 in ?? ()
#13 0x000000000049d1e6 in PyObject_Call ()
#14 0x00000000004e4baa in ?? ()
#15 0x000000000049d1e6 in PyObject_Call ()
#16 0x000000000051a3ee in ?? ()
#17 0x000000000048e8e6 in ?? ()
#18 0x000000000049d1e6 in PyObject_Call ()
#19 0x0000000000522f4a in PyEval_EvalFrameEx ()
#20 0x00000000005230b2 in PyEval_EvalFrameEx ()
#21 0x0000000000529c42 in PyEval_EvalCodeEx ()
#22 0x000000000057e872 in ?? ()
#23 0x000000000049d1e6 in PyObject_Call ()
#24 0x00000000004e4baa in ?? ()
#25 0x000000000049d1e6 in PyObject_Call ()
#26 0x000000000051a3ee in ?? ()
#27 0x000000000048e8e6 in ?? ()
#28 0x000000000049d1e6 in PyObject_Call ()
#29 0x0000000000522f4a in PyEval_EvalFrameEx ()
#30 0x0000000000529c42 in PyEval_EvalCodeEx ()
#31 0x000000000057e872 in ?? ()
#32 0x000000000049d1e6 in PyObject_Call ()
#33 0x0000000000524605 in PyEval_EvalFrameEx ()
#34 0x0000000000529c42 in PyEval_EvalCodeEx ()
#35 0x0000000000522e68 in PyEval_EvalFrameEx ()
#36 0x0000000000529c42 in PyEval_EvalCodeEx ()
#37 0x000000000057ee71 in PyRun_FileExFlags ()
#38 0x000000000057f533 in PyRun_SimpleFileExFlags ()
#39 0x00000000005345e6 in Py_Main ()
#40 0x00007ffff6977ead in __libc_start_main () from
/lib/x86_64-linux-gnu/libc.so.6
#41 0x000000000041dfd1 in _start ()



This traceback shows nothing related to wicd.

I'm not sure who this bug belongs to, I'm reassigning it to glib because it was
the last thing called in the traceback.

Glib maintainers: please forgive me if you're not the culprit. Feel free to
reassign to someone else. This is surely *not* a bug in wicd. I retitled the
bug to reflect what I think might be the issue, and I might be totally wrong.
So take the title with a grain of salt :)

Kindly,
David

. ''`. Debian developer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 -|- http://deb.li/dapal
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174






To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search