Menu

#25 mozilla hang on amd64

gplflash2
open
nobody
None
5
2005-12-09
2005-12-09
Anonymous
No

Mozilla hang alwais on a amd64 NTPL system when change
the page.
Mozilla charge the page with flash content and when go
to other page the browser keep waiting forever in:
Destroy
Destroy
The patch submited seems to fix the problem.
jareguero@telefonica.net

Discussion

  • Nobody/Anonymous

    flash_interface.cc patch

     
  • Michael Carlson

    Michael Carlson - 2005-12-24

    Logged In: YES
    user_id=1362057

    Thanks for your bug report. I've looked at the attached
    patch, and although it fixes the problem for you, it seems
    it would result in a memory leak, and so this isn't the
    proper way to fix the problem.

    I think the place to look would be in swftimer's destructor
    (since "delete timer;" is what it's choking on) in
    lib/swf_timer.cc, within SwfTimer::~SwfTimer(). Revert your
    patch, and try commenting some lines in that function
    instead, see if any of those fixes the problem for you. If
    it does, the proper solution still probably isn't to comment
    out the offending line, but it will give us a better clue as
    to why that line might be crashing the program.

     
  • Nobody/Anonymous

    Logged In: NO

    The program keep waiting forever exactly in:
    SwfTimer::stop
    in line:
    pthread_cond_broadcast(&streamPlay);

    Also SwfTimer::stop is called twice, the first time in
    SwfEngine::~SwfEngine when doing:
    delete objectStore;
    the second in SwfTimer::~SwfTimer

     
  • Nobody/Anonymous

    Logged In: NO

    The exact secuency is:
    Destroy
    SwfEngine::~SwfEngine->objectStore->SwfTimer::stop
    SwfTimer::~SwfTimer->SwfTimer::stop
    Destroy
    SwfEngine::~SwfEngine->objectStore->SwfTimer::stop
    wait for ever in line:
    pthread_cond_broadcast(&streamPlay);

     

Log in to post a comment.

MongoDB Logo MongoDB