edubuntu-bugs team mailing list archive
-
edubuntu-bugs team
-
Mailing list archive
-
Message #05832
[Bug 1239449] [NEW] Gcompris crashes at startup with SIGSEV - 11
Public bug reported:
Hi,
I installed gcompris 12.01-0ubuntu1 on an Ubuntu 12.04.3 LTS system and
found it was immediately receiving segmentation fault and not making it
through intialisation when I tried to run it.
Description: Ubuntu 12.04.3 LTS
Release: 12.04
gcompris:
Installed: 12.01-0ubuntu1
Candidate: 12.01-0ubuntu1
Version table:
*** 12.01-0ubuntu1 0
500 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
100 /var/lib/dpkg/status
On running it from a terminal to see what was happening I noticed it was
executing a python script (pythontest.py) in my homedir just prior to
the segfault.
I removed the pythontest.py and pythontest.pyc from my homedir and it
started and ran normally. This is weird behaviour so I created another
script to check and it is repeatable:
colin@faerie:~$ gcompris
** Message: Binary relocation disabled
** (process:18104): WARNING **: exec_prefix NONE
package_data_dir = /usr/share/gcompris/boards
package_skin_dir = /usr/share/gcompris/boards/skins
package_menu_dir = /usr/share/gcompris/boards
package_locale_dir = /usr/share/locale
package_plugin_dir = /usr/lib/gcompris
package_python_plugin_dir= /usr/share/gcompris/python
user_dir = /home/colin/My GCompris
Infos:
Config dir '/home/colin/.config/gcompris'
Users dir '/home/colin/My GCompris'
Database '/home/colin/.config/gcompris/gcompris_sqlite.db'
(gcompris:18104): Gtk-CRITICAL **: IA__gtk_window_set_type_hint: assertion `!gtk_widget_get_mapped (GTK_WIDGET (window))' failed
something1
something1
something1
something1
something1
something1
colin@faerie:~$ cat pythontest.py
#!/usr/bin/python
print("something1")
print("something1")
print("something1")
print("something1")
print("something1")
print("something1")
Renaming the script to "somethingelse.py" or even "pythontesting.py"
prevents it being executed. I attached an strace. The salient section
would appear to be:
stat("pythontest", 0x7fff7a2ddaf0) = -1 ENOENT (No such file or directory)
open("pythontest.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("pythontestmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("pythontest.py", O_RDONLY) = 18
I guess this is some sort of unit testing code left in the package.
Definitely a bug though.
** Affects: gcompris (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "strace of the crash."
https://bugs.launchpad.net/bugs/1239449/+attachment/3877026/+files/strace.log
--
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to gcompris in Ubuntu.
https://bugs.launchpad.net/bugs/1239449
Title:
Gcompris crashes at startup with SIGSEV - 11
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcompris/+bug/1239449/+subscriptions
Follow ups
References