swfplayer crashes when opening .swf

Bug #194758 reported by Amaroq
2
Affects Status Importance Assigned to Milestone
libflash (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

swfplayer loads and parses the .swf. It opens a window and begins playing it for a second, and then crashes.

This flash works fine in firefox.

Attached is the .swf that caused the crash. (I haven't tried any others yet. I just got this installed yesterday.)

Ubuntu 7.10 Gutsy.

Here is the terminal output.

amaroq@Amaroq:~$ swfplayer Move\ Your\ Dead\ Bones.swf
starting flashparser
new stream 1, id: 3001
samples: 1633
flashparser done
init mp3-decoder, size: 1925136
MAD: file contains invalid data
dismantle mp3-decoder
*** glibc detected *** swfplayer: free(): invalid pointer: 0x084115a8 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7ccfd65]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7cd3800]
/usr/lib/libmad.so.0(mad_stream_finish+0x25)[0xb7c10732]
/usr/lib/libflash.so.0(_ZN10SoundMixer10playSoundsEv+0xc1)[0xb7dcdee1]
/usr/lib/libflash.so.0(_ZN10FlashMovie12processMovieEP13GraphicDeviceP10SoundMixer+0x23)[0xb7dc4883]
/usr/lib/libflash.so.0(FlashExec+0x1f0)[0xb7dbc700]
swfplayer[0x8049976]
swfplayer[0x804a3d7]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7c7c050]
swfplayer[0x8049261]
======= Memory map: ========
08048000-0804b000 r-xp 00000000 08:01 345101 /usr/bin/swfplayer
0804b000-0804c000 rw-p 00002000 08:01 345101 /usr/bin/swfplayer
0804c000-08484000 rw-p 0804c000 00:00 0 [heap]
b6ed7000-b70ae000 rw-p b6ed7000 00:00 0
b7284000-b73e6000 rw-p b7284000 00:00 0
b7900000-b7921000 rw-p b7900000 00:00 0
b7921000-b7a00000 ---p b7921000 00:00 0
b7a90000-b7a97000 r-xp 00000000 08:01 342917 /usr/lib/libXrender.so.1.3.0
b7a97000-b7a98000 rw-p 00006000 08:01 342917 /usr/lib/libXrender.so.1.3.0
b7a98000-b7b0e000 rw-s 00000000 00:09 1933338 /SYSV00000000 (deleted)
b7b0e000-b7b0f000 rw-p b7b0e000 00:00 0
b7b0f000-b7b19000 r-xp 00000000 08:01 374630 /lib/libgcc_s.so.1
b7b19000-b7b1a000 rw-p 0000a000 08:01 374630 /lib/libgcc_s.so.1
b7b1a000-b7c02000 r-xp 00000000 08:01 342485 /usr/lib/libstdc++.so.6.0.9
b7c02000-b7c05000 r--p 000e8000 08:01 342485 /usr/lib/libstdc++.so.6.0.9
b7c05000-b7c07000 rw-p 000eb000 08:01 342485 /usr/lib/libstdc++.so.6.0.9
b7c07000-b7c0e000 rw-p b7c07000 00:00 0
b7c0e000-b7c23000 r-xp 00000000 08:01 343357 /usr/lib/libmad.so.0.2.1
b7c23000-b7c24000 rw-p 00014000 08:01 343357 /usr/lib/libmad.so.0.2.1
b7c24000-b7c38000 r-xp 00000000 08:01 342422 /usr/lib/libz.so.1.2.3.3
b7c38000-b7c39000 rw-p 00013000 08:01 342422 /usr/lib/libz.so.1.2.3.3
b7c39000-b7c58000 r-xp 00000000 08:01 342948 /usr/lib/libjpeg.so.62.0.0
b7c58000-b7c59000 rw-p 0001e000 08:01 342948 /usr/lib/libjpeg.so.62.0.0
b7c59000-b7c5b000 r-xp 00000000 08:01 408268 /lib/tls/i686/cmov/libdl-2.6.1.so
b7c5b000-b7c5d000 rw-p 00001000 08:01 408268 /lib/tls/i686/cmov/libdl-2.6.1.so
b7c5d000-b7c61000 r-xp 00000000 08:01 342871 /usr/lib/libXdmcp.so.6.0.0
b7c61000-b7c62000 rw-p 00003000 08:01 342871 /usr/lib/libXdmcp.so.6.0.0
b7c62000-b7c63000 rw-p b7c62000 00:00 0
b7c63000-b7c65000 r-xp 00000000 08:01 342071 /usr/lib/libXau.so.6.0.0
b7c65000-b7c66000 rw-p 00001000 08:01 342071 /usr/lib/libXau.so.6.0.0
b7c66000-b7daa000 r-xp 00000000 08:01 408265 /lib/tls/i686/cmov/libc-2.6.1.so
b7daa000-b7dab000 r--p 00143000 08:01 408265 /lib/tls/i686/cmov/libc-2.6.1.so
b7dab000-b7dad000 rw-p 00144000 08:01 408265 /lib/tls/i686/cmov/libc-2.6.1.so
b7dad000-b7db0000 rw-p b7dad000 00:00 0
b7db0000-b7dd1000 r-xp 00000000 08:01 345094 /usr/lib/libflash.so.0.13.0
b7dd1000-b7de2000 rw-p 00020000 08:01 345094 /usr/lib/libflash.so.0.13.0
b7de2000-b7e05000 r-xp 00000000 08:01 408269 /lib/tls/i686/cmov/libm-2.6.1.so
b7e05000-b7e07000 rw-p 00023000 08:01 408269 /lib/tls/i686/cmov/libm-2.6.1.so
b7e09000-b7e0d000 r-xp 00000000 08:01 343042 /usr/lib/libXfixes.so.3.1.0
b7e0d000-b7e0e000 rw-p 00003000 08:01 343042 /usr/lib/libXfixes.so.3.1.0
b7e0e000-b7e16000 r-xp 00000000 08:01 343326 /usr/lib/libXcursor.so.1.0.2
b7e16000-b7e17000 rw-p 00007000 08:01 343326 /usr/lib/libXcursor.so.1.0.2
b7e17000-b7e18000 rw-p b7e17000 00:00 0
b7e18000-b7e25000 r-xp 00000000 08:01 343056 /usr/lib/libXext.so.6.4.0
b7e25000-b7e26000 rw-p 0000d000 08:01 343056 /usr/lib/libXext.so.6.4.0
b7e26000-b7f13000 r-xp 00000000 08:01 342891 /usr/lib/libX11.so.6.2.0
b7f13000-b7f17000 rw-p 000ed000 08:01 342891 /usr/lib/libX11.so.6.2.0
b7f17000-b7f19000 rw-p b7f17000 00:00 0
b7f19000-b7f33000 r-xp 00000000 08:01 374761 /lib/ld-2.6.1.so
b7f33000-b7f35000 rw-p 00019000 08:01 374761 /lib/ld-2.6.1.so
bfafb000-bfb11000 rw-p bfafb000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
Aborted (core dumped)

Revision history for this message
Amaroq (coolsteve64) wrote :
Revision history for this message
Matt Neilson (ichthyoboy) wrote :

I can confirm this bug.

Changed in libflash:
status: New → Confirmed
Revision history for this message
Marcel Stimberg (marcelstimberg) wrote :

I can confirm this crash with the above swf file.

Revision history for this message
Amaroq (coolsteve64) wrote :

I may have discovered something important.

If something is using the sound card, the swf will play (with no audio of course) without crashing. This probably means it's a sound issue with swfplayer. Here is the terminal output from playing the above flash with Firefox open and another sound-using flash already loaded and finished playing.

amaroq@Amaroq:~$ swfplayer Move\ Your\ Dead\ Bones.swf
starting flashparser
new stream 1, id: 3001
samples: 1633
flashparser done
open dsp: Device or resource busy
init mp3-decoder, size: 1925136

dino99 (9d9)
Changed in libflash (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for libflash (Ubuntu) because there has been no activity for 60 days.]

Changed in libflash (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.