Bug 2451 - crashes (unable to allocate memory) where it worked before
: crashes (unable to allocate memory) where it worked before
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/gawk)
: unstable
: all Linux
: P5 critical
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2003-04-01 01:56 by
Modified: 2003-08-25 15:18 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-04-01 01:56:49
gawk-3.1.2-alt1 crashes where gawk-3.1.1-alt4 worked (hinders  emacs
compilation; that\'s how it was discovered)

---
for (( i = 0; i < 10; ++i )); do emacs -q -batch -f list-load-path-shadows;
done  2>&1 | awk \'/!! /{ r++; } END{ if (r) printf \"There were %d
errors while recompiling Emacs Lisp modules.\\n\", r; exit r; } /.*/\'
...
awk: cmd. line:2: (FILENAME=- FNR=222) fatal: grow_iop_buffer: iop->buf:
can\'t allocate 1073741826 bytes of memory (Cannot allocate memory)


At the same time the old gawk works:

for (( i = 0; i < 10; ++i )); do emacs -q -batch -f list-load-path-shadows;
done  2>&1 | /user/imz/bin/gawk-3.1.1-alt4 \'/!! /{ r++; } END{ if (r)
printf \"There were %d errors while recompiling Emacs Lisp
modules.\\n\", r; exit r; } /.*/\'

---
gawk-3.1.2-alt1

$ rpm -qa \'*emacs*\'
emacs-ruby-mode-1.59-alt3
emacsen-startscripts-0.0.3-alt2
emacs-X11-21.3-alt1
emacs-semantic-1.4.3-alt2
emacs-el-21.3-alt1
emacs-elib-1.0-alt6
emacs-leim-21.3-alt1
emacs-ede-1.0-alt0.6beta2
emacs-speedbar-0.14-alt0.7.beta4
emacs-jdee-2.3.2-alt4
emacs-eieio-0.17-alt5
emacs-mode-auctex-11.14-alt6
emacs-common-21.3-alt1
emacs-nox-21.3-alt1
------- Comment #1 From 2003-04-01 02:00:02 -------
The crash happens after ~ 6 iterations on altair. (At home: ~ 1).
------- Comment #2 From 2003-04-01 02:00:02 -------
The crash happens after ~ 6 iterations on altair. (At home: ~ 1).