Bug#469314: jmp: glibc reports "/usr/lib/jvm/java-1.5.0-sun/bin/java: double free or corruption"
Itai Zukerman
zukerman at math-hat.com
Tue Mar 4 16:25:08 UTC 2008
Package: jmp
Version: 0.51-1
Severity: important
I'm using jmp to profile a web app running under Jetty, started by Maven :). Like this:
$ export MAVEN_OPTS="-Xrunjmp"
$ mvn jetty:run
And eventually get:
[INFO] Starting jetty 6.1H.4-beta ...
2008-02-29 11:03:50.690::INFO: jetty-6.1H.4-beta
2008-02-29 11:03:51.502::INFO: No Transaction manager found - if your webapp requires one, please configure one.
arena_new: 1, Eden
arena_new: 2, Semi
arena_new: 3, Semi
2008-02-29 11:03:55.094:/identify:INFO: Loading Spring root WebApplicationContext
arena_new: 1, Eden
arena_new: 2, Semi
arena_new: 3, Semi
arena_new: 1, Eden
arena_new: 2, Semi
arena_new: 3, Semi
arena_new: 1, Eden
arena_new: 2, Semi
arena_new: 3, Semi
*** glibc detected *** /usr/lib/jvm/java-1.5.0-sun/bin/java: double free or corruption (fasttop): 0xa5b5c8b0 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7e8b915]
/lib/i686/cmov/libc.so.6[0xb7e8d469]
/lib/i686/cmov/libc.so.6(realloc+0x10b)[0xb7e8f5eb]
/usr/lib/libjmp.so(mvector_grow+0x2e)[0xb73dcc0e]
/usr/lib/libjmp.so(mvector_add_method+0x48)[0xb73dcc78]
/usr/lib/libjmp.so(jmpthread_method_exit+0x2a2)[0xb73dc212]
/usr/lib/libjmp.so(notifyEvent+0xc39)[0xb73d9959]
/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/server/libjvm.so[0xb776fe0e]
/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/server/libjvm.so[0xb7769e33]
/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/server/libjvm.so[0xb78dfb2c]
[0xb0b7e8b2]
[0xb0b71b6b]
[0xb0b71b6b]
[0xb0b71b6b]
[0xb0b71b6b]
[0xb0b71a94]
[0xb0b71a94]
[0xb0b71d9a]
[0xb0b71d9a]
[0xb0b71d9a]
[0xb0b71a94]
[0xb0b71a94]
[0xb0b71e71]
[0xb0b6f236]
/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/server/libjvm.so[0xb76a6eac]
/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/server/libjvm.so[0xb7876b68]
/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/server/libjvm.so[0xb76a6705]
/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/server/libjvm.so[0xb76a679e]
/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/server/libjvm.so[0xb771e765]
/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/server/libjvm.so[0xb7917423]
/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/server/libjvm.so[0xb7877778]
/lib/i686/cmov/libpthread.so.0[0xb7f774fb]
/lib/i686/cmov/libc.so.6(clone+0x5e)[0xb7ef693e]
======= Memory map: ========
[snip]
I do *not* have any problems if I start jmp with "-Xrunjmp:nomethods". If you could
help me turn the backtrace into something meaningful, I'd be happy to help debug
this.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.23.14 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages jmp depends on:
ii libatk1.0-0 1.20.0-1 The ATK accessibility toolkit
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libcairo2 1.4.14-1 The Cairo 2D vector graphics libra
ii libfontconfig1 2.5.0-2 generic font configuration library
ii libglib2.0-0 2.14.6-1 The GLib library of C routines
ii libgtk2.0-0 2.12.5-2 The GTK+ graphical user interface
ii libpango1.0-0 1.18.4-1 Layout and rendering of internatio
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxcursor1 1:1.1.9-1 X cursor management library
ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii libxi6 2:1.1.3-1 X11 Input extension library
ii libxinerama1 1:1.0.2-1 X11 Xinerama extension library
ii libxrandr2 2:1.2.2-1 X11 RandR extension library
ii libxrender1 1:0.9.4-1 X Rendering Extension client libra
ii sun-java5-jre [java2-runtime] 1.5.0-14-3 Sun Java(TM) Runtime Environment (
jmp recommends no packages.
-- no debconf information
More information about the pkg-java-maintainers
mailing list