Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Crashes in pre5



I'm getting a lot of crashes in pre5.  They are always a segmentation fault
at line 930 in mem.c (inside zfree()):

930           mp->next = m;

In case the helps folks that are more familar with the code then I am,
here's the trace for two of them:

Segmentation fault in zfree at line 930 in file "mem.c"
  930           mp->next = m;
  (dbx) t
  zfree(p = 0x2002d338, sz = 160), line 930 in "mem.c"
  unnamed block $b140, line 707 in "hist.c"
  hend(), line 707 in "hist.c"
  init.loop(toplevel = 1), line 116 in "init.c"
  main(argc = 1, argv = 0x2ff226ec), line 74 in "init.c"


Segmentation fault in zfree at line 930 in file "mem.c"
  930           mp->next = m;
  (dbx) t
  zfree(p = 0x2002df24, sz = 0), line 930 in "mem.c"
  mem.free(p = 0x2002df24), line 955 in "mem.c"
  zleread(0x200251f0, 0x0), line 499 in "zle_main.c"
  inputline(), line 264 in "input.c"
  ingetc(), line 220 in "input.c"
  hgetc(), line 109 in "hist.c"
  gettok(), line 372 in "lex.c"
  lex.yylex(), line 182 in "lex.c"
  parse_event(), line 59 in "parse.c"
  init.loop(toplevel = 1), line 115 in "init.c"
  main(argc = 1, argv = 0x2ff226ec), line 74 in "init.c"
  
  

-- 
Bill Pemberton                           wfp5p@xxxxxxxxxxxx
ITC/Unix Systems                         flash@xxxxxxxxxxxx
University of Virginia                   uunet!virginia!wfp5p



Messages sorted by: Reverse Date, Date, Thread, Author