Closed Bug 254397 Opened 20 years ago Closed 17 years ago

Scriptable Flash crashes on Mozilla compiled with GCC [@ nsScriptablePeer::AddRef ]

Categories

(External Software Affecting Firefox Graveyard :: Flash (Adobe), defect)

Sun
SunOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ivan.carminati, Unassigned)

References

()

Details

(Keywords: crash, relnote)

Crash Data

User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; it-IT; rv:1.7) Gecko/20040719 Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; it-IT; rv:1.7) Gecko/20040719 During oper this site mozilla crash. If i remove the flash plugin mozilla works fine. Nome file: libflashplayer.so Shockwave Flash 6.0 r81 This is the end of the truss of the process: open64("/usr1/base/pkgs/mozilla_1.7_sun4_s5/lib/mozilla-1.7/plugins/flashplayer.xpt", O_RDONLY) = 29 9168: read(29, 0x006E4FA8, 856) = 856 9168: X P C O M\n T y p e L i b\r\n1A0102\003\0\003 X\0\0\0 "\0\0\0 u 9168: 80\0\0\0\0\0\0\0\0C0\0\0\0\0\0\0 F\0\0\001\0\0\0\0\0\0\0\0 BB1D5 9168: A4 l +11D680 c\005029BC2 W\0\0\0\r\0\0\0\0\0\0\01AD4 XFE9C Q8C11 9168: D684CB\005029BC2 W\0\0\0 8\0\0\0\0\0\0\0 O n s I S u p p o r t s 9168: \0 F l a s h I O b j e c t\0\001\001\0\0\0\0 /028090 `92\002\006 9168: \0\080 e v a l u a t e\0 F l a s h I S c r i p t a b l e P l u g 9168: i n\0\001\01E\0\0\001A601 `\n\006\0\0\001B0\0\006\0\0\001B5\0\0 9168: 06\0\0\001BE01 `02\006\0\0\001CA01 `02\006\0\0\001D7018002\006\0 9168: \0\001E1\0\006\0\0\001E8\0\006\0\0\001ED\0\006\0\0\001F503800280 9168: 028002\006\0\0\001F901 `02\006\0\0\00207028002 `\n\006\0\0\00213 9168: 01 `02\006\0\0\002 018002\006\0\0\002 %048002800280028002\006\0 9168: \0\002 10280028091\006\0\0\002 ;0280918002\006\0\0\002 F02809180 9168: 91\006\0\0\002 Q028091 `02\006\0\0\002 _028091 `91\006\0\0\002 m 9168: 018091\006\0\0\002 s018091\006\0\0\002 }0280918091\006\0\0\00289 9168: 028091 `91\006\0\0\0029503809180028091\006\0\0\002A20380918002 ` 9168: 91\006\0\0\002AF0380918002 `\t\006\0\0\002C40280918091\006\0\0\0 9168: 02CF0280918002\006\0\0\002DA028092\0028002\006\0\080 I s P l a y 9168: i n g\0 P l a y\0 S t o p P l a y\0 T o t a l F r a m e s\0 C u 9168: r r e n t F r a m e\0 G o t o F r a m e\0 R e w i n d\0 B a c k 9168: \0 F o r w a r d\0 P a n\0 P e r c e n t L o a d e d\0 F r a m e 9168: L o a d e d\0 F l a s h V e r s i o n\0 Z o o m\0 S e t Z o o m 9168: R e c t\0 L o a d M o v i e\0 T G o t o F r a m e\0 T G o t o L 9168: a b e l\0 T C u r r e n t F r a m e\0 T C u r r e n t L a b e l 9168: \0 T P l a y\0 T S t o p P l a y\0 S e t V a r i a b l e\0 G e t 9168: V a r i a b l e\0 T S e t P r o p e r t y\0 T G e t P r o p e r 9168: t y\0 T G e t P r o p e r t y A s N u m b e r\0 T C a l l L a b 9168: e l\0 T C a l l F r a m e\0 S e t W i n d o w\0 9168: poll(0xFDD018D0, 2, -1) = 1 9168: fd=7 ev=POLLIN rev=0 9168: fd=33 ev=POLLIN|POLLPRI rev=POLLIN 9168: read(33, 0x009A7BA4, 4096) = 1479 9168: H T T P / 1 . 0 4 0 3 F o r b i d d e n\r\n S e r v e r : 9168: s q u i d / 2 . 5 . S T A B L E 1 - 2 0 0 3 0 2 2 8\r\n M i m e 9168: - V e r s i o n : 1 . 0\r\n D a t e : W e d , 0 4 A u g 9168: 2 0 0 4 1 7 : 5 4 : 0 6 G M T\r\n C o n t e n t - T y p e 9168: : t e x t / h t m l\r\n C o n t e n t - L e n g t h : 1 1 7 9168: 4\r\n E x p i r e s : W e d , 0 4 A u g 2 0 0 4 1 7 : 9168: 5 4 : 0 6 G M T\r\n X - S q u i d - E r r o r : E R R _ A C 9168: C E S S _ D E N I E D 0\r\n X - C a c h e : M I S S f r o 9168: m p r o x y 1 . b p b . i t\r\n P r o x y - C o n n e c t i o 9168: n : k e e p - a l i v e\r\n\r\n < ! D O C T Y P E H T M L 9168: P U B L I C " - / / W 3 C / / D T D H T M L 4 . 0 1 T r 9168: a n s i t i o n a l / / E N " " h t t p : / / w w w . w 3 . o 9168: r g / T R / h t m l 4 / l o o s e . d t d " >\n < H T M L > < H 9168: E A D > < M E T A H T T P - E Q U I V = " C o n t e n t - T y 9168: p e " C O N T E N T = " t e x t / h t m l ; c h a r s e t = 9168: i s o - 8 8 5 9 - 1 " >\n < T I T L E > E R R O R : T h e r 9168: e q u e s t e d U R L c o u l d n o t b e r e t r i e 9168: v e d < / T I T L E >\n < S T Y L E t y p e = " t e x t / c s 9168: s " > < ! - - B O D Y { b a c k g r o u n d - c o l o r : # f f 9168: f f f f ; f o n t - f a m i l y : v e r d a n a , s a n s - s e 9168: r i f } P R E { f o n t - f a m i l y : s a n s - s e r i f } - 9168: - > < / S T Y L E >\n < / H E A D > < B O D Y >\n < H 1 > E R R 9168: O R < / H 1 >\n < H 2 > T h e r e q u e s t e d U R L c o 9168: u l d n o t b e r e t r i e v e d < / H 2 >\n < H R n o 9168: s h a d e s i z e = " 1 p x " >\n < P >\n W h i l e t r y i 9168: n g t o r e t r i e v e t h e U R L :\n < A H R E F = 9168: " h t t p : / / a d v - b a n n e r . l i b e r o . i t / b a n 9168: n e r s / f l a s h / C 4 9 4 3 / l i b e r o _ 6 4 0 s u m m e 9168: r _ 4 6 8 x 1 2 0 . s w f " > h t t p : / / a d v - b a n n e r 9168: . l i b e r o . i t / b a n n e r s / f l a s h / C 4 9 4 3 / l 9168: i b e r o _ 6 4 0 s u m m e r _ 4 6 8 x 1 2 0 . s w f < / A >\n 9168: < P >\n T h e f o l l o w i n g e r r o r w a s e n c o 9168: u n t e r e d :\n < U L >\n < L I >\n < S T R O N G >\n A c c e 9168: s s D e n i e d .\n < / S T R O N G >\n < P >\n A c c e s s 9168: c o n t r o l c o n f i g u r a t i o n p r e v e n t s y 9168: o u r r e q u e s t f r o m\n b e i n g a l l o w e d a 9168: t t h i s t i m e . P l e a s e c o n t a c t y o u 9168: r s e r v i c e p r o v i d e r i f\n y o u f e e l t 9168: h i s i s i n c o r r e c t .\n < / U L >\n < P > Y o u r 9168: c a c h e a d m i n i s t r a t o r i s < A H R E F = " 9168: m a i l t o : w e b m a s t e r " > w e b m a s t e r < / A > . 9168: \n\n\n < B R c l e a r = " a l l " >\n < H R n o s h a d e 9168: s i z e = " 1 p x " >\n < A D D R E S S >\n G e n e r a t e d 9168: W e d , 0 4 A u g 2 0 0 4 1 7 : 5 4 : 0 6 G M T b 9168: y p r o x y 1 . b p b . i t ( s q u i d / 2 . 5 . S T A B L 9168: E 1 - 2 0 0 3 0 2 2 8 )\n < / A D D R E S S >\n < / B O D Y > < 9168: / H T M L >\n 9168: write(8, " 8", 1) = 1 9168: poll(0xFDD018D0, 1, -1) = 1 9168: fd=7 ev=POLLIN rev=POLLIN 9168: read(7, " 8", 1024) = 1 9168: recv(33, 0xFDD018C7, 1, 2) Err#11 EAGAIN 9168: close(29) = 0 9168: Incurred fault #5, FLTACCESS %pc = 0xFC124490 9168: siginfo: SIGBUS BUS_ADRALN addr=0x007F3C9A 9168: Received signal #10, SIGBUS [default] 9168: siginfo: SIGBUS BUS_ADRALN addr=0x007F3C9A 9168: *** process killed *** Reproducible: Always Steps to Reproduce: 1.Using mozilla 1.7 with flash plugin (Shockwave Flash 6.0 r81) 2.open url http://www.libero.it Actual Results: mozilla crash
-> Plug-ins
Assignee: general → nobody
Component: Browser-General → Plug-ins
Keywords: crash
QA Contact: general → core.plugins
*** Bug 254398 has been marked as a duplicate of this bug. ***
(In reply to comment #1) > -> Plug-ins I have installed only 2 plugin: - Java(TM) Plug-in1.4.1_03 - Shockwave Flash 6.0 r81
can you post a GDB stack trace (eventhough the Mozilla build is stripped, as it seems to crash within Flash plug-in, you'll get some interesting information) ? Start with "mozilla -g" "GDB> run" when crashing "GDB> bt" type 'bt' (for backtrace) and attach the output here via "create a new attachment"
Keywords: stackwanted
(In reply to comment #4) > can you post a GDB stack trace (eventhough the Mozilla build is stripped, as it > seems to crash within Flash plug-in, you'll get some interesting information) ? > Start with "mozilla -g" > "GDB> run" > when crashing > "GDB> bt" type 'bt' (for backtrace) and attach the output here via "create a new > attachment" After running mozilla -g, start the /sl/pkgs/SUNWspro_5.0_sun4_s5/bin/dbx, then there is only this report: t@1 (l@1) signal BUS (invalid address alignment) in ScriptablePeer_addref at 0xfc1a4490 0xfc1a4490: ScriptablePeer_addref+0x0004: ld [%o0 + 0x8], %o0 0xfdf98654: PL_ProcessEventsBeforeID+0x0094: call _PROCEDURE_LINKAGE_TABLE_+0x25c8 [PLT] Additional information: If I install Shockwave Flash 5.0 r55, instead of 6.0 r81, mozilla work fine.
do you crash on any scriptable-enabled site ? Check http://devedge.netscape.com/viewsource/2003/scripting-flash/ (example 2) with 6.0r81 and flashplayer.xpt. Do you crash when moving the flashplayer.xpt in mozilla/components/ directory, not plugins/ directory, make sure it came from the 6.0r81 package.
(In reply to comment #6) > do you crash on any scriptable-enabled site ? > Check http://devedge.netscape.com/viewsource/2003/scripting-flash/ (example 2) > with 6.0r81 and flashplayer.xpt. > > Do you crash when moving the flashplayer.xpt in mozilla/components/ directory, > not plugins/ directory, make sure it came from the 6.0r81 package. I check the url and mozilla crash. The flashplayer.xpt file is only present in plugins directory, not in mozilla/components I don't understand, the file flashplayer.xpt is only placed in plugins/ directory, there isn't in mozilla/components/ directory
what happens if you move flashplayer.xpt from plugins/ to components/ ?
(In reply to comment #8) > what happens if you move flashplayer.xpt from plugins/ to components/ ? ok, I understad! I try to move the file components/, but mozilla however crash.
can you check about:buildconfig in Mozilla and see which compiler was used to compile it (GCC or Sun) ? Do you remember if previous Mozilla versions crashed when accessing scriptable-enabled sites with Flash 6.0r81 ?
(In reply to comment #10) > can you check about:buildconfig in Mozilla and see which compiler was used to > compile it (GCC or Sun) ? > Do you remember if previous Mozilla versions crashed when accessing > scriptable-enabled sites with Flash 6.0r81 ? Mozilla was compiled with gcc. I tried also with mozilla 1.4 and Flash 6.0 r80 and crash however.
do you crash with a mozilla.org build (which I assume are compiled with Sun compiler instead of GCC) ? http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7/contrib/
(In reply to comment #12) > do you crash with a mozilla.org build (which I assume are compiled with Sun > compiler instead of GCC) ? > http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7/contrib/ I try with mozilla.org buil, and work fine with flash plugin 6.0....
So it seems like the flashplayer.xpt (compiled with Sun compiler ?) is incompatible with Mozilla if built with GCC, on Solaris Sparc.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: relnote
Summary: flash plugin cause crash mozilla during open this url → Scriptable Flash crashes on Mozilla compiled with GCC [@ nsScriptablePeer::AddRef ]
(In reply to comment #14) > So it seems like the flashplayer.xpt (compiled with Sun compiler ?) is No, flash player for solaris is compiled with gcc 3. > incompatible with Mozilla if built with GCC, on Solaris Sparc. So what is your gcc version? It should be no problem if you use gcc 3 build mozilla. Mozilla can only tell plugin if mozilla is compiled by gcc 3 or not. It can not tell plugin if it is compiled by gcc 2.x or forte. So if you are using gcc 2.x build mozilla, a work around is not using script. I think just remove flashplayer.xpt should help.
Firefox now using npruntime to do the script. Also Flash player 9 will use this too.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
Component: Plug-ins → Flash (Adobe)
Product: Core → Plugins
QA Contact: plugins → adobe-flash
Version: Trunk → 6.x
Crash Signature: [@ nsScriptablePeer::AddRef ]
Version and milestone values are being reset to defaults as part of product refactoring.
Version: 6.x → unspecified
Product: External Software Affecting Firefox → External Software Affecting Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.