bugGnash - The GNU Flash player - Bugs: bug #20194, assertion "m_ref_count >...

 
 

bug #20194: assertion "m_ref_count > 0" failed: file "../libbase/ref_counted.h", line 62, function "drop_ref"

Submitter:  RD Thrush <rdthrush>
Submitted:  Sun 17 Jun 2007 06:03:11 PM UTC
   
 
Category:  core Severity:  3 - Normal
Release:  None Status:  Fixed
Privacy:  Public Assigned to:  strk
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 08 Jul 2007 12:18:11 AM UTC, comment #5: 

This problem is resolved.  File -> Quit no longer segfaults in OpenBSD  amd64 or i386.

RD Thrush <rdthrush>
Sat 07 Jul 2007 03:50:55 AM UTC, comment #4: 

Could you try to reproduce this with current head please ?

Sandro Santilli <strk>
Group Member
Tue 03 Jul 2007 10:29:33 PM UTC, comment #3: 

Yes, the problem was 100% reproducible and I would be able to test a solution.

RD Thrush <rdthrush>
Sun 01 Jul 2007 03:39:47 PM UTC, comment #2: 

This might be due to unsafe refcounting.
This url contains a tip about using boost::atomic_counter for refcounting:
http://lists.boost.org/Archives/boost/2006/08/108706.php

Is the original submitter able to reproduce the bug consistently
so to test an eventual implementation with this atomic counter ?

Sandro Santilli <strk>
Group Member
Mon 18 Jun 2007 09:11:23 AM UTC, comment #1: 

This is due to not-proper threads shutdown on exit. See task #6959

Sandro Santilli <strk>
Group Member
Sun 17 Jun 2007 06:03:11 PM UTC, original submission:  

The subject segfault occurs after viewing a youtube video and then issuing File -> Quit from the gui.  The segfault occurs on OpenBSD 4.1-current for both i386 and amd64 architectures and appears to have an identical backtrace.  I have attached gdb session transcripts including the backtrace for both archs.

The segfault can be reproduced by:

URL=http://youtube.com/watch?v=og4Qi-FxyoA
vars=`wget --quiet -O - "$URL" | grep -F player2.swf | cut -d \? -f 2 | cut -d \" -f1`
gnash -v -P "FlashVars=$vars" http://youtube.com/player2.swf


and then exiting the gnash gui.

RD Thrush <rdthrush>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #13083:  Log.amd64 added by rdthrush (9KiB - application/octet-stream)
file #13084:  Log.i386 added by rdthrush (9KiB - application/octet-stream)

 

Digest:
   task dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by strk (Posted a comment)
  • -email is unavailable- added by rdthrush (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-07-08 strk StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2007-07-07 strk StatusNeed Info Ready For Test
    2007-07-03 strk StatusNone Need Info
    2007-07-01 strk Assigned toNone strk
    2007-06-18 strk Dependencies- Depends on task #6959
    2007-06-18 strk Dependencies- task #6959 is dependent
    2007-06-17 rdthrush Attached File- Added Log.amd64, #13083
        Attached File- Added Log.i386, #13084
        Carbon-Copy- Added deanna

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code