gnash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash] Gnash ... black screen if --enable-pthreads not specified


From: GrdScarabe
Subject: [Gnash] Gnash ... black screen if --enable-pthreads not specified
Date: Thu, 12 Jan 2006 02:10:19 -0500
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051208)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, after compiling gnash I have tried several files and all result in a
black screen.

I have checked the file with gparser and this one seems to understand
the file perfectly as it displays information that seems ok.

When I launch gnash with gdb, I obtain that :

(gdb) run
Starting program:
/home/grdscarabe/Developpement/amsn/plugin-winks/bin/gnash
Creative_Commons_-_Remix_Culture.swf
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 29296)]
[New Thread 32769 (LWP 29299)]
[New Thread 16386 (LWP 29300)]
[New Thread 32771 (LWP 29301)]

... I still have the black screen ... but nothing move ... it seems that
the application hangs !

I finally run it with strace to obtain informations :
I obtain a lot of : _llseek(9, 7101601, [7101601], SEEK_SET) = 0 ; I
don't know if it is normal or not.
The application finally hangs on :

read(8, "\5\0\0\0", 4)                  = 4
writev(8, [{"\216\1\25\0\1\0\0\0", 8},
{"\f\0\25\20\341\r\0\0\5\0\0\0\20\0k\0\341\r\0\0\2(\0\0/"..., 76}], 2) = 84
writev(8, [{"\216\2\23\0\1\0\0\0\1\0\2\0<\0\0\0<\0\1\0n\0\0\0\0\0\0"...,
92}, {"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
65536}], 2) = 65628
writev(8,
[{"\216\2\23\0\1\0\0\0\1\0\2\0<\0\0\0<@\0\0n\0\0\0\0\0\0\0"..., 92},
{"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 16384}],
2) = 16476
brk(0x88de000)                          = 0x88de000
brk(0x88d1000)                          = 0x88d1000
brk(0x88cd000)                          = 0x88cd000
munmap(0xb70dd000, 151552)              = 0
gettimeofday({1137046995, 512299}, NULL) = 0
gettimeofday({1137046995, 512358}, NULL) = 0

The shortkeys CTRL+Q and others do not work and I have to kill the program.
My configuration :
$ uname -a
Linux scarablaptop 2.6.14-gentoo-r4 #2 SMP PREEMPT Wed Dec 14 12:01:05
EST 2005 i686 Intel(R) Pentium(R) M processor 1.50GHz GenuineIntel GNU/Linux
$ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/specs
Configured with: /var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/configure
- --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.5
- --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include
- --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5
- --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man
- --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/info
- --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/g++-v3
- --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
- --enable-nls --without-included-gettext --with-system-zlib
- --disable-checking --disable-werror --disable-libunwind-exceptions
- --disable-multilib --disable-libmudflap --disable-libgcj
- --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix
- --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)

I have tried with several files, including some of the directory
testsuite but they all do the same things (exactly). I guess the
programm read the begining of the swf file as the window has the good
size, but I don't know what happen then !

Adding the configure option --enable-pthreads fix the problem. Sorry to
bother you with this long message, but it is just in case that it is
something not expected ...

GrdScarabe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDxgDbPmfsnt4Id3wRAjAKAKDjePfhjJAoEnmJZY46bREoTcWp4ACg1Hat
ZJ7SwikYWRei7y0pOE3ldjg=
=oOOg
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]