Crashes on startup

Bug #56118 reported by Janne Banan
54
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evolution
Unknown
Critical
evolution (Ubuntu)
Fix Released
High
Ubuntu Desktop Bugs
firefox (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: evolution

gdb output:

[Thread debugging using libthread_db enabled]
[New Thread -1231448400 (LWP 6604)]
CalDAV Eplugin starting up ...

(evolution-2.8:6604): evolution-smime-WARNING **: Failed all methods for initializing NSS

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1231448400 (LWP 6604)]
0xb6d64755 in SECMOD_ReferenceModule () from /usr/lib/libnss3.so

(gdb) bt
#0 0xb6d64755 in SECMOD_ReferenceModule () from /usr/lib/libnss3.so
#1 0xb6d65945 in SECMOD_DeleteModule () from /usr/lib/libnss3.so
#2 0xb6d659ce in SECMOD_AddNewModuleEx () from /usr/lib/libnss3.so
#3 0xb6d65ad9 in SECMOD_AddNewModule () from /usr/lib/libnss3.so
#4 0xb5d5affc in e_cert_db_import_certs_from_file ()
   from /usr/lib/evolution/2.8/libessmime.so.0
#5 0xb76c12ff in g_type_class_ref () from /usr/lib/libgobject-2.0.so.0
#6 0xb76a8d53 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#7 0xb76a910b in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#8 0xb76a92aa in g_object_new () from /usr/lib/libgobject-2.0.so.0
#9 0xb5d5a30c in e_cert_db_peek () from /usr/lib/evolution/2.8/libessmime.so.0
#10 0xb5d5046f in smime_component_init ()
   from /usr/lib/evolution/2.8/libevolution-smime.so.0
#11 0xb5e1071b in addressbook_component_peek_base_directory ()
   from /usr/lib/evolution/2.8/components/libevolution-addressbook.so
#12 0xb76c1f02 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#13 0xb76aa160 in g_object_set () from /usr/lib/libgobject-2.0.so.0
#14 0xb7dd890a in bonobo_object_add_interface () from /usr/lib/libbonobo-2.so.0
#15 0xb76a8625 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#16 0xb76a910b in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#17 0xb76a92aa in g_object_new () from /usr/lib/libgobject-2.0.so.0
#18 0xb5e10be1 in addressbook_component_peek ()
   from /usr/lib/evolution/2.8/components/libevolution-addressbook.so
---Type <return> to continue, or q <return> to quit---
#19 0xb5e19bb6 in addressbook_view_new ()
   from /usr/lib/evolution/2.8/components/libevolution-addressbook.so
#20 0xb7de5926 in bonobo_marshal_OBJECT__STRING ()
   from /usr/lib/libbonobo-2.so.0
#21 0xb76a365f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#22 0xb7de4629 in bonobo_closure_invoke_va_list ()
   from /usr/lib/libbonobo-2.so.0
#23 0xb7de487f in bonobo_closure_invoke () from /usr/lib/libbonobo-2.so.0
#24 0xb7dd12ac in bonobo_generic_factory_get_type ()
   from /usr/lib/libbonobo-2.so.0
#25 0xb7dde5a9 in bonobo_shlib_factory_get_type ()
   from /usr/lib/libbonobo-2.so.0
#26 0xb7dd1559 in bonobo_generic_factory_get_type ()
   from /usr/lib/libbonobo-2.so.0
#27 0xb7d543c5 in _ORBIT_skel_small_Bonobo_GenericFactory_createObject ()
   from /usr/lib/libbonobo-activation.so.4
#28 0xb7cfa78c in ORBit_c_stub_invoke () from /usr/lib/libORBit-2.so.0
#29 0xb7d55e03 in Bonobo_GenericFactory_createObject ()
   from /usr/lib/libbonobo-activation.so.4
#30 0xb7d57cf8 in bonobo_activation_activate_shlib_server ()
   from /usr/lib/libbonobo-activation.so.4
#31 0xb7d585be in bonobo_activation_init_activation_env ()
   from /usr/lib/libbonobo-activation.so.4
---Type <return> to continue, or q <return> to quit---
#32 0xb7d58cf3 in bonobo_activation_activate ()
   from /usr/lib/libbonobo-activation.so.4
#33 0xb7d58f0e in bonobo_activation_activate_from_id ()
   from /usr/lib/libbonobo-activation.so.4
#34 0x08051e7f in GNOME_Evolution_DataServer_InterfaceCheck__get_interfaceVersion ()
#35 0x080524de in e_component_registry_peek_list ()
#36 0x080555f3 in e_shell_construct ()
#37 0x0805574f in e_shell_new ()
#38 0x0805f79a in main ()

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. That's known upstream with a bunch of duplicates on bugzilla: http://bugzilla.gnome.org/show_bug.cgi?id=350970

Could you get a backtrace with firefox-dbg and evolution-dbg installed?

Changed in evolution:
assignee: nobody → desktop-bugs
importance: Untriaged → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Aleksander Kamil Modzelewski (aleander) wrote :

/me too :-)
I attach the requested backtrace.

Revision history for this message
Aleksander Kamil Modzelewski (aleander) wrote :

There's a sigsegv, therefore I attach a valgrind log as well. Why not?

Revision history for this message
Aleksander Kamil Modzelewski (aleander) wrote :

It seems to me, that the bug is related to yesterdays upgrade of mozilla-firefox from 1.5 to 1.9.

Revision history for this message
Scott Zawalski (cowbud) wrote :

The bug is related to the new libnss library installed when firefox was updated.

Revision history for this message
Sebastien Bacher (seb128) wrote :

downgrading libnss3 (or copying the libsoftokn3.so from 1.5 only) makes evolution starts on my edgy desktop. Any help to track that is welcome

Changed in evolution:
importance: Medium → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

That code is basically what evolution is doing. To build with "gcc nssinit.c -o nssinit `pkg-config --cflags --libs mozilla-nss`", works fine with libnss3 1.5 and not with 1.9

Changed in firefox:
assignee: nobody → ijackson
importance: Untriaged → High
Revision history for this message
Matt Zimmerman (mdz) wrote :

Perhaps a clue here:

mizar:[/tmp] ./nssinit
Failed to initialize NSSzsh: exit 255 ./nssinit
mizar:[/tmp] LD_LIBRARY_PATH=/usr/lib/firefox ./nssinit
NSS init OK

It seems to require /usr/lib/firefox/libfreebl3.so

Revision history for this message
Matt Zimmerman (mdz) wrote :

Evolution itself starts up OK with the same LD_LIBRARY_PATH workaround

Revision history for this message
Matthew Wardrop (mister.wardrop) wrote :

Hey... I found another workaround, and I am not sure exactly why it works.

1) Enter Firefox, and find a mailto:<email> link, and click it.
2) The Evolution send new mail window pops up.
3) THEN open the normal view of Evolution from the menu or panel, and it works.
4) When you quit, it still crashes.

Kind Regards,
Matthew

Changed in evolution:
status: Unknown → Confirmed
Revision history for this message
Matthew Wardrop (mister.wardrop) wrote :

Fixed with new release of Firefox - now in ubuntu edgy repository. At least, it fixed the problem for me.

Kind Regards,
Matthew

Revision history for this message
Sebastien Bacher (seb128) wrote :

not an evolution bug

Changed in evolution:
status: Confirmed → Rejected
Revision history for this message
Sebastien Bacher (seb128) wrote :

fixed with this upload:

 firefox (1.99+2.0b1+dfsg-1ubuntu2) edgy; urgency=low
 .
   * Put libfreebl3 in /usr/lib, not /usr/lib/firefox;
     it's part of libnss3. This fixes Malone #56202.
   * Disable main menu File / Import again; it seems that the Organise
     Bookmarks import is going to be fixed and not the main menu one.
     (See Mozilla Bugzilla #347956, #117844; Debian #350599.)
   * Remove default theme setting; this can now be done by the
     theme package creating another *.js file in /etc/firefox/pref.
     This means we don't need to depend on firefox-themes-ubuntu.
     (We Break older versions of firefox-themes-ubuntu.)
   * Relax version dependency from firefox to libnss and libnspr,
     since these remain largely binary compatible.

Changed in firefox:
status: Unconfirmed → Fix Released
Changed in evolution:
status: Confirmed → Rejected
Revision history for this message
cement_head (andorjkiss) wrote :

Using Dapper Drake, using the following workaround:

$ LD_LIBRARY_PATH=/usr/lib/firefox evolution &

Ian Jackson (ijackson)
Changed in firefox:
assignee: ijackson → nobody
Changed in evolution:
status: Rejected → Confirmed
Revision history for this message
Alexander Sack (asac) wrote :

this regressed (only in dapper), because the changes that initially led to this bug in 2.0 preview where now merged to 1.5.0.10 by mozilla.org.

Changed in evolution:
status: Confirmed → Fix Committed
Revision history for this message
Alexander Sack (asac) wrote :

latest firefox update released for dapper fixes this. This has been announced as USN-428-2

Changed in evolution:
status: Fix Committed → Fix Released
Revision history for this message
meirm (meirgotroot) wrote :

evolution
CalDAV Eplugin starting up ...

(evolution-2.10:22952): evolution-mail-WARNING **: ignored this junk plugin: not enabled or we have already loaded one

(evolution-2.10:22952): e-utils-WARNING **: Plugin 'Spamassassin junk plugin' failed to load hook 'org.gnome.evolution.mail.junk:1.0'
Segmentation fault (core dumped)

Changed in evolution:
importance: Unknown → Critical
status: Invalid → Unknown
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.