After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 300421 - gnometris crash at startup (seems pretty much immediate)
gnometris crash at startup (seems pretty much immediate)
Status: RESOLVED DUPLICATE of bug 300423
Product: gnome-games-superseded
Classification: Deprecated
Component: quadrapassel
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-13 04:21 UTC by Alan Horkan
Modified: 2012-01-31 23:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Alan Horkan 2005-04-13 04:21:17 UTC
Distribution/Version: garnome

Dont spend any great amount of time on this, there may just be something wrong
with my garnome setup but I decided it was best to report the crash and provide
a backtrace and let you decide if it was worth looking at any closer

GNU gdb 6.0-2mdk (Mandrake Linux)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-mandrake-linux-gnu"...Using host libthread_db l
ibrary "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /tmp/garnome/bin/gnometris 
[Thread debugging using libthread_db enabled]
[New Thread 1090022624 (LWP 18284)]
Detaching after fork from child process 18287.

Program received signal SIGSEGV, Segmentation fault.

Thread 1090022624 (LWP 18284)

  • #0 pango_color_parse
    from /tmp/garnome/lib/libpango-1.0.so.0
  • #1 gdk_color_parse
    from /tmp/garnome/lib/libgdk-x11-2.0.so.0
  • #2 Tetris::initOptions()
  • #3 Tetris::Tetris(int)
  • #4 main

Comment 1 Richard Hoelscher 2005-04-14 03:22:27 UTC
Alan: 3 things, and I'm really just doing off the wall guesses here... :)

1) Is this ubuntu?
2) Run from console. Does it quit with a warning "(pango_color_parse): assertion
`spec != NULL' failed"?
3) Does this happen every time you start the game?
Comment 2 Alan Horkan 2005-04-14 14:13:09 UTC
1) it is garnome (i wrote it above and again in the distribution details box)
garnome on top of Mandarake 10.0 not that it should make a difference.   
3) Yes, crashes every time.  

2) will try and check this later
Comment 3 Richard Hoelscher 2005-04-14 17:06:25 UTC
Considering all the goofy bugs I've seen lately (mostly outside of gnome-games)
stemming from minor misbehavior from something deep inside
Ubuntu/Gentoo/FCtest(GCC4) lately, #1 has been worth asking and makes a
difference. :)
Comment 4 Richard Hoelscher 2005-04-14 17:47:33 UTC
Well, gnometris can crash if gdk_color_parse (in Tetris::initoptions()) is 
given NULL for the bgcolour... Doesn't seem like that's possible though. When 
looking up the color, gconf will only return NULL on an error. Gnometris looks 
for that and would replace NULL with "Black".

Alan:
4) "gconftool-2 -g /apps/gnometris/options/bgcolour"
Comment 5 Alan Horkan 2005-04-14 18:59:33 UTC
No worries, I do something similar to anytime I think I'm dealing with a Debian
users, especially if they dare have the hypocrisy to complain about something
not being easy enough (it is like complaining that the vegetarian special isn't
meaty enough).  

2) Segemenation Fault
That is all I get, everytime, no additional information.  
Comment 6 Alan Horkan 2005-04-16 16:00:08 UTC
Mahjongg is hosed as well, immediate segfault.  

In case it might be interacting badly removed 
~/.gconf/apps/mahjongg 
but it made no difference.  


I'll probably just have a big clear out and rebuild next time there is a new
release of Garnome.  
Comment 7 Richard Hoelscher 2005-04-18 13:07:05 UTC
Alan: Go ahead and report your Mahjongg bugs and any others as new ones. If
fixable, they will be fixed.
Comment 8 Alan Horkan 2005-04-19 11:50:13 UTC
Not sure what I changed but the Mahjongg sefault no longer occurs and instead it
fails more gracefully with an error message from GConf.  
Comment 9 Callum McKenzie 2005-04-20 10:28:49 UTC
The gnometris problem is the same gconf bug as discussed in bug 300423 (and I'm
willing to bet that mahjongg problem is similar).

Basically pango_color_parse () can only crash if it is passed a pointer that is
neither valid nor NULL. Something deep down in gconf is going really, really, bad.
(It probably isn't gnometris since there isn't any gap for anything to stomp
over the value between it being set and used.)

I am marking this a dup of 300423 (forward duping since I discussed the problem
more there).

*** This bug has been marked as a duplicate of 300423 ***
Comment 10 Robert Ancell 2012-01-31 23:23:25 UTC
This bug is being reassigned to the "quadrapassel" component so we can close the gnometris bugzilla component.  Apologies for the mass email!