Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segementation fault #3

Open
marvi opened this issue Oct 7, 2013 · 1 comment
Open

Segementation fault #3

marvi opened this issue Oct 7, 2013 · 1 comment
Labels

Comments

@marvi
Copy link

marvi commented Oct 7, 2013

Hi,

I get a segfault when clicking "Edit" after adding a planet.
Tell me if you need some more info.

rubypi/view/planet_view/building_drawing_area.rb:179: [BUG] Segmentation fault
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0]

-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
the more detail of.

-- Control frame information -----------------------------------------------
c:0009 p:---- s:0030 e:000029 CFUNC :paint
c:0008 p:0071 s:0027 e:000026 BLOCK /Users/marvi/hacks/Eve Online/rubypi/view/planet_view/building_drawing_area.rb:179 [FINISH]
c:0007 p:---- s:0021 e:000020 CFUNC :save
c:0006 p:0045 s:0018 e:000017 METHOD /Users/marvi/hacks/Eve Online/rubypi/view/planet_view/building_drawing_area.rb:172
c:0005 p:0011 s:0013 e:000012 BLOCK /Users/marvi/hacks/Eve Online/rubypi/view/planet_view/building_drawing_area.rb:72 [FINISH]
c:0004 p:---- s:0009 e:000008 CFUNC :call
c:0003 p:---- s:0007 e:000006 CFUNC :main
c:0002 p:0196 s:0004 E:002458 EVAL ruby_pi.rb:181 [FINISH]
c:0001 p:0000 s:0002 E:0007d8 TOP [FINISH]

@andrewd18
Copy link
Owner

Sorry it took so long to getting around to this.

The issue you're having is a problem with the "cairo_context.paint" method I'm calling on line 179 of planet_view/building_drawing_area.rb. This is a method that comes as part of the Cairo gem.

Can you please check to make sure you have the cairo gem installed? I don't have a Mac to test on so I haven't been able to verify the installation process for OSX.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants