Closed Bug 286067 Opened 20 years ago Closed 20 years ago

imported 'mail.identity.id1.sig_file-rel' attribude crashes Thunderbird [@ nsLocalFile::SetRelativeDescriptor() ]

Categories

(Thunderbird :: Preferences, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 254527

People

(Reporter: urbanp, Assigned: mscott)

Details

(Keywords: crash)

Crash Data

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050302 Firefox/1.0.1 Fedora/1.0.1-1.3.2
Build Identifier: version 0.9 (20041127); thunderbird-0.9-1.fc3 (rpm package for Fedora Core 3)

After RPM installation of Thunderbird and import of preferences from older
Mozilla Suite (1.7.3), Thunderbird crashed every time I've tried to open
'Tools/Account Settings'. After manually editing prefs.js file, I've found that
this line caused the problem:
user_pref("mail.identity.id1.sig_file-rel", "[ProfD]../../../../home/pupu/sig.txt");


Reproducible: Always

Actual Results:  
Thunderbird crashed with SIGSEGV.

Expected Results:  
Open dialog box
Pavel Urban: Could you reproduce with Thunderbird 1.0 or actual nightbuild? If
you could reproduce with build from Mozilla.org, could you provide Talkback
incident ID?

BTW isn't sig.txt sym-linked file?
Whiteboard: DUPEME
Keywords: crash
I've just tried Thunderbird 1.0 with the same result. sig.txt is a simple text
file. I don't see talkback ID; it is in 'Queued' status, though.
After status will change to 'Sent', you will see also ID.
Version: unspecified → 1.0
(In reply to comment #3)
> After status will change to 'Sent', you will see also ID.

Yup, after approx. 15 retries, I've got it.

TB4361880E

Version: 1.0 → unspecified
Stack Signature	 nsLocalFile::SetRelativeDescriptor() cbe6ae8c
Product ID	Thunderbird10
Build ID	2004120604
Trigger Time	2005-03-15 07:26:44.0
Platform	LinuxIntel
Operating System	Linux 2.6.10-1.770_FC3
Module	libxpcom.so + (000637c0)
URL visited	
User Comments	After importing configuration from Mozilla to Thunderbird, opening
dialog box with Account settings crashed the application - see bug 286067
Since Last Crash	0 sec
Total Uptime	0 sec
Trigger Reason	SIGSEGV: Segmentation Fault: (signal 11)
Source File, Line No.
/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/xpcom/io/nsLocalFileCommon.cpp,
line 710

Stack Trace 	
nsLocalFile::SetRelativeDescriptor() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/xpcom/io/nsLocalFileCommon.cpp,
line 710]
nsPrefBranch::GetComplexValue() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/modules/libpref/src/nsPrefBranch.cpp,
line 65]
NS_GetPersistentFile() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/mailnews/base/util/nsMsgUtils.cpp,
line 704]
nsMsgIdentity::GetSignature() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/mailnews/base/util/nsMsgIdentity.cpp,
line 408]
XPTC_InvokeByIndex()
XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode)() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/xpconnect/src/xpcwrappednative.cpp,
line 2939]
XPC_WN_GetterSetter() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp,
line 1884]
js_Invoke() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsinterp.c,
line 941]
js_InternalInvoke() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsinterp.c,
line 1035]
js_InternalGetOrSet() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsinterp.c,
line 1078]
js_Interpret() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsinterp.c,
line 2827]
js_Invoke() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsinterp.c,
line 958]
js_InternalInvoke() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsinterp.c,
line 1035]
JS_CallFunctionValue() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/js/src/jsapi.c,
line 3705]
nsJSContext::CallEventHandler() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/dom/src/base/nsJSEnvironment.cpp,
line 1296]
nsJSEventListener::HandleEvent() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/dom/src/events/nsJSEventListener.cpp,
line 177]
nsEventListenerManager::HandleEventSubType() 
[/builds/tinderbox/thunderbird-aviarybranch/Linux_2.4.18-14_Clobber/mozilla/content/events/src/nsEventListenerManager.cpp,
line 710]

The stack is same as bug 254527 - TB09 crashes when using a symlink to a
signature file. Marking as DUPE, Pavel, please reopen if you disagree.

*** This bug has been marked as a duplicate of 254527 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Summary: imported 'mail.identity.id1.sig_file-rel' attribude crashes Thunderbird → imported 'mail.identity.id1.sig_file-rel' attribude crashes Thunderbird [@ nsLocalFile::SetRelativeDescriptor() ]
This doesn't look like symlink issue.

[root@aphrael ~]# grep 'sig\.txt' ~/.thunderbird/f29opwpx.default/prefs.js
user_pref("mail.identity.id1.sig_file",
"/root/.thunderbird/f29opwpx.default/sig.txt");
user_pref("mail.identity.id1.sig_file-rel", "[ProfD]../../../../home/pupu/sig.txt");
user_pref("mail.identity.id2.sig_file",
"/root/.thunderbird/f29opwpx.default/sig.txt");
user_pref("mail.identity.id2.sig_file-rel", "[ProfD]../../../../home/pupu/sig.txt");
user_pref("mail.identity.id4.sig_file",
"/root/.thunderbird/f29opwpx.default/sig.txt");
user_pref("mail.identity.id4.sig_file-rel", "[ProfD]../../../../home/pupu/sig.txt");


[root@aphrael ~]# ls -l /home/pupu/sig.txt
-rw-r--r--  1 root root 454 Jul 28  2004 /home/pupu/sig.txt

(for sure)
[root@aphrael ~]# ls -l /root/.thunderbird/f29opwpx.default/sig.txt
-rw-r--r--  1 root root 454 Mar 15 16:23 /root/.thunderbird/f29opwpx.default/sig.txt

I can investigate further, but I'm not a programmer, sorry.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Depends on: 254527
Whiteboard: DUPEME
it's the same issue, although perhaps the other bug's summary should be changed
slightly. please do *not* reopen.

*** This bug has been marked as a duplicate of 254527 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
No longer depends on: 254527
Resolution: --- → DUPLICATE
Crash Signature: [@ nsLocalFile::SetRelativeDescriptor() ]
You need to log in before you can comment on or make changes to this bug.