On Fri, Nov 25, 2005 at 10:34:14PM +0100, Alain Bench wrote:
 > with `mutt -nF /dev/null', segfault occured when the latin-1 specific
> > char in the mail was displayed.
> 
>     I assume you mean the e acute in signature, or just before? So
> segfault in pager scrolled down to nearly the end.

Yes, just the signature.

> 
> >| LANG=zh_CN.GBK
> >| LC_ALL=zh_CN.GBK
> >| $ echo $LANGUAGE
> >| zh_CN.GBK
> 
>     Bug or not bug, you should remove LC_ALL forever. And you should
> also remove LANGUAGE: Does it still segfault?

I tested it again, the segfault occured even in:

[EMAIL PROTECTED]:~$ locale
LANG=en_US
LC_CTYPE=zh_CN.GBK
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
[EMAIL PROTECTED]:~$ echo $LANGUAGE

> 
> 
> > I am not familiar with gdb, and I followed your indication. I type the
> > command above, then `run', after segfault, I `generate-core-file', and
> > then `bt' and `quit'. Is this right?
> 
>     Unfortunately I could not make use of the core. What I meant was:
I am sorry for the annoying
> 
>  -0) Verify "ulimit -c" prints "unlimited" for core files size.
OK! I adjust it to unlimited

>  -1) Use Mutt alone until segfault: A core file is created.
>  -2) Type "gdb /usr/bin/mutt core".
>  -3) At the GDB prompt type "bt" then "quit".
I did.
>  -4) Copy/paste us the text printed by GDB.
The following is the output text, and The first 5 lines and the last
line maybe informative. Hope it can help.

**********

#0  0xb7d0b5ef in memcpy () from /lib/tls/libc.so.6
#1  0xb7d3ca52 in re_set_registers () from /lib/tls/libc.so.6
#2  0xb7d3cd15 in re_set_registers () from /lib/tls/libc.so.6
#3  0xb7d5074a in re_compile_pattern () from /lib/tls/libc.so.6
#4  0xb7d51beb in regexec () from /lib/tls/libc.so.6
#5  0xb7daaf1c in regexec () from /lib/tls/libc.so.6
#6  0x08088c35 in ?? ()
#7  0x0812f858 in ?? ()
#8  0xbf9cc0f0 in ?? ()
#9  0x00000001 in ?? ()
#10 0xbf9cc050 in ?? ()
#11 0x00000000 in ?? ()
#12 0x00000000 in ?? ()
#13 0x00001024 in ?? ()
#14 0xbf9cc508 in ?? ()
#15 0x00000001 in ?? ()
#16 0xbf9cc0f0 in ?? ()
#17 0xbf9cc068 in ?? ()
#18 0x08089139 in ?? ()
#19 0xbf9cc058 in ?? ()
#20 0xbf9cc508 in ?? ()
#21 0x00000001 in ?? ()
#22 0x00000000 in ?? ()
#23 0x00000020 in ?? ()
#24 0x00000000 in ?? ()
#25 0x0000000a in ?? ()
#26 0xbf9cc0f0 in ?? ()
#27 0x000008d0 in ?? ()
#28 0x00000001 in ?? ()
#29 0xbf9cc908 in ?? ()
#30 0x0808a049 in ?? ()
#31 0xbf9cc0f0 in ?? ()
#32 0xbf9cc4f0 in ?? ()
#33 0x08137920 in ?? ()
#34 0x0000005e in ?? ()
#35 0x0000005f in ?? ()
#36 0xbf9cc9c4 in ?? ()
#37 0xbf9cc9c8 in ?? ()
#38 0xbf9cc9cc in ?? ()
#39 0x00000002 in ?? ()
#40 0xbf9cc0cc in ?? ()
#41 0x00000000 in ?? ()
#42 0x00000000 in ?? ()
#43 0x00000000 in ?? ()
#44 0xbf9cc0c8 in ?? ()
#45 0xbf9cc618 in ?? ()
#46 0x00000001 in ?? ()
#47 0x00000000 in ?? ()
#48 0x00000001 in ?? ()
#49 0x00000001 in ?? ()
#50 0xbf9cc4f0 in ?? ()
#51 0xffffffff in ?? ()
#52 0x00000000 in ?? ()
#53 0x00000000 in ?? ()
#54 0x00000000 in ?? ()
#55 0x00000014 in ?? ()
#56 0xbf9cc469 in ?? ()
#57 0x20000000 in ?? ()
#58 0x00000001 in ?? ()
#59 0x00000000 in ?? ()
#60 0x00000000 in ?? ()
#61 0x00000000 in ?? ()
#62 0xffffffff in ?? ()
#63 0x61676552 in ?? ()
#64 0x2c736472 in ?? ()
#65 0x676f5220 in ?? ()
#66 0x6972a6a8 in ?? ()
#67 0x7242206f in ?? ()
#68 0x2e6f7469 in ?? ()
#69 0x6f28000a in ?? ()
#70 0x6f20656e in ?? ()
#71 0x68742066 in ?? ()
#72 0x53552065 in ?? ()
#73 0x656b2042 in ?? ()
#74 0x6c656e72 in ?? ()
#75 0x63616820 in ?? ()
#76 0x7372656b in ?? ()
#77 0x000a2e29 in ?? ()
#78 0x6f6c2061 in ?? ()
#79 0x7420676e in ?? ()
#80 0x0a656d69 in ?? ()
#81 0x08130000 in ?? ()
#82 0x00000000 in ?? ()
#83 0x00000000 in ?? ()
#84 0x00000001 in ?? ()
#85 0xbf9cc840 in ?? ()
#86 0x00000073 in ?? ()
#87 0x00000000 in ?? ()
#88 0x00000000 in ?? ()
#89 0xbf9cc178 in ?? ()
#90 0x08061a2c in ?? ()
#91 0xbf9cc440 in ?? ()
#92 0x00000400 in ?? ()
#93 0xbf9cc840 in ?? ()
#94 0x08134ba8 in ?? ()
#95 0x00000000 in ?? ()
#96 0x0000006e in ?? ()
#97 0xbf9cc2d8 in ?? ()
#98 0x080765a4 in ?? ()
#99 0xb78da671 in gconv () from /usr/lib/gconv/GBK.so
Previous frame inner to this frame (corrupt stack?)

************

Regards,
Wang Xu
> 
>     It should give us the function where the segfault occurred, and
> calling functions.



> 
> 
> Bye!  Alain.
> -- 
> Everything about locales on Sven Mascheck's excellent site at new
> location <URL:http://www.in-ulm.de/~mascheck/locale/>. The little tester
> utility is at <URL:http://www.in-ulm.de/~mascheck/locale/checklocale.c>.


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

Reply via email to