Created
December 19, 2011 21:17
-
-
Save romac/1498914 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Desktop/alone (master) $ ./alone | |
[Mon Dec 19 22:17:17 2011] [INFO] [Input] Input system initialized | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/health.svg (size 23x23) | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/score.svg (size 23x23) | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/bloodScreen.svg (size 1920x1080) | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [LevelLoader] Loading json assets/levels/full1.json! | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/movingObj_Full.svg (size 400x400) | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/sign.svg (size 156x163) | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/Vacuum.svg (size 164x126) | |
[Mon Dec 19 22:17:17 2011] [DEBUG] [LevelLoader] Level 'Welcome to hell', by 'Amos Wenger' | |
[Mon Dec 19 22:17:18 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/fond1.svg (size 1872x1324) | |
[Mon Dec 19 22:17:18 2011] [INFO] [LevelLoader] Hero starting at position (1403.00, 605.20) | |
[Mon Dec 19 22:17:18 2011] [INFO] [LevelLoader] Got swarm of 8 at (400.00, 50.00) in a radius of 100.00 | |
[Mon Dec 19 22:17:18 2011] [INFO] [LevelLoader] Got vacuum at (4447.00, 2159.20) | |
[Mon Dec 19 22:17:18 2011] [INFO] [LevelLoader] Got vacuum at (3176.00, 1982.20) | |
[Mon Dec 19 22:17:18 2011] [INFO] [LevelLoader] Got vacuum at (2334.00, 1744.20) | |
[Mon Dec 19 22:17:18 2011] [INFO] [LevelLoader] Got vacuum at (1312.04, 1177.20) | |
[Mon Dec 19 22:17:18 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/level1.svg (size 5891x2879) | |
Segmentation fault: 11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program received signal EXC_BAD_ACCESS, Could not access memory. | |
Reason: 13 at address: 0x0000000000000000 | |
0x0000000100b45a01 in _pixman_image_get_scanline_64 () | |
(gdb) backtrace | |
#0 0x0000000100b45a01 in _pixman_image_get_scanline_64 () | |
#1 0x0000000100b598d0 in pixman_image_composite32 () | |
#2 0x00000001001945f4 in _composite_mask () | |
#3 0x00000001001966af in _clip_and_composite () | |
#4 0x0000000100192144 in _cairo_image_surface_mask () | |
#5 0x0000000100db0e84 in _cairo_surface_mask () | |
#6 0xf000000000000000 in ?? () | |
(gdb) x 0x0000000100b45a01 | |
0x100b45a01 <_pixman_image_get_scanline_64+12>: 0x4855e0ff |
$ gdb --args ./alone
[...]
[Mon Dec 19 22:56:18 2011] [INFO] [Input] Input system initialized
[Mon Dec 19 22:56:18 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/health.svg (size 23x23)
[Mon Dec 19 22:56:18 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/score.svg (size 23x23)
[Mon Dec 19 22:56:19 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/bloodScreen.svg (size 1920x1080)
[Mon Dec 19 22:56:19 2011] [DEBUG] [LevelLoader] Loading json assets/levels/empty.json!
[Mon Dec 19 22:56:19 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/fusee.svg (size 200x400)
[Mon Dec 19 22:56:19 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/movingObj_Full.svg (size 400x400)
[Mon Dec 19 22:56:19 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/sign.svg (size 156x163)
[Mon Dec 19 22:56:19 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/Vacuum.svg (size 164x126)
[Mon Dec 19 22:56:19 2011] [DEBUG] [LevelLoader] Level 'Welcome to hell', by 'Amos Wenger'
[Mon Dec 19 22:56:19 2011] [DEBUG] [Sprite] Loaded svg asset assets/svg/fond1.svg (size 1872x1324)
[Mon Dec 19 22:56:19 2011] [INFO] [LevelLoader] Hero starting at position (0.00, 0.00)
alone(67788) malloc: *** error for object 0x100e381a0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Program received signal SIGABRT, Aborted.
0x00007fff8f0b882a in __kill ()
(gdb) backtrace
#0 0x00007fff8f0b882a in __kill ()
#1 0x00007fff8b80ca9c in abort ()
#2 0x00007fff8b86b84c in free ()
#3 0x000000010000265f in ui_MainUI__MainUI_draw_impl (this=0x100fb7e60) at MainUI.ooc:196
#4 0x0000000100002f63 in ui_MainUI__MainUI_draw (this=0x100fb7e60) at MainUI.ooc:291
#5 0x0000000100003868 in ui_MainUI____ui_MainUI_closure781 (this=0x100fb7e60) at MainUI.ooc:59
#6 0x000000010000388b in ui_MainUI____ui_MainUI_closure781_thunk (__context__=0x100f9dca0) at MainUI.ooc:59
#7 0x00000001002f9faf in _gtk_marshal_BOOLEAN__BOXED ()
#8 0x0000000100992e9b in g_closure_invoke ()
#9 0x000000010099e85e in signal_emit_unlocked_R ()
#10 0x000000010099f4d4 in g_signal_emit_valist ()
#11 0x000000010099fa34 in g_signal_emit ()
#12 0x00000001003ecb56 in gtk_widget_event_internal ()
#13 0x00000001002f85af in gtk_main_do_event ()
#14 0x0000000100653391 in _gdk_window_process_updates_recurse ()
#15 0x0000000100652473 in gdk_window_process_updates_internal ()
#16 0x000000010065287c in gdk_window_process_all_updates ()
#17 0x0000000100649569 in gdk_window_update_idle ()
#18 0x0000000100631328 in gdk_threads_dispatch ()
#19 0x0000000100a01585 in g_main_context_dispatch ()
#20 0x0000000100a036d7 in g_main_context_iterate ()
#21 0x0000000100a04aa2 in g_main_loop_run ()
#22 0x00000001002f8830 in gtk_main ()
#23 0x00000001000025b1 in ui_MainUI__MainUI_run_impl (this=0x100fb7e60) at MainUI.ooc:184
#24 0x0000000100002f03 in ui_MainUI__MainUI_run (this=0x100fb7e60) at MainUI.ooc:283
#25 0x000000010000ff98 in game_Engine__Engine_init (this=0x100f91b10, config=0x100fa91e0) at Engine.c:29
#26 0x000000010001010e in game_Engine__Engine_new (config=0x100fa91e0) at Engine.ooc:18
#27 0x000000010000116e in main () at alone.c:24
@nddrylliog: Sure, that's what https://twitter.com/_romac/status/148875063477796864 was about ;) It's just I can't wait to play the game :P
Commented cr destroy()
in source/ui/MainUI.ooc:196
and now it successfully launch, display the window, then I die, then my computer freeze (likely because it runs out of memory). But at least I've been able to play the game for 0.5s, awesome! :)
Yay!
On Mon, Dec 19, 2011 at 11:04 PM, Romain Ruetschi < ***@***.*** > wrote:
Commented `cr destroy()` in `source/ui/MainUI.ooc:196` and now it
successfully launch, display the window, then I die, then my computer
freeze because it got no more memory. But at least I've been able to play
the game for 0.5s, awesome! :)
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1498914
##
Amos Wenger
Crafting the future of Web Audio at ofmlabs.org
I'm @nddrylliog https://github.com/nddrylliog on GitHub
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
:/ We can troubleshoot after the deadline (ports are okay after the deadline) I really have to concentrate on gameplay right now, sorrey