swell-foop segfaults with error 4 in libclutter-glx-1.0.so.0.200.4

Bug #574876 reported by Stephen Keller
92
This bug affects 20 people
Affects Status Importance Assigned to Milestone
GNOME Games
Expired
Medium
gnome-games (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: gnome-games

swell-foop segfaults in libclutter-glx

How to reproduce the bug (takes up to a few minutes of messing about to grab the crash - apport does not catch it automatically):

1 Open swell-foop.
2. Configure Game-Preferences as follows:

Board size: Large
Number of colors: 3
Theme: Test Theme
Zealous Animation: OFF
3. Place the cursor over a block of squares that is close to but not on the edge of the game space, such that the block of squares is color highlighted.
4. Move the cursor off the game window crossing over another block of squares of the same color.
5. While the program is trying to highlight a new block of the same color as the currently highlighted block it segfaults just as the cursor moves out of the game window. Sometimes it takes several tries to get the timing just right, but with practice, I've gotten pretty good at making it happen.
===========================

The gnome game swell-foop intermittently segfaults and leaves messages like this in the /var/log/messages:

May 3 18:43:54 stephen-desktop kernel: [258657.370101] seed[16935]: segfault at 14 ip b2d815c5 sp bff888a8 error 4 in libclutter-glx-1.0.so.0.200.4[b2d5f000+d6000]

Sometimes the game works without issue, but performance bogs down and then it dies unexpectedly. The machine was minimally loaded at the time.

ProblemType: BugDistroRelease: Ubuntu 10.04
Package: swell-foop 1:2.30.0-0ubuntu6
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic-pae 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic-pae i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Mon May 3 18:52:23 2010InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bashSourcePackage: gnome-games

Revision history for this message
Stephen Keller (stephen-w-keller) wrote :
Revision history for this message
djchandler (djchandler) wrote :

And I'm getting the virtually the same error but in the 64-bit kernel and packages. Apport isn't catching any crash data at all.

May 6 21:49:06 tobuntu kernel: [18764.433690] seed[5837]: segfault at 20 ip 00007f740a014fd0 sp 00007fff20ff5bc8 error 4 in libclutter-glx-1.0.so.0.200.4[7f7409fe8000+f0000]
May 6 21:51:45 tobuntu kernel: [18923.836285] seed[5843]: segfault at 20 ip 00007fe6a25d4fd0 sp 00007fff54121618 error 4 in libclutter-glx-1.0.so.0.200.4[7fe6a25a8000+f0000]
May 6 21:53:18 tobuntu kernel: [19016.058094] seed[5849]: segfault at 20 ip 00007f4d43914fd0 sp 00007fff3d95c538 error 4 in libclutter-glx-1.0.so.0.200.4[7f4d438e8000+f0000]
May 6 22:28:52 tobuntu kernel: [21150.866792] seed[6821]: segfault at 20 ip 00007f8eecfd4fd0 sp 00007fff1b354358 error 4 in libclutter-glx-1.0.so.0.200.4[7f8eecfa8000+f0000]
May 6 22:31:01 tobuntu kernel: [21279.514692] seed[6827]: segfault at 20 ip 00007f7de5894fd0 sp 00007fff41d773e8 error 4 in libclutter-glx-1.0.so.0.200.4[7f7de5868000+f0000]

As you can see, this is easily repeatable. Where it crashes in the course of the game seems to depend on gameplay action of certain pattern(s) of squares being removed right after the mouseclick to make that move.

Is this is perhaps a problem communicating with the fglrx driver? If so, this is the only problem where the video driver may be involved that I'm having. But I noticed the original report refers to the fglrx driver too.

Sorry, the segfault messages are all the evidence of the crash I can get.

ProblemType: Bug
DistroRelease: Ubuntu 10.04 AMD-64
Package: swell-foop 1:2.30.0-0ubuntu6
Kernel: Ubuntu Linux 2.6.32-22-generic-AMD-64
NonfreeKernelModules: fglrx
Architecture: AMD-64
InstallationMedia: Ubuntu 9.04 "Jaunty Jackalope" - ubuntu-9.04-dvd-amd64.iso - 21-Apr-2009 13:58 4.3G
SourcePackage: gnome-games

Revision history for this message
djchandler (djchandler) wrote :

One of my desktops is doing the same thing as my laptop above. The biggest difference is the laptop was upgraded from 9.04. The desktop was a fresh Lucid install with the beta2, then updated. Both are 64-bit.

Here's the messages on the segfault.

May 7 00:40:13 lubuntu kernel: [ 271.357450] seed[2111]: segfault at 20 ip 00007f4263356fd0 sp 00007fff999ef788 error 4 in libclutter-glx-1.0.so.0.200.4[7f426332a000+f0000]
May 7 00:41:17 lubuntu kernel: [ 335.473112] seed[2117]: segfault at 20 ip 00007f7fad516fd0 sp 00007fff9a828968 error 4 in libclutter-glx-1.0.so.0.200.4[7f7fad4ea000+f0000]

Angel Abad (angelabad)
Changed in gnome-games:
importance: Undecided → Unknown
status: New → Unknown
Changed in gnome-games:
status: Unknown → New
Revision history for this message
rdbrown0au (rdbrown) wrote :

I seem to be able to trigger this by moving the mouse in circles over the swell-foop window, hope the partial backtrace
helps.

$ file !$
file /usr/lib/libclutter-glx-1.0.so.0.200.4
/usr/lib/libclutter-glx-1.0.so.0.200.4: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
$ md5sum !$
md5sum /usr/lib/libclutter-glx-1.0.so.0.200.4
ed303f2ecc7ced5e954155c9dedbb7dd /usr/lib/libclutter-glx-1.0.so.0.200.4

$ LD_LIBRARY_PATH="/usr/lib/gnome-games${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}" gdb seed /usr/share/gnome-games/swell-foop/main.js
GNU gdb (GDB) 7.1-ubuntu
...
Reading symbols from /usr/bin/seed...(no debugging symbols found)...done.
"/usr/share/gnome-games/swell-foop/main.js" is not a core dump: File format not recognized
(gdb) r /usr/share/gnome-games/swell-foop/main.js
Starting program: /usr/bin/seed /usr/share/gnome-games/swell-foop/main.js
[Thread debugging using libthread_db enabled]

[New Thread 0x7fffeb03d710 (LWP 4355)]

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe7fc9fd0 in ?? () from /usr/lib/libclutter-glx-1.0.so.0
(gdb)
(gdb) bt
#0 0x00007fffe7fc9fd0 in ?? () from /usr/lib/libclutter-glx-1.0.so.0
#1 0x00007fffe7ff992b in ?? () from /usr/lib/libclutter-glx-1.0.so.0
#2 0x00007fffe7ff9ba8 in ?? () from /usr/lib/libclutter-glx-1.0.so.0
#3 0x00007fffe8001fd3 in ?? () from /usr/lib/libclutter-glx-1.0.so.0
#4 0x00007fffe8014958 in ?? () from /usr/lib/libclutter-glx-1.0.so.0
#5 0x00007fffe8003160 in ?? () from /usr/lib/libclutter-glx-1.0.so.0
#6 0x00007ffff71768c2 in g_main_dispatch (context=0x643920)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#7 IA__g_main_context_dispatch (context=0x643920)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#8 0x00007ffff717a748 in g_main_context_iterate (context=0x643920,
    block=<value optimised out>, dispatch=<value optimised out>,
    self=<value optimised out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#9 0x00007ffff717ac55 in IA__g_main_loop_run (loop=0xd17bb0)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2799
#10 0x00007ffff544bb27 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.20.1/gtk/gtkmain.c:1219
#11 0x00007ffff6d21efc in ffi_call_unix64 () from /usr/lib/libffi.so.5
#12 0x00007ffff6d21c84 in ffi_call () from /usr/lib/libffi.so.5
#13 0x00007ffff6f2e447 in g_function_info_invoke ()
   from /usr/lib/libgirepository-1.0.so.0
#14 0x00007ffff7bc8f7f in ?? () from /usr/lib/libseed.so.0
#15 0x00007ffff6342e7e in JSC::JSCallbackObject<JSC::JSObject>::call(JSC::ExecState*, JSC::JSObject*, JSC::JSValue, JSC::ArgList const&) ()
   from /usr/lib/libwebkit-1.0.so.2
#16 0x00007ffff638ed70 in cti_op_call_NotJSFunction (
    args=<value optimised out>) at ../JavaScriptCore/jit/JITStubs.cpp

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

I am not seeing this in Maverick i386, but I use an nVidia card. Can you test this with the Live CD of Maverick and let us know if it is still a problem for you? If so, can you provide a full backtrace (https://wiki.ubuntu.com/Backtrace) under the control of gdb? Thank you :)

Changed in gnome-games (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Stephen Keller (stephen-w-keller) wrote : Re: [Bug 574876] Re: swell-foop segfaults with error 4 in libclutter-glx-1.0.so.0.200.4

There crash only happens intermittently. I'm happy to try to get it to file under gdb, but I don't know where to get the Maverick Live CD. Can you point me at an image file?

Stph

________________________________
From: Teej <email address hidden>
To: <email address hidden>
Sent: Tue, June 8, 2010 10:32:11 AM
Subject: [Bug 574876] Re: swell-foop segfaults with error 4 in libclutter-glx-1.0.so.0.200.4

I am not seeing this in Maverick i386, but I use an nVidia card. Can you
test this with the Live CD of Maverick and let us know if it is still a
problem for you? If so, can you provide a full backtrace
(https://wiki.ubuntu.com/Backtrace) under the control of gdb? Thank you
:)

** Changed in: gnome-games (Ubuntu)
   Importance: Undecided => Medium

** Changed in: gnome-games (Ubuntu)
       Status: New => Incomplete

--
swell-foop segfaults with error 4 in libclutter-glx-1.0.so.0.200.4
https://bugs.launchpad.net/bugs/574876
You received this bug notification because you are a direct subscriber
of the bug.

Status in GNOME Games: New
Status in “gnome-games” package in Ubuntu: Incomplete

Bug description:
Binary package hint: gnome-games

The gnome game swell-foop intermittently segfaults and leaves messages like this in the /var/log/messages:

May 3 18:43:54 stephen-desktop kernel: [258657.370101] seed[16935]: segfault at 14 ip b2d815c5 sp bff888a8 error 4 in libclutter-glx-1.0.so.0.200.4[b2d5f000+d6000]

Sometimes the game works without issue, but performance bogs down and then it dies unexpectedly. The machine was minimally loaded at the time.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: swell-foop 1:2.30.0-0ubuntu6
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic-pae 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic-pae i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Mon May 3 18:52:23 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: gnome-games

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/gnome-games/+bug/574876/+subscribe

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Well you can have it running under gdb in whatever release you have, but we'd prefer it to be in Maverick. You can find the latest LiveCD ISO at http://cdimage.ubuntu.com/daily-live/20100608/ - please bear in mind that it is very unstable please do not install it, but test from the Live environment. :)

Revision history for this message
Duncan Clough (duncan-clough) wrote :

Swell Foop crashes with the essentially the same libclutter-glx-1.0.so.0.200.4 message in /var/log/messages. The crash happens almost every time I quickly move the mouse outside of the Swell Foop window. It doesn't always crash is the mouse is already near the border, but always happens if the mouse is nearer the centre of the window.

I haven't experienced a crash while playing if I've kept the mouse inside the Swell Foop window.

Unfortunately this is on Lucid and not Maverick.

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Can someone with this issue please test it in Maverick? Until we know if it has been fixed or not we can't do anything, hence the procedure. Once we can determine if it is fixed, and what fixed it, we can work on getting it fixed (if possible) in Lucid. Thank you.

Revision history for this message
Stephen Keller (stephen-w-keller) wrote :

I downloaded and launched the 20100615 Maverick live cd. Unfortunately swell-foop is not on the Applications->Games menu. I've poked around the live cd image, but I can't figure out how to execute the swell-foop launcher script work without referencing back into my system's /usr/... area (which is causing launch issues). I'm reluctant to install Maverick, as I need this system to keep running correctly on 10.04.

How do I fire up a terminal in Maverick that uses the live cd as the root rather than my hard drive?

Stph

________________________________
From: Teej <email address hidden>
To: <email address hidden>
Sent: Tue, June 15, 2010 12:17:39 PM
Subject: [Bug 574876] Re: swell-foop segfaults with error 4 in libclutter-glx-1.0.so.0.200.4

Can someone with this issue please test it in Maverick? Until we know if
it has been fixed or not we can't do anything, hence the procedure. Once
we can determine if it is fixed, and what fixed it, we can work on
getting it fixed (if possible) in Lucid. Thank you.

--
swell-foop segfaults with error 4 in libclutter-glx-1.0.so.0.200.4
https://bugs.launchpad.net/bugs/574876
You received this bug notification because you are a direct subscriber
of the bug.

Status in GNOME Games: New
Status in “gnome-games” package in Ubuntu: Incomplete

Bug description:
Binary package hint: gnome-games

The gnome game swell-foop intermittently segfaults and leaves messages like this in the /var/log/messages:

May 3 18:43:54 stephen-desktop kernel: [258657.370101] seed[16935]: segfault at 14 ip b2d815c5 sp bff888a8 error 4 in libclutter-glx-1.0.so.0.200.4[b2d5f000+d6000]

Sometimes the game works without issue, but performance bogs down and then it dies unexpectedly. The machine was minimally loaded at the time.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: swell-foop 1:2.30.0-0ubuntu6
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic-pae 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic-pae i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Mon May 3 18:52:23 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: gnome-games

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/gnome-games/+bug/574876/+subscribe

Revision history for this message
Robert Ancell (robert-ancell) wrote :

@Stephen, Swell-Foop does not come on the CD, you will have to install it using the Software Center.

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Quick sidenote to the above. Your hard drive install and data will be fine as long as you don't install the CD or do something out of the ordinary, i.e. poking around your HD partitions. Think of the Live CD as a complete OS the same that is on your HD; you can install stuff store stuff etc, but only until reboot.

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Just had a thought... the reason no-one is able to grab these crashes with apport is because it is disabled when a release has been, well...released (I should have thought of this). If you want to enable it for one session you can do "sudo service apport start force_start=1" and try to reproduce the crash. That is of course of you are not able to reproduce it in Maverick. :)

PS Sorry about the spam ;)

Revision history for this message
Stephen Keller (stephen-w-keller) wrote :

Ah, okay. I've not used Live CD much, so I don't really know what it is (or I am) doing. It'll be Thursday at the earliest that I have another chance to try this out.

Stph

________________________________
From: Teej <email address hidden>
To: <email address hidden>
Sent: Wed, June 16, 2010 2:06:12 AM
Subject: [Bug 574876] Re: swell-foop segfaults with error 4 in libclutter-glx-1.0.so.0.200.4

Quick sidenote to the above. Your hard drive install and data will be
fine as long as you don't install the CD or do something out of the
ordinary, i.e. poking around your HD partitions. Think of the Live CD as
a complete OS the same that is on your HD; you can install stuff store
stuff etc, but only until reboot.

--
swell-foop segfaults with error 4 in libclutter-glx-1.0.so.0.200.4
https://bugs.launchpad.net/bugs/574876
You received this bug notification because you are a direct subscriber
of the bug.

Status in GNOME Games: New
Status in “gnome-games” package in Ubuntu: Incomplete

Bug description:
Binary package hint: gnome-games

The gnome game swell-foop intermittently segfaults and leaves messages like this in the /var/log/messages:

May 3 18:43:54 stephen-desktop kernel: [258657.370101] seed[16935]: segfault at 14 ip b2d815c5 sp bff888a8 error 4 in libclutter-glx-1.0.so.0.200.4[b2d5f000+d6000]

Sometimes the game works without issue, but performance bogs down and then it dies unexpectedly. The machine was minimally loaded at the time.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: swell-foop 1:2.30.0-0ubuntu6
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic-pae 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic-pae i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Mon May 3 18:52:23 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: gnome-games

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/gnome-games/+bug/574876/+subscribe

Revision history for this message
Stephen Keller (stephen-w-keller) wrote :

Hi Teej,

I managed to get swell-foop installed using the Maverick Live CD and I can reliably recreate the bug in Maverick.

How to reproduce the bug:

1 Open swell-foop.
2. Configure Game-Preferences as follows:

Board size: Large
Number of colors: 3
Theme: Test Theme
Zealous Animation: OFF
3. Place the cursor over a block of squares that is close to but not on the edge of the game space, such that the block of squares is color highlighted.
4. Move the cursor off the game window crossing over another block of squares of the same color.
5. While the program is trying to highlight a new block of the same color as the currently highlighted block it segfaults just as the cursor moves out of the game window. Sometimes it takes several tries to get the timing just right, but with practice, I've gotten pretty good at making it happen.

Now for debugging: I reproduced this error in gdb and captured a backtrace file. See attachment.

I'm not savvy enough to interpret the content of that file, but hopefully this will isolate the issue for the developers.

Stph

description: updated
Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

That is brilliant, thank you Stephen, great work! This bug report should now have enough information to set this Triaged, where I will leave this now for the developers to take a look at. The bug is also reported upstream to the GNOME developers who have also been made aware of the extra information that will help them pinpoint the problem.
Thank you again for helping to make Ubuntu better! :)

Changed in gnome-games (Ubuntu):
importance: Medium → Low
status: Incomplete → Triaged
Revision history for this message
Rafael C. Brandão (rcbrandao) wrote :

As a workaround I have removed gnome-games & swell-foop packages, downloaded karmic's same-gnome from ubuntu package search and then successfully installed it with gdebi. Not the brightest idea but I had no other choice anyway.

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

I really would not recommend doing that to anyone else affected by
this, and strongly suggest against it. Simply not playing the game
would be a lot safer. The dependency issues that may crop up between
releases could end up in an unstable solution just FYI all. But, if it
works for you, then brilliant! :)

Revision history for this message
teknopartz (jmailbox) wrote :

Having the same problem with Ubuntu installed on an iMac. Error message in /var/log/messages reads:

Jul 27 18:38:16 ubuntu kernel: [ 3655.730934] seed[7161]: segfault at 14 ip 075205c5 sp bfb8c1a8 error 4 in libclutter-glx-1.0.so.0.200.4[74fe000+d6000]

I'm thinking I will attempt to reinstall same-gnome (as Rafael has suggested) as my parents really seem to like the (old version) game.

Revision history for this message
Stephen Keller (stephen-w-keller) wrote :

I would agree, the interface to the old version of the game was vastly superior
in appearance, performance and general useability. Plus it did not have any
noticeable bugs. The new version seems like a rather incomplete alpha release
rather than a production-worthy application. Besides this annoying seg-fault
bug, the new interface frequently bogs down to the point that screen refreshes
after block removal can take seconds to complete (and this is on a 4GB i5
machine doing nothing else significant). Additionally, some major functionality
remains unimplemented (undo for example). Makes me wish I knew something about
Gnome coding; it could be an interesting project to work on.

Stph

Revision history for this message
teknopartz (jmailbox) wrote :

In case anyone is interested:

After I replaced 'swell-foop' with 'same-gnome' things look good with the game until it comes to saving high-scores! In order to make scores work I had to do something like this:

touch /var/games/same-gnome.Small.scores
touch /var/games/same-gnome.Medium.scores
touch /var/games/same-gnome.Large.scores
chmod 664 /var/games/same-gnome.*
chown root:games /var/games/same-gnome.*

I think my mum will be happy about the game working properly now (hopefully!)

Jeremy

Changed in gnome-games:
importance: Unknown → Medium
Changed in gnome-games:
status: New → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.