Closed Bug 281396 Opened 20 years ago Closed 20 years ago

Hitting Ctrl+D in js causes assertion failure (Assertion failure: !PCE_OBJECT(entry_), at jsinterp.c:127)

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: Biesinger, Assigned: Biesinger)

Details

[19:41:15 chb@localhost src]$ */js
js>
Assertion failure: !PCE_OBJECT(entry_), at jsinterp.c:127
Abgebrochen

I just hit Ctrl+D at the prompt.

Latest CVS, linux (FC3), built with make -f Makefile.ref, gcc Red Hat 3.4.2-6.fc3
(gdb) bt
#0  0x002227a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00262955 in raise () from /lib/tls/libc.so.6
#2  0x00264319 in abort () from /lib/tls/libc.so.6
#3  0x080d16a6 in JS_Assert (s=0x80efc75 "!PCE_OBJECT(entry_)", file=0x80efc5c
"jsinterp.c", ln=127)
    at jsutil.c:155
#4  0x0808076e in js_EnablePropertyCache (cx=0x8c61158) at jsinterp.c:127
#5  0x0807fbe0 in js_GC (cx=0x8c61158, gcflags=2) at jsgc.c:1897
#6  0x0807f06f in js_ForceGC (cx=0x8c61158, gcflags=2) at jsgc.c:1482
#7  0x0805b311 in js_DestroyContext (cx=0x8c61158, gcmode=JS_FORCE_GC) at
jscntxt.c:256
#8  0x0804f7b5 in JS_DestroyContext (cx=0x8c61158) at jsapi.c:942
#9  0x0804c8b9 in main (argc=0, argv=0xbfe3eee8, envp=0xbfe3eeec) at js.c:2504

let me know if you need any locals. this is 100% reproducable.
I don't see this, and it makes no sense.  Biesi, are you sure you have clobbered
all generated files since updating sources?  Makefile.ref has no header
dependency gathering automation, and only a few hardwired deps.  You must clean
after struct size or member changes.

/be
Assignee: general → cbiesinger
oh, sorry. I didn't know I had to do clobber builds with Makefile.ref. doing
that fixes this problem.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.