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]

Is malloc_consolidate () OK?


I'm using glibc-2.2.93 which I got at Sep 03.
This core is from wish8.4 using.

My system is powerpc GNU/Linux.
(gdb) run /usr/bin/tkrat
Starting program: /usr/src/redhat/BUILD/tcltk-8.4.0/tk-8.4/unix/wish8.4 /usr/bin/tkrat

Program received signal SIGSEGV, Segmentation fault.
0x0fb77164 in malloc_consolidate () from /lib/

(gdb) where
#0  0x0fb77164 in malloc_consolidate () from /lib/
#1  0x0fb7703c in _int_free () from /lib/
#2  0x0fb77a20 in free () from /lib/
#3  0x0fd3e1fc in _XFreeDisplayStructure () from /usr/X11R6/lib/
#4  0x0fd29f60 in XCloseDisplay () from /usr/X11R6/lib/
#5  0x0ff48db4 in TkpCloseDisplay () from /usr/lib/
#6  0x0ff41bac in TkCloseDisplay () from /usr/lib/
#7  0x0ff443d0 in DeleteWindowsExitProc () from /usr/lib/
#8  0x0fe5b380 in Tcl_Finalize () from /usr/lib/
#9  0x0fe5b0ec in Tcl_Exit () from /usr/lib/
#10 0x0ff33744 in Tk_MainEx () from /usr/lib/
#11 0x1000186c in main (argc=2, argv=0x7ffff8a4) at /usr/src/redhat/BUILD/tcltk-8.4.0/tk-8.4/unix/tkAppInit.c:68
#12 0x0fb17f6c in __libc_start_main () from /lib/

-	0xfb77090	<malloc_consolidate>:		lwz	r11,40(r3)
-	0xfb77094	<malloc_consolidate+4>:		mflr	r0
-	0xfb77098	<malloc_consolidate+8>:		stwu	r1,-48(r1)
-	0xfb7709c	<malloc_consolidate+12>:		bl	0xfc3edcc <__DTOR_END__+4>
-	0xfb770a0	<malloc_consolidate+16>:		cmpwi	r11,0
-	0xfb770a4	<malloc_consolidate+20>:		mr	r10,r11
-	0xfb770a8	<malloc_consolidate+24>:		stw	r30,40(r1)
-	0xfb770ac	<malloc_consolidate+28>:		mflr	r30
-	0xfb770b0	<malloc_consolidate+32>:		stw	r27,28(r1)
-	0xfb770b4	<malloc_consolidate+36>:		mtlr	r0
-	0xfb770b8	<malloc_consolidate+40>:		stw	r28,32(r1)
-	0xfb770bc	<malloc_consolidate+44>:		stw	r29,36(r1)
-	0xfb770c0	<malloc_consolidate+48>:		stw	r31,44(r1)
-	0xfb770c4	<malloc_consolidate+52>:		beq-	0xfb771e0 <malloc_consolidate+336>
-	0xfb770c8	<malloc_consolidate+56>:		ori	r7,r11,1
-	0xfb770cc	<malloc_consolidate+60>:		addi	r4,r3,92
-	0xfb770d0	<malloc_consolidate+64>:		rlwinm	r6,r7,31,1,29
-	0xfb770d4	<malloc_consolidate+68>:		stw	r7,40(r3)
-	0xfb770d8	<malloc_consolidate+72>:		add	r5,r3,r6
-	0xfb770dc	<malloc_consolidate+76>:		addi	r31,r3,44
-	0xfb770e0	<malloc_consolidate+80>:		addi	r28,r5,36
-	0xfb770e4	<malloc_consolidate+84>:		li	r27,0
-	0xfb770e8	<malloc_consolidate+88>:		lwz	r11,0(r31)
-	0xfb770ec	<malloc_consolidate+92>:		cmpwi	r11,0
-	0xfb770f0	<malloc_consolidate+96>:		beq-	0xfb77198 <malloc_consolidate+264>
-	0xfb770f4	<malloc_consolidate+100>:		stw	r27,0(r31)
-	0xfb770f8	<malloc_consolidate+104>:		li	r29,-6
-	0xfb770fc	<malloc_consolidate+108>:		lwz	r10,4(r11)
-	0xfb77100	<malloc_consolidate+112>:		lwz	r12,8(r11)
-	0xfb77104	<malloc_consolidate+116>:		and	r8,r10,r29
-	0xfb77108	<malloc_consolidate+120>:		andi.	r9,r10,1
-	0xfb7710c	<malloc_consolidate+124>:		add	r7,r11,r8
-	0xfb77110	<malloc_consolidate+128>:		lwz	r5,4(r7)
-	0xfb77114	<malloc_consolidate+132>:		rlwinm	r6,r5,0,0,28
-	0xfb77118	<malloc_consolidate+136>:		bne-	0xfb77138 <malloc_consolidate+168>
-	0xfb7711c	<malloc_consolidate+140>:		lwz	r9,0(r11)
-	0xfb77120	<malloc_consolidate+144>:		subf	r11,r9,r11
-	0xfb77124	<malloc_consolidate+148>:		add	r8,r8,r9
-	0xfb77128	<malloc_consolidate+152>:		lwz	r10,12(r11)
-	0xfb7712c	<malloc_consolidate+156>:		lwz	r9,8(r11)
-	0xfb77130	<malloc_consolidate+160>:		stw	r9,8(r10)
-	0xfb77134	<malloc_consolidate+164>:		stw	r10,12(r9)
-	0xfb77138	<malloc_consolidate+168>:		lwz	r10,84(r3)
-	0xfb7713c	<malloc_consolidate+172>:		add	r9,r7,r6
-	0xfb77140	<malloc_consolidate+176>:		cmpw	r7,r10
-	0xfb77144	<malloc_consolidate+180>:		beq-	0xfb771cc <malloc_consolidate+316>
-	0xfb77148	<malloc_consolidate+184>:		lwz	r0,4(r9)
-	0xfb7714c	<malloc_consolidate+188>:		rlwinm	r9,r5,0,0,30
-	0xfb77150	<malloc_consolidate+192>:		andi.	r10,r0,1
-	0xfb77154	<malloc_consolidate+196>:		bne-	0xfb771c4 <malloc_consolidate+308>
-	0xfb77158	<malloc_consolidate+200>:		lwz	r9,12(r7)
-	0xfb7715c	<malloc_consolidate+204>:		add	r8,r8,r6
-	0xfb77160	<malloc_consolidate+208>:		lwz	r5,8(r7)
	0xfb77164	<malloc_consolidate+212>:		stw	r5,8(r9)
-	0xfb77168	<malloc_consolidate+216>:		stw	r9,12(r5)
-	0xfb7716c	<malloc_consolidate+220>:		lwz	r6,8(r4)
-	0xfb77170	<malloc_consolidate+224>:		ori	r7,r8,1
-	0xfb77174	<malloc_consolidate+228>:		stw	r11,8(r4)

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