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

Bug#626001: sigseg in memset (powerpc)



Package: libc6
Version: 2.13-0exp5
Severity: normal
Tags: experimental

Hi,

last night, grep was killed by SIGSEG. It was run by a cron job and I
can't reproduce the error. But I've a coredump.

% gdb -batch -ex 'bt full' -ex disas -ex 'i r' /bin/grep /var/tmp/Körnerhaufen.grep.1304728943
[New Thread 7316]

warning: Can't read pathname for load map: Eingabe-/Ausgabefehler.
Core was generated by `grep ^ROOTKIT_FILES_DIRS_FILE: /var/lib/rkhunter/db/i18n/en'.
Program terminated with signal 11, Segmentation fault.
#0  memset () at ../sysdeps/powerpc/powerpc32/memset.S:100
100	../sysdeps/powerpc/powerpc32/memset.S: Datei oder Verzeichnis nicht gefunden.
	in ../sysdeps/powerpc/powerpc32/memset.S
#0  memset () at ../sysdeps/powerpc/powerpc32/memset.S:100
No locals.
#1  0x0fed241c in __libc_calloc (n=<value optimized out>, elem_size=<value optimized out>) at malloc.c:4123
        av = 0xffc9268
        oldtop = 0x103fcd18
        bytes = 4
        csz = <value optimized out>
        oldtopsize = 82664
        mem = 0xffc9265
        clearsize = <value optimized out>
        nclears = <value optimized out>
        __func__ = "__libc_calloc"
#2  0x10018700 in ?? ()
No symbol table info available.
#3  0x1000f260 in ?? ()
No symbol table info available.
#4  0x10001cdc in ?? ()
No symbol table info available.
#5  0x10004c4c in ?? ()
No symbol table info available.
#6  0x100057ec in ?? ()
No symbol table info available.
#7  0x10005efc in ?? ()
No symbol table info available.
#8  0x0fe6a91c in generic_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, auxvec=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=<value optimized out>) at ../csu/libc-start.c:228
        result = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-269702268, 0, 1605052748, 268612544, 268612568, 268543038, 1, 0, 0, -1078298064, 2, 268612580, 273775660, 268612612, 268535476, -1078298152, 1208091916, 1208094744, 0, 268206068, 0, 570425474, 0 <repeats 36 times>, -163754450, 1, 1208097024, 1, -1, 1208182176, 0 <repeats 48 times>}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0xbfba79d8, 0x4802050c}, data = {prev = 0x0, cleanup = 0x0, canceltype = -1078298152}}}
#9  0x0fe6aae0 in __libc_start_main (argc=<value optimized out>, ubp_av=<value optimized out>, ubp_ev=<value optimized out>, auxvec=<value optimized out>, rtld_fini=<value optimized out>, stinfo=<value optimized out>, stack_on_entry=<value optimized out>) at ../sysdeps/unix/sysv/linux/powerpc/libc-start.c:105
No locals.
#10 0x00000000 in ?? ()
No symbol table info available.
Dump of assembler code for function memset:
   0x0fed8e04 <+0>:	cmplwi  cr1,r5,4
   0x0fed8e08 <+4>:	andi.   r7,r3,3
   0x0fed8e0c <+8>:	mr      r6,r3
   0x0fed8e10 <+12>:	ble     cr1,0xfed8fa0 <memset+412>
   0x0fed8e14 <+16>:	cmplwi  cr5,r5,31
   0x0fed8e18 <+20>:	rlwimi  r4,r4,8,16,23
   0x0fed8e1c <+24>:	beq     0xfed8e40 <memset+60>
   0x0fed8e20 <+28>:	mtcrf   1,r3
   0x0fed8e24 <+32>:	subfic  r7,r7,4
   0x0fed8e28 <+36>:	add     r6,r6,r7
   0x0fed8e2c <+40>:	subf    r5,r7,r5
   0x0fed8e30 <+44>:	bns     cr7,0xfed8e3c <memset+56>
   0x0fed8e34 <+48>:	stb     r4,0(r3)
   0x0fed8e38 <+52>:	beq     cr7,0xfed8e40 <memset+60>
   0x0fed8e3c <+56>:	sth     r4,-2(r6)
   0x0fed8e40 <+60>:	mtcrf   1,r5
   0x0fed8e44 <+64>:	rlwimi  r4,r4,16,0,15
   0x0fed8e48 <+68>:	ble     cr5,0xfed8fe0 <memset+476>
   0x0fed8e4c <+72>:	andi.   r7,r6,28
   0x0fed8e50 <+76>:	subfic  r7,r7,32
   0x0fed8e54 <+80>:	beq     0xfed8e94 <memset+144>
   0x0fed8e58 <+84>:	mtcrf   1,r7
   0x0fed8e5c <+88>:	add     r6,r6,r7
   0x0fed8e60 <+92>:	subf    r5,r7,r5
   0x0fed8e64 <+96>:	cmplwi  cr1,r7,16
   0x0fed8e68 <+100>:	mr      r8,r6
   0x0fed8e6c <+104>:	bge     cr7,0xfed8e78 <memset+116>
=> 0x0fed8e70 <+108>:	stw     r4,-4(r8)
   0x0fed8e74 <+112>:	stwu    r4,-8(r8)
   0x0fed8e78 <+116>:	blt     cr1,0xfed8e8c <memset+136>
   0x0fed8e7c <+120>:	stw     r4,-4(r8)
   0x0fed8e80 <+124>:	stw     r4,-8(r8)
   0x0fed8e84 <+128>:	stw     r4,-12(r8)
   0x0fed8e88 <+132>:	stwu    r4,-16(r8)
   0x0fed8e8c <+136>:	ble     cr7,0xfed8e94 <memset+144>
   0x0fed8e90 <+140>:	stw     r4,-4(r8)
   0x0fed8e94 <+144>:	cmplwi  cr1,r4,0
   0x0fed8e98 <+148>:	rlwinm. r7,r5,0,0,26
   0x0fed8e9c <+152>:	mtcrf   1,r5
   0x0fed8ea0 <+156>:	beq     cr1,0xfed9040 <memset+572>
   0x0fed8ea4 <+160>:	rlwinm  r0,r7,27,5,31
   0x0fed8ea8 <+164>:	mtctr   r0
   0x0fed8eac <+168>:	beq     0xfed8fe0 <memset+476>
   0x0fed8eb0 <+172>:	clrlwi. r5,r5,27
   0x0fed8eb4 <+176>:	add     r6,r6,r7
   0x0fed8eb8 <+180>:	li      r8,-64
   0x0fed8ebc <+184>:	bdz     0xfed8ef0 <memset+236>
   0x0fed8ec0 <+188>:	dcbtst  r8,r6
   0x0fed8ec4 <+192>:	stw     r4,-4(r6)
   0x0fed8ec8 <+196>:	stw     r4,-8(r6)
   0x0fed8ecc <+200>:	stw     r4,-12(r6)
   0x0fed8ed0 <+204>:	stw     r4,-16(r6)
   0x0fed8ed4 <+208>:	nop
   0x0fed8ed8 <+212>:	stw     r4,-20(r6)
   0x0fed8edc <+216>:	stw     r4,-24(r6)
   0x0fed8ee0 <+220>:	nop
   0x0fed8ee4 <+224>:	stw     r4,-28(r6)
   0x0fed8ee8 <+228>:	stwu    r4,-32(r6)
   0x0fed8eec <+232>:	bdnz    0xfed8ec0 <memset+188>
   0x0fed8ef0 <+236>:	stw     r4,-4(r6)
   0x0fed8ef4 <+240>:	stw     r4,-8(r6)
   0x0fed8ef8 <+244>:	stw     r4,-12(r6)
   0x0fed8efc <+248>:	stw     r4,-16(r6)
   0x0fed8f00 <+252>:	stw     r4,-20(r6)
   0x0fed8f04 <+256>:	cmplwi  cr1,r5,16
   0x0fed8f08 <+260>:	stw     r4,-24(r6)
   0x0fed8f0c <+264>:	stw     r4,-28(r6)
   0x0fed8f10 <+268>:	stwu    r4,-32(r6)
   0x0fed8f14 <+272>:	beqlr   
   0x0fed8f18 <+276>:	add     r6,r6,r7
   0x0fed8f1c <+280>:	b       0xfed8fe4 <memset+480>
   0x0fed8f20 <+284>:	nop
   0x0fed8f24 <+288>:	clrlwi  r5,r5,27
   0x0fed8f28 <+292>:	mtcrf   2,r7
   0x0fed8f2c <+296>:	rlwinm. r0,r7,25,7,31
   0x0fed8f30 <+300>:	mtctr   r0
   0x0fed8f34 <+304>:	li      r7,32
   0x0fed8f38 <+308>:	li      r8,-64
   0x0fed8f3c <+312>:	cmplwi  cr1,r5,16
   0x0fed8f40 <+316>:	bne     cr6,0xfed8f4c <memset+328>
   0x0fed8f44 <+320>:	dcbz    r0,r6
   0x0fed8f48 <+324>:	addi    r6,r6,32
   0x0fed8f4c <+328>:	li      r9,-32
   0x0fed8f50 <+332>:	ble     cr6,0xfed8f60 <memset+348>
   0x0fed8f54 <+336>:	dcbz    r0,r6
   0x0fed8f58 <+340>:	dcbz    r7,r6
   0x0fed8f5c <+344>:	addi    r6,r6,64
   0x0fed8f60 <+348>:	cmplwi  cr5,r5,0
   0x0fed8f64 <+352>:	beq     0xfed8fe0 <memset+476>
   0x0fed8f68 <+356>:	dcbz    r0,r6
   0x0fed8f6c <+360>:	dcbz    r7,r6
   0x0fed8f70 <+364>:	addi    r6,r6,128
   0x0fed8f74 <+368>:	dcbz    r8,r6
   0x0fed8f78 <+372>:	dcbz    r9,r6
   0x0fed8f7c <+376>:	bdnz    0xfed8f68 <memset+356>
   0x0fed8f80 <+380>:	beqlr   cr5
   0x0fed8f84 <+384>:	b       0xfed8fe4 <memset+480>
   0x0fed8f88 <+388>:	b       0xfed8fa0 <memset+412>
   0x0fed8f8c <+392>:	nop
   0x0fed8f90 <+396>:	nop
   0x0fed8f94 <+400>:	nop
   0x0fed8f98 <+404>:	nop
   0x0fed8f9c <+408>:	nop
   0x0fed8fa0 <+412>:	cmplwi  cr5,r5,1
   0x0fed8fa4 <+416>:	cmplwi  cr1,r5,3
   0x0fed8fa8 <+420>:	bltlr   cr5
   0x0fed8fac <+424>:	stb     r4,0(r6)
   0x0fed8fb0 <+428>:	beqlr   cr5
   0x0fed8fb4 <+432>:	nop
   0x0fed8fb8 <+436>:	stb     r4,1(r6)
   0x0fed8fbc <+440>:	bltlr   cr1
   0x0fed8fc0 <+444>:	stb     r4,2(r6)
   0x0fed8fc4 <+448>:	beqlr   cr1
   0x0fed8fc8 <+452>:	nop
   0x0fed8fcc <+456>:	stb     r4,3(r6)
   0x0fed8fd0 <+460>:	blr
   0x0fed8fd4 <+464>:	nop
   0x0fed8fd8 <+468>:	nop
   0x0fed8fdc <+472>:	nop
   0x0fed8fe0 <+476>:	cmplwi  cr1,r5,16
   0x0fed8fe4 <+480>:	add     r6,r6,r5
   0x0fed8fe8 <+484>:	bso     cr7,0xfed9008 <memset+516>
   0x0fed8fec <+488>:	beq     cr7,0xfed9010 <memset+524>
   0x0fed8ff0 <+492>:	bgt     cr7,0xfed9018 <memset+532>
   0x0fed8ff4 <+496>:	bge     cr1,0xfed9020 <memset+540>
   0x0fed8ff8 <+500>:	bgelr   cr7
   0x0fed8ffc <+504>:	stw     r4,-4(r6)
   0x0fed9000 <+508>:	stw     r4,-8(r6)
   0x0fed9004 <+512>:	blr
   0x0fed9008 <+516>:	stbu    r4,-1(r6)
   0x0fed900c <+520>:	bne     cr7,0xfed8ff0 <memset+492>
   0x0fed9010 <+524>:	sthu    r4,-2(r6)
   0x0fed9014 <+528>:	ble     cr7,0xfed8ff4 <memset+496>
   0x0fed9018 <+532>:	stwu    r4,-4(r6)
   0x0fed901c <+536>:	blt     cr1,0xfed9030 <memset+556>
   0x0fed9020 <+540>:	stw     r4,-4(r6)
   0x0fed9024 <+544>:	stw     r4,-8(r6)
   0x0fed9028 <+548>:	stw     r4,-12(r6)
   0x0fed902c <+552>:	stwu    r4,-16(r6)
   0x0fed9030 <+556>:	bgelr   cr7
   0x0fed9034 <+560>:	stw     r4,-4(r6)
   0x0fed9038 <+564>:	stw     r4,-8(r6)
   0x0fed903c <+568>:	blr
   0x0fed9040 <+572>:	mflr    r0
   0x0fed9044 <+576>:	beq     0xfed8fe0 <memset+476>
   0x0fed9048 <+580>:	bcl     20,4*cr7+so,0xfed904c <memset+584>
   0x0fed904c <+584>:	mflr    r9
   0x0fed9050 <+588>:	addis   r9,r9,15
   0x0fed9054 <+592>:	lwz     r8,8456(r9)
   0x0fed9058 <+596>:	mtlr    r0
   0x0fed905c <+600>:	cmplwi  cr1,r8,0
   0x0fed9060 <+604>:	beq     cr1,0xfed8ea4 <memset+160>
   0x0fed9064 <+608>:	cmplwi  cr1,r8,32
   0x0fed9068 <+612>:	beq     cr1,0xfed8f24 <memset+288>
   0x0fed906c <+616>:	dcbtst  r0,r6
   0x0fed9070 <+620>:	addi    r9,r8,-1
   0x0fed9074 <+624>:	cmplwi  cr1,r5,32
   0x0fed9078 <+628>:	and.    r0,r9,r6
   0x0fed907c <+632>:	blt     cr1,0xfed90c8 <memset+708>
   0x0fed9080 <+636>:	beq     0xfed90b0 <memset+684>
   0x0fed9084 <+640>:	addi    r6,r6,32
   0x0fed9088 <+644>:	addi    r5,r5,-32
   0x0fed908c <+648>:	stw     r4,-32(r6)
   0x0fed9090 <+652>:	stw     r4,-28(r6)
   0x0fed9094 <+656>:	stw     r4,-24(r6)
   0x0fed9098 <+660>:	stw     r4,-20(r6)
   0x0fed909c <+664>:	stw     r4,-16(r6)
   0x0fed90a0 <+668>:	stw     r4,-12(r6)
   0x0fed90a4 <+672>:	stw     r4,-8(r6)
   0x0fed90a8 <+676>:	stw     r4,-4(r6)
   0x0fed90ac <+680>:	b       0xfed9074 <memset+624>
   0x0fed90b0 <+684>:	cmplw   cr1,r5,r8
   0x0fed90b4 <+688>:	blt     cr1,0xfed90c8 <memset+708>
   0x0fed90b8 <+692>:	dcbz    r0,r6
   0x0fed90bc <+696>:	subf    r5,r8,r5
   0x0fed90c0 <+700>:	add     r6,r6,r8
   0x0fed90c4 <+704>:	b       0xfed90b0 <memset+684>
   0x0fed90c8 <+708>:	rlwinm. r7,r5,0,0,26
   0x0fed90cc <+712>:	b       0xfed8ea4 <memset+160>
End of assembler dump.
r0             0x7f	127
r1             0xbfa12730	3215009584
r2             0x4803e030	1208213552
r3             0xffc9265	268210789
r4             0x0	0
r5             0x1e0	480
r6             0xffc6581	268199297
r7             0x1c	28
r8             0xffc6581	268199297
r9             0x0	0
r10            0x48238faa	1210290090
r11            0xffffffff	4294967295
r12            0x24002442	603989058
r13            0x100354c8	268653768
r14            0x103fbfdd	272613341
r15            0xbfa127ec	3215009772
r16            0x1002d4e0	268621024
r17            0x1002d4dc	268621020
r18            0x103f85f9	272598521
r19            0x1002d4d4	268621012
r20            0x103f85ca	272598474
r21            0x1002d4cc	268621004
r22            0x0	0
r23            0xffc925d	268210781
r24            0x142e8	82664
r25            0xffc9268	268210792
r26            0x4	4
r27            0xffc925c	268210780
r28            0x103fcd18	272616728
r29            0xffc9265	268210789
r30            0xffc7ff4	268206068
r31            0xffc9268	268210792
pc             0xfed8e70	0xfed8e70 <memset+108>
msr            0x200d932	33610034
cr             0x4400244c	1140859980
lr             0xfed241c	0xfed241c <__libc_calloc+892>
ctr            0xfed20a0	267198624
xer            0x20000000	536870912
orig_r3        0x4	4
trap           0x300	768

Bye, Jörg

-- System Information:
Debian Release: unstable/experimental
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.39-rc3.ledtest-00228-gd733ed6-dirty
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6 depends on:
ii  libc-bin                      2.13-0exp5 Embedded GNU C Library: Binaries
ii  libgcc1                       1:4.6.0-6  GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]         1.5.39     Debian configuration management sy
ii  glibc-doc                     2.11.2-11  Embedded GNU C Library: Documentat
ii  locales                       2.13-0exp5 Embedded GNU C Library: National L
ii  locales-all [locales]         2.13-0exp5 Embedded GNU C Library: Precompile

-- debconf information excluded

Attachment: bin3wJg_4aBDx.bin
Description: Binary data

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP


Reply to: