libavg segfaults when loading a simple xml file from a python script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libavg (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
openoffice.org (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Happened on Ubuntu Hardy amd64.
I attempted to do the basic example provided on the wiki of libavg.de which consists of a text file containing
<?xml version="1.0"?>
<avg width="640" height="480">
<words id="ClashText" x="10" y="10" font="arial" text="Should I stay or should I go?"/>
</avg>
saving it as text.avg then from the same directory i start python and type this out as follows
$> python
Python 2.5.2 (r252:60911, Apr 21 2008, 11:17:30)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from libavg import avg
>>> Player = avg.Player()
>>> Player.
[08-06-20 20:54:38.508] LOGGER: Logging started
Segmentation fault
$> ..
I dont know if its relevant but i am on an intel x3100 graphics adapter, laptop, and using ubuntu 64bit.
Changed in openoffice.org: | |
status: | New → Invalid |
description: | updated |
Thank you for taking your time to file this bug and helping to make Ubuntu better.
If you are using Ubuntu 8.04 , then from the libavg site [https:/ /www.libavg. de/wiki/ index.php/ Libavg_ on_Ubuntu], it looks like a known issue.
"
Latest Ubuntu release (8.04 aka Hardy Heron) exposes an issue at each libavg python script termination (a segmentation fault). To avoid that annoying error, this workaround places a rough patch to libselinux, disabling its SETRANS module. It seems to be a safe removal, as long as selinux security enforcing system is not needed.
".
Kindly update the bug if the above hint does not solve your problem, or you are not using Hardy.