indicator-multiload segfaults immediately
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
System Load Indicator |
Fix Released
|
Medium
|
Michael Hofmann | ||
indicator-multiload (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Ubuntu & Package Information
$ lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
$ apt-cache policy indicator-multiload
indicator-
Installed: 0.2-0ubuntu1
Candidate: 0.2-0ubuntu1
Version table:
*** 0.2-0ubuntu1 0
500 http://
100 /var/lib/
What Happens
============
Running indicator-multiload immediately segfaults::
$ indicator-multiload
Segmentation fault
Debugging
=========
$ gdb indicator-multiload
[snip]
Reading symbols from /usr/bin/
(gdb) run
Starting program: /usr/bin/
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/
32 ../sysdeps/
in ../sysdeps/
(gdb) bt
#0 __strlen_sse2 () at ../sysdeps/
#1 0x000000000040c12d in main_main ()
#2 0x00007ffff5d8d30d in __libc_start_main (main=0x4056c0 <main>, argc=1,
ubp_
rtld_
#3 0x0000000000405709 in _start ()
(gdb)
Related branches
description: | updated |
description: | updated |
Changed in indicator-multiload (Ubuntu): | |
status: | New → Invalid |
Changed in indicator-multiload (Ubuntu): | |
status: | Incomplete → Fix Committed |
affects: | indicator-multiload (Ubuntu) → indicator-multiload |
affects: | indicator-multiload → indicator-multiload (Ubuntu) |
Changed in indicator-multiload: | |
status: | New → Fix Committed |
milestone: | none → 0.4 |
Changed in indicator-multiload (Ubuntu): | |
status: | Fix Committed → Confirmed |
Changed in indicator-multiload: | |
status: | Fix Committed → Fix Released |
Changed in indicator-multiload: | |
importance: | Undecided → Medium |
assignee: | nobody → Michael Hofmann (mh21) |
Changed in indicator-multiload (Ubuntu): | |
status: | Confirmed → Fix Released |
The crash is because $XDG_DATA_DIRS was not set when the program was run.
For example,
$ XDG_DATA_ DIRS=/usr/ share/gnome: /usr/local/ share/: /usr/share/ indicator-multiload
works fine.