OpenFracas Forums Forum Index OpenFracas Forums
Back to the OpenFracas Site
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Crash upon selecting a map

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    OpenFracas Forums Forum Index -> Closed: Bug Reports moved to Launchpad
View previous topic :: View next topic  
Author Message
Crimer



Joined: 15 Mar 2009
Posts: 6

PostPosted: Sun Mar 15, 2009 7:36 am    Post subject: Crash upon selecting a map Reply with quote

ruby Main.rb
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 31
Gtk-WARNING **:GtkSpinButton: setting an adjustment with non-zero page size is deprecated
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 31
Gtk-WARNING **:GtkSpinButton: setting an adjustment with non-zero page size is deprecated
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 31
Gtk-WARNING **:GtkSpinButton: setting an adjustment with non-zero page size is deprecated
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 31
Gtk-WARNING **:GtkSpinButton: setting an adjustment with non-zero page size is deprecated
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 31
Gtk-WARNING **:GtkSpinButton: setting an adjustment with non-zero page size is deprecated
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 31
Gtk-CRITICAL **:gtk_container_add: assertion `GTK_IS_CONTAINER (container)' failed
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: line 31
Gtk-WARNING **:Attempting to add a widget with type GtkDialog to a GtkWindow, but as a GtkBin subclass a GtkWindow can only contain one widget at a time; it already contains a widget of type GtkVBox


I dont have a error.log or debug.log
Back to top
View user's profile Send private message
Nathaniel
OpenFracas Developer


Joined: 24 Nov 2007
Posts: 86
Location: Canada

PostPosted: Sun Mar 15, 2009 10:36 pm    Post subject: Reply with quote

This is an issue that I have been trying to track down for some time, as it is not within OpenFracas itself, but actually a bug in one of the libraries that OpenFracas uses. I think I have figured it out, though, and will be releasing an update with a work-around in the next day or so. Hopefully this will fix the problem for you, if not, let me know once the update is out.
Back to top
View user's profile Send private message Send e-mail
Nathaniel
OpenFracas Developer


Joined: 24 Nov 2007
Posts: 86
Location: Canada

PostPosted: Mon Mar 16, 2009 10:15 pm    Post subject: Reply with quote

I have now released an updated version of OpenFracas (0.6.1) that should hopefully address this issue. Please let me know if it persists after installing this update.
Back to top
View user's profile Send private message Send e-mail
Crimer



Joined: 15 Mar 2009
Posts: 6

PostPosted: Wed Mar 18, 2009 9:45 am    Post subject: Reply with quote

sadly no. It still crashes when I try to Open anything. As soon as the selection window appears.
Back to top
View user's profile Send private message
Nathaniel
OpenFracas Developer


Joined: 24 Nov 2007
Posts: 86
Location: Canada

PostPosted: Wed Mar 18, 2009 10:38 am    Post subject: Reply with quote

Thats unfortunate. Can you give me some information on what operating system you are using? eg Windows or Ubuntu, and which version?

Thanks
Back to top
View user's profile Send private message Send e-mail
Crimer



Joined: 15 Mar 2009
Posts: 6

PostPosted: Thu Mar 19, 2009 8:33 am    Post subject: Reply with quote

Im running a gentoo system :wink:

with
ruby 1.8.7_p72
sdl-ruby 2.0.1b
libglade2-ruby 0.16.0
Back to top
View user's profile Send private message
Nathaniel
OpenFracas Developer


Joined: 24 Nov 2007
Posts: 86
Location: Canada

PostPosted: Thu Mar 19, 2009 10:27 am    Post subject: Reply with quote

Do you know the version of the ruby cairo library on your system (may be called something like rcairo or libcairo-ruby)? Versions prior to 1.6.3 have a segmentation fault bug during garbage collection.
Back to top
View user's profile Send private message Send e-mail
Crimer



Joined: 15 Mar 2009
Posts: 6

PostPosted: Sun Mar 22, 2009 5:21 am    Post subject: Reply with quote

If you mean the ruby bindings for cairo,
I have version 1.8.0 installed.

./IO/Serialize.rb:165: [BUG] object allocation during garbage collection phase
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux]
:(
Back to top
View user's profile Send private message
Nathaniel
OpenFracas Developer


Joined: 24 Nov 2007
Posts: 86
Location: Canada

PostPosted: Tue Mar 24, 2009 8:32 pm    Post subject: Reply with quote

So, if you generate maps, nothing bad happens and you are able to get to the actual gameplay portion, but if you try and open one, it crashes right away? Is that correct?
Back to top
View user's profile Send private message Send e-mail
Crimer



Joined: 15 Mar 2009
Posts: 6

PostPosted: Wed Mar 25, 2009 11:02 am    Post subject: Reply with quote

New --> generate, a window appears (not sure which one) for 1sec, then crash.
Open --> selection window appears for 1 sec, then crash.
New --> open , a selection window appears for 1 sec, then crash.

hope this helps :D
Back to top
View user's profile Send private message
Nathaniel
OpenFracas Developer


Joined: 24 Nov 2007
Posts: 86
Location: Canada

PostPosted: Sat Mar 28, 2009 2:13 pm    Post subject: Reply with quote

Thanks, this does help. It sounds like it might be a problem with the map preview widget, so it could be ruby-cairo bug. I'm transitioning the bug reporting to Launchpad, and have copied your report into a bug there at: https://bugs.launchpad.net/openfracas/+bug/350498

Would you be willing to help with further testing? I can't recreate this on my system, but I'd like to try and create a 'dummy' map preview widget at some point, and see if the problem goes away for you.
Back to top
View user's profile Send private message Send e-mail
Crimer



Joined: 15 Mar 2009
Posts: 6

PostPosted: Mon Mar 30, 2009 3:05 pm    Post subject: Reply with quote

Sure I'll help. Posted some more info on Launchpad.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    OpenFracas Forums Forum Index -> Closed: Bug Reports moved to Launchpad All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group