From: Jiri Slaby <jslaby@suse.cz>
To: Dave Jones <davej@redhat.com>
Cc: trinity@vger.kernel.org
Subject: trinity: lots of free(): invalid pointer
Date: Wed, 15 Jan 2014 23:37:57 +0100 [thread overview]
Message-ID: <52D70DC5.8070104@suse.cz> (raw)
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 <davej@redhat.com>
Date: Wed Jan 8 11:08:22 2014 -0500
only allocate page_types array once
commit 2a749813619348b3bfd144fe04488f698d83accc
Author: Dave Jones <davej@redhat.com>
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
next reply other threads:[~2014-01-15 22:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-15 22:37 Jiri Slaby [this message]
2014-01-17 19:09 ` trinity: lots of free(): invalid pointer Dave Jones
2014-01-20 19:31 ` Jiri Slaby
2014-01-20 19:51 ` Jiri Slaby
2014-01-20 21:37 ` Dave Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52D70DC5.8070104@suse.cz \
--to=jslaby@suse.cz \
--cc=davej@redhat.com \
--cc=trinity@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.