[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WL hangs when saving drafts with accented chars



Hi all,

I've experienced this a couple of times -- I save a draft message, after which
emacs hangs. It takes 100% CPU. I made a backtrace (see attached). The hangs
seem to correlate strongly with the use of accented characters, although I
haven't been able to make a minimal example that shows this same behaviour.

But, a given message that hangs gives a 100% repeatable hang when I try to
save it again (from WL). The only thing that saves me then is sending a
  killall -STOP emacs
to the emacs process.

Note, it seems that the magical
   (mel-use-module 'mel-q '("quoted-printable" "Q")) 
prevents this problem.

Best wishes,
Dirk.

(gdb) bt
#0  ccl_driver (ccl=0xbfb84a74, source=0xbfb846b0, destination=0xbfb94b20, 
    src_size=42, dst_size=0, charset_list=138099185) at ccl.c:892
#1  0x080bd0c8 in decode_coding_ccl (coding=0xbfb94ccc) at coding.c:5247
#2  0x080bb892 in decode_coding (coding=0xbfb94ccc) at coding.c:7152
#3  0x080becc6 in decode_coding_object (coding=0xbfb94ccc, 
    src_object=183344779, from=0, from_byte=0, to=16185, to_byte=16185, 
    dst_object=138099233) at coding.c:7831
#4  0x080bf448 in code_convert_string (string=183344779, 
    coding_system=<value optimized out>, dst_object=138099233, encodep=0, 
    nocopy=0, norecord=0) at coding.c:9125
#5  0x080bf5d2 in Fdecode_coding_string (string=183344779, 
    coding_system=176880153, nocopy=138099185, buffer=138099185)
    at coding.c:9167
#6  0x0818aef0 in Ffuncall (nargs=3, args=0xbfb94ff0) at eval.c:3056
#7  0x081c2e89 in Fbyte_code (bytestr=175722707, vector=176282076, maxdepth=32)
    at bytecode.c:678
#8  0x0818cd74 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0xbfb84a74) at eval.c:3233
#9  0x0818ad2b in Ffuncall (nargs=3, args=0xbfb95160) at eval.c:3103
#10 0x081c2e89 in Fbyte_code (bytestr=168470907, vector=173726292, maxdepth=40)
    at bytecode.c:678
#11 0x0818cd74 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0xbfb84a74) at eval.c:3233
---Type <return> to continue, or q <return> to quit---
#12 0x0818ad2b in Ffuncall (nargs=4, args=0xbfb952e0) at eval.c:3103
#13 0x081c2e89 in Fbyte_code (bytestr=175717955, vector=176387956, maxdepth=40)
    at bytecode.c:678
#14 0x0818cd74 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0xbfb84a74) at eval.c:3233
#15 0x0818ad2b in Ffuncall (nargs=1, args=0xbfb95460) at eval.c:3103
#16 0x081c2e89 in Fbyte_code (bytestr=175718707, vector=176391436, maxdepth=32)
    at bytecode.c:678
#17 0x0818cd74 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0xbfb84a74) at eval.c:3233
#18 0x0818ad2b in Ffuncall (nargs=4, args=0xbfb955d0) at eval.c:3103
#19 0x081c2e89 in Fbyte_code (bytestr=175706067, vector=172424132, maxdepth=56)
    at bytecode.c:678
#20 0x0818cd74 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0xbfb84a74) at eval.c:3233
#21 0x0818ad2b in Ffuncall (nargs=1, args=0xbfb9578c) at eval.c:3103
#22 0x0818c031 in run_hook_with_args (nargs=<value optimized out>, 
    args=0xbfb9578c, cond=to_completion) at eval.c:2705
#23 0x0818c1c0 in Frun_hooks (nargs=1, args=0xbfb95844) at eval.c:2568
#24 0x0818afaa in Ffuncall (nargs=2, args=0xbfb95840) at eval.c:3027
#25 0x081c2e89 in Fbyte_code (bytestr=174995827, vector=176411244, maxdepth=16)
    at bytecode.c:678
#26 0x0818c942 in Feval (form=176504773) at eval.c:2383
---Type <return> to continue, or q <return> to quit---
#27 0x0818a3c1 in internal_catch (tag=176454489, func=0x818c450 <Feval>, 
    arg=176504773) at eval.c:1249
#28 0x081c3808 in Fbyte_code (bytestr=174995907, vector=176403804, maxdepth=16)
    at bytecode.c:853
#29 0x0818cd74 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0xbfb84a74) at eval.c:3233
#30 0x0818ad2b in Ffuncall (nargs=1, args=0xbfb95bd0) at eval.c:3103
#31 0x081c2e89 in Fbyte_code (bytestr=165683835, vector=175421692, maxdepth=40)
    at bytecode.c:678
#32 0x0818cd74 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0xbfb84a74) at eval.c:3233
#33 0x0818ad2b in Ffuncall (nargs=1, args=0xbfb95d50) at eval.c:3103
#34 0x081c2e89 in Fbyte_code (bytestr=167728179, vector=173959132, maxdepth=24)
    at bytecode.c:678
#35 0x0818cd74 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0xbfb84a74) at eval.c:3233
#36 0x0818ad2b in Ffuncall (nargs=1, args=0xbfb95ec0) at eval.c:3103
#37 0x081c2e89 in Fbyte_code (bytestr=167784619, vector=173879332, maxdepth=8)
    at bytecode.c:678
#38 0x0818cd74 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0xbfb84a74) at eval.c:3233
#39 0x0818ad2b in Ffuncall (nargs=1, args=0xbfb96114) at eval.c:3103
#40 0x0818c307 in Fapply (nargs=2, args=0xbfb96114) at eval.c:2475
---Type <return> to continue, or q <return> to quit---
#41 0x0818afaa in Ffuncall (nargs=3, args=0xbfb96110) at eval.c:3027
#42 0x081c2e89 in Fbyte_code (bytestr=137085155, vector=137085180, maxdepth=32)
    at bytecode.c:678
#43 0x0818c942 in Feval (form=137085141) at eval.c:2383
#44 0x0818d492 in internal_lisp_condition_case (var=138099185, 
    bodyform=137085141, handlers=137085213) at eval.c:1458
#45 0x081c37bc in Fbyte_code (bytestr=137085011, vector=137085028, maxdepth=40)
    at bytecode.c:868
#46 0x0818cd74 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0xbfb84a74) at eval.c:3233
#47 0x0818ad2b in Ffuncall (nargs=2, args=0xbfb964d0) at eval.c:3103
#48 0x0818bec9 in call1 (fn=138132009, arg1=171294460) at eval.c:2831
#49 0x0812236e in timer_check (do_it_now=1) at keyboard.c:4682
#50 0x0812259b in readable_events (flags=1) at keyboard.c:3670
#51 0x0812748f in get_input_pending (flags=1, addr=<value optimized out>)
    at keyboard.c:6973
#52 0x081276b7 in detect_input_pending_run_timers (do_display=1)
    at keyboard.c:10730
#53 0x081c9e07 in wait_reading_process_output (time_limit=0, microsecs=0, 
    read_kbd=-1, do_display=1, wait_for_cell=138099185, wait_proc=0x0, 
    just_wait_proc=0) at process.c:5007
#54 0x08128600 in kbd_buffer_get_event (commandflag=1, nmaps=9, 
    maps=0xbfb96b90, prev_event=138099185, used_mouse_menu=0xbfb96c64, 
---Type <return> to continue, or q <return> to quit---
    end_time=0x0) at keyboard.c:4107
#55 read_char (commandflag=1, nmaps=9, maps=0xbfb96b90, prev_event=138099185, 
    used_mouse_menu=0xbfb96c64, end_time=0x0) at keyboard.c:3061
#56 0x0812a305 in read_key_sequence (keybuf=<value optimized out>, 
    bufsize=<value optimized out>, prompt=<value optimized out>, 
    dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1)
    at keyboard.c:9541
#57 0x0812c67b in command_loop_1 () at keyboard.c:1642
#58 0x0818a2e1 in internal_condition_case (bfun=0x812c4a0 <command_loop_1>, 
    handlers=138142225, hfun=0x8124810 <cmd_error>) at eval.c:1513
#59 0x08123cf5 in command_loop_2 () at keyboard.c:1359
#60 0x0818a3c1 in internal_catch (tag=138138249, 
    func=0x8123cd0 <command_loop_2>, arg=138099185) at eval.c:1249
#61 0x0812465f in command_loop () at keyboard.c:1338
#62 0x08124a0a in recursive_edit_1 () at keyboard.c:953
#63 0x08124b32 in Frecursive_edit () at keyboard.c:1015
#64 0x0811ad78 in main (argc=<value optimized out>, argv=<value optimized out>)
    at emacs.c:1849

-- 
Dirk-Jan C. Binnema                  Helsinki, Finland
e:djcb@djcbsoftware.nl           w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C