Firefox crashes after watching embedded video (undefined symbol: NS_CStringContainerInit)

Bug #85112 reported by pirast on 2007-02-14
106
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
High
Mozilla Bugs
totem (Ubuntu)
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: firefox

Firefox crashes after watching embedded videos using Totem-Mozilla. Go to any url offering a video, watch the beginning of it, and click on some links. Reproduce the procedure till Firefox crashes. This happens on Feisty, only.

Sadly, Apport does not note a crash.

ProblemType: Bug
Date: Wed Feb 14 15:16:44 2007
DistroRelease: Ubuntu 7.04
Uname: Linux martin-desktop 2.6.20-6-generic #2 SMP Wed Jan 31 20:53:39 UTC 2007 i686 GNU/Linux

pirast (pirast) on 2007-02-14
Changed in firefox:
status: Unconfirmed → Rejected
status: Rejected → Unconfirmed
pirast (pirast) wrote :

Firefox backtrace

Sebastien Bacher (seb128) wrote :

Thanks for your bug report. Please try to obtain a debug backtrace with totem-gstreamer-dbgsym installed (http://wiki.ubuntu.com/DebuggingProgramCrash) and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in totem:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Unconfirmed → Needs Info
pirast (pirast) wrote :

I doubt that the new backtrace is more useful, but now Firefox directly crashes opening that page: http://www.tagesschau.de/video/0,1315,OID6421744_RES_NAV_BAB,00.html (German sadly). ticking "Windows Media" and clicking on "Video starten".

I will attach it, following https://wiki.ubuntu.com/MozillaTeam/Bugs, though.

Sebastien Bacher (seb128) wrote :

That's a duplicate from bug #85111

Changed in totem:
status: Needs Info → Rejected
status: Rejected → Confirmed
Sebastien Bacher (seb128) wrote :

From one duplicate:

"However the function (NS_CStringContainerInit) is part of the Mozilla libraries, so this may be a firefox/mozilla problem.

The output from firefox is:

/usr/lib/firefox/firefox-bin: symbol lookup error: /usr/lib/totem/libtotem-narrowspace-plugin.so: undefined symbol: NS_CStringContainerInit

A couple of objdump runs show that the function needed is provided by /usr/lib/firefox/libxpcom.so. Perhaps there are link problems in how the totem firefox plugins are being built.

There is a work around. Run firefox with:

LD_PRELOAD=/usr/lib/firefox/libxpcom.so:/usr/lib/firefox/libxpcom_core.so firefox

This forces the right libs to be linked in.

I am using Feisty of 2007 02 17."

Looks like that's one change from the new firefox packaging

Changed in firefox:
importance: Undecided → High
status: Unconfirmed → Confirmed
David Dean (dave-dean) wrote :

Just to demonstrate, hit this link .. it kills my firefox instantly (and gets saved in the current session, so firefox then crashes on start. )

http://hereisyourpolicebrutality.ytmnd.com/

Sebastien Bacher (seb128) wrote :

That upload fixes the problem:

 totem (2.17.91-0ubuntu3) feisty; urgency=low
 .
   * debian/control.in:
     - use Desktop Team for Maintainer
   * debian/patches/01_build_mozilla_plugin_with_xpcom.dpatch:
     - build with libxpcom to fix mozilla plugin crasher due to firefox change
       (Ubuntu: #85112)

Changed in totem:
status: Confirmed → Fix Released
Alexander Sack (asac) wrote :

For firefox, please keep this bug open until we have processed duplicates for this.

Changed in firefox:
assignee: nobody → mozillateam

The update to totem 2.17.91-0ubuntu3 fixed for me.
Thanks guys !

Alexander Sack (asac) wrote :

though not directly related, mozilla bug 366113 may be worth a read too. Plugins that want to link against libxpcom shall do so explicitly by using mozilla-xpcom.pc; mozilla-plugin.pc will not be enough in future.

This has landed for 2.0.0.2. So be aware of it.

David Farning (dfarning) on 2007-02-24
Changed in firefox:
assignee: mozillateam → mozilla-bugs
Alexander Sack (asac) wrote :

though not exactly an issue, i reenabled this for feisty release in 2.0.0.2+1-0ubuntu1.
Note: auto-loading libxpcom.so will be gone in feisty+1.

Changed in firefox:
status: Confirmed → Fix Released
pirast (pirast) wrote :

I reported your earlier comment about mozilla bug 366113 upstream, at http://bugzilla.gnome.org/show_bug.cgi?id=409581.

You may want to check the bug report there out.

tdn (spam-thomasdamgaard) wrote :

I'm not sure if this is the same bug, but I am using Firefox in Feisty and it crashes with SIGSEGV when watching videos.
I can reproduce this crash.

These are the last lines of the strace:
gettimeofday({1194737237, 338513}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=14, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=17, events=POLLIN|POLLPRI}, {fd=18, events=POLLIN|POLLPRI}, {fd=80, events=POLLIN}], 7, 0) = 0
gettimeofday({1194737237, 338616}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=14, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=17, events=POLLIN|POLLPRI}, {fd=18, events=POLLIN|POLLPRI}, {fd=80, events=POLLIN}], 7, 0) = 0
write(3, "\24\0\6\0\6\1\340\0\363\0\0\0\4\0\0\0\0\0\0\0\377\377\377"..., 24) = 24
read(3, "\1 \375W\0\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(71, "=\0\4\0\304\0\200\1\0\0\0\0\0\0\0\0\3\0\2\0\35\0\200\1"..., 32) = 32
read(71, "\1\0\31\6\3\0\0\0#\0\0\0\1\0\1\1\377\377\377\377\0\0\0"..., 32) = 32
read(71, "\377\377k\0\377\377+\0\0\0\317\277", 12) = 12
read(71, "\1\30\32\6\0\0\0\0u\0\0\0\0\0\0\0\251\1^\1\0\0k\0\377\377"..., 32) = 32
mmap2(0xa2102000, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa2102000
mmap2(NULL, 929792, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xaee8c000
munmap(0xaef6f000, 929792) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
unlink("/home/tdn/.mozilla/firefox/uzz5tnl4.default/lock") = 0
rt_sigaction(SIGSEGV, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [SEGV], NULL, 8) = 0
tgkill(17172, 17172, SIGSEGV) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

A much longer strace is attached in bzip2 for saving space.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers