crash because of xul2 API changes

Bug #703353 reported by Fabien Tassin
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
couchdb (Ubuntu)
Fix Released
High
Chris Coulson
Natty
Fix Released
High
Chris Coulson

Bug Description

Binary package hint: couchdb

couchdb doesn't work in natty.
Some investigations showed that it's related to xulrunner 2.

While using Quickly, a freshly created project doesn't even run. It's stuck in preferences.load() and the cpu sky rockets forever in beam.smp.

~/.cache/desktop-couch/desktop-couchdb.stdout.1 is growing fast with lines such as those:
[error] [<0.148.0>] OS Process Error <0.13019.1> :: {os_process_error,{exit_status,127}}
[error] [<0.148.0>] OS Process Error <0.13023.1> :: {os_process_error,{exit_status,127}}
[error] [<0.148.0>] OS Process Error <0.13026.1> :: {os_process_error,{exit_status,127}}

~/.cache/desktop-couch/desktop-couchdb.stderr.1 too:
/usr/lib/couchdb/bin/couchjs: symbol lookup error: /usr/lib/couchdb/bin/couchjs: undefined symbol: JS_GetStringChars
/usr/lib/couchdb/bin/couchjs: symbol lookup error: /usr/lib/couchdb/bin/couchjs: undefined symbol: JS_GetStringChars
/usr/lib/couchdb/bin/couchjs: symbol lookup error: /usr/lib/couchdb/bin/couchjs: undefined symbol: JS_GetStringChars

$ ldd /usr/lib/couchdb/bin/couchjs | grep js
        libmozjs.so => not found
$ ls -l /usr/lib/xul*/libmozjs.so
-rw-r--r-- 1 root root 1359840 2010-12-13 06:44 /usr/lib/xulrunner-1.9.2.13/libmozjs.so
-rw-r--r-- 1 root root 3221348 2011-01-13 03:36 /usr/lib/xulrunner-2.0b9/libmozjs.so
$ export LD_LIBRARY_PATH=/usr/lib/xulrunner-2.0b9
$ ldd /usr/lib/couchdb/bin/couchjs | grep js
        libmozjs.so => /usr/lib/xulrunner-2.0b9/libmozjs.so (0x007bb000)
$ objdump -T /usr/lib/couchdb/bin/couchjs | grep JS_GetStringChars
00000000 DF *UND* 00000000 JS_GetStringChars

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: couchdb (not installed)
ProcVersionSignature: Ubuntu 2.6.37-12.26-generic 2.6.37
Uname: Linux 2.6.37-12-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sat Jan 15 19:45:08 2011
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100331)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LC_MESSAGES=en_US.utf8
 SHELL=/usr/bin/tcsh
SourcePackage: couchdb

Related branches

Fabien Tassin (fta)
Changed in couchdb (Ubuntu):
assignee: nobody → Chris Coulson (chrisccoulson)
status: New → Confirmed
Changed in couchdb (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package couchdb - 1.0.1-0ubuntu7

---------------
couchdb (1.0.1-0ubuntu7) natty; urgency=low

  * Fix LP: #703353 - couchjs doesn't start because of ABI break in
    Spidermonkey. Use the new API for getting a character array from a
    JSString
    - update debian/patches/mozjs2.0.patch
    - update debian/patches/mozjs2.0_autotools.patch
 -- Chris Coulson <email address hidden> Wed, 19 Jan 2011 11:49:30 +0000

Changed in couchdb (Ubuntu Natty):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.