Thu 15 May 2008 04:32:41 PM UTC, comment #5:
Sorry strk, the bug is still there.
It seems the "leak while moving pointer" is solved, but when
the game over text appears the big leak is still there... (and
eats all the CPU it can get).
Here's the test:
Just run, waiting to press "start game" button.
jo@debianmbp:/usr/local/jboss-3.2.8-caib5/server/default/deploycaib$ date ; ps aux|grep gnash
dj mai 15 18:20:09 CEST 2008
jo 13448 3.2 2.1 288444 22260 pts/1 S+ 18:20 0:00 /usr/local/bin/gtk-gnash ../swftest/curveball-game.swf
jo 13455 0.0 0.0 8604 816 pts/6 S+ 18:20 0:00 grep gnash
I loose one ball
jo@debianmbp:/usr/local/jboss-3.2.8-caib5/server/default/deploycaib$ date ; ps aux|grep gnash
dj mai 15 18:20:37 CEST 2008
jo 13448 3.2 2.4 353500 25152 pts/1 SLl+ 18:20 0:01 /usr/local/bin/gtk-gnash ../swftest/curveball-game.swf
jo 13479 0.0 0.0 8604 804 pts/6 R+ 18:20 0:00 grep gnash
I loose one ball
jo@debianmbp:/usr/local/jboss-3.2.8-caib5/server/default/deploycaib$ date ; ps aux|grep gnash
dj mai 15 18:20:48 CEST 2008
jo 13448 4.5 2.5 353896 25472 pts/1 SLl+ 18:20 0:02 /usr/local/bin/gtk-gnash ../swftest/curveball-game.swf
jo 13484 0.0 0.0 8604 808 pts/6 R+ 18:20 0:00 grep gnash
I loose one ball
jo@debianmbp:/usr/local/jboss-3.2.8-caib5/server/default/deploycaib$ date ; ps aux|grep gnash
dj mai 15 18:21:00 CEST 2008
jo 13448 5.5 2.5 354176 25652 pts/1 SLl+ 18:20 0:03 /usr/local/bin/gtk-gnash ../swftest/curveball-game.swf
jo 13491 0.0 0.0 8604 804 pts/6 R+ 18:21 0:00 grep gnash
I loose one ball
jo@debianmbp:/usr/local/jboss-3.2.8-caib5/server/default/deploycaib$ date ; ps aux|grep gnash
dj mai 15 18:21:10 CEST 2008
jo 13448 6.1 2.5 354340 25816 pts/1 SLl+ 18:20 0:04 /usr/local/bin/gtk-gnash ../swftest/curveball-game.swf
jo 13496 0.0 0.0 8604 804 pts/6 R+ 18:21 0:00 grep gnash
I loose one ball
jo@debianmbp:/usr/local/jboss-3.2.8-caib5/server/default/deploycaib$ date ; ps aux|grep gnash
dj mai 15 18:21:22 CEST 2008
jo 13448 6.9 3.0 359604 31100 pts/1 SLl+ 18:20 0:05 /usr/local/bin/gtk-gnash ../swftest/curveball-game.swf
jo 13501 0.0 0.0 8604 800 pts/6 R+ 18:21 0:00 grep gnash
After game over and letting the game over on screen (BTW, if I remember right, with prior versions I could
click and start again... but now I click and nothing happens...)
jo@debianmbp:/usr/local/jboss-3.2.8-caib5/server/default/deploycaib$ date ; ps aux|grep gnash
dj mai 15 18:21:47 CEST 2008
jo 13448 22.7 9.9 428992 100484 pts/1 RLl+ 18:20 0:24 /usr/local/bin/gtk-gnash ../swftest/curveball-game.swf
jo 13509 0.0 0.0 8604 812 pts/6 S+ 18:21 0:00 grep gnash
jo@debianmbp:/usr/local/jboss-3.2.8-caib5/server/default/deploycaib$ date ; ps aux|grep gnash
dj mai 15 18:22:12 CEST 2008
jo 13448 37.6 14.1 472360 143852 pts/1 RLl+ 18:20 0:49 /usr/local/bin/gtk-gnash ../swftest/curveball-game.swf
jo 13522 0.0 0.0 8604 796 pts/6 R+ 18:22 0:00 grep gnash
jo@debianmbp:/usr/local/jboss-3.2.8-caib5/server/default/deploycaib$ date ; ps aux|grep gnash
dj mai 15 18:22:25 CEST 2008
jo 13448 43.3 15.8 489564 161060 pts/1 RLl+ 18:20 1:02 /usr/local/bin/gtk-gnash ../swftest/curveball-game.swf
jo 13532 0.0 0.0 8604 796 pts/6 R+ 18:22 0:00 grep gnash
Here's the log:
jo@debianmbp:~/gnash$ gnash ../swftest/curveball-game.swf
13448] 18:20:02: Timer delay set to 50 milliseconds
13448] 18:20:02: DEBUG: gnash::media::sound_handler* gnash::media::create_sound_handler_gst() enter
13448] 18:20:02: Checking support for MIT-SHM...
13448] 18:20:02: NOTICE: MIT-SHM available (version 1.1)!
13448] 18:20:02: Your X server expects RGB24 pixmap data for standard mode.
13448] 18:20:02: Created top level window
13448] 18:20:02: X server pixel format is (R16:8, G8:8, B0:8, 32 bpp)
13448] 18:20:02: X server is using BGRA32 pixel format
13448] 18:20:02: framebuffer pixel format is BGRA32 (little-endian host)
13448] 18:20:02: DEBUG: Base url set to: file:///home/jo/swftest/curveball-game.swf
13448] 18:20:02: DEBUG: /home/jo/swftest/ appended to local sandboxes
13448] 18:20:02: DEBUG: /home/jo/swftest/curveball-game.swf appended to local sandboxes
13448] 18:20:02: SECURITY: Load of file /home/jo/swftest/curveball-game.swf granted (under local sandbox /home/jo/swftest/).
13448] 18:20:02: Movie file:///home/jo/swftest/curveball-game.swf (SWF5) added to library
13448] 18:20:02: GTK-AGG: Using shared memory image
13448] 18:20:02: initialized AGG buffer <0x2b5b900ca000>, 350000 bytes, 350x250, rowsize is 1400 bytes
13448] 18:20:02: UNIMPLEMENTED: MP3 delay seek 1661
13448] 18:20:02: UNIMPLEMENTED: MP3 delay seek 1661
13448] 18:20:02: UNIMPLEMENTED: MP3 delay seek 1661
13448] 18:20:02: UNIMPLEMENTED: MP3 delay seek 1661
13448] 18:20:02: UNIMPLEMENTED: MP3 delay seek 1661
13448] 18:20:02: UNIMPLEMENTED: Different stream/playback sound rate (5512/11025). This seems common in SWF files, so we'll warn only once.
13448] 18:20:02: UNIMPLEMENTED: Different stream/playback sample size (32/16). This seems common in SWF files, so we'll warn only once.
13448] 18:20:02: ERROR: No samples advertised for sound stream
13448] 18:20:02: ERROR: No samples advertised for sound stream
13448] 18:20:02: ERROR: No samples advertised for sound stream
13448] 18:20:02: DEBUG: Sprite _level0.bounds (depth -16383) won't check for user-defined LOAD event (is not dynamic, has a parent, no registered class and no clip events defined)
13448] 18:20:02: DEBUG: Global instance list grew to 2 entries
13448] 18:20:02: ERROR: No samples advertised for sound stream
13448] 18:20:02: ERROR: No samples advertised for sound stream
13448] 18:20:02: ERROR: No samples advertised for sound stream
13448] 18:20:02: ERROR: No samples advertised for sound stream
13448] 18:20:02: GTK-AGG: Using shared memory image
13448] 18:20:02: initialized AGG buffer <0x2aaab17f1000>, 6680 bytes, 334x5, rowsize is 1336 bytes
13448] 18:20:02: ERROR: No samples advertised for sound stream
13448] 18:20:02: ERROR: No samples advertised for sound stream
13448] 18:20:02: GTK-AGG: Using shared memory image
13448] 18:20:02: initialized AGG buffer <0x2aaab17f3000>, 350000 bytes, 350x250, rowsize is 1400 bytes
13448] 18:20:02: ERROR: No samples advertised for sound stream
13448] 18:20:28: DEBUG: Global instance list grew to 3 entries
13448] 18:20:30: DEBUG: Sprite _level0.bonus (depth -16362) won't check for user-defined LOAD event (is not dynamic, has a parent, no registered class and no clip events defined)
13448] 18:20:30: DEBUG: Sprite _level0.enemyLives (depth -16357) won't check for user-defined LOAD event (is not dynamic, has a parent, no registered class and no clip events defined)
13448] 18:20:30: DEBUG: Sprite _level0.playerLives (depth -16351) won't check for user-defined LOAD event (is not dynamic, has a parent, no registered class and no clip events defined)
13448] 18:20:30: DEBUG: Global instance list grew to 6 entries
13448] 18:20:30: DEBUG: Global instance list grew to 7 entries
13448] 18:20:30: DEBUG: Global instance list grew to 9 entries
13448] 18:20:35: DEBUG: Target of action_buffer (_level0.instance40 of type gnash::sprite_instance) unloaded by execution of opcode:
PC:391 - EX: SetTarget ("")
Discarding 1 bytes of remaining opcodes:
PC:395 - EX: <End>
13448] 18:20:47: DEBUG: Target of action_buffer (_level0.instance80 of type gnash::sprite_instance) unloaded by execution of opcode:
PC:391 - EX: SetTarget ("")
Discarding 1 bytes of remaining opcodes:
PC:395 - EX: <End>
13448] 18:20:56: DEBUG: Target of action_buffer (_level0.instance120 of type gnash::sprite_instance) unloaded by execution of opcode:
PC:391 - EX: SetTarget ("")
Discarding 1 bytes of remaining opcodes:
PC:395 - EX: <End>
13448] 18:21:08: DEBUG: Target of action_buffer (_level0.instance160 of type gnash::sprite_instance) unloaded by execution of opcode:
PC:391 - EX: SetTarget ("")
Discarding 1 bytes of remaining opcodes:
PC:395 - EX: <End>
13448] 18:21:20: DEBUG: Target of action_buffer (_level0.instance200 of type gnash::sprite_instance) unloaded by execution of opcode:
PC:365 - EX: SetTarget ("")
Discarding 27 bytes of remaining opcodes:
PC:369 - EX: ActionBranchAlways ( 21)
PC:374 - EX: ActionPushData (dict_lookup[0])
PC:379 - EX: ActionGetVariable
PC:380 - EX: ActionSetTargetExpression
PC:381 - EX: GotoLabel ("Serve")
PC:390 - EX: Play
PC:391 - EX: SetTarget ("")
PC:395 - EX: <End>
13448] 18:21:20: get url: target=, url=file:///home/jo/swftest/checkscore.php?Score=0&Level=1 (checkscore.php?Score=0&Level=1), method=c0 (sendVars:0, loadTarget:1, loadVariable:1)
13448] 18:21:20: SECURITY: Load of file /home/jo/swftest/checkscore.php granted (under local sandbox /home/jo/swftest/).
13448] 18:21:20: getURL2 loadVariable
13448] 18:21:20: ERROR: get url: target not found
13448] 18:22:32: DEBUG: static gboolean gnash::GtkGui::delete_event(GtkWidget, GdkEvent, void*) enter
Main loop ended, cleaning up
Any segfault past this message is likely due to improper threads cleanup.
|