Closed Bug 110858 Opened 23 years ago Closed 23 years ago

Browser exits when viewing a mail with sjis attachment with auto-detector is off

Categories

(MailNews Core :: Internationalization, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 110804

People

(Reporter: ji, Assigned: bstell)

Details

(Keywords: crash, intl, regression)

Build: 11/19 trunk
OS: RH7.1 Ja

This bug was observed when verifying bug 99630 on linux.
When the auto-detector is truned off, browser crashes when displaying a Ja mail
with a sjis attachment that doesn't have charset info.

Steps to reproduce:
1. Download the testing folder attached in bug 99630 to your local mail folder.
2. Launch browser, make sure the auto-detector is turned off.
3. Launch mail from tasks menu.
4. Select the 2nd mail of the testing mail, observe the crash. No talkback
report is generated.

Notes:
1. It doesn't crash on Windows with the same mail.
2. It doesn't crash when auto-detector is turned on Japanese.
Keywords: intl
It doesn't crash either when universal auto-detector is turned on.
Keywords: crash
Do you have talkback result? Is this linux only?
No talkback report generated. This is linux only.
It doesn't crash either on Mac 9.1 Ja.
The following error shows on the terminal:
Gdk-ERROR **: BadMatch (invalid parameter attributes)
serial 485337 error_code 8 request_code 73 minor_code 0
Naoki, 11/09 trunk build doesn't crash with this.
Naoki, 2001-11-10-06-trunk build doesn't crash either.
More info: 2001-11-16-06-trunk build doesn't crash.
Keywords: regression
2001-11-18-06-trunk build crashes. Added bstell to cc list.
does not crash on my system at home
Assignee: nhotta → bstell
> The following error shows on the terminal:
> Gdk-ERROR **: BadMatch (invalid parameter attributes)
> serial 485337 error_code 8 request_code 73 minor_code 0

Request code 73 is X_GetImage
Status: NEW → ASSIGNED
since this is an X protocol error I would expect that gdk calls
exit; eg: does not actually crash hence not talkback report
This bug reminds me bug 108765 I fixed for HPUX, setting SJIS string to windows 
title as latin1 string in SJIS locale will hang the system. The problem is that 
some X function could not handle some illegal byte sequence. If we do not know 
the charset, it is very likely an illegal one will be generated during the 
processing of converting raw string to unicode and back to locale encoding. 

Brian, I can take a look at this problem if you don't want to be distracted by 
this bug. I know you are busying wrapping things up. 
Shanjian: take a look at comment #4
This crash only happens in Japanese locale, it doesn't crash when running in C
or en_US locale.
thanks Xianglan, now I can reproduce it.

Changed to title from:

 Browser crashes when viewing a mail with sjis attachment ...

to:

 Browser exits when viewing a mail with sjis attachment ...

Summary: Browser crashes when viewing a mail with sjis attachment with auto-detector is off → Browser exits when viewing a mail with sjis attachment with auto-detector is off
same problem as bug 110804

*** This bug has been marked as a duplicate of 110804 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Verified as such.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.