Bug#429889: icedove: Crashes while writing Japanese in the body of mail

2007-06-20 Thread Kimikazu KATO
Package: icedove
Version: 1.5.0.10.dfsg1-3
Severity: important

*** Please type your report below this line ***
icedove crashes with a segment fault when entering Japanese in  a
message body. More precisely, it crashes after the following procedure
1. Compose a new message
2. Click the message body area to type in a new message
3. Enter some hiragana
4. Push space key to convert it to kanji, and then icedove crashes

This doesn't happen when I cut and paste a Japanese message from gedit
to icedove. So I doubt Japanese input system is related. I am using
anthy and uim-xim.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-4-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages icedove depends on:
ii  debconf [debconf-2.0]   1.5.13   Debian configuration
management sy
ii  libatk1.0-0 1.18.0-2 The ATK accessibility toolkit
ii  libc6   2.5-9GNU C Library: Shared libraries
ii  libcairo2   1.4.6-1.1The Cairo 2D vector
graphics libra
ii  libfontconfig1  2.4.2-1.2generic font configuration
library
ii  libgcc1 1:4.2-20070528-1 GCC support library
ii  libglib2.0-02.12.12-1The GLib library of C routines
ii  libgtk2.0-0 2.10.12-2The GTK+ graphical user
interface
ii  libjpeg62   6b-13The Independent JPEG
Group's JPEG
ii  libpango1.0-0   1.16.4-1 Layout and rendering of
internatio
ii  libpng12-0  1.2.15~beta5-2   PNG library - runtime
ii  libstdc++6  4.2-20070528-1   The GNU Standard C++ Library v3
ii  libx11-62:1.0.3-7X11 client-side library
ii  libxcursor1 1:1.1.8-2X cursor management library
ii  libxext61:1.0.3-2X11 miscellaneous extension
librar
ii  libxfixes3  1:4.0.3-2X11 miscellaneous 'fixes'
extensio
ii  libxft2 2.1.12-2 FreeType-based font drawing
librar
ii  libxi6  1:1.0.1-4X11 Input extension library
ii  libxinerama11:1.0.2-1X11 Xinerama extension library
ii  libxrandr2  2:1.2.1-1X11 RandR extension library
ii  libxrender1 1:0.9.2-1X Rendering Extension
client libra
ii  libxt6  1:1.0.5-3X11 toolkit intrinsics library
ii  myspell-en-us [myspell- 1:2.2.0-2English_american dictionary
for my
ii  zlib1g  1:1.2.3-15   compression library - runtime

icedove recommends no packages.

-- debconf information:
  icedove/browser: Debian

-- 
Kimikazu KATO <[EMAIL PROTECTED]>
Nihon Unisys, Ltd.
Blog: http://www.tyzoh.jp/modules/weblog/index.php?user_id=70
Key fingerprint: C41A 4CA4 E7F4 080E 78A6  BABF 26BF 555A B18B F75D


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#429889: icedove: Crashes while writing Japanese in the body of mail

2007-06-21 Thread Alexander Sack - Debian Bugmail
On Thu, Jun 21, 2007 at 11:41:06AM +0900, Kimikazu KATO wrote:
> *** Please type your report below this line ***
> icedove crashes with a segment fault when entering Japanese in  a
> message body. More precisely, it crashes after the following procedure
> 1. Compose a new message
> 2. Click the message body area to type in a new message
> 3. Enter some hiragana
> 4. Push space key to convert it to kanji, and then icedove crashes
> 
> This doesn't happen when I cut and paste a Japanese message from gedit
> to icedove. So I doubt Japanese input system is related. I am using
> anthy and uim-xim.
> 

Please attach a backtrace like:

1. install icedove-dbg
2. start icedove from console:

 # icedove -g 2>&1 | tee /tmp/gdb.429889.log
 ...
 (gdb) run
 ... // then there will be a crash
 (gdb) bt
 ... // one or more console pages of output
 (gdb) bt full
 ... // more output
 (gdb) quit

3. mail this file to this bug.

Thanks,

 - Alexander

-- 
 GPG messages preferred.   |  .''`.  ** Debian GNU/Linux **
 Alexander Sack| : :' :  The  universal
 [EMAIL PROTECTED]   | `. `'  Operating System
 http://www.asoftsite.org  |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#429889: icedove: Crashes while writing Japanese in the body of mail

2007-06-21 Thread Kimikazu KATO
Hi,
Thank you for quick reply.

I followed the procedure you explained. But if you are expecting a list
of debug symbols, this won't be enough. Anyway, the log is attached.

-- 
Kimikazu KATO <[EMAIL PROTECTED]>
Nihon Unisys, Ltd.
Blog: http://www.tyzoh.jp/modules/weblog/index.php?user_id=70
Key fingerprint: C41A 4CA4 E7F4 080E 78A6  BABF 26BF 555A B18B F75D
/usr/lib/icedove/run-mozilla.sh -g /usr/lib/icedove/icedove-bin
MOZILLA_FIVE_HOME=/usr/lib/icedove
  LD_LIBRARY_PATH=/usr/lib/icedove:/usr/lib/icedove/plugins:/usr/lib/mre/mre
DISPLAY=:0.0
DYLD_LIBRARY_PATH=/usr/lib/icedove:/usr/lib/mre/mre
 LIBRARY_PATH=/usr/lib/icedove:/usr/lib/icedove/components:/usr/lib/mre/mre
   SHLIB_PATH=/usr/lib/icedove:/usr/lib/mre/mre
  LIBPATH=/usr/lib/icedove:/usr/lib/mre/mre
   ADDON_PATH=/usr/lib/icedove
  MOZ_PROGRAM=/usr/lib/icedove/icedove-bin
  MOZ_TOOLKIT=
moz_debug=1
 moz_debugger=
/usr/bin/gdb /usr/lib/icedove/icedove-bin -x /tmp/mozargs.T13070
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/lib/icedove/icedove-bin 
BFD: /lib64/ld-linux-x86-64.so.2: don't know how to handle OS specific section `.gnu.hash' [0x6ff6]
warning: Unable to grok dynamic linker /lib64/ld-linux-x86-64.so.2 as an object file
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
warning: shared library handler failed to enable breakpoint
DOUBLE-CLICK: 400 --> -1 THRESHOLD: 8 --> -1 [New LWP 13091]

Program received signal SIGSEGV, Segmentation fault.
0x2aaab73807bf in ?? ()
(gdb) bt
#0  0x2aaab73807bf in ?? ()
#1  0x2b10734d0d90 in ?? ()
#2  0x7fff37ac4608 in ?? ()
#3  0x000100110002 in ?? ()
#4  0x003f in ?? ()
#5  0x7fff37ac4608 in ?? ()
#6  0x85e452a0 in ?? ()
#7  0x2b10734c6920 in ?? ()
#8  0x01a30060 in ?? ()
#9  0x in ?? ()
(gdb) bt full
#0  0x2aaab73807bf in ?? ()
No symbol table info available.
#1  0x2b10734d0d90 in ?? ()
No symbol table info available.
#2  0x7fff37ac4608 in ?? ()
No symbol table info available.
#3  0x000100110002 in ?? ()
No symbol table info available.
#4  0x003f in ?? ()
No symbol table info available.
#5  0x7fff37ac4608 in ?? ()
No symbol table info available.
#6  0x85e452a0 in ?? ()
No symbol table info available.
#7  0x2b10734c6920 in ?? ()
No symbol table info available.
#8  0x01a30060 in ?? ()
No symbol table info available.
#9  0x in ?? ()
No symbol table info available.
(gdb) quit
The program is running.  Exit anyway? (y or n) 

Bug#429889: icedove: Crashes while writing Japanese in the body of mail

2007-06-21 Thread Kimikazu KATO
Alexander Sack wrote:
> So you didn't install icedove-dbg before doing this?
> 
>  - Alexander
> 
> p.s. please reply-all so the bug gets your infos too.
> 

Yes I am sure I installed icedove-dbg.

ii  icedove-dbg1.5.0.10.dfsg1 debugging symbols for icedove/thunderbird

So something is wrong about linking with debug version.
Is this another bug?

-- 
Kimikazu KATO <[EMAIL PROTECTED]>
Nihon Unisys, Ltd.
Blog: http://www.tyzoh.jp/modules/weblog/index.php?user_id=70
Key fingerprint: C41A 4CA4 E7F4 080E 78A6  BABF 26BF 555A B18B F75D


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#429889: icedove: Crashes while writing Japanese in the body of mail

2007-06-21 Thread Alexander Sack
On Thu, Jun 21, 2007 at 07:19:21PM +0900, Kimikazu KATO wrote:
> Hi,
> Thank you for quick reply.
> 
> I followed the procedure you explained. But if you are expecting a list
> of debug symbols, this won't be enough. Anyway, the log is attached.
> 

So you didn't install icedove-dbg before doing this?

 - Alexander

p.s. please reply-all so the bug gets your infos too.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#429889: icedove: Crashes while writing Japanese in the body of mail

2007-06-21 Thread Alexander Sack
On Thu, Jun 21, 2007 at 07:19:21PM +0900, Kimikazu KATO wrote:
> Hi,
> Thank you for quick reply.
> 
> I followed the procedure you explained. But if you are expecting a list
> of debug symbols, this won't be enough. Anyway, the log is attached.
> 

You get:

Starting program: /usr/lib/icedove/icedove-bin 
BFD: /lib64/ld-linux-x86-64.so.2: don't know how to handle OS specific
section `.gnu.hash' [0x6ff6]
warning: Unable to grok dynamic linker /lib64/ld-linux-x86-64.so.2 as
an object file
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
warning: shared library handler failed to enable breakpoint


Which looks bad and is likely the cause for not getting debug symbols.

So, anything that is special about your system?

 - Alexander



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#429889: icedove: Crashes while writing Japanese in the body of mail

2007-06-21 Thread Kimikazu KATO
Alexander Sack wrote:
> You get:
> 
> Starting program: /usr/lib/icedove/icedove-bin 
> BFD: /lib64/ld-linux-x86-64.so.2: don't know how to handle OS specific
> section `.gnu.hash' [0x6ff6]
> warning: Unable to grok dynamic linker /lib64/ld-linux-x86-64.so.2 as
> an object file
> warning: Unable to find dynamic linker breakpoint function.
> GDB will be unable to debug shared library initializers
> and track explicitly loaded dynamic code.
> warning: shared library handler failed to enable breakpoint
> 
> 
> Which looks bad and is likely the cause for not getting debug symbols.
> 
> So, anything that is special about your system?
> 
>  - Alexander
> 

After upgraded gdb by:
aptitude install gdb/unstable
I get the debug symbols. Now the log is attached.

I found this workaround because I found the following page by searching
the web:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/73724

I am going to post this problem as another bug. I will be glad if you
know what category I should post to. I regard this is a dependency
problem of ld-linux-x86-64.so.2. Am I right?

Anyway, I am glad we can go back to the original problem I posted first :-)

-- 
Kimikazu KATO <[EMAIL PROTECTED]>
Nihon Unisys, Ltd.
Blog: http://www.tyzoh.jp/modules/weblog/index.php?user_id=70
Key fingerprint: C41A 4CA4 E7F4 080E 78A6  BABF 26BF 555A B18B F75D
/usr/lib/icedove/run-mozilla.sh -g /usr/lib/icedove/icedove-bin
MOZILLA_FIVE_HOME=/usr/lib/icedove
  LD_LIBRARY_PATH=/usr/lib/icedove:/usr/lib/icedove/plugins:/usr/lib/mre/mre
DISPLAY=:0.0
DYLD_LIBRARY_PATH=/usr/lib/icedove:/usr/lib/mre/mre
 LIBRARY_PATH=/usr/lib/icedove:/usr/lib/icedove/components:/usr/lib/mre/mre
   SHLIB_PATH=/usr/lib/icedove:/usr/lib/mre/mre
  LIBPATH=/usr/lib/icedove:/usr/lib/mre/mre
   ADDON_PATH=/usr/lib/icedove
  MOZ_PROGRAM=/usr/lib/icedove/icedove-bin
  MOZ_TOOLKIT=
moz_debug=1
 moz_debugger=
/usr/bin/gdb /usr/lib/icedove/icedove-bin -x /tmp/mozargs.rd5699
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/lib/icedove/icedove-bin 
[Thread debugging using libthread_db enabled]
[New Thread 47058810147184 (LWP 5705)]
[New Thread 1082132800 (LWP 5708)]
[New Thread 1090525504 (LWP 5709)]
[New Thread 1098918208 (LWP 5710)]
DOUBLE-CLICK: 400 --> -1 THRESHOLD: 8 --> -1 [New Thread 1107310912 (LWP 5715)]
[New Thread 1115703616 (LWP 5716)]
[New Thread 1124096320 (LWP 5730)]
[New Thread 1132489024 (LWP 5731)]
[New Thread 1140881728 (LWP 5732)]
[New Thread 1149274432 (LWP 5733)]
[New Thread 1157667136 (LWP 5735)]
[Thread 1140881728 (LWP 5732) exited]
[Thread 1157667136 (LWP 5735) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47058810147184 (LWP 5705)]
0x2aaab32f47bf in mozInlineSpellChecker::EndOfAWord (
this=, aNode=0x1a7c8b0, aOffset=-1)
at mozInlineSpellChecker.cpp:980
980	mozInlineSpellChecker.cpp: No such file or directory.
	in mozInlineSpellChecker.cpp
(gdb) bt
#0  0x2aaab32f47bf in mozInlineSpellChecker::EndOfAWord (
this=, aNode=0x1a7c8b0, aOffset=-1)
at mozInlineSpellChecker.cpp:980
#1  0x2aaab32f5f73 in mozInlineSpellChecker::AdjustSpellHighlighting (
this=0x1b09ee0, aNode=0x1a7c8b0, aOffset=-1, 
aSpellCheckSelection=0x1a5f060, isDeletion=0)
at mozInlineSpellChecker.cpp:848
#2  0x2aaab32f78cf in mozInlineSpellChecker::SpellCheckAfterEditorChange (
this=0x1b09ee0, action=1002, aSelection=0x1a60fb0, 
previousSelectedNode=0x1a7c8b0, previousSelectedOffset=-1, 
aStartNode=0x1a7c8b0, aStartOffset=0, aEndNode=0x1a7c8b0, aEndOffset=4)
at mozInlineSpellChecker.cpp:261
#3  0x2aaab1103b19 in nsHTMLEditRules::AfterEditInner (this=0x1a7d190, 
action=1002, aDirection=1) at nsHTMLEditRules.cpp:547
#4  0x2aaab1103da0 in nsHTMLEditRules::AfterEdit (this=0x736e3230, 
action=1002, aDirection=-1) at nsHTMLEditRules.cpp:391
#5  0x2aaab10dde95 in nsHTMLEditor::EndOperation (this=0x1a5a440)
at nsHTMLEditor.cpp:4129
#6  0x2aaab113a0ad in nsPlaintextEditor::InsertText (this=0x1a5a440, 
[EMAIL PROTECTED])
at ../../../editor/libeditor/base/nsEditorUtils.h:123
#7  0x2aaab113872c in nsPlaintextEditor::SetCompositionString (
this=0x1a5a440, [EMAIL PROTECTED], 
aTextRangeList=, aReply=0x736e4258)
at nsPlaintextEditor.cpp:1624
#8  0x2aaab113f001 in nsTextEditorTextListener::HandleText (
this=0x1a918a0, aTextEvent=)
at nsEditorEventListeners.cpp:469
#9  0x2fb7cb7e in nsEventListenerManager::HandleEvent (this=0x1a5f790, 
aPresContext=, aEvent=0x7f

Bug#429889: icedove: Crashes while writing Japanese in the body of mail

2007-06-21 Thread Kimikazu KATO
Looking at the debug information. I found a workaround. Turn off the
real time spell check, you can avoid this trouble.
More properly, from the menu bar, follow
Edit -> Preferences -> Composition -> Spelling
and turn off "Enable spell as you type"

This is not a real solution, but might be helpful information for users
who want write a email in Japanese (or possibly other non-European
languages)

-- 
Kimikazu KATO <[EMAIL PROTECTED]>
Nihon Unisys, Ltd.
Blog: http://www.tyzoh.jp/modules/weblog/index.php?user_id=70
Key fingerprint: C41A 4CA4 E7F4 080E 78A6  BABF 26BF 555A B18B F75D


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#429889: icedove: Crashes while writing Japanese in the body of mail

2007-06-22 Thread Alexander Sack
On Fri, Jun 22, 2007 at 10:37:58AM +0900, Kimikazu KATO wrote:
> Looking at the debug information. I found a workaround. Turn off the
> real time spell check, you can avoid this trouble.
> More properly, from the menu bar, follow
> Edit -> Preferences -> Composition -> Spelling
> and turn off "Enable spell as you type"
> 
> This is not a real solution, but might be helpful information for users
> who want write a email in Japanese (or possibly other non-European
> languages)
> 

BTW, do you see similar crashes for iceweasel or iceape as well?

 - Alexander



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#429889: icedove: Crashes while writing Japanese in the body of mail

2007-06-25 Thread Kimikazu KATO
Alexander Sack wrote:
> On Fri, Jun 22, 2007 at 10:37:58AM +0900, Kimikazu KATO wrote:
>> Looking at the debug information. I found a workaround. Turn off the
>> real time spell check, you can avoid this trouble.
>> More properly, from the menu bar, follow
>> Edit -> Preferences -> Composition -> Spelling
>> and turn off "Enable spell as you type"
>>
>> This is not a real solution, but might be helpful information for users
>> who want write a email in Japanese (or possibly other non-European
>> languages)
>>
> 
> BTW, do you see similar crashes for iceweasel or iceape as well?
> 
>  - Alexander
> 

It doesn't happen with iceweasel. I mean iceweasel never crashes while I
am entering Japanese in a text-form. I have never used iceape.

-- 
Kimikazu KATO <[EMAIL PROTECTED]>
Nihon Unisys, Ltd.
Blog: http://www.tyzoh.jp/modules/weblog/index.php?user_id=70
Key fingerprint: C41A 4CA4 E7F4 080E 78A6  BABF 26BF 555A B18B F75D


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]