This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

still memset puts a core on glibc cvs


I have this problem still at latest glibc cvs.

My system had updated some prohrams around glibc before this check.

The result is
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 32769 (LWP 982)]
0x0fe85b50 in memset () from /lib/

(gdb) where
#0  0x0fe85b50 in memset () from /lib/
#1  0x0ff62f3c in pthread_allocate_stack () from /lib/
#2  0x0ff624c4 in pthread_handle_create () from /lib/
#3  0x0ff6231c in __pthread_manager () from /lib/
#4  0x0ff62ba8 in __pthread_manager_event () from /lib/
#5  0x0fee0848 in clone () from /lib/
[New Thread 16384 (LWP 1247)]
[Switching to Thread 16384 (LWP 1247)]

Breakpoint 3, main () at ../linuxthreads/sysdeps/pthread/tst-timer.c:64
[New Thread 32769 (LWP 1248)]
[New Thread 16386 (LWP 1249)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 32769 (LWP 1248)]
0x0fe85b50 in memset () from /lib/

-	0xfe85ae4	<memset>:		cmplwi	cr1,r5,4
-	0xfe85ae8	<memset+4>:		andi.	r7,r3,3
-	0xfe85aec	<memset+8>:		mr	r6,r3
-	0xfe85af0	<memset+12>:		ble-	cr1,0xfe85c80 <memset+412>
-	0xfe85af4	<memset+16>:		cmplwi	cr5,r5,31
-	0xfe85af8	<memset+20>:		rlwimi	r4,r4,8,16,23
-	0xfe85afc	<memset+24>:		beq+	0xfe85b20 <memset+60>
-	0xfe85b00	<memset+28>:		mtcrf	1,r3
-	0xfe85b04	<memset+32>:		subfic	r7,r7,4
-	0xfe85b08	<memset+36>:		add	r6,r6,r7
-	0xfe85b0c	<memset+40>:		subf	r5,r7,r5
-	0xfe85b10	<memset+44>:		bns+	cr7,0xfe85b1c <memset+56>
-	0xfe85b14	<memset+48>:		stb	r4,0(r3)
-	0xfe85b18	<memset+52>:		beq-	cr7,0xfe85b20 <memset+60>
-	0xfe85b1c	<memset+56>:		sth	r4,-2(r6)
-	0xfe85b20	<memset+60>:		mtcrf	1,r5
-	0xfe85b24	<memset+64>:		rlwimi	r4,r4,16,0,15
-	0xfe85b28	<memset+68>:		ble-	cr5,0xfe85cc0 <memset+476>
-	0xfe85b2c	<memset+72>:		andi.	r7,r6,28
-	0xfe85b30	<memset+76>:		subfic	r7,r7,32
-	0xfe85b34	<memset+80>:		beq-	0xfe85b74 <memset+144>
-	0xfe85b38	<memset+84>:		mtcrf	1,r7
-	0xfe85b3c	<memset+88>:		add	r6,r6,r7
-	0xfe85b40	<memset+92>:		subf	r5,r7,r5
-	0xfe85b44	<memset+96>:		cmplwi	cr1,r7,16
-	0xfe85b48	<memset+100>:		mr	r8,r6
-	0xfe85b4c	<memset+104>:		bge-	cr7,0xfe85b58 <memset+116>
-	0xfe85b50	<memset+108>:		stw	r4,-4(r8)    <<<< ----------- here stop
-	0xfe85b54	<memset+112>:		stwu	r4,-8(r8)
r8 = 0x38d00
r4 = 0x0

0x38d00 is N/A
at memset start 
r3 = 0x7ffff4dc
r4 = 0x0
r5 = 0x80

Recent kernel is 2.4.20-pre5 .

My Gcc is
[root@g4mpkfukui root]# gcc -v
Reading specs from /usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2.1/specs
Configured with: ../configure --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --disable-checking --enable-threads=posix --enable-__cxa_atexit --enable-altivec=no --prefix=/usr --with-system-zlib --host=powerpc-unknown-linux-gnu --enable-languages=c,c++,objc,f77,java
Thread model: posix
gcc version 3.2.1 20020910 (prerelease)

My binutils is
[root@g4mpkfukui root]# ld -v
GNU ld version 2.13.90 20020910

Gmp is gmp-4.1-4

Any help?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]