Crash on startup

Bug #75286 reported by Fredrik
14
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Medium
Pascal De Vuyst

Bug Description

Thunderbird has from today (after installing latest update I think) start crashing on startup.

The crash is after the GUI is visible and possible while reading my mial from the server (IMAP).

$ mozilla-thunderbird
GTK Accessibility Module initialized
DOUBLE-CLICK: 400 --> -1 THRESHOLD: 8 --> -1
(Gecko:6866): GLib-GObject-WARNING **: gsignal.c:1019: unable to lookup signal "activate" of unloaded type `MaiAtkObject'

(Gecko:6866): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion `signal_id > 0' failed
Segmentation fault (core dumped)

It possible removing my profile works, but that is not an option. It worked yesterday.

Revision history for this message
Fredrik (fredrk) wrote :

I moved away my profile and created a new one just for test. It worked fine.

Then I activated gpg (enigmail) for my acoount and it crashed again...

Revision history for this message
Fredrik (fredrk) wrote :

After sendning my first email it starts crashing again.
Everytime I try to read a mail.

I have uninstalled gpg but it didn't do any difference.

I give up.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Thanks for your bug report. Could you please try to obtain a
backtrace by following the instructions on
       http://wiki.ubuntu.com/DebuggingProgramCrash.
This will greatly aid us in tracking down your problem.

Changed in mozilla-thunderbird:
assignee: nobody → gnomefreak
status: Unconfirmed → Needs Info
Revision history for this message
tokj (tokj-deactivatedaccount) wrote :

It's probable that bug reports #73448, #72332, #77316 and maybe #74419 are all duplicates of this bug.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Its possible Tom but i would feel more confortible with a backtrace or some other form of error log. Maybe in /var/crash there might be a crash report fredrik, if there is can you attach that instead of the backtrace?

Changed in mozilla-thunderbird:
assignee: gnomefreak → nobody
Revision history for this message
tokj (tokj-deactivatedaccount) wrote :

Anyway the other bug reports have the crash log attached.

I'm not a developer but the logs are very similar. I guess if aren't all refering to the same bug.

Anyway we can't say this for THIS bug report, cause we haven't a crash log or a backtrace yet.

Revision history for this message
Fredrik (fredrk) wrote :

Here comes the crash report

Changed in mozilla-thunderbird:
status: Needs Info → Confirmed
David Farning (dfarning)
Changed in mozilla-thunderbird:
assignee: nobody → mozillateam
importance: Undecided → Medium
Revision history for this message
Krzysztof Janowicz (janowicz) wrote :

i have the same problem since updating my ubuntu today:

#:~$ mozilla-thunderbird
GTK Accessibility Module initialized
DOUBLE-CLICK: 400 --> -1 THRESHOLD: 8 --> -1
(Gecko:9799): GLib-GObject-WARNING **: gsignal.c:1019: unable to lookup signal
"activate" of unloaded type `MaiAtkObject'

(Gecko:9799): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion
`signal_id > 0' failed
Segmentation fault (core dumped)

see also: https://bugzilla.mozilla.org/show_bug.cgi?id=369999

Alexander Sack (asac)
Changed in mozilla-thunderbird:
status: Confirmed → Needs Info
Revision history for this message
Krzysztof Janowicz (janowicz) wrote :

okay, the status was changed to "needs info" so here we go:

if you start mozilla-thunderbird using sudo, thunderbird will *not* crash. i hope that helps.

Revision history for this message
Krzysztof Janowicz (janowicz) wrote :

okay, this was probably not a good idea ;-) - from the next restart (of thunderbird) on you will have no settings and mails anymore. the folders are still there but not recognized. i used a backup that i made before but now i have the startup crash again.....

Revision history for this message
John Vivirito (gnomefreak) wrote :

what themes, plugins, and extentions do you have installed and running? if you disable them does it still crash?

Revision history for this message
Krzysztof Janowicz (janowicz) wrote :

i removed all extensions - same problem. next i have deleted the whole account and set it up again (copied my mail folder into the new account and also come server settings from pref.js) and it worked but was very unstable. now it is crashing again several seconds after startup. i have attached a crash log.

Revision history for this message
Krzysztof Janowicz (janowicz) wrote :

just something in addition to the crash log above. when i remove pref.js and start thunderbird again i can set up everything (a new profile) without problems. seems that the error occurs when trying to access or load mails....

Revision history for this message
Krzysztof Janowicz (janowicz) wrote :

okay, it's definitely an issue of privileges. running thunderbird by sudo works and you don't get the: GLib-GObject-CRITICAL errors or a Segmentation fault. any idea?

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 75286] Re: Crash on startup

On Tue, Feb 13, 2007 at 03:54:49AM -0000, Krzysztof Janowicz wrote:
> okay, it's definitely an issue of privileges. running thunderbird by
> sudo works and you don't get the: GLib-GObject-CRITICAL errors or a
> Segmentation fault. any idea?
>

please attach a

  strace -f mozilla-thunderbird &> /tmp/strace.log

to this bug captured from a session where you reproduce this crash.

Thanks,

 - Alexander

Revision history for this message
Krzysztof Janowicz (janowicz) wrote :

i've done this already yesterday but i still have no idea what's going on (same for valgrind). here are the last lines before the segmentation fault. the rest is similar to the sudo run.

David Farning (dfarning)
Changed in mozilla-thunderbird:
assignee: mozillateam → mozilla-bugs
Revision history for this message
Fredrik (fredrk) wrote :

Using Ubuntu 7.04 gives the same result. Even after wiping .mozilla-thunderbird-directory:

(Gecko:8927): GLib-GObject-WARNING **: gsignal.c:1019: unable to lookup signal "activate" of unloaded type `MaiAtkObject'

(Gecko:8927): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion `signal_id > 0' failed
Segmentation fault (core dumped)

Back to Evolution ...

Revision history for this message
Fredrik (fredrk) wrote :

Here is my last 500 strace lines...

Revision history for this message
mosdefined (jerrod) wrote :

This shit has been killing me. I have to use sudo mozilla-thunderbird to make it work at all and even then its only good for half a day. I followed the strace instructions above and have attached strace,log. Any help would be greatly appreciated....

Revision history for this message
Krzysztof Janowicz (janowicz) wrote :

the problem seems to be caused by root permissions locking certain folders in the profile settings of ./mozilla-thunderbird (see workaround below)

Changed in mozilla-thunderbird:
status: Needs Info → Fix Committed
Revision history for this message
Krzysztof Janowicz (janowicz) wrote :

i updated to thunderbird 2 at the same time, so here is what i did:

download http://www.mozilla.com/en-US/thunderbird/ thunderbird2 and unzip it. copy the content (!) of the folder to your home into ./mozilla-thunderbird. open a shell and change to the mozilla-thunderbird directory. then type in ./thunderbird (not as root!). now you can leave thunderbird again and run it with ./thunderbird -ProfileManager . now create a new profile and just chose your old profile folder under "change folder". than prof that *all* files in your profile are owned by you, not root (use nautilus or ls -lha). make changes if necessary (e.g. by "chown you thefile"). run ./thunderbird.

thats all :-) please let me know if this does not work for you.

Revision history for this message
Fredrik (fredrk) wrote :

And how does the solve the issue with the Ubuntu package?

Open this up as it's not solved at all.

Revision history for this message
Fredrik (fredrk) wrote :

FYI, all the files in my profile is owned by me.

Revision history for this message
Alexander Sack (asac) wrote :

plesae attach an strace -f mozilla-thunderbird &> /tmp/tbird.strace.log to this bug.

Revision history for this message
Alexander Sack (asac) wrote :

sorry ... i clicked the wrong strace attachment.

So did you track down that enigmail causes this problem?

Can you start mozilla-thunderbird in safe-mode?

 # mozilla-thunderbird -safe-mode

... does that help?

Changed in mozilla-thunderbird:
status: Fix Committed → Needs Info
Revision history for this message
Fredrik (fredrk) wrote :

No, even without enigmail (or any extensions at all) it crashes.

Revision history for this message
damormino (david-amormino) wrote :

I am not sure if this is the same bug. My mozilla-thunderbird is crashing shortly after startup. I get the error:
GTK Accessibility Module initialized
Segmentation fault (core dumped) Thunderbird
I have attached a trace.
I can provide more information if this is applicable to this bug.

Revision history for this message
Fredrik (fredrk) wrote : Fixed in Gutsy

At least for me, everything works fine in Gutsy.

Revision history for this message
James-C (james+launchpad) wrote :

I'm having this problem as well. I've not installed any new extensions, and not upgraded anything that should affect mozilla. I'm still running Feisty (and not able to upgrade this machine for awhile).

The error is:
====
GTK Accessibility Module initialized
DOUBLE-CLICK: 400 --> -1 THRESHOLD: 8 --> -1
(Gecko:9062): GLib-GObject-WARNING **: gsignal.c:1019: unable to lookup signal "activate" of unloaded type `MaiAtkObject'

(Gecko:9062): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion `signal_id > 0' failed
/usr/lib/mozilla-thunderbird/run-mozilla.sh: line 131: 9062 Segmentation fault (core dumped) "$prog" ${1+"$@"}
====

All files in the profile are owned by me, using -safe-mode has no effect.

Starting thunderbird as root (sudo mozilla-thunderbird) does seem to work around the problem, but I've not tested what other side effects this might have.

An strace was 15 meg so I didn't upload it... do you only need the last X number of lines or the whole thing?

Revision history for this message
James-C (james+launchpad) wrote : Re: Crash on startup -- possible cause / workaround

Ok, reading through other bugs (64614) I noticed that some people have problems with assistive technologies and thunderbird.

I went to System -> Preferences -> Accessibility -> Assistive Technology Preferences and unchecked 'enable assistive technologies'.

As soon as I did that (no restart of gdm or anything) thunderbird worked again fine without me needing to run it as root.

To test I shut thunderbird, and went back to the same menu and re-enabled it, trying thunderbird again and it wouldn't start again. Going back and disabling assistive technologies and instantly it is able to start up without problems.

Hurrah! Ok, a problem for those who need the assistive technologies, but I don't even remember when I turned them on.

Best,
-James

Revision history for this message
ArnoraCom (contact-arnora) wrote :

Hi There,

I just faced the same problem as everybody else here. Completely suddenly, first I was using Ubuntu and Thunderbird as usual then Ubuntu started acting up (VERY RARE) and I even had to reboot the entire computer (EXTREMELY RARE, once per year). After fresh start Thunderbird stopped working and crashed 1-2 seconds after startup.

Here is the problem:

----------cut cut cut-------------
myname@computer:~$ mozilla-thunderbird
GTK Accessibility Module initialized
DOUBLE-CLICK: 400 --> -1 THRESHOLD: 8 --> -1
(Gecko:6069): GLib-GObject-WARNING **: gsignal.c:1019: unable to lookup signal "activate" of unloaded type `MaiAtkObject'

(Gecko:6069): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion `signal_id > 0' failed
Segmentation fault (core dumped)
myname@computer:~$
----------cut cut cut-------------

I followed the advice James-C gave above (= turned off the "Assistive Technologies") and just as James-C wrotes Thunderbird started working again, immediately.

I am running Ubuntu 7.04 - the Feisty Fawn, Gnome 2.18.1, with all updates from 'normal' repositories.

Best Regards,
Jukka

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

We are closing this bug report since the original bug reporter has indicated he doesn't have this issue anymore with Ubuntu 7.10 (Gutsy).

Changed in thunderbird:
assignee: mozilla-bugs → pascal-devuyst
status: Incomplete → 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.