trinity: lots of free(): invalid pointer

Jiri Slaby <[email protected]>
Newsgroups org.kernel.vger.trinity
Message-ID <[email protected]>
Hi Dave,

I see lots of $SUBJ generated by the current snapshot of trinity.
0x4120ae below is free in the loop in post_move_pages. So this is
perhaps introduced with one of:
commit ae3b98fcbf52c808b0a3eb4eb5311c9fdf433f55
Author: Dave Jones <[email protected]>
Date:   Wed Jan 8 11:08:22 2014 -0500

    only allocate page_types array once

commit 2a749813619348b3bfd144fe04488f698d83accc
Author: Dave Jones <[email protected]>
Date:   Tue Jan 7 12:11:11 2014 -0500

    teach move_pages about the maps list


Any ideas?

*** Error in `trinity': free(): invalid pointer: 0x000000000276d000 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7406f)[0x7fd8d165606f]
/lib64/libc.so.6(+0x7986e)[0x7fd8d165b86e]
/lib64/libc.so.6(+0x7a557)[0x7fd8d165c557]
trinity[0x4120ae]
trinity[0x40abc8]
trinity[0x40dabc]
trinity[0x40338a]
trinity[0x40705c]
trinity[0x402c47]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fd8d1603b25]
trinity[0x402f13]
======= Memory map: ========
00400000-0042a000 r-xp 00000000 08:01 32548
 /usr/bin/trinity
00629000-0062a000 r--p 00029000 08:01 32548
 /usr/bin/trinity
0062a000-0068e000 rw-p 0002a000 08:01 32548
 /usr/bin/trinity
01f76000-01f97000 rw-p 00000000 00:00 0
 [heap]
01f97000-01fb8000 rw-p 00000000 00:00 0
 [heap]
01fb8000-01fd9000 rw-p 00000000 00:00 0
 [heap]
01fd9000-01ffa000 rw-p 00000000 00:00 0
 [heap]
01ffa000-0201b000 rw-p 00000000 00:00 0
 [heap]
0201b000-0203c000 rw-p 00000000 00:00 0
 [heap]
0203c000-0205d000 rw-p 00000000 00:00 0
 [heap]
0205d000-0207e000 rw-p 00000000 00:00 0
 [heap]
0207e000-0209f000 rw-p 00000000 00:00 0
 [heap]
0209f000-020c0000 rw-p 00000000 00:00 0
 [heap]
020c0000-020e1000 rw-p 00000000 00:00 0
 [heap]
020e1000-02102000 rw-p 00000000 00:00 0
 [heap]
02102000-02123000 rw-p 00000000 00:00 0
 [heap]
02123000-02144000 rw-p 00000000 00:00 0
 [heap]
02144000-02165000 rw-p 00000000 00:00 0
 [heap]
02165000-02186000 rw-p 00000000 00:00 0
 [heap]
02186000-021a9000 rw-p 00000000 00:00 0
 [heap]
021a9000-021cc000 rw-p 00000000 00:00 0
 [heap]
021cc000-021ef000 rw-p 00000000 00:00 0
 [heap]
021ef000-02211000 rw-p 00000000 00:00 0
 [heap]
02211000-02233000 rw-p 00000000 00:00 0
 [heap]
02233000-02255000 rw-p 00000000 00:00 0
 [heap]
02255000-02277000 rw-p 00000000 00:00 0
 [heap]
02277000-02299000 rw-p 00000000 00:00 0
 [heap]
02299000-022bb000 rw-p 00000000 00:00 0
 [heap]
022bb000-022dd000 rw-p 00000000 00:00 0
 [heap]
022dd000-022fe000 rw-p 00000000 00:00 0
 [heap]
022fe000-02320000 rw-p 00000000 00:00 0
 [heap]
02320000-02342000 rw-p 00000000 00:00 0
 [heap]
02342000-02346000 rw-p 00000000 00:00 0
 [heap]
02346000-02367000 rw-p 00000000 00:00 0
 [heap]
02367000-02387000 rw-p 00000000 00:00 0
 [heap]
02387000-0239f000 rw-p 00000000 00:00 0
 [heap]
0239f000-023a8000 rw-p 00000000 00:00 0
 [heap]
023a8000-023c8000 rw-p 00000000 00:00 0
 [heap]
023c8000-023d9000 rw-p 00000000 00:00 0
 [heap]
023d9000-023e1000 rw-p 00000000 00:00 0
 [heap]
023e1000-02402000 rw-p 00000000 00:00 0
 [heap]
02402000-0241a000 rw-p 00000000 00:00 0
 [heap]
0241a000-02433000 rw-p 00000000 00:00 0
 [heap]
02433000-02453000 rw-p 00000000 00:00 0
 [heap]
02453000-0246d000 rw-p 00000000 00:00 0
 [heap]
0246d000-02485000 rw-p 00000000 00:00 0
 [heap]

-- 
js
suse labs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.