Bug 2511 - crash on loading ps-print.elc.bz2
Summary: crash on loading ps-print.elc.bz2
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: emacs21-common (show other bugs)
Version: unstable
Hardware: all Linux
: P5 critical
Assignee: Alex Ott
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-09 20:26 MSD by Sergey Vlasov
Modified: 2005-07-13 15:45 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Vlasov 2003-04-09 20:26:29 MSD
emacs-21.3-alt4

M-x ps-print-buffer
==> Fatal error (11).Segmentation fault

Воспроизводится в сборках -X11, -nox. Также падает на customize-browse сразу после загрузки ps-print.elc.bz2.

При запуске из сборочного каталога тоже падает, если предварительно упаковать bzip2 файл ps-print.elc в дереве сборки. Проверялось с -q --no-site-file - падает (в этом случае предварительно нужно M-x auto-compression-mode).
---

---
$ gdb emacs
GNU gdb ALT Linux (5.1.1-alt1)
Copyright 2002 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-alt-linux\"...
DISPLAY = :0.0
TERM = xterm
Breakpoint 1 at 0x80da1b6: file /home/vsu/RPM/BUILD/emacs-21.3/src/emacs.c, line 387.
Breakpoint 2 at 0x80bc872: file /home/vsu/RPM/BUILD/emacs-21.3/src/xterm.c, line 12006.
(gdb) set args -q --no-site-file
(gdb) r
Starting program: /home/vsu/RPM/BUILD/emacs-21.3/build-withx/src/emacs -q --no-site-file

Program received signal SIGSEGV, Segmentation fault.
0x0814f5eb in read_list (flag=0, readcharfun=1214111632)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/lread.c:2816
2816                              for (from = start, to = start;
(gdb) bt
#0  0x0814f5eb in read_list (flag=0, readcharfun=1214111632)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/lread.c:2816
#1  0x0814ddb4 in read1 (readcharfun=1214111632, pch=0x7fffe390, 
    first_in_list=0) at /home/vsu/RPM/BUILD/emacs-21.3/src/lread.c:1830
#2  0x0814d6b3 in read0 (readcharfun=0)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/lread.c:1490
#3  0x0814ebeb in read1 (readcharfun=1214111632, pch=0x7fffe44c, 
    first_in_list=0) at /home/vsu/RPM/BUILD/emacs-21.3/src/lread.c:2099
#4  0x0814f359 in read_list (flag=0, readcharfun=1214111632)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/lread.c:2713
#5  0x0814ddb4 in read1 (readcharfun=1214111632, pch=0x7fffe520, 
    first_in_list=0) at /home/vsu/RPM/BUILD/emacs-21.3/src/lread.c:1830
#6  0x0814d6b3 in read0 (readcharfun=0)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/lread.c:1490
#7  0x0814d13c in readevalloop (readcharfun=1214111632, stream=0x0, 
    sourcename=945673436, evalfun=0x81384c0 <Feval>, printflag=0, unibyte=0, 
    readfun=405320636) at /home/vsu/RPM/BUILD/emacs-21.3/src/lread.c:1266
#8  0x0814d2ed in Feval_buffer (buffer=0, printflag=405320636, 
    filename=945673436, unibyte=0, do_allow_print=405320684)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/lread.c:1327
#9  0x0813957d in Ffuncall (nargs=6, args=0x7fffe634)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:2675
#10 0x08163ff3 in Fbyte_code (bytestr=136004424, vector=5, maxdepth=2147477040)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/bytecode.c:716
#11 0x081398ee in funcall_lambda (fun=1209746164, nargs=4, 
    arg_vector=0x7fffe784) at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:2851
#12 0x081393fc in Ffuncall (nargs=5, args=0x7fffe780)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:2716
#13 0x081391d0 in call4 (fn=405702100, arg1=945674316, arg2=945673436, 
    arg3=405320636, arg4=405320684)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:2525
#14 0x0814c556 in Fload (file=945673436, noerror=405320636, 
    nomessage=405320684, nosuffix=405320684, must_suffix=405320636)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/lread.c:791
#15 0x0813957d in Ffuncall (nargs=5, args=0x385dd4dc)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:2675
#16 0x08163ff3 in Fbyte_code (bytestr=140304736, vector=4, maxdepth=2147477856)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/bytecode.c:716
#17 0x081398ee in funcall_lambda (fun=1214057344, nargs=4, 
---Type <return> to continue, or q <return> to quit---
    arg_vector=0x7fffea90) at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:2851
#18 0x081393fc in Ffuncall (nargs=5, args=0x7fffea8c)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:2716
#19 0x08138c3e in Fapply (nargs=2, args=0x7fffeb84)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:2169
#20 0x08139695 in Ffuncall (nargs=3, args=0x7fffeb80)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:2640
#21 0x08163ff3 in Fbyte_code (bytestr=139243236, vector=2, maxdepth=2147478400)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/bytecode.c:716
#22 0x081398ee in funcall_lambda (fun=1214057872, nargs=5, 
    arg_vector=0x7fffecc4) at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:2851
#23 0x081393fc in Ffuncall (nargs=6, args=0x7fffecc0)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:2716
#24 0x08139200 in call5 (fn=405781004, arg1=405435404, arg2=945664100, 
    arg3=405320636, arg4=405320636, arg5=405320684)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:2550
#25 0x0814c634 in Fload (file=942916300, noerror=405320636, 
    nomessage=405320636, nosuffix=405320636, must_suffix=405320684)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/lread.c:717
#26 0x081383e2 in do_autoload (fundef=1479786988, funname=406039892)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:1849
#27 0x080e73f1 in Fcommand_execute (cmd=406039892, record_flag=405320684, 
    keys=0, special=405320636)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/keyboard.c:9210
#28 0x080e7758 in Fexecute_extended_command (prefixarg=405320636)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/keyboard.c:9356
#29 0x081394eb in Ffuncall (nargs=2, args=0x7ffff054)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:2659
#30 0x08135037 in Fcall_interactively (function=405378684, 
    record_flag=405320636, keys=1210685752)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/callint.c:797
#31 0x080e748b in Fcommand_execute (cmd=405378684, record_flag=405320636, 
    keys=0, special=405320636)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/keyboard.c:9250
#32 0x080dd10b in command_loop_1 ()
    at /home/vsu/RPM/BUILD/emacs-21.3/src/keyboard.c:1661
#33 0x0813766a in internal_condition_case (bfun=0x80dcda0 <command_loop_1>, 
    handlers=405416980, hfun=0x80dc930 <cmd_error>)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:1267
---Type <return> to continue, or q <return> to quit---
#34 0x080dcc4d in command_loop_2 ()
    at /home/vsu/RPM/BUILD/emacs-21.3/src/keyboard.c:1245
#35 0x081371d9 in internal_catch (tag=0, func=0x80dcc20 <command_loop_2>, 
    arg=405320636) at /home/vsu/RPM/BUILD/emacs-21.3/src/eval.c:1030
#36 0x080dcbf7 in command_loop ()
    at /home/vsu/RPM/BUILD/emacs-21.3/src/keyboard.c:1224
#37 0x080dc6be in recursive_edit_1 ()
    at /home/vsu/RPM/BUILD/emacs-21.3/src/keyboard.c:950
#38 0x080dc7f3 in Frecursive_edit ()
    at /home/vsu/RPM/BUILD/emacs-21.3/src/keyboard.c:1006
#39 0x080db029 in main (argc=3, argv=0x7ffff894, envp=0x7ffff8a4)
    at /home/vsu/RPM/BUILD/emacs-21.3/src/emacs.c:1547
#40 0x2ada8642 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) info locals
pos = 6009
defunflag = 0
val = 1482660972
tail = 397
elt = 397
tem = 0
gcpro1 = {
  next = 0x482903f8, 
  var = 0x834d560, 
  nvars = 720354316
}
gcpro2 = {
  next = 0x3, 
  var = 0x834d560, 
  nvars = 2147476216
}
doc_reference = 2
first_in_list = 0
(gdb) l
2811                              int from, to;
2812
2813                              /* Process quoting with ^A,
2814                                 and find the end of the string,
2815                                 which is marked with ^_ (037).  */
2816                              for (from = start, to = start;
2817                                   prev_saved_doc_string[from] != 037;)
2818                                {
2819                                  int c = prev_saved_doc_string[from++];
2820                                  if (c == 1)
Comment 1 inger@altlinux.org 2004-04-29 12:22:38 MSD
переназначено 
 
Comment 2 Alex Ott 2004-04-29 12:36:11 MSD
давно исправлено - обновите emacs