Thunderbird + Lightning will not start if profile directory or extensions directory is a symbolic link

RESOLVED FIXED

Status

Calendar
Lightning Only
--
critical
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: jhorak, Unassigned)

Tracking

({crash})

Lightning 1.0b2
x86
All
crash

Details

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
Created attachment 454857 [details]
backtrace to xptiInterfaceInfoManager::GetInfoForIID

When lightning extension is installed Thunderbird returns with code 1 before GUI is showed. With enabled debug it produces following output:
http://pastebin.com/zCJgk6RX
When extensions.ini is deleted from profile directory its working correctly (with lightning) but on next start same problem occurs. When extension is deleted its working fine too.

There may be problem with xptiInterfaceInfoManager::GetInfoForIID method. It fails to find info for IID {155809f1-71f1-47c5-be97-d812ba560405} in hash table and there are no additional managers to contact (check attachment for relevant backtrace).

Comment 1

8 years ago
Same issue with Windows 7 64 bits.
this method is far out of our reach. The assertions you get make me think there's a lot more broken than Lightning, although I haven't seen any similar reports.

Could you try with a stock Thunderbird 3.1 from mozilla.org?

richardwilly98, are you sure you have the *exact same* issue (i.e the same error messages, the same backtrace, etc?)
(Reporter)

Comment 3

8 years ago
I can reproduce with an official stock build.
Reproduce steps:
1. Create new profile
2. Install lightning extension 1.0b2
3. restart (starts fine)
4. close and start again
5. Thunderbird fails to start
(Reporter)

Comment 4

8 years ago
May be related to bug #574458?
(Reporter)

Comment 5

8 years ago
Deleting extensions.ini helps for one time. After its recreating and another restart this issue is back.

Comment 6

8 years ago
Launching once in safe-mode, then quitting, also allows you to launch once in normal mode (probably because it cleans something in a similar way than comment #5).
Whiteboard: [tb31needs]
i have the same issue.

-removed all traces of lighning in my profile (cleanup pref.js, removed files like storage.sdb etc) but still no luck
- tried a new profile, same result
- tried the latest nightly (/lightning/nightly/latest-comm-1.9.2/linux-xpi), same result

Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.7) Gecko/20100713 Lightning/1.0b2pre Thunderbird/3.1.1
i solved it in my account:

My account lives in .mozilla-thunderbird and .thunderbird is linked to .mozilla-thunderbird

in extension.ini is lightning listed as:
Extension3=/home/timmaks/.thunderbird/99wjsyfd.tim/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}

changing that in:
Extension3=/home/timmaks/.mozilla-thunderbird/99wjsyfd.tim/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}

solved the problem.

i had thunderbird installed true synaptic and that version uses .mozilla-thunderbird but i have updated as su and the updated version is directly from mozilla and is using .thunderbird as profile directory (see also Bug 309136)
Duplicate of this bug: 591632
As written in Bug 578928 Comment 5 this might be related to Bug 551152. 
For similar Thunderbird issues see e.g. Bug 576233.
For similar Firefox issues see e.g. Bug 530793, Bug 533535.

Updated

8 years ago
Severity: major → critical
Keywords: crash

Comment 11

8 years ago
I have been suffering from the same problem for some time now, and confirm that Tim's trick fixed it. I applied it today, and it works with thunderbird 3.1.2 and lightning 1.0b2pre on 64bit f13.


Which one should it be nowadays, ~/.thunderbird or ~/.mozilla-thunderbird , so that I can remove the link?
Whiteboard: [tb31needs]
.thunderbird is the correct mozilla packaged link if you are using core mozilla builds.
Duplicate of this bug: 576319
Duplicate of this bug: 578928
Summary: Unable to start Thunderbird 3.1 with Lightning installed → Thunderbird + Lightning will not start if profile directory or extensions directory is a symbolic link
OS: Linux → All
According to bug 551152	comment 63 a fix has been checked in on the mozilla-1.9.2 branch. Maybe some one can retest with the next Thunderbird 3.1.6pre nightly build.

Comment 16

8 years ago
Tim Maks van den Broek, are you able to test v3.1.6?

(In reply to comment #15)
> According to bug 551152    comment 63 a fix has been checked in on the
> mozilla-1.9.2 branch. Maybe some one can retest with the next Thunderbird
> 3.1.6pre nightly build.
AFAIK Thunderbird 3.1.6 was an out of order update fixing only one critical security issue. Maybe you have to test in a regular comm-1.9.2 build, e.g. 3.1.7pre or the next standard update.
i had the symlink removed and renamed .mozilla-thunderbird to .thunderbird so it was solved for me ;-)

but i put back the symlink and saw still the problem with the build i am running today :

Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2pre Thunderbird/3.1.6

first start ok, second start fail

running 

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13pre) Gecko/20101108 Lightning/1.0b2pre Lanikai/3.1.7pre

no problems (test 3 times to start and all ok)

i downloaded  older versions to check
 
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10pre) Gecko/20100901 Lightning/1.0b2pre Lanikai/3.1.4pre

and

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.11) Gecko/20101013 Lightning/1.0b2pre Thunderbird/3.1.5

and every time is the first time ok and after that fail. going to a higher version solve the problem for one run

3.1.7pre looks like it is fixed
Thunderbird 3.1.7 update is available since some time. Please retest if the problem still exists.
looks like it is ok

marking this bug as fixed
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.