pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
emacs23 looping during bootstrap?
Hi,
while doing a bulk build on NetBSD/amd64 8.0_BETA, I notice that
temacs appears to be looping while doing
temacs --batch --load loadup bootstrap
The process would have hit the CPU time limit I've imposed if I
hadn't kill it early, and therefore this stalls the bulk build.
Applying gdb to it reveals that it's looping inside its own
calloc():
: {20} gdb -q gmalloc.o
Reading symbols from gmalloc.o...(no debugging symbols found)...done.
No symbol table is loaded. Use the "file" command.
(gdb) disass calloc
Dump of assembler code for function calloc:
0x000012f9 <+0>: imul %rsi,%rdi
0x000012fd <+4>: mov $0x1,%esi
0x00001302 <+9>: jmp 0x12f9 <calloc>
End of assembler dump.
(gdb)
The C source looks normal:
__ptr_t
calloc (nmemb, size)
register __malloc_size_t nmemb;
register __malloc_size_t size;
{
register __ptr_t result = malloc (nmemb * size);
if (result != NULL)
(void) memset (result, 0, nmemb * size);
return result;
}
?!?!?
Does anyone else see the same problem?
Any idea what is going on here?
Regards,
- Håvard
Home |
Main Index |
Thread Index |
Old Index