Subject: Latest Adobe Flush Plugin crashes under NetBSD 4.0_RC3
To: None <port-i386@NetBSD.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: port-i386
Date: 12/04/2007 21:12:26
--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


	Hello,

I've tried to update the "firefox-bin-flash" package to the version that
Adobe released recently (which e.g. supports H.264 video). But it doesn't
work stable unfortunately, a Linux Firefox binary with the plugin crashes
frequently on websites which use Flash. Here is output from "ktrace":

 19694      1 firefox-bin CALL  read(3,0xbfbfd8a4,0x20)
 19694      1 firefox-bin RET   read -1 errno -11 Resource temporarily unavailab
le
 19694      1 firefox-bin CALL  select(4,0xbfbfd790,0,0,0)
 19694      1 firefox-bin RET   select 1
 19694      1 firefox-bin CALL  read(3,0xbfbfd8a4,0x20)
 19694      1 firefox-bin GIO   fd 3 read 32 bytes
       "\^A\^A\M-M\^R\0\0\0\0W\0\0\0\0\0\0\0\M-e\^E\M-}\0\M-e\0r\0\0\0,`\0\^],\
        `"
 19694      1 firefox-bin RET   read 32/0x20
 19694      1 firefox-bin CALL  gettimeofday(0xbfbfd83c,0)
 19694      1 firefox-bin RET   gettimeofday 0
 19694      1 firefox-bin CALL  gettimeofday(0xbfbfcdf8,0)
 19694      1 firefox-bin RET   gettimeofday 0
 19694      1 firefox-bin CALL  gettimeofday(0xbfbfcdb4,0)
 19694      1 firefox-bin RET   gettimeofday 0
 19694      1 firefox-bin CALL  gettimeofday(0xbfbfccf8,0)
 19694      1 firefox-bin RET   gettimeofday 0
 19694      1 firefox-bin CALL  gettimeofday(0xbfbfccb8,0)
 19694      1 firefox-bin RET   gettimeofday 0
 19694      1 firefox-bin PSIG  SIGSEGV caught handler=0xbba23020 mask=(33): code=SEGV_MAPERR, addr=0x0, trap=14)

Any ideas how to debug what is going wrong?

	Kind regards

P.S. I've attached the patch which updates the package.

-- 
Matthias Scheler                                  http://zhadum.org.uk/

--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="firefox-bin-flash.patch"

? ktrace.out
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/www/firefox-bin-flash/Makefile.common,v
retrieving revision 1.19
diff -u -r1.19 Makefile.common
--- Makefile.common	29 Jul 2007 05:19:52 -0000	1.19
+++ Makefile.common	4 Dec 2007 21:07:03 -0000
@@ -23,7 +23,7 @@
 
 SUB=			english/${DISTUNAME}/${FLASH_VERS}
 
-FLASH_VERS=		9.0r48
+FLASH_VERS=		9.0.115.0
 DISTUNAME=		linux
 WRKNAME=		install_flash_player_9_${DISTUNAME}
 
@@ -41,5 +41,4 @@
 
 do-install:
 	${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR}
-	${INSTALL_DATA} ${WRKSRC}/flashplayer.xpt ${NS_PLUGINS_DIR}
 	${INSTALL_DATA} ${WRKSRC}/libflashplayer.so ${NS_PLUGINS_DIR}
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/www/firefox-bin-flash/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- PLIST	10 Feb 2004 12:51:51 -0000	1.1
+++ PLIST	4 Dec 2007 21:07:03 -0000
@@ -1,3 +1,2 @@
 @comment $NetBSD: PLIST,v 1.1 2004/02/10 12:51:51 grant Exp $
-lib/${MOZ_NAME}/plugins/flashplayer.xpt
 lib/${MOZ_NAME}/plugins/libflashplayer.so
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/www/firefox-bin-flash/distinfo,v
retrieving revision 1.9
diff -u -r1.9 distinfo
--- distinfo	29 Jul 2007 05:19:53 -0000	1.9
+++ distinfo	4 Dec 2007 21:07:03 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.9 2007/07/29 05:19:53 jlam Exp $
 
-SHA1 (flash/9.0r48/install_flash_player_9_linux.tar.gz) = 4bba0b81462394388b4509ecdc845f469c95d6ae
-RMD160 (flash/9.0r48/install_flash_player_9_linux.tar.gz) = 4eea521f45fcd42e6916ba61ba299df8694fbc14
-Size (flash/9.0r48/install_flash_player_9_linux.tar.gz) = 2608602 bytes
+SHA1 (flash/9.0.115.0/install_flash_player_9_linux.tar.gz) = 269ebe804f77890687f280ce7bfb79a62d2c5bd3
+RMD160 (flash/9.0.115.0/install_flash_player_9_linux.tar.gz) = e588c81ee6b3f5965561911efa846329b4961912
+Size (flash/9.0.115.0/install_flash_player_9_linux.tar.gz) = 3036127 bytes

--IS0zKkzwUGydFO0o--