Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libgnumalloc (i386) problems? Seen wih squid



Hi,
with May builds of i386 (cross-compiled from amd64), when I run
squid (pkgsrc build), I get a seg fault, with a backtrace showing
over 20k calls to calloc() in libgnumalloc.

e.g.
.....
#22690 0xbb97b58c in calloc () from /usr/lib/libgnumalloc.so.1
#22691 0xbb97b58c in calloc () from /usr/lib/libgnumalloc.so.1
#22692 0xbb97b58c in calloc () from /usr/lib/libgnumalloc.so.1
#22693 0xbb97b58c in calloc () from /usr/lib/libgnumalloc.so.1
.....

	% objdump -S calloc.o
	calloc.o:     file format elf32-i386
	
	Disassembly of section .text:
	
	00000000 <calloc>:
   	0:	8b 44 24 08          	mov    0x8(%esp),%eax
   	4:	c7 44 24 08 01 00 00 	movl   $0x1,0x8(%esp)
   	b:	00 
   	c:	0f af 44 24 04       	imul   0x4(%esp),%eax
  	11:	89 44 24 04          	mov    %eax,0x4(%esp)
  	15:	eb e9                	jmp    0 <calloc>

Looks like some header may be causing trouble.  Or some
weird optimisation.

Anyone else see this?

Regards,
Geoff


Home | Main Index | Thread Index | Old Index