bugGnash - The GNU Flash player - Bugs: bug #15540, Gnash crash with some swf files,...

 
 

bug #15540: Gnash crash with some swf files, on a AMD 64 (Kubuntu Dapper)

Submitted by:  Sylvain Cherrier <scherrier>
Submitted on:  Fri 27 Jan 2006 09:54:15 AM UTC  
 
Category: buildSeverity: 5 - Blocker
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Wed 08 Nov 2006 09:26:25 AM UTC, comment #14:

okay !!
It works..
(with co -r release_0_7_2)

(the game is really awful, i'm sorry for this choice :-( )

Thanks :-)

Sylvain Cherrier <scherrier>
Wed 08 Nov 2006 09:11:55 AM UTC, comment #13:

I just committed an experimental fix for that in HEAD branch, but I already know it will probably not work since the config.h file is bogus (if ./configure summary states you requested SDL gui it should NOT define GUI_GTK).

Anyway please test with head again (cvs update).

When we're done with this (or in parallel) fetch also
the 0.7.2 branch as it is the one that we'd be releasing
shortly. To do su you need to add the -r release_0_7_2 switch
to you 'cvs ... co' command:

cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/sources/gnash co -r release_0_7_2 gnash

Sandro Santilli <strk>
Project MemberIn charge of this item.
Wed 08 Nov 2006 09:08:42 AM UTC, comment #12:

in config.h, line 20 :

/* Use GTK gui toolkit */
#define GUI_GTK 1

Sylvain Cherrier <scherrier>
Wed 08 Nov 2006 09:06:23 AM UTC, comment #11:

Yes i think so...
I get the code using this cvs command...

cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/sources/gnash co gnash

Sylvain Cherrier <scherrier>
Wed 08 Nov 2006 09:05:17 AM UTC, comment #10:

line 27 of Player.cpp in 0.7.2 branch doesn't contain an include statement...
In the HEAD branch it does, but is protected by # ifdef GUI_GTK
so, can you check your config.h file in the builddir directory
for the value of that define ?

Sandro Santilli <strk>
Project MemberIn charge of this item.
Wed 08 Nov 2006 09:02:30 AM UTC, comment #9:

Ok, so you're trying to build SDL/OpenGL but code still
tries to include gtk stuff, which it shouldn't.
I'll look at it now, do you confirm it's the 0.7.2 branch ?

Sandro Santilli <strk>
Project MemberIn charge of this item.
Wed 08 Nov 2006 09:00:48 AM UTC, comment #8:

Here come the config.log file...

Sylvain Cherrier <scherrier>
Wed 08 Nov 2006 08:58:28 AM UTC, comment #7:

./autogen.sh seems olay

./configure also...

I got : -----------------------
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Configurable options are:
Intel 810 LOD bias hack disabled (default). Use --enable-i810-lod-bias to enable.
POSIX Threads support enabled (default)
Web server support disabled (default)
DMalloc support disabled (default). Use --enable-dmalloc to enable.
XML and XMLSocket enabled (default). Use --disable-xml to disable.
Firefox plugin disabled.
Konqueror plugin disabled.
GNOME help disabled (default). Use --enable-ghelp to enable.
Unit testing support disabled
Renderer engine: opengl
GUI: sdl
Sound handler: none

Configured paths for x86_64-unknown-linux-gnu are:
DocBook document processing disabled (default)
XML flags are: -I/usr/include/libxml2
XML libs are: -lxml2
JPEG flags are: default include path
JPEG libs are: -ljpeg
OpenGL flags are: default include path
OpenGL libs are: -lGL -lGLU
SDL flags are: -I/usr/include/SDL
SDL libs are: -lSDL
POSIX Threads lib is:
BOOST flags are: -I/usr/include
BOOST libs are:
sylvain@lns-p19-27f-81-56-187-136:~/gnash/gnash$

-----------------------------

With make, i get an error :
In file included from Player.cpp:27:
gtksup.h:30:22: error: gdk/gdkx.h: No such file or directory
gtksup.h:31:21: error: gtk/gtk.h: No such file or directory
gtksup.h:34:23: error: gtk/gtkgl.h: No such file or directory
gtk_glue.h:34: error: 'GtkWidget' has not been declared
gtk_glue.h:40: error: 'GtkWidget' has not been declared
gtk_glue.h:41: error: 'GdkEventConfigure' has not been declared
[...]
gtksup.h:139: error: ISO C++ forbids declaration of 'GdkGLConfig' with no type
gtksup.h:139: error: expected ';' before '*' token
gtksup.h:144: error: 'guint' has not been declared
make[3]: *** [Player.lo] Error 1
make[3]: Leaving directory `/home/sylvain/gnash/gnash/gui'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/sylvain/gnash/gnash/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sylvain/gnash/gnash'
make: *** [all] Error 2

...

I send config.log file by mail...

Thanks...

Sylvain Cherrier <scherrier>
Wed 08 Nov 2006 08:46:00 AM UTC, comment #6:

can you attach the config.log file ?
It seems it didn't properly detect GTK (or the fact that you don't have it).
Also, make sure you run ./autogen.sh and ./configure again
after the update.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Wed 08 Nov 2006 08:38:38 AM UTC, comment #5:

Well, sorry, it daesn't work for me...
I have a Make error.. :-(

---------------------------
In file included from Player.cpp:27:
gtksup.h:30:22: error: gdk/gdkx.h: No such file or directory
gtksup.h:31:21: error: gtk/gtk.h: No such file or directory
gtksup.h:34:23: error: gtk/gtkgl.h: No such file or directory
gtk_glue.h:34: error: 'GtkWidget' has not been declared
gtk_glue.h:40: error: 'GtkWidget' has not been declared
gtk_glue.h:41: error: 'GdkEventConfigure' has not been declared
gtk_glue.h:43: error: ISO C++ forbids declaration of 'GtkWidget' with no type
gtk_glue.h:43: error: expected ';' before '*' token
gtk_glue_gtkglext.h:47: error: 'GtkWidget' has not been declared
gtk_glue_gtkglext.h:51: error: 'GtkWidget' has not been declared
gtk_glue_gtkglext.h:51: error: 'GdkEventConfigure' has not been declared
gtk_glue_gtkglext.h:53: error: ISO C++ forbids declaration of 'GdkGLConfig' with no type
gtk_glue_gtkglext.h:53: error: expected ';' before '*' token
gtk_glue_gtkglext.h:50: warning: unused parameter 'minx'
gtk_glue_gtkglext.h:50: warning: unused parameter 'miny'
gtk_glue_gtkglext.h:50: warning: unused parameter 'maxx'
gtk_glue_gtkglext.h:50: warning: unused parameter 'maxy'
gtksup.h:70: error: 'GtkMenuItem' has not been declared
gtksup.h:71: error: 'gpointer' has not been declared
gtksup.h:72: error: 'GtkMenuItem' has not been declared
gtksup.h:73: error: 'gpointer' has not been declared
gtksup.h:74: error: 'GtkMenuItem' has not been declared
gtksup.h:75: error: 'gpointer' has not been declared
gtksup.h:76: error: 'GtkMenuItem' has not been declared
gtksup.h:77: error: 'gpointer' has not been declared
gtksup.h:78: error: 'GtkMenuItem' has not been declared
gtksup.h:79: error: 'gpointer' has not been declared
gtksup.h:80: error: 'GtkMenuItem' has not been declared
gtksup.h:81: error: 'gpointer' has not been declared
gtksup.h:82: error: 'GtkMenuItem' has not been declared
gtksup.h:83: error: 'gpointer' has not been declared
gtksup.h:84: error: 'GtkMenuItem' has not been declared
gtksup.h:85: error: 'gpointer' has not been declared
gtksup.h:86: error: 'GtkMenuItem' has not been declared
gtksup.h:87: error: 'gpointer' has not been declared
gtksup.h:88: error: 'GtkMenuItem' has not been declared
gtksup.h:89: error: 'gpointer' has not been declared
gtksup.h:92: error: 'gboolean' does not name a type
gtksup.h:94: error: 'gboolean' does not name a type
gtksup.h:96: error: 'gboolean' does not name a type
gtksup.h:98: error: 'gboolean' does not name a type
gtksup.h:100: error: 'gboolean' does not name a type
gtksup.h:102: error: 'gboolean' does not name a type
gtksup.h:104: error: 'gboolean' does not name a type
gtksup.h:106: error: 'gboolean' does not name a type
gtksup.h:108: error: 'gboolean' does not name a type
gtksup.h:110: error: 'gboolean' does not name a type
gtksup.h:112: error: 'gint' does not name a type
gtksup.h:114: error: expected ',' or '...' before '*' token
gtksup.h:114: error: ISO C++ forbids declaration of 'gchar' with no type
gtksup.h:116: error: ISO C++ forbids declaration of 'gchar' with no type
gtksup.h:116: error: expected ';' before '*' token
gtksup.h:118: error: ISO C++ forbids declaration of 'GdkPixbuf' with no type
gtksup.h:118: error: expected ';' before '*' token
gtksup.h:125: error: ISO C++ forbids declaration of 'GtkWidget' with no type
gtksup.h:125: error: expected ';' before '*' token
gtksup.h:126: error: ISO C++ forbids declaration of 'GdkPixbuf' with no type
gtksup.h:126: error: expected ';' before '*' token
gtksup.h:127: error: ISO C++ forbids declaration of 'GtkWidget' with no type
gtksup.h:127: error: expected ';' before '*' token
gtksup.h:128: error: ISO C++ forbids declaration of 'GtkMenu' with no type
gtksup.h:128: error: expected ';' before '*' token
gtksup.h:139: error: ISO C++ forbids declaration of 'GdkGLConfig' with no type
gtksup.h:139: error: expected ';' before '*' token
gtksup.h:144: error: 'guint' has not been declared
make[3]: *** [Player.lo] Error 1
make[3]: Leaving directory `/home/sylvain/gnash/gnash/gui'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/sylvain/gnash/gnash/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sylvain/gnash/gnash'
make: *** [all] Error 2
-----

Also another error, i need to use --disable-xml, because it makes an error also...

I've tried to compile firefox plugins (it seems to work, i get a binary)...
But, i have a blank screen when i'm using it in firefox...

I think there's a package missing, but i can't find which one (autogen and configure are okay)

Thanks for your work..
Cheers

Sylvain Cherrier <scherrier>
Sun 05 Nov 2006 10:03:22 PM UTC, comment #4:

With current 0.7.2 branch the game is even playable it seems...
(I'm using gtk/agg). Could you guys try there ?

Sandro Santilli <strk>
Project MemberIn charge of this item.
Wed 15 Mar 2006 10:35:09 PM UTC, comment #3:

On me AMD64 Gentoo 64bit work but
ERROR: error: call_method can't find method hitTest for object N5gnash15sprite_instanceE (0x9dc9a0)
and not controls.

Uriy Zhuravlev <stalkerg>
Tue 31 Jan 2006 03:10:20 PM UTC, comment #2:

I think its not an AMD64 Bug, cause I dint get any Segfault on Gentoo AMD64, but the Charakter doesnt move here too...

Anonymous
Mon 30 Jan 2006 04:23:47 PM UTC, comment #1:

Interesting. On a 32 bit system this actually plays, but I see two big problems with it, although it doesn't seem to generate any Gnash errors. The bomber character doesn't move, nor does clicking on him do anything.

Rob Savoye <rsavoye>
Project Administrator
Fri 27 Jan 2006 09:54:15 AM UTC, original submission:

Hi, thanks for your work, making possible to have some flash animations with Free Software...
Just to help, i send you some examples where gnash crash, when i go on theses sites with firefox (64 bits)...
(in facts, i've search examples on the web, to find out if it was a gnash problem that make firefox crashed)

Segmentation fault :
http://funcop.net/bombgame.swf

I tested swfplayer also (under kubuntu dapper AMD 64 again) and it crashed...

I join the swf file, for you to test... and i hope it helps you improve gnash...

Sylvain Cherrier <scherrier>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #11185:  config.log.gz added by scherrier (22KiB - application/x-gzip - config.log file)
file #2138:  bombgame.swf added by scherrier (174KiB - application/x-shockwave-flash - an example on a swf not working)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 16 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 08 Nov 2006 09:42:57 AM UTCstrkStatusIn Progress=>Fixed
  Open/ClosedOpen=>Closed
Wed 08 Nov 2006 09:02:30 AM UTCstrkSeverity4 - Important=>5 - Blocker
  StatusNeed Info=>In Progress
  Assigned torsavoye=>strk
  Carbon-Copy-=>Added bjacques
Wed 08 Nov 2006 09:00:48 AM UTCscherrierAttached File-=>Added config.log.gz, #11185
Wed 08 Nov 2006 08:46:00 AM UTCstrkCategoryNone=>build
  Severity3 - Normal=>4 - Important
  StatusReady For Test=>Need Info
  Assigned tostrk=>rsavoye
Sun 05 Nov 2006 10:03:22 PM UTCstrkStatusConfirmed=>Ready For Test
  Assigned torsavoye=>strk
Mon 30 Jan 2006 04:23:47 PM UTCrsavoyeStatusNone=>Confirmed
  Assigned toNone=>rsavoye
Fri 27 Jan 2006 09:54:16 AM UTCscherrierAttached File-=>Added bombgame.swf, #3320

Back to the top


Powered by Savane 3.1-cleanup1