Firefox crashes

Help
adis
2005-07-01
2013-05-13
  • adis
    adis
    2005-07-01

    When firefox uses  mplayerplug-in during navigation and after (in the same session) I click on a mailto link, it crashes. I experience the problem with firefox 1.02 and 1.04, mplayerplug-in from 2.70 to 2.85 on Ubuntu 5.10. The mail client is Evolution. This is part of firefox -g output.

    #53 0x40155b77 in ?? () from /usr/lib/mozilla-firefox/libplc4.so
    #54 0xbffff7a8 in ?? ()
    #55 0xbfffeef8 in ?? ()
    #56 0xbffff794 in ?? ()
    #57 0xbffff790 in ?? ()
    #58 0xbffff78c in ?? ()
    ---Type <return> to continue, or q <return> to quit---
    #59 0x4014ecd0 in vtable for nsGetServiceByContractID ()
       from /usr/lib/mozilla-firefox/libxpcom.so
    #60 0x4014ecd0 in vtable for nsGetServiceByContractID ()
       from /usr/lib/mozilla-firefox/libxpcom.so
    #61 0x4014ecd0 in vtable for nsGetServiceByContractID ()
       from /usr/lib/mozilla-firefox/libxpcom.so
    #62 0x4014ecb0 in vtable for nsCreateInstanceByContractID ()
       from /usr/lib/mozilla-firefox/libxpcom.so
    #63 0xbfffee70 in ?? ()
    #64 0x4000a5b5 in _dl_relocate_object () from /lib/ld-linux.so.2
    Previous frame inner to this frame (corrupt stack?)

    Thank you in advance.
    Greetings Adis

     
    • Kevin DeKorte
      Kevin DeKorte
      2005-07-01

      Well nothing in that debug info points to mplayerplug-in. libxpcom is part of firefox. I got my firefox to crash once with the following sequence, but could not duplicate

      surf
      click on mailto link
      close evolution
      open page that used mplayerplug-in and firefox crashed before mplayerplug-in completed loading.

      could not get it to do it again and could not get it to do it in reverse.

      Try the current mplayerplug-in CVS code and see if that helps.  Did you self build mplayerplug-in or did you use a Ubuntu package? If you used a package you may want to try self building since I don't like how Ubuntu/Debian packages mplayerplug-in.

      Could be a leak in firefox as well.

       
      • M Silent One
        M Silent One
        2005-07-11

        I have this problem, 100% repeatable with 2.85

        Here is how I repeat it. It appears to be a timing problem with sending the quit signal.

        I load up an avi file, then hit the HOME button.
        Then I rapidly alternate ALT Left Arrow and Alt Right Arrow
        to go back and forwards quickly.

        The browser will usually crash within 10 seconds of this.

         
        • Kevin DeKorte
          Kevin DeKorte
          2005-07-11

          Have you tested CVS. I worked with anther person and we solved a few of these problems. I just have not packaged the code yet.

           
          • M Silent One
            M Silent One
            2005-07-11

            I have the same problems with the cvs version as of yesterday at 3PM.

            The other crash happens when mplayer segv's due to bad h264 data

             
            • M Silent One
              M Silent One
              2005-07-12

              If the player is in state JS_STATE_UNITIALIZED and the window is closed, the browser crashes

              If the state is JS_STATE_BUFFERING and the window is closed, the browser may crash.

              It seems to be a function of how long it has been in state buffering.

              Once the player hits a certain point in the buffering or it transitions to state JS_STATE_PLAYING, the window can be closed.

               
        • Kevin DeKorte
          Kevin DeKorte
          2005-07-12

          I am unable to duplicate this crash on either a Fedora Core 3 or Ubuntu 5.0.4 box.

           
          • M Silent One
            M Silent One
            2005-07-12

            We test under FC3.
            I have the CVS version as of yesterday about 4PM.

            I can reup my cvs later today and try again.

            From our side, if the state has not progressed solidly into buffering and the player window is closed, the browser will crash

            Firefox 1.0.4, FC3 - current patches and cvs mplayerplug-in
            mplayer from cvs about 1 week ago.

             
            • Kevin DeKorte
              Kevin DeKorte
              2005-07-12

              Can you run firefox under a debugger (firefox -g) and see if you can get it to crash? If so can you send me the backtrace (bt from the debugger prompt)

               
              • M Silent One
                M Silent One
                2005-07-12

                **********NewStream Callback http://cloud9:88/content/Movie/True_Lies/true-lies-short.avi ****************
                in getURLBase
                exiting URL base with http://cloud9:88/content/Movie/True_Lies/
                entering getURLHostname
                exiting getURLHostname with cloud9:88
                Entering SetupPlayer
                in fullyQualifyURL, with changes
                item: /content/Movie/True_Lies/true-lies-short.avi
                baseurl: http://cloud9:88/content/Movie/True_Lies/
                hostname: cloud9:88
                tmpdir \s&#130;
                isMms = false
                url = /content/Movie/True_Lies/true-lies-short.avi
                fqu result: http://cloud9:88/content/Movie/True_Lies/true-lies-short.avi
                url /content/Movie/True_Lies/true-lies-short.avi
                buffer http://cloud9:88/content/Movie/True_Lies/true-lies-short.avi
                ready to setup threads
                creating thread - NP_EMBED
                creating player thread
                In launchPlayerThread, state = 110

                Program received signal SIG32, Real-time event 32.
                [Switching to Thread 64924592 (LWP 6852)]
                0x00deb7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
                (gdb) where
                #0  0x00deb7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
                #1  0x00a081a6 in __nanosleep_nocancel () from /lib/tls/libc.so.6
                #2  0x00a07fac in sleep () from /lib/tls/libc.so.6
                #3  0x02356801 in playPlaylist (td=0x8d191c8) at Source/plugin-threads.cpp:1252
                #4  0x00ae6341 in start_thread () from /lib/tls/libpthread.so.0
                #5  0x00a44fee in clone () from /lib/tls/libc.so.6
                (gdb)

                 
                • M Silent One
                  M Silent One
                  2005-07-12

                  (gdb) thread 1
                  [Switching to thread 1 (Thread -1208482112 (LWP 6836))]#0  0x00a44fd8 in clone () from /lib/tls/libc.so.6
                  (gdb) where
                  #0  0x00a44fd8 in clone () from /lib/tls/libc.so.6
                  #1  0x00000001 in ?? ()
                  #2  0x07560bb0 in ?? ()
                  #3  0x00aefff4 in ?? () from /lib/tls/libpthread.so.0
                  #4  0x00ae5fda in do_clone () from /lib/tls/libpthread.so.0
                  #5  0x00ae69dc in pthread_create@@GLIBC_2.1 () from /lib/tls/libpthread.so.0
                  #6  0x023539d2 in launchPlayerThread (instance=0x8e2c0f0) at Source/plugin-threads.cpp:111
                  #7  0x02354416 in SetupPlayer (instance=0x8e2c0f0, event=0x0) at Source/plugin-threads.cpp:571
                  #8  0x02344812 in nsPluginInstance::NewStream (this=0x8e2c0f0, type=0x8e60788 "video/x-msvideo", stream=0x0,
                      seekable=1 '\001', stype=0x1ac5) at Source/plugin.cpp:1114
                  #9  0x02349acb in NPP_NewStream (instance=0x75604c4, type=0x8e60788 "video/x-msvideo", stream=0x8dd24cc,
                      seekable=248 '', stype=0xbfeb7d82) at plugingate/npp_gate.cpp:142
                  #10 0x01e24fe9 in ?? () from /usr/lib/firefox-1.0.4/components/libgkplugin.so
                  #11 0x08c907ac in ?? ()
                  #12 0x08e60788 in ?? ()
                  #13 0x08dd24cc in ?? ()
                  #14 0x00000001 in ?? ()
                  #15 0xbfeb7d82 in ?? ()
                  #16 0x00017d94 in ?? ()
                  #17 0x08e60788 in ?? ()
                  #18 0x00000001 in ?? ()
                  #19 0x08c907ac in ?? ()
                  #20 0x08d21f10 in ?? ()
                  #21 0x01e3f4c0 in ?? () from /usr/lib/firefox-1.0.4/components/libgkplugin.so
                  #22 0x08ec81e0 in ?? ()
                  #23 0x42c9f4cf in ?? ()
                  #24 0xbfeb7f20 in ?? ()
                  #25 0x01e2dda6 in ?? () from /usr/lib/firefox-1.0.4/components/libgkplugin.so
                  #26 0x08dd24b0 in ?? ()
                  #27 0x08ec81e0 in ?? ()
                  #28 0x00c18778 in gMemory () from ./libxpcom.so
                  #29 0x00000000 in ?? ()

                   
                  • M Silent One
                    M Silent One
                    2005-07-12

                    #0  0x00a44fd8 in clone () from /lib/tls/libc.so.6
                    #1  0x007d0f00 in exp2 () from /lib/tls/libm.so.6
                    #2  0x00ae69dc in pthread_create@@GLIBC_2.1 () from /lib/tls/libpthread.so.0
                    #3  0x023539d2 in launchPlayerThread (instance=0x8e2c0f0) at Source/plugin-threads.cpp:111
                    #4  0x02354416 in SetupPlayer (instance=0x8e2c0f0, event=0x0) at Source/plugin-threads.cpp:571
                    #5  0x02344812 in nsPluginInstance::NewStream (this=0x8e2c0f0, type=0x8e60788 "video/x-msvideo", stream=0x0,
                        seekable=1 '\001', stype=0x0) at Source/plugin.cpp:1114
                    #6  0x02349acb in NPP_NewStream (instance=0x75604c4, type=0x8e60788 "video/x-msvideo", stream=0x8dd24cc,
                        seekable=248 '', stype=0xbfeb7d82) at plugingate/npp_gate.cpp:142
                    #7  0x01e24fe9 in ?? () from /usr/lib/firefox-1.0.4/components/libgkplugin.so
                    #8  0x08c907ac in ?? ()
                    #9  0x08e60788 in ?? ()
                    #10 0x08dd24cc in ?? ()
                    #11 0x00000001 in ?? ()
                    #12 0xbfeb7d82 in ?? ()
                    #13 0x00017d94 in ?? ()
                    #14 0x08e60788 in ?? ()
                    #15 0x00000001 in ?? ()
                    #16 0x08c907ac in ?? ()
                    #17 0x08d21f10 in ?? ()
                    #18 0x01e3f4c0 in ?? () from /usr/lib/firefox-1.0.4/components/libgkplugin.so
                    #19 0x08ec81e0 in ?? ()
                    #20 0x42c9f4cf in ?? ()
                    #21 0xbfeb7f20 in ?? ()
                    #22 0x01e2dda6 in ?? () from /usr/lib/firefox-1.0.4/components/libgkplugin.so
                    #23 0x08dd24b0 in ?? ()
                    #24 0x08ec81e0 in ?? ()
                    #25 0x00c18778 in gMemory () from ./libxpcom.so
                    #26 0x00000000 in ?? ()

                     
                • Kevin DeKorte
                  Kevin DeKorte
                  2005-07-12

                  ACK....

                  NLS and a RealTime kernel patch?

                   
    • adis
      adis
      2005-07-02

      I have the same problem with Ubuntu package and with self build mplayerplug-in. I'll try cvs version. Thanks a lot.