bugGnash - The GNU Flash player - Bugs: bug #25139, make check: segfault while saving...

 
 

bug #25139: make check: segfault while saving NetStream-SquareTest.swf

Submitted by:  Michael Hrabanek <hrabanek>
Submitted on:  Sun 21 Dec 2008 12:37:05 AM UTC  
 
Category: testsuiteSeverity: 3 - Normal
Release: trunkStatus: 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)

Fri 23 Jan 2009 09:29:42 AM UTC, comment #6:

No follow up, assuming fixed.

Benjamin Wolsey <bwy>
Project Member
Thu 08 Jan 2009 02:10:49 PM UTC, comment #5:

Committed a split of long action buffers, which resulted in memory corruption with Ming 0.4.2 (bug fixed in Ming head).

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sat 27 Dec 2008 12:25:02 PM UTC, comment #4:

There is only libming.so.1.4.1 in my build tree:
ashen@ashen:~/dev/gnash/ming-0.4.2$ find . -iname 'libming*'
./src/.libs/libming.a
./src/.libs/libming.so.1
./src/.libs/libming.lai
./src/.libs/libming.so
./src/.libs/libming.la
./src/.libs/libming.so.1.4.1
./src/libming.pc.in
./src/libming.h
./src/libming.la
./src/libming.pc
./docs/libming

Michael Hrabanek <hrabanek>
Sat 27 Dec 2008 11:43:36 AM UTC, comment #3:

Uhm.. I belive 0.4.2 of Ming should install a libming.so.1.4.2
I don't see it though.
Can you find it in your build tree of Ming ? (ie: did you install it?)

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sun 21 Dec 2008 01:41:20 PM UTC, comment #2:

debian sid (x86),
I don't have distributional ming installed, just the one from libming.org (0.4.2-rc2), manually built from source
ls -la /usr/local/lib/libming*

-rw-r--r-- 1 root staff 1590504 2008-12-21 00:12 /usr/local/lib/libming.a
-rwxr-xr-x 1 root staff 867 2008-12-21 00:12 /usr/local/lib/libming.la
lrwxrwxrwx 1 root staff 16 2008-12-21 00:12 /usr/local/lib/libming.so -> libming.so.1.4.1
lrwxrwxrwx 1 root staff 16 2008-12-21 00:12 /usr/local/lib/libming.so.1 -> libming.so.1.4.1
-rwxr-xr-x 1 root staff 1027917 2008-12-21 00:12 /usr/local/lib/libming.so.1.4.1

Michael Hrabanek <hrabanek>
Sun 21 Dec 2008 12:12:49 PM UTC, comment #1:

From the paste:

> MING version code is 00040200


Micheal, what system are you on ?
Do you have multiple version of ming libs installed ?
(ls /usr/local/lib/libming*)

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sun 21 Dec 2008 12:37:05 AM UTC, original submission:

While doing 'make check' after building trunk r10477 with following configure options --enable-write --enable-media=ffmpeg --enable-gui=gtk, this error arised:
./NetStream-SquareTest /home/ashen/dev/gnash/trunk/testsuite/media
Saving NetStream-SquareTest.swf
make[3]: *** [NetStream-SquareTest.swf] Segmentation fault

Here is backtrack from gdb
This GDB was configured as "i486-linux-gnu"...
(gdb) run /home/ashen/dev/gnash/trunk/testsuite/media
Starting program: /home/ashen/dev/gnash/trunk/testsuite/misc-ming.all/NetStream-SquareTest /home/ashen/dev/gnash/trunk/testsuite/media
Saving NetStream-SquareTest.swf

Program received signal SIGSEGV, Segmentation fault.
0xb7f438fe in swf5lex () at lex.swf5.c:1462
1462 *yy_cp = (yy_hold_char);
(gdb) bt
#0 0xb7f438fe in swf5lex () at lex.swf5.c:1462
#1 0xb7f395ed in swf5parse (buffer=0xbfca7468) at swf5compiler.tab.c:3568
#2 0xb7f45ca6 in SWFAction_compile (action=0x837c6b8, swfVersion=7, length=0xbfca74a0) at action.c:136
#3 0xb7f45e3b in completeSWFAction (block=0x837c6b8) at action.c:198
#4 0xb7f46222 in completeSWFBlock (block=0x837c6b8) at block.c:76
#5 0xb7f2a051 in SWFBlockList_completeBlocks (list=0x82f2058, version=7) at blocklist.c:129
#6 0xb7f2c853 in SWFMovie_toOutput (movie=0x82f2008, level=-1) at movie.c:762
#7 0xb7f2cbbb in SWFMovie_output (movie=0x82f2008, method=0xb7f4f980 <fileOutputMethod>, data=0x837e4f8) at movie.c:855
#8 0xb7f2cca3 in SWFMovie_save (movie=0x82f2008, filename=0x804c9d0 "NetStream-SquareTest.swf") at movie.c:878
#9 0x0804bcbf in main (argc=0, argv=0xb7f154e0) at NetStream-SquareTest.c:678
(gdb)

full Configurable options output from ./configure: http://pastebin.com/m2a3c296a

Michael Hrabanek <hrabanek>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bwy (Posted a comment)
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by hrabanek (Submitted the item)
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 23 Jan 2009 09:29:42 AM UTCbwyStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Thu 08 Jan 2009 02:10:48 PM UTCstrkStatusNone=>Ready For Test
      Assigned toNone=>strk

    Back to the top


    Powered by Savane 3.1-cleanup1