* Emacs 22.0.50.1 crash on make_uninit_multibyte_string
@ 2005-09-07 0:35 Daniel Barrett
0 siblings, 0 replies; 7+ messages in thread
From: Daniel Barrett @ 2005-09-07 0:35 UTC (permalink / raw
Cc: Daniel Barrett
Here's a stacktrace of a crash in emacs 22.0.50.1. Let me know if you want
me to examine any values in this core dump.
Platform: SUSE 9.1 Professional with latest patches
Linux myhost 2.6.5-7.201-smp #1 SMP Thu Aug 25 06:20:45 UTC 2005 i686 i686 i386 GNU/Linux
$ gdb emacs core
GNU gdb 6.1
Copyright 2004 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 "i586-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
Core was generated by `emacs -f vm'.
Program terminated with signal 11, Segmentation fault.
warning: current_sos: Can't read pathname for load map: Input/output error
Reading symbols from /usr/X11R6/lib/libXaw3d.so.7...done.
Loaded symbols for /usr/X11R6/lib/libXaw3d.so.7
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.6
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.6
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/lib/libtiff.so.3...done.
Loaded symbols for /usr/lib/libtiff.so.3
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libpng.so.3...done.
Loaded symbols for /usr/lib/libpng.so.3
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /usr/lib/libungif.so.4...done.
Loaded symbols for /usr/lib/libungif.so.4
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
#0 make_uninit_multibyte_string (nchars=85, nbytes=85) at alloc.c:1880
1880 string_free_list = NEXT_FREE_LISP_STRING (s);
(gdb) bt
#0 make_uninit_multibyte_string (nchars=85, nbytes=85) at alloc.c:1880
#1 0x08133340 in make_uninit_string (length=85) at alloc.c:2441
#2 0x08154f45 in concat (nargs=1, args=0xbfffcb84, target_type=Lisp_String, last_special=0) at fns.c:661
#3 0x08155f35 in Fcopy_sequence (arg=139679403) at fns.c:528
#4 0x0812236e in compile_pattern_1 (cp=0x82f5510, pattern=139679403, translate=137363473, regp=0x0, posix=0, multibyte=0) at search.c:183
#5 0x081224ed in compile_pattern (pattern=139679403, regp=0x0, translate=137363473, posix=0, multibyte=0) at search.c:248
#6 0x08123a6d in fast_string_match (regexp=139679403, string=142755163) at search.c:471
#7 0x0810f9df in Ffind_file_name_handler (filename=142755163, operation=137496889) at fileio.c:362
#8 0x0811005c in Fexpand_file_name (name=142755163, default_directory=137363473) at fileio.c:1063
#9 0x08111f3b in Fdo_auto_save (no_message=137363521, current_only=137363473) at fileio.c:5906
#10 0x080e403a in shut_down_emacs (sig=11, no_x=0, stuff=137363473) at emacs.c:2127
#11 0x080e598a in fatal_error_signal (sig=11) at emacs.c:410
#12 <signal handler called>
#13 make_uninit_multibyte_string (nchars=5, nbytes=5) at alloc.c:1880
#14 0x08133340 in make_uninit_string (length=5) at alloc.c:2441
#15 0x08154f45 in concat (nargs=2, args=0xbfffd250, target_type=Lisp_String, last_special=0) at fns.c:661
#16 0x08172843 in Fbyte_code (bytestr=142569497, vector=141302980, maxdepth=40) at bytecode.c:1060
#17 0x08147b3f in funcall_lambda (fun=141302980, nargs=2, arg_vector=0xbfffd300) at eval.c:3046
#18 0x08147c3f in apply_lambda (fun=142474628, args=40, eval_flag=1) at eval.c:2968
#19 0x0814742c in Feval (form=142349469) at eval.c:2260
#20 0x08147c69 in apply_lambda (fun=142829268, args=142349469, eval_flag=1) at eval.c:2976
#21 0x0814742c in Feval (form=142349437) at eval.c:2260
#22 0x081476b4 in Feval (form=142349245) at eval.c:2167
#23 0x081476b4 in Feval (form=142348749) at eval.c:2167
#24 0x08148032 in Ffuncall (nargs=2, args=0xbfffd7a0) at eval.c:2869
#25 0x08172beb in Fbyte_code (bytestr=137540265, vector=142194964, maxdepth=32) at bytecode.c:689
#26 0x08147b3f in funcall_lambda (fun=142194964, nargs=3, arg_vector=0xbfffd8a8) at eval.c:3046
#27 0x08147e94 in Ffuncall (nargs=4, args=0xbfffd8a4) at eval.c:2914
#28 0x08172beb in Fbyte_code (bytestr=137620265, vector=142248012, maxdepth=48) at bytecode.c:689
#29 0x08147b3f in funcall_lambda (fun=142248012, nargs=1, arg_vector=0xbfffd9b4) at eval.c:3046
#30 0x08147e94 in Ffuncall (nargs=2, args=0xbfffd9b0) at eval.c:2914
#31 0x08172beb in Fbyte_code (bytestr=137620265, vector=142360452, maxdepth=88) at bytecode.c:689
#32 0x08147b3f in funcall_lambda (fun=142360452, nargs=1, arg_vector=0xbfffdad4) at eval.c:3046
#33 0x08147e94 in Ffuncall (nargs=2, args=0xbfffdad0) at eval.c:2914
#34 0x08172beb in Fbyte_code (bytestr=145841673, vector=142370252, maxdepth=32) at bytecode.c:689
#35 0x08147b3f in funcall_lambda (fun=142370252, nargs=1, arg_vector=0xbfffdbd4) at eval.c:3046
#36 0x08147e94 in Ffuncall (nargs=2, args=0xbfffdbd0) at eval.c:2914
#37 0x08172beb in Fbyte_code (bytestr=137620265, vector=143077724, maxdepth=40) at bytecode.c:689
#38 0x08147b3f in funcall_lambda (fun=143077724, nargs=5, arg_vector=0xbfffdce4) at eval.c:3046
#39 0x08147e94 in Ffuncall (nargs=6, args=0xbfffdce0) at eval.c:2914
#40 0x08172beb in Fbyte_code (bytestr=137672049, vector=143078268, maxdepth=48) at bytecode.c:689
#41 0x08147b3f in funcall_lambda (fun=143078268, nargs=2, arg_vector=0xbfffddf4) at eval.c:3046
#42 0x08147e94 in Ffuncall (nargs=3, args=0xbfffddf0) at eval.c:2914
#43 0x08172beb in Fbyte_code (bytestr=141153593, vector=143041556, maxdepth=48) at bytecode.c:689
#44 0x08147b3f in funcall_lambda (fun=143041556, nargs=0, arg_vector=0xbfffdf04) at eval.c:3046
#45 0x08147e94 in Ffuncall (nargs=1, args=0xbfffdf00) at eval.c:2914
#46 0x08172beb in Fbyte_code (bytestr=142060609, vector=142554956, maxdepth=72) at bytecode.c:689
#47 0x08147b3f in funcall_lambda (fun=142554956, nargs=1, arg_vector=0xbfffe054) at eval.c:3046
#48 0x08147e94 in Ffuncall (nargs=2, args=0xbfffe050) at eval.c:2914
#49 0x08144a04 in Fcall_interactively (function=142022337, record_flag=137363473, keys=143479116) at callint.c:884
#50 0x080e8ad7 in Fcommand_execute (cmd=142022337, record_flag=137363473, keys=137363473, special=137363473) at keyboard.c:9711
#51 0x080f3936 in command_loop_1 () at keyboard.c:1782
#52 0x08146b0d in internal_condition_case (bfun=0x80f35a0 <command_loop_1>, handlers=137424465, hfun=0x80ee4f0 <cmd_error>) at eval.c:1451
#53 0x080ed85c in command_loop_2 () at keyboard.c:1318
#54 0x08146bea in internal_catch (tag=5, func=0x80ed840 <command_loop_2>, arg=137363473) at eval.c:1210
#55 0x080ee1d7 in command_loop () at keyboard.c:1297
#56 0x080ee272 in recursive_edit_1 () at keyboard.c:990
#57 0x080ee38f in Frecursive_edit () at keyboard.c:1051
#58 0x080e5115 in main (argc=3, argv=0xbfffe874) at emacs.c:1782
(gdb) quit
$
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs 22.0.50.1 crash on make_uninit_multibyte_string
[not found] <mailman.6130.1126053675.20277.bug-gnu-emacs@gnu.org>
@ 2005-09-08 11:26 ` Kim F. Storm
[not found] ` <17184.13523.891333.897902@spinky.blazemonger.com>
0 siblings, 1 reply; 7+ messages in thread
From: Kim F. Storm @ 2005-09-08 11:26 UTC (permalink / raw
Cc: bug-gnu-emacs
Daniel Barrett <dbarrett@blazemonger.com> writes:
> Here's a stacktrace of a crash in emacs 22.0.50.1. Let me know if you want
> me to examine any values in this core dump.
Can you provide an "xbacktrace" and "bt full" backtrace.
Please use M-x report-emacs-bug to include proper information
about your emacs version and environment, including additional
information about the crash (as instructed).
In any case, VM is one specific package which seems to be able to
crash emacs "quite consistently", but so far none of the VM users
have been able to help us really pinpoint what causes the trap.
If you can help in any way, it would be great.
Thanks.
>
> Platform: SUSE 9.1 Professional with latest patches
> Linux myhost 2.6.5-7.201-smp #1 SMP Thu Aug 25 06:20:45 UTC 2005 i686 i686 i386 GNU/Linux
>
> $ gdb emacs core
> GNU gdb 6.1
> Copyright 2004 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 "i586-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
>
> Core was generated by `emacs -f vm'.
> Program terminated with signal 11, Segmentation fault.
>
> warning: current_sos: Can't read pathname for load map: Input/output error
>
> Reading symbols from /usr/X11R6/lib/libXaw3d.so.7...done.
> Loaded symbols for /usr/X11R6/lib/libXaw3d.so.7
> Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
> Loaded symbols for /usr/X11R6/lib/libXmu.so.6
> Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
> Loaded symbols for /usr/X11R6/lib/libXt.so.6
> Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
> Loaded symbols for /usr/X11R6/lib/libSM.so.6
> Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
> Loaded symbols for /usr/X11R6/lib/libICE.so.6
> Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
> Loaded symbols for /usr/X11R6/lib/libXext.so.6
> Reading symbols from /usr/lib/libtiff.so.3...done.
> Loaded symbols for /usr/lib/libtiff.so.3
> Reading symbols from /usr/lib/libjpeg.so.62...done.
> Loaded symbols for /usr/lib/libjpeg.so.62
> Reading symbols from /usr/lib/libpng.so.3...done.
> Loaded symbols for /usr/lib/libpng.so.3
> Reading symbols from /lib/libz.so.1...done.
> Loaded symbols for /lib/libz.so.1
> Reading symbols from /lib/tls/libm.so.6...done.
> Loaded symbols for /lib/tls/libm.so.6
> Reading symbols from /usr/lib/libungif.so.4...done.
> Loaded symbols for /usr/lib/libungif.so.4
> Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
> Loaded symbols for /usr/X11R6/lib/libXpm.so.4
> Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
> Loaded symbols for /usr/X11R6/lib/libX11.so.6
> Reading symbols from /lib/libncurses.so.5...done.
> Loaded symbols for /lib/libncurses.so.5
> Reading symbols from /lib/tls/libc.so.6...done.
> Loaded symbols for /lib/tls/libc.so.6
> Reading symbols from /lib/ld-linux.so.2...done.
> Loaded symbols for /lib/ld-linux.so.2
> Reading symbols from /lib/libdl.so.2...done.
> Loaded symbols for /lib/libdl.so.2
> Reading symbols from /lib/libnss_files.so.2...done.
> Loaded symbols for /lib/libnss_files.so.2
> Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2...done.
> Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
> Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
> Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
> Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
> Loaded symbols for /usr/X11R6/lib/libXrender.so.1
> Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2...done.
> Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
> Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2...done.
> Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
> #0 make_uninit_multibyte_string (nchars=85, nbytes=85) at alloc.c:1880
> 1880 string_free_list = NEXT_FREE_LISP_STRING (s);
> (gdb) bt
> #0 make_uninit_multibyte_string (nchars=85, nbytes=85) at alloc.c:1880
> #1 0x08133340 in make_uninit_string (length=85) at alloc.c:2441
> #2 0x08154f45 in concat (nargs=1, args=0xbfffcb84, target_type=Lisp_String, last_special=0) at fns.c:661
> #3 0x08155f35 in Fcopy_sequence (arg=139679403) at fns.c:528
> #4 0x0812236e in compile_pattern_1 (cp=0x82f5510, pattern=139679403, translate=137363473, regp=0x0, posix=0, multibyte=0) at search.c:183
> #5 0x081224ed in compile_pattern (pattern=139679403, regp=0x0, translate=137363473, posix=0, multibyte=0) at search.c:248
> #6 0x08123a6d in fast_string_match (regexp=139679403, string=142755163) at search.c:471
> #7 0x0810f9df in Ffind_file_name_handler (filename=142755163, operation=137496889) at fileio.c:362
> #8 0x0811005c in Fexpand_file_name (name=142755163, default_directory=137363473) at fileio.c:1063
> #9 0x08111f3b in Fdo_auto_save (no_message=137363521, current_only=137363473) at fileio.c:5906
> #10 0x080e403a in shut_down_emacs (sig=11, no_x=0, stuff=137363473) at emacs.c:2127
> #11 0x080e598a in fatal_error_signal (sig=11) at emacs.c:410
> #12 <signal handler called>
> #13 make_uninit_multibyte_string (nchars=5, nbytes=5) at alloc.c:1880
> #14 0x08133340 in make_uninit_string (length=5) at alloc.c:2441
> #15 0x08154f45 in concat (nargs=2, args=0xbfffd250, target_type=Lisp_String, last_special=0) at fns.c:661
> #16 0x08172843 in Fbyte_code (bytestr=142569497, vector=141302980, maxdepth=40) at bytecode.c:1060
> #17 0x08147b3f in funcall_lambda (fun=141302980, nargs=2, arg_vector=0xbfffd300) at eval.c:3046
> #18 0x08147c3f in apply_lambda (fun=142474628, args=40, eval_flag=1) at eval.c:2968
> #19 0x0814742c in Feval (form=142349469) at eval.c:2260
> #20 0x08147c69 in apply_lambda (fun=142829268, args=142349469, eval_flag=1) at eval.c:2976
> #21 0x0814742c in Feval (form=142349437) at eval.c:2260
> #22 0x081476b4 in Feval (form=142349245) at eval.c:2167
> #23 0x081476b4 in Feval (form=142348749) at eval.c:2167
> #24 0x08148032 in Ffuncall (nargs=2, args=0xbfffd7a0) at eval.c:2869
> #25 0x08172beb in Fbyte_code (bytestr=137540265, vector=142194964, maxdepth=32) at bytecode.c:689
> #26 0x08147b3f in funcall_lambda (fun=142194964, nargs=3, arg_vector=0xbfffd8a8) at eval.c:3046
> #27 0x08147e94 in Ffuncall (nargs=4, args=0xbfffd8a4) at eval.c:2914
> #28 0x08172beb in Fbyte_code (bytestr=137620265, vector=142248012, maxdepth=48) at bytecode.c:689
> #29 0x08147b3f in funcall_lambda (fun=142248012, nargs=1, arg_vector=0xbfffd9b4) at eval.c:3046
> #30 0x08147e94 in Ffuncall (nargs=2, args=0xbfffd9b0) at eval.c:2914
> #31 0x08172beb in Fbyte_code (bytestr=137620265, vector=142360452, maxdepth=88) at bytecode.c:689
> #32 0x08147b3f in funcall_lambda (fun=142360452, nargs=1, arg_vector=0xbfffdad4) at eval.c:3046
> #33 0x08147e94 in Ffuncall (nargs=2, args=0xbfffdad0) at eval.c:2914
> #34 0x08172beb in Fbyte_code (bytestr=145841673, vector=142370252, maxdepth=32) at bytecode.c:689
> #35 0x08147b3f in funcall_lambda (fun=142370252, nargs=1, arg_vector=0xbfffdbd4) at eval.c:3046
> #36 0x08147e94 in Ffuncall (nargs=2, args=0xbfffdbd0) at eval.c:2914
> #37 0x08172beb in Fbyte_code (bytestr=137620265, vector=143077724, maxdepth=40) at bytecode.c:689
> #38 0x08147b3f in funcall_lambda (fun=143077724, nargs=5, arg_vector=0xbfffdce4) at eval.c:3046
> #39 0x08147e94 in Ffuncall (nargs=6, args=0xbfffdce0) at eval.c:2914
> #40 0x08172beb in Fbyte_code (bytestr=137672049, vector=143078268, maxdepth=48) at bytecode.c:689
> #41 0x08147b3f in funcall_lambda (fun=143078268, nargs=2, arg_vector=0xbfffddf4) at eval.c:3046
> #42 0x08147e94 in Ffuncall (nargs=3, args=0xbfffddf0) at eval.c:2914
> #43 0x08172beb in Fbyte_code (bytestr=141153593, vector=143041556, maxdepth=48) at bytecode.c:689
> #44 0x08147b3f in funcall_lambda (fun=143041556, nargs=0, arg_vector=0xbfffdf04) at eval.c:3046
> #45 0x08147e94 in Ffuncall (nargs=1, args=0xbfffdf00) at eval.c:2914
> #46 0x08172beb in Fbyte_code (bytestr=142060609, vector=142554956, maxdepth=72) at bytecode.c:689
> #47 0x08147b3f in funcall_lambda (fun=142554956, nargs=1, arg_vector=0xbfffe054) at eval.c:3046
> #48 0x08147e94 in Ffuncall (nargs=2, args=0xbfffe050) at eval.c:2914
> #49 0x08144a04 in Fcall_interactively (function=142022337, record_flag=137363473, keys=143479116) at callint.c:884
> #50 0x080e8ad7 in Fcommand_execute (cmd=142022337, record_flag=137363473, keys=137363473, special=137363473) at keyboard.c:9711
> #51 0x080f3936 in command_loop_1 () at keyboard.c:1782
> #52 0x08146b0d in internal_condition_case (bfun=0x80f35a0 <command_loop_1>, handlers=137424465, hfun=0x80ee4f0 <cmd_error>) at eval.c:1451
> #53 0x080ed85c in command_loop_2 () at keyboard.c:1318
> #54 0x08146bea in internal_catch (tag=5, func=0x80ed840 <command_loop_2>, arg=137363473) at eval.c:1210
> #55 0x080ee1d7 in command_loop () at keyboard.c:1297
> #56 0x080ee272 in recursive_edit_1 () at keyboard.c:990
> #57 0x080ee38f in Frecursive_edit () at keyboard.c:1051
> #58 0x080e5115 in main (argc=3, argv=0xbfffe874) at emacs.c:1782
> (gdb) quit
> $
>
>
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs 22.0.50.1 crash on make_uninit_multibyte_string
[not found] ` <m3aciny9tb.fsf@kfs-l.imdomain.dk>
@ 2005-09-16 1:08 ` Daniel Barrett
2005-09-16 11:25 ` Kim F. Storm
0 siblings, 1 reply; 7+ messages in thread
From: Daniel Barrett @ 2005-09-16 1:08 UTC (permalink / raw
Cc: Daniel Barrett, bug-gnu-emacs
On September 8, 2005, Kim F. Storm wrote:
>Daniel Barrett <dbarrett@blazemonger.com> writes:
>> On September 8, 2005, Kim F. Storm wrote:
>>>Can you provide an "xbacktrace" and "bt full" backtrace.
(gdb) xbacktrace
"vm-left-justify-string"
"vm-reencode-mime-encoded-words-in-string"
"format"
"list"
"eval"
"vm-summary-sprintf"
"vm-su-summary"
"vm-stuff-attributes"
"vm-stuff-virtual-attributes"
"vm-set-xxxx-flag"
"vm-set-new-flag"
"vm-show-current-message"
"vm-scroll-forward"
"call-interactively"
(gdb) bt full
#0 make_uninit_multibyte_string (nchars=85, nbytes=85) at alloc.c:1880
string = Variable "string" is not available.
>Please use M-x report-emacs-bug to include proper information
>about your emacs version and environment, including additional
>information about the crash (as instructed).
In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-07-19 on spinky
X server distributor `The XFree86 Project, Inc', version 11.0.40399902
configured using `configure '--prefix' '/usr/local/emacs-dev''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: C
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: nil
Major mode: VM Summary
Minor modes in effect:
mouse-wheel-mode: t
tooltip-mode: t
auto-compression-mode: t
global-font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
next-error-follow-minor-mode: Fol
Recent input:
[irrelevant -- run much later than the bug occurrence]
Recent messages:
Reordering messages... done
48 messages, 0 new, 0 unread, 0 deleted
Generating summary... 40
Generating summary markers...
Generating summary... done
48 messages, 0 new, 0 unread, 0 deleted
Checking for new mail for /home/dbarrett/.Mail/emacs...
48 messages, 0 new, 0 unread, 0 deleted
Mark set
Loading emacsbug...done
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs 22.0.50.1 crash on make_uninit_multibyte_string
2005-09-16 1:08 ` Daniel Barrett
@ 2005-09-16 11:25 ` Kim F. Storm
2005-09-16 12:56 ` Daniel Barrett
2006-04-22 13:46 ` Daniel Barrett
0 siblings, 2 replies; 7+ messages in thread
From: Kim F. Storm @ 2005-09-16 11:25 UTC (permalink / raw
Cc: bug-gnu-emacs
I took a quick look at VM, and found this:
> ;;(provide 'vm-byteopts)
>
> ;; get the compiler loaded so we can undo some of the things that
> ;; happen when it's loaded.
> (load "bytecomp" t t nil)
> ;; Emacs 19 byte compiler complains about too much stuff by default.
> ;; Turn off most of the warnings here.
> (setq byte-compile-warnings '(free-vars))
> ;; need to use these variables for v18 support.
> ;; stifle the compiler.
> (put 'inhibit-local-variables 'byte-obsolete-variable nil)
> ;; Turn off dynamic docstrings and lazy function loading. This
> ;; is a new feature of FSF Emacs 19.29, and is incompatible
> ;; with pre-19.29 versions of FSF Emacs and all version of Lucid
> ;; Emacs / XEmacs. I like being able to share .elc files between
> ;; different v19 Emacses.
> (setq byte-compile-dynamic nil)
> (setq byte-compile-dynamic-docstrings nil)
> ;; avoid v20 features because users are going
> ;; to try to share elc files no matter what we tell them.
> (setq byte-compile-emacs19-compatibility t)
>
> (provide 'vm-byteopts)
I wonder if some of these settings may trigger some unusual
byte-code pattern which we don't normally see in emacs 22.x ???
Daniel Barrett <dbarrett@blazemonger.com> writes:
> On September 8, 2005, Kim F. Storm wrote:
>>Daniel Barrett <dbarrett@blazemonger.com> writes:
>>> On September 8, 2005, Kim F. Storm wrote:
>>>>Can you provide an "xbacktrace" and "bt full" backtrace.
>
> (gdb) xbacktrace
> "vm-left-justify-string"
> "vm-reencode-mime-encoded-words-in-string"
> "format"
> "list"
> "eval"
> "vm-summary-sprintf"
> "vm-su-summary"
> "vm-stuff-attributes"
> "vm-stuff-virtual-attributes"
> "vm-set-xxxx-flag"
> "vm-set-new-flag"
> "vm-show-current-message"
> "vm-scroll-forward"
> "call-interactively"
>
> (gdb) bt full
> #0 make_uninit_multibyte_string (nchars=85, nbytes=85) at alloc.c:1880
> string = Variable "string" is not available.
>
>>Please use M-x report-emacs-bug to include proper information
>>about your emacs version and environment, including additional
>>information about the crash (as instructed).
>
> In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
> of 2005-07-19 on spinky
> X server distributor `The XFree86 Project, Inc', version 11.0.40399902
> configured using `configure '--prefix' '/usr/local/emacs-dev''
>
> Important settings:
> value of $LC_ALL: nil
> value of $LC_COLLATE: C
> value of $LC_CTYPE: nil
> value of $LC_MESSAGES: nil
> value of $LC_MONETARY: nil
> value of $LC_NUMERIC: nil
> value of $LC_TIME: nil
> value of $LANG: en_US.UTF-8
> locale-coding-system: utf-8
> default-enable-multibyte-characters: nil
>
> Major mode: VM Summary
>
> Minor modes in effect:
> mouse-wheel-mode: t
> tooltip-mode: t
> auto-compression-mode: t
> global-font-lock-mode: t
> blink-cursor-mode: t
> unify-8859-on-encoding-mode: t
> utf-translate-cjk-mode: t
> line-number-mode: t
> next-error-follow-minor-mode: Fol
>
> Recent input:
> [irrelevant -- run much later than the bug occurrence]
>
> Recent messages:
> Reordering messages... done
> 48 messages, 0 new, 0 unread, 0 deleted
> Generating summary... 40
> Generating summary markers...
> Generating summary... done
> 48 messages, 0 new, 0 unread, 0 deleted
> Checking for new mail for /home/dbarrett/.Mail/emacs...
> 48 messages, 0 new, 0 unread, 0 deleted
> Mark set
> Loading emacsbug...done
>
>
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs 22.0.50.1 crash on make_uninit_multibyte_string
2005-09-16 11:25 ` Kim F. Storm
@ 2005-09-16 12:56 ` Daniel Barrett
2005-09-16 15:47 ` Daniel Barrett
2006-04-22 13:46 ` Daniel Barrett
1 sibling, 1 reply; 7+ messages in thread
From: Daniel Barrett @ 2005-09-16 12:56 UTC (permalink / raw
Cc: Daniel Barrett, bug-gnu-emacs
In case it helps, here's the output of vm-submit-bug-report. I'll also
forward this to Kyle (author of vm).
Dan
Emacs : GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-07-19 on spinky
Package: VM 7.19
current state:
==============
(setq
vm-arrived-message-hook nil
vm-arrived-messages-hook nil
vm-auto-center-summary nil
vm-auto-decode-mime-messages t
vm-auto-displayed-mime-content-type-exceptions nil
vm-auto-displayed-mime-content-types '("text" "image" "multipart")
vm-auto-folder-case-fold-search nil
vm-auto-get-new-mail t
vm-auto-next-message t
vm-berkeley-mail-compatibility nil
vm-check-folder-types t
vm-circular-folders "neither-t-nor-nil"
vm-confirm-new-folders t
vm-confirm-quit 0
vm-convert-folder-types t
vm-crash-box "~/INBOX.CRASH"
vm-crash-box-suffix nil
vm-default-From_-folder-type 'From_
vm-default-folder-permission-bits 384
vm-default-folder-type 'From_
vm-delete-after-archiving nil
vm-delete-after-bursting nil
vm-delete-after-saving t
vm-delete-empty-folders t
vm-digest-burst-type "guess"
vm-digest-identifier-header-format "X-Digest: %s\n"
vm-digest-center-preamble t
vm-digest-preamble-format "\"%s\" (%F)"
vm-digest-send-type "mime"
vm-display-buffer-hook nil
vm-display-using-mime t
vm-edit-message-hook nil
vm-edit-message-mode 'text-mode
vm-fill-paragraphs-containing-long-lines nil
vm-flush-interval t
vm-folder-directory "~/.Mail/"
vm-folder-read-only nil
vm-folders-summary-database "~/.vm.folders.db"
vm-folders-summary-directories '("~/")
vm-folders-summary-format " %12f %4t total, %n new, %u unread, %s spooled\n"
vm-follow-summary-cursor t
vm-forward-message-hook nil
vm-forwarded-headers nil
vm-forwarding-digest-type nil
vm-forwarding-subject-format "Fwd: %s"
vm-frame-parameter-alist nil
vm-frame-per-completion t
vm-frame-per-composition nil
vm-frame-per-edit nil
vm-frame-per-folder nil
vm-frame-per-folders-summary nil
vm-frame-per-help nil
vm-frame-per-summary nil
vm-highlight-url-face 'bold-italic
vm-highlighted-header-regexp nil
vm-honor-mime-content-disposition nil
vm-honor-page-delimiters nil
vm-icontopbm-program "/usr/bin/icontopbm"
vm-image-directory "/usr/local/emacs-dev/share/emacs/22.0.50/etc/vm/"
vm-imagemagick-convert-program "/usr/bin/convert"
vm-imagemagick-identify-program "/usr/bin/identify"
vm-imap-bytes-per-session nil
vm-imap-expunge-after-retrieving t
vm-imap-max-message-size nil
vm-imap-messages-per-session nil
vm-imap-session-preauth-hook nil
vm-in-reply-to-format nil
vm-included-text-attribution-format "On %m %d, %y, %F wrote:\n"
vm-included-text-discard-header-regexp nil
vm-included-text-headers nil
vm-included-text-prefix ">"
vm-index-file-suffix nil
vm-init-file "~/.vm"
vm-infer-mime-types nil
vm-invisible-header-regexp nil
vm-jump-to-new-messages t
vm-jump-to-unread-messages t
vm-keep-crash-boxes nil
vm-keep-sent-messages 10
vm-lynx-program "lynx"
vm-mail-header-from nil
vm-mail-header-insert-date t
vm-mail-header-insert-message-id t
vm-mail-hook nil
vm-mail-check-interval nil
vm-mail-mode-hook '((lambda nil (local-set-key [f9] (quote vmpc-automorph)))
(lambda nil (setq default-directory "~/")
(set-fill-column 75))
)
vm-mail-send-hook nil
vm-make-crash-box-name nil
vm-make-spool-file-name nil
vm-mime-7bit-composition-charset "us-ascii"
vm-mime-8bit-composition-charset "iso-8859-1"
vm-mime-8bit-text-transfer-encoding '8bit
vm-mime-alternative-select-method 'best-internal
vm-mime-attachment-auto-type-alist '(("\\.jpe?g$" . "image/jpeg")
("\\.gif$" . "image/gif")
("\\.png$" . "image/png")
("\\.tiff?$" . "image/tiff")
("\\.html?$" . "text/html")
("\\.au$" . "audio/basic")
("\\.mpe?g$" . "video/mpeg")
("\\.mov$" . "video/quicktime")
("\\.e?ps$" . "application/postscript")
("\\.pdf$" . "application/pdf")
("\\.xls$" . "application/vnd.ms-excel")
("\\.doc$" . "application/msword")
("\\.ppt$" .
"application/vnd.ms-powerpoint")
)
vm-mime-attachment-save-directory nil
vm-mime-avoid-folding-content-type t
vm-mime-base64-decoder-program "/usr/local/bin/base64-decode"
vm-mime-base64-decoder-switches nil
vm-mime-base64-encoder-program "/usr/local/bin/base64-encode"
vm-mime-base64-encoder-switches nil
vm-mime-button-face 'gui-button-face
vm-mime-button-format-alist '(("text" . "%-35.35(%d, %c%) [%k to %a]")
("multipart/alternative" .
"%-35.35(%d%) [%k to %a]")
("multipart/digest" .
"%-35.35(%d, %n message%s%) [%k to %a]")
("multipart" .
"%-35.35(%d, %n part%s%) [%k to %a]")
("message/partial" .
"%-35.35(%d, part %N (of %T)%) [%k to %a]")
("message/external-body" .
"%-35.35(%d%) [%k to %a (%x)]")
("message" . "%-35.35(%d%) [%k to %a]")
("audio" . "%-35.35(%d%) [%k to %a]")
("video" . "%-35.35(%d%) [%k to %a]")
("image" . "%-35.35(%d%) [%k to %a]")
("application/octet-stream" .
"%-35.35(%d, %f%) [%k to %a]")
)
vm-mime-charset-converter-alist nil
vm-mime-charset-font-alist nil
vm-mime-confirm-delete t
vm-mime-decode-for-preview t
vm-mime-default-face-charset-exceptions nil
vm-mime-default-face-charsets '("Windows-1257" "Windows-1252" "Windows-1251"
"iso-8859-1" "us-ascii")
vm-mime-delete-after-saving nil
vm-mime-delete-viewer-processes t
vm-mime-digest-discard-header-regexp nil
vm-mime-digest-headers '("Resent-" "From:" "Sender:" "To:" "Cc:" "Subject:"
"Date:" "Message-ID:" "Keywords:" "MIME-Version:"
"Content-")
vm-mime-display-function nil
vm-mime-external-content-types-alist nil
vm-mime-forward-local-external-bodies nil
vm-mime-ignore-composite-type-opaque-transfer-encoding t
vm-mime-ignore-mime-version t
vm-mime-ignore-missing-multipart-boundary t
vm-mime-internal-content-type-exceptions '("text/html")
vm-mime-internal-content-types '("text")
vm-mime-max-message-size nil
vm-mime-qp-decoder-program "/usr/local/bin/qp-decode"
vm-mime-qp-decoder-switches nil
vm-mime-qp-encoder-program "/usr/local/bin/qp-encode"
vm-mime-qp-encoder-switches nil
vm-mime-require-mime-version-header t
vm-mime-type-converter-alist nil
vm-mime-use-image-strips t
vm-mime-use-w3-for-text/html t
vm-mime-uuencode-decoder-program "uudecode"
vm-mime-uuencode-decoder-switches nil
vm-mode-hook '((lambda nil (setq make-backup-files t)
(local-set-key "S" (quote vm-save-and-expunge-folder))
(local-set-key "\x03C" (quote vm-razor-spam-check))
(local-set-key "\x03R" (quote vm-razor-spam-report))
(local-set-key "^[S"
(quote spamassassin-learn-and-delete-spam))
(local-unset-key "A"))
)
vm-mode-hooks nil
vm-mosaic-program "Mosaic"
vm-mosaic-program-switches nil
vm-move-after-deleting nil
vm-move-after-undeleting nil
vm-move-after-killing nil
vm-move-messages-physically nil
vm-movemail-program "movemail"
vm-mutable-frames t
vm-mutable-windows t
vm-netscape-program "firefox"
vm-netscape-program-switches nil
vm-page-continuation-glyph "...press SPACE to see more..."
vm-paragraph-fill-column 70
vm-pop-bytes-per-session nil
vm-pop-expunge-after-retrieving t
vm-pop-max-message-size nil
vm-pop-messages-per-session nil
vm-pop-md5-program "md5"
vm-popup-menu-on-mouse-3 t
vm-preferences-file "~/.vm.preferences"
vm-preview-lines 0
vm-preview-read-messages t
vm-primary-inbox "~/.Mail/inbox"
vm-quit-hook nil
vm-recognize-imap-maildrops "^\\(imap\\|imap-ssl\\|imap-ssh\\):[^:]+:[^:]+:[^:]+:[^:]+:[^:]+:.+"
vm-recognize-pop-maildrops "^\\(pop:\\|pop-ssl:\\|pop-ssh:\\)?[^:]+:[^:]+:[^:]+:[^:]+:.+"
vm-reply-hook nil
vm-reply-ignored-reply-tos nil
vm-reply-subject-prefix "Re: "
vm-resend-bounced-discard-header-regexp nil
vm-resend-bounced-headers '("MIME-Version:" "Content-" "From:" "Sender:"
"Reply-To:" "To:" "Cc:" "Subject:" "Newsgroups:"
"In-Reply-To:" "References:" "Keywords:" "X-")
vm-resend-bounced-message-hook nil
vm-resend-discard-header-regexp "\\(\\(X400-\\)?Received:\\|Resent-\\)"
vm-resend-headers nil
vm-resend-message-hook nil
vm-retrieved-spooled-mail-hook nil
vm-rfc1153-digest-discard-header-regexp "\\(X400-\\)?Received:"
vm-rfc1153-digest-headers '("Resent-" "Date:" "From:" "Sender:" "To:" "Cc:"
"Subject:" "Message-ID:" "Keywords:")
vm-rfc934-digest-discard-header-regexp nil
vm-rfc934-digest-headers '("Resent-" "From:" "Sender:" "To:" "Cc:" "Subject:"
"Date:" "Message-ID:" "Keywords:")
vm-search-using-regexps nil
vm-select-message-hook nil
vm-select-new-message-hook nil
vm-select-unread-message-hook nil
vm-send-digest-hook nil
vm-send-using-mime t
vm-skip-deleted-messages 'yowza
vm-skip-read-messages 'yowza
vm-spool-file-suffixes nil
vm-spooled-mail-waiting-hook nil
vm-ssh-program "ssh"
vm-ssh-program-switches nil
vm-ssh-remote-command "echo ready; sleep 15"
vm-startup-with-summary t
vm-strip-reply-headers t
vm-stunnel-program "stunnel"
vm-stunnel-program-switches nil
vm-stunnel-random-data-method 'generate
vm-subject-significant-chars nil
vm-summary-format "%n %*%a %-17.17F %-3.3m %2d %4l/%-5c %I\"%s\"\n"
vm-summary-highlight-face 'bold
vm-summary-mode-hook nil
vm-summary-mode-hooks nil
vm-summary-redo-hook nil
vm-summary-show-threads nil
vm-summary-thread-indent-level 2
vm-summary-uninteresting-senders nil
vm-summary-uninteresting-senders-arrow "To: "
vm-tale-is-an-idiot nil
vm-temp-file-directory "/tmp"
vm-thread-using-subject t
vm-toolbar-pixmap-directory "/usr/local/lib/emacs/etc/vm"
vm-trust-From_-with-Content-Length nil
vm-uncompface-program nil
vm-undisplay-buffer-hook nil
vm-unforwarded-header-regexp "only-drop-this-header"
vm-url-browser 'vm-mouse-send-url-to-netscape-new-window
vm-url-browser-switches nil
vm-url-retrieval-methods '(lynx wget fetch curl w3m)
vm-url-search-limit 12000
vm-use-menus '(folder motion send mark label sort virtual undo dispose emacs
nil help)
vm-use-toolbar '(next previous delete/undelete autofile file reply compose
print visit quit nil help)
vm-virtual-folder-alist nil
vm-virtual-mirror t
vm-visible-headers '("Resent-" "From:" "Sender:" "To:" "Apparently-To:" "Cc:"
"Subject:" "Date:")
vm-visit-folder-hook nil
vm-visit-when-saving 0
vm-warp-mouse-to-new-frame nil
vm-wget-program "wget"
vm-window-configuration-file "~/.vm.windows"
features '(reporter emacsbug vm-digest mailalias sendmail mail-utils
vm-virtual vm-sort vm-mark vm-minibuf vm-macro vm-delete vm-undo
vm-page vm-mime vm-save vm-toolbar vm-summary tapestry vm-motion
vm-message vm-folder vm-misc vm-easymenu vm-menu vm-mouse
vm-window vm-pcrisis vm-reply advice help-fns help-mode view
button advice-preload vm-autoload vm-vars vm-startup vm-version vm
jit-lock font-lock syntax latin-1 crypt crypt++ crypt+pgp-pub
mailcrypt rfc822 comint ring easymenu image tool-bar disp-table
mwheel x-dnd dnd fontset tooltip ediff-hook jka-cmpr-hook vc-hooks
lisp-float-type lisp-mode register page menu-bar timer select
scroll-bar mldrag mouse facemenu font-core frame ucs-tables
georgian utf-8-lang misc-lang vietnamese tibetan thai lao korean
japanese hebrew greek romanian slovak czech european ethiopic
kannada tamil malayalam devanagari indian cyrillic chinese
case-table help simple faces cus-face text-properties overlay md5
base64 format mule env custom widget backquote
make-network-process x-toolkit)
)
On September 16, 2005, Kim F. Storm wrote:
>I took a quick look at VM, and found this:
>
>> ;;(provide 'vm-byteopts)
>>
>> ;; get the compiler loaded so we can undo some of the things that
>> ;; happen when it's loaded.
>> (load "bytecomp" t t nil)
>> ;; Emacs 19 byte compiler complains about too much stuff by default.
>> ;; Turn off most of the warnings here.
>> (setq byte-compile-warnings '(free-vars))
>> ;; need to use these variables for v18 support.
>> ;; stifle the compiler.
>> (put 'inhibit-local-variables 'byte-obsolete-variable nil)
>> ;; Turn off dynamic docstrings and lazy function loading. This
>> ;; is a new feature of FSF Emacs 19.29, and is incompatible
>> ;; with pre-19.29 versions of FSF Emacs and all version of Lucid
>> ;; Emacs / XEmacs. I like being able to share .elc files between
>> ;; different v19 Emacses.
>> (setq byte-compile-dynamic nil)
>> (setq byte-compile-dynamic-docstrings nil)
>> ;; avoid v20 features because users are going
>> ;; to try to share elc files no matter what we tell them.
>> (setq byte-compile-emacs19-compatibility t)
>>
>> (provide 'vm-byteopts)
>
>
>I wonder if some of these settings may trigger some unusual
>byte-code pattern which we don't normally see in emacs 22.x ???
>
>
>Daniel Barrett <dbarrett@blazemonger.com> writes:
>
>> On September 8, 2005, Kim F. Storm wrote:
>>>Daniel Barrett <dbarrett@blazemonger.com> writes:
>>>> On September 8, 2005, Kim F. Storm wrote:
>>>>>Can you provide an "xbacktrace" and "bt full" backtrace.
>>
>> (gdb) xbacktrace
>> "vm-left-justify-string"
>> "vm-reencode-mime-encoded-words-in-string"
>> "format"
>> "list"
>> "eval"
>> "vm-summary-sprintf"
>> "vm-su-summary"
>> "vm-stuff-attributes"
>> "vm-stuff-virtual-attributes"
>> "vm-set-xxxx-flag"
>> "vm-set-new-flag"
>> "vm-show-current-message"
>> "vm-scroll-forward"
>> "call-interactively"
>>
>> (gdb) bt full
>> #0 make_uninit_multibyte_string (nchars=85, nbytes=85) at alloc.c:1880
>> string = Variable "string" is not available.
>>
>>>Please use M-x report-emacs-bug to include proper information
>>>about your emacs version and environment, including additional
>>>information about the crash (as instructed).
>>
>> In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
>> of 2005-07-19 on spinky
>> X server distributor `The XFree86 Project, Inc', version 11.0.40399902
>> configured using `configure '--prefix' '/usr/local/emacs-dev''
>>
>> Important settings:
>> value of $LC_ALL: nil
>> value of $LC_COLLATE: C
>> value of $LC_CTYPE: nil
>> value of $LC_MESSAGES: nil
>> value of $LC_MONETARY: nil
>> value of $LC_NUMERIC: nil
>> value of $LC_TIME: nil
>> value of $LANG: en_US.UTF-8
>> locale-coding-system: utf-8
>> default-enable-multibyte-characters: nil
>>
>> Major mode: VM Summary
>>
>> Minor modes in effect:
>> mouse-wheel-mode: t
>> tooltip-mode: t
>> auto-compression-mode: t
>> global-font-lock-mode: t
>> blink-cursor-mode: t
>> unify-8859-on-encoding-mode: t
>> utf-translate-cjk-mode: t
>> line-number-mode: t
>> next-error-follow-minor-mode: Fol
>>
>> Recent input:
>> [irrelevant -- run much later than the bug occurrence]
>>
>> Recent messages:
>> Reordering messages... done
>> 48 messages, 0 new, 0 unread, 0 deleted
>> Generating summary... 40
>> Generating summary markers...
>> Generating summary... done
>> 48 messages, 0 new, 0 unread, 0 deleted
>> Checking for new mail for /home/dbarrett/.Mail/emacs...
>> 48 messages, 0 new, 0 unread, 0 deleted
>> Mark set
>> Loading emacsbug...done
>>
>>
>
>--
>Kim F. Storm <storm@cua.dk> http://www.cua.dk
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs 22.0.50.1 crash on make_uninit_multibyte_string
2005-09-16 12:56 ` Daniel Barrett
@ 2005-09-16 15:47 ` Daniel Barrett
0 siblings, 0 replies; 7+ messages in thread
From: Daniel Barrett @ 2005-09-16 15:47 UTC (permalink / raw
Cc: Daniel Barrett, bug-gnu-emacs
On September 16, 2005, Daniel Barrett wrote:
>In case it helps, here's the output of vm-submit-bug-report. I'll also
>forward this to Kyle (author of vm).
Here are Kyle's remarks.
: From: Kyle Jones <kyle_jones@wonderworks.com>
: To: Daniel Barrett <dbarrett@blazemonger.com>
: Subject: Emacs 22 crash with vm
: Date: Fri, 16 Sep 2005 08:10:27 -0700
:
: Daniel Barrett writes:
: > | > [...]
: > | > (provide 'vm-byteopts)
: > |
: > |
: > | I wonder if some of these settings may trigger some unusual
: > | byte-code pattern which we don't normally see in emacs 22.x ???
:
: Almost certainly. I doubt if many programs support Emacs versions
: as far back as VM does. But that file is inaccurate in one
: area. I don't support v18 Emacs anymore.
:
: I can explain what the code is doing in the backtrace. It will
: make more sense if you skip to the bottom and read the comments
: in reverse order from there.
:
: > | > (gdb) xbacktrace
: > | > "vm-left-justify-string"
: > | > "vm-reencode-mime-encoded-words-in-string"
:
: In this case RFC 2047-style encoded words must have appeared in
: some header, probably Subject. The words are extracted, decoded,
: left or right justified, then reencoded and returned, eventually
: to be stored in VM's summary cache.
:
: > | > "format"
: > | > "list"
: > | > "eval"
:
: The template formatting is done with Lisp calls.
:
: > | > "vm-summary-sprintf"
:
: Generates the summary information for a message using a printf-like
: format template.
:
: > | > "vm-su-summary"
:
: Returns the summary information for a message as a string. The
: information may be cached, or it might call vm-summary-sprintf to
: generate it.
:
: > | > "vm-stuff-attributes"
:
: Attribute stuffing means transferring message attributes that
: only exist as setting in Emacs variables into actual data in the
: folder buffer. This is done so that when auto-save happens
: attribute changes are auto-saved as well.
:
: > | > "vm-stuff-virtual-attributes"
:
: vm-stuff-virtual-attributes checks if a message is a virtual
: message and if so calls vm-stuff-attributes on the underlying
: real message.
:
: > | > "vm-set-xxxx-flag"
:
: vm-set-xxxx-flag is used to set all messaqge attribute flags.
: Besides setting/unsetting flags it adds records to VM's undo
: record list.
:
: > | > "vm-set-new-flag"
:
: Since the message has been exposed, it isn't new anymore so the
: 'new' flag is being set to nil.
:
: > | > "vm-show-current-message"
:
: vm-show-current-message unnarrows the folder buffer and sets the
: proper clipping region to display the message.
: > | > "vm-scroll-forward"
:
: SPC runs vm-scroll-forward, which exposed the current message,
: which was previously hidden (preview).
:
: > | > "call-interactively"
:
: Someone pressed a key, probably the space bar.
--
Dan Barrett
dbarrett@blazemonger.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Emacs 22.0.50.1 crash on make_uninit_multibyte_string
2005-09-16 11:25 ` Kim F. Storm
2005-09-16 12:56 ` Daniel Barrett
@ 2006-04-22 13:46 ` Daniel Barrett
1 sibling, 0 replies; 7+ messages in thread
From: Daniel Barrett @ 2006-04-22 13:46 UTC (permalink / raw
Cc: Daniel Barrett, bug-gnu-emacs, kyle_jones
In case anybody is interested, the "random crash" problem between Emacs and
Kyle Jones's VM package completely disappeared when I upgraded from SUSE
Linux 9.1 to 10.0. It's now been a month without a single segfault. Same
versions of Emacs and VM as before.
--
Dan Barrett
dbarrett@blazemonger.com
On September 16, 2005, Kim F. Storm wrote:
>I took a quick look at VM, and found this:
>
>> ;;(provide 'vm-byteopts)
>>
>> ;; get the compiler loaded so we can undo some of the things that
>> ;; happen when it's loaded.
>> (load "bytecomp" t t nil)
>> ;; Emacs 19 byte compiler complains about too much stuff by default.
>> ;; Turn off most of the warnings here.
>> (setq byte-compile-warnings '(free-vars))
>> ;; need to use these variables for v18 support.
>> ;; stifle the compiler.
>> (put 'inhibit-local-variables 'byte-obsolete-variable nil)
>> ;; Turn off dynamic docstrings and lazy function loading. This
>> ;; is a new feature of FSF Emacs 19.29, and is incompatible
>> ;; with pre-19.29 versions of FSF Emacs and all version of Lucid
>> ;; Emacs / XEmacs. I like being able to share .elc files between
>> ;; different v19 Emacses.
>> (setq byte-compile-dynamic nil)
>> (setq byte-compile-dynamic-docstrings nil)
>> ;; avoid v20 features because users are going
>> ;; to try to share elc files no matter what we tell them.
>> (setq byte-compile-emacs19-compatibility t)
>>
>> (provide 'vm-byteopts)
>
>
>I wonder if some of these settings may trigger some unusual
>byte-code pattern which we don't normally see in emacs 22.x ???
>
>
>Daniel Barrett <dbarrett@blazemonger.com> writes:
>
>> On September 8, 2005, Kim F. Storm wrote:
>>>Daniel Barrett <dbarrett@blazemonger.com> writes:
>>>> On September 8, 2005, Kim F. Storm wrote:
>>>>>Can you provide an "xbacktrace" and "bt full" backtrace.
>>
>> (gdb) xbacktrace
>> "vm-left-justify-string"
>> "vm-reencode-mime-encoded-words-in-string"
>> "format"
>> "list"
>> "eval"
>> "vm-summary-sprintf"
>> "vm-su-summary"
>> "vm-stuff-attributes"
>> "vm-stuff-virtual-attributes"
>> "vm-set-xxxx-flag"
>> "vm-set-new-flag"
>> "vm-show-current-message"
>> "vm-scroll-forward"
>> "call-interactively"
>>
>> (gdb) bt full
>> #0 make_uninit_multibyte_string (nchars=85, nbytes=85) at alloc.c:1880
>> string = Variable "string" is not available.
>>
>>>Please use M-x report-emacs-bug to include proper information
>>>about your emacs version and environment, including additional
>>>information about the crash (as instructed).
>>
>> In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
>> of 2005-07-19 on spinky
>> X server distributor `The XFree86 Project, Inc', version 11.0.40399902
>> configured using `configure '--prefix' '/usr/local/emacs-dev''
>>
>> Important settings:
>> value of $LC_ALL: nil
>> value of $LC_COLLATE: C
>> value of $LC_CTYPE: nil
>> value of $LC_MESSAGES: nil
>> value of $LC_MONETARY: nil
>> value of $LC_NUMERIC: nil
>> value of $LC_TIME: nil
>> value of $LANG: en_US.UTF-8
>> locale-coding-system: utf-8
>> default-enable-multibyte-characters: nil
>>
>> Major mode: VM Summary
>>
>> Minor modes in effect:
>> mouse-wheel-mode: t
>> tooltip-mode: t
>> auto-compression-mode: t
>> global-font-lock-mode: t
>> blink-cursor-mode: t
>> unify-8859-on-encoding-mode: t
>> utf-translate-cjk-mode: t
>> line-number-mode: t
>> next-error-follow-minor-mode: Fol
>>
>> Recent input:
>> [irrelevant -- run much later than the bug occurrence]
>>
>> Recent messages:
>> Reordering messages... done
>> 48 messages, 0 new, 0 unread, 0 deleted
>> Generating summary... 40
>> Generating summary markers...
>> Generating summary... done
>> 48 messages, 0 new, 0 unread, 0 deleted
>> Checking for new mail for /home/dbarrett/.Mail/emacs...
>> 48 messages, 0 new, 0 unread, 0 deleted
>> Mark set
>> Loading emacsbug...done
>>
>>
>
>--
>Kim F. Storm <storm@cua.dk> http://www.cua.dk
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-04-22 13:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.6130.1126053675.20277.bug-gnu-emacs@gnu.org>
2005-09-08 11:26 ` Emacs 22.0.50.1 crash on make_uninit_multibyte_string Kim F. Storm
[not found] ` <17184.13523.891333.897902@spinky.blazemonger.com>
[not found] ` <m3aciny9tb.fsf@kfs-l.imdomain.dk>
2005-09-16 1:08 ` Daniel Barrett
2005-09-16 11:25 ` Kim F. Storm
2005-09-16 12:56 ` Daniel Barrett
2005-09-16 15:47 ` Daniel Barrett
2006-04-22 13:46 ` Daniel Barrett
2005-09-07 0:35 Daniel Barrett
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).