empcommand segfaults at start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
empcommand (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Starting empcommand opens a window and immediately segfaults. This happens in both fullscreen and windowed modes.
fader@simon:~$ empcommand -w -r 800x600
[11-07-08 16:42:22.204] APP: Setting resolution to: [800, 600]
/usr/share/
/usr/share/
Segmentation fault
I attempted to export LD_PRELOAD as specified at https:/
fader@simon:~$ LD_PRELOAD=
ERROR: ld.so: object '/usr/lib/
ERROR: ld.so: object '/usr/lib/
[11-07-08 16:44:56.330] APP: Setting resolution to: (1280,800)
/usr/share/
/usr/share/
Segmentation fault
I have successfully run this package on a different machine (with nvidia graphics rather than ATI) and can run ubuntu-bug to grab the relevant data from it if that would be helpful.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: empcommand 0.3+svn5740-
ProcVersionSign
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelMo
Architecture: i386
Date: Fri Jul 8 16:40:21 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: empcommand
UpgradeStatus: No upgrade log present (probably fresh install)
Dear Ronald,
thanks for your report.
The LD_PRELOAD workaround shouldn't be needed anymore, after the fix released for mesa package ( https:/ /bugs.launchpad .net/ubuntu/ +source/ mesa/+bug/ 259219 ). In particular, libstdc++.so.6 is preloaded anyway from the top level libavg python package. In addition, your attempt to preload fails, because the path to libstdc++.so is not correct.
This bug is probably related to libavg more than empcommand itself, by the way, can you please:
1. run a gdb session and dump the backtrace:
$ gdb python empcommand
(gdb) run /usr/games/
<wait for the program to crash>
(gdb) bt
2. run this minimal snippet and see if you get a crash as well:
$ python AVGApp. start(resolutio n=(640, 480))
> import libavg
> libavg.
(in case you don't get the segv, you'll see a black window. Attempt to close the window (which won't close) and CTRL-D on the shell).
Thanks!