https://bugs.documentfoundation.org/show_bug.cgi?id=99272
--- Comment #10 from Stephan Bergmann <sberg...@redhat.com> --- Yes, the below part is interesting. I had seen something similar too with my first attempt at Valgrinding this, but then unfortunately updated my JDK (to Fedora's OpenJDK 1.8.0.77-1.b03.fc23) and afterwards could no longer reproduce it. Julien, what version of Java are you using? > ==25248== Invalid write of size 2 > ==25248== at 0x4C2E7A3: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:1018) > ==25248== by 0x4658B4F0: ??? (in > /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so) > ==25248== by 0x5F323A87: JNIEnv_::GetShortArrayRegion(_jshortArray*, int, > int, short*) (jni.h:1744) > ==25248== by 0x5F31D3AE: jni_uno::Bridge::map_to_uno(jni_uno::JNI_context > const&, void*, jvalue, _typelib_TypeDescriptionReference*, > jni_uno::JNI_type_info const*, bool, bool, bool) const (jni_data.cxx:1001) > ==25248== by 0x5F31BCA1: jni_uno::Bridge::map_to_uno(jni_uno::JNI_context > const&, void*, jvalue, _typelib_TypeDescriptionReference*, > jni_uno::JNI_type_info const*, bool, bool, bool) const (jni_data.cxx:626) > ==25248== by 0x5F3324A2: jni_uno::Bridge::call_uno(jni_uno::JNI_context > const&, _uno_Interface*, _typelib_TypeDescription*, > _typelib_TypeDescriptionReference*, int, _typelib_MethodParameter const*, > _jobjectArray*) const (jni_java2uno.cxx:225) > ==25248== by 0x5F33333C: > Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call > (jni_java2uno.cxx:523) > ==25248== by 0x47701855: ??? > ==25248== by 0x477096C3: ??? > ==25248== by 0x474959D1: ??? > ==25248== by 0x4749598C: ??? > ==25248== by 0x4749598C: ??? > ==25248== by 0x4749598C: ??? > ==25248== by 0x4749515F: ??? > ==25248== by 0x4749598C: ??? > ==25248== by 0x4749598C: ??? > ==25248== by 0x4748E4E6: ??? > ==25248== by 0x46575E1A: ??? (in > /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so) > ==25248== by 0x4658F989: ??? (in > /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so) > ==25248== by 0x4659344D: ??? (in > /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so) > ==25248== by 0x5F33890B: JNIEnv_::CallVoidMethodA(_jobject*, _jmethodID*, > jvalue const*) (jni.h:1063) > ==25248== by 0x5F336743: jni_uno::Bridge::call_java(_jobject*, > _typelib_InterfaceTypeDescription*, int, int, > _typelib_TypeDescriptionReference*, _typelib_MethodParameter*, int, void*, > void**, _uno_Any**) const (jni_uno2java.cxx:248) > ==25248== by 0x5F3381C7: UNO_proxy_dispatch (jni_uno2java.cxx:765) > ==25248== by 0x2755E04A: > cpp2uno_call(bridges::cpp_uno::shared::CppInterfaceProxy*, > _typelib_TypeDescription const*, _typelib_TypeDescriptionReference*, int, > _typelib_MethodParameter*, void**, void**, void**, unsigned long*) > (cpp2uno.cxx:186) > ==25248== by 0x2755EAC5: cpp_vtable_call (cpp2uno.cxx:377) > ==25248== by 0x27575935: privateSnippetExecutor (in > /home/julien/lo/libreoffice/instdir/program/libgcc3_uno.so) > ==25248== by 0xC556581: > ActionListenerMultiplexer::actionPerformed(com::sun::star::awt::ActionEvent > const&) (listenermultiplexer.cxx:145) > ==25248== by 0xC556581: > ActionListenerMultiplexer::actionPerformed(com::sun::star::awt::ActionEvent > const&) (listenermultiplexer.cxx:145) > ==25248== by 0xC3D3BEA: VCLXButton::ProcessWindowEvent(VclWindowEvent > const&)::{lambda()#1}::operator()() const (vclxwindows.cxx:589) > ==25248== by 0xC3F7B1D: std::_Function_handler<void (), > VCLXButton::ProcessWindowEvent(VclWindowEvent > const&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (functional:1871) > ==25248== by 0xC3CA835: std::function<void ()>::operator()() const > (functional:2267) > ==25248== by 0xC3BA3CE: VCLXWindowImpl::OnProcessCallbacks(void*) > (vclxwindow.cxx:302) > ==25248== by 0xC3BA230: VCLXWindowImpl::LinkStubOnProcessCallbacks(void*, > void*) (vclxwindow.cxx:274) > ==25248== by 0xD92229A: Link<void*, void>::Call(void*) const (in > /home/julien/lo/libreoffice/instdir/program/libvcllo.so) > ==25248== by 0xD91F133: ImplHandleUserEvent(ImplSVEvent*) > (winproc.cxx:1956) > ==25248== by 0xD920AF8: ImplWindowFrameProc(vcl::Window*, unsigned short, > void const*) (winproc.cxx:2524) > ==25248== by 0xDE6881E: SalFrame::CallCallback(unsigned short, void > const*) const (in /home/julien/lo/libreoffice/instdir/program/libvcllo.so) > ==25248== by 0xDE78C7A: SalGenericDisplay::DispatchInternalEvent() > (gendisp.cxx:86) > ==25248== by 0x22EEC073: GtkData::userEventFn(void*) (gtk3gtkdata.cxx:809) > ==25248== by 0x22EEC100: call_userEventFn (gtk3gtkdata.cxx:819) > ==25248== by 0x6DCDFE9: g_main_context_dispatch (in > /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0) > ==25248== by 0x6DCE38F: ??? (in > /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0) > ==25248== by 0x6DCE43B: g_main_context_iteration (in > /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0) > ==25248== by 0x22EEAF11: GtkData::Yield(bool, bool) (gtk3gtkdata.cxx:467) > ==25248== by 0x22EEE1A2: GtkInstance::DoYield(bool, bool, unsigned long) > (gtkinst.cxx:407) > ==25248== by 0xDD2A794: ImplYield(bool, bool, unsigned long) > (svapp.cxx:511) > ==25248== by 0xDD265D9: Application::Yield() (svapp.cxx:553) > ==25248== by 0xD7CB9EE: Dialog::Execute() (dialog.cxx:887) > ==25248== by 0xC3DE598: VCLXDialog::execute() (vclxwindows.cxx:2327) > ==25248== by 0xC443843: UnoDialogControl::execute() (dialogcontrol.cxx:617) > ==25248== Address 0x2bad09ba is 0 bytes after a block of size 10 alloc'd > ==25248== at 0x4C29C0F: malloc (vg_replace_malloc.c:299) > ==25248== by 0x4E573F0: rtl_allocateMemory_SYSTEM(unsigned long) > (alloc_global.cxx:272) > ==25248== by 0x4E57507: rtl_allocateMemory (alloc_global.cxx:305) > ==25248== by 0x5F3184C9: jni_uno::rtl_mem::allocate(unsigned long) > (jni_base.h:221) > ==25248== by 0x5F3251BB: jni_uno::seq_allocate(int, int) (jni_data.cxx:38) > ==25248== by 0x5F31D342: jni_uno::Bridge::map_to_uno(jni_uno::JNI_context > const&, void*, jvalue, _typelib_TypeDescriptionReference*, > jni_uno::JNI_type_info const*, bool, bool, bool) const (jni_data.cxx:998) > ==25248== by 0x5F31BCA1: jni_uno::Bridge::map_to_uno(jni_uno::JNI_context > const&, void*, jvalue, _typelib_TypeDescriptionReference*, > jni_uno::JNI_type_info const*, bool, bool, bool) const (jni_data.cxx:626) > ==25248== by 0x5F3324A2: jni_uno::Bridge::call_uno(jni_uno::JNI_context > const&, _uno_Interface*, _typelib_TypeDescription*, > _typelib_TypeDescriptionReference*, int, _typelib_MethodParameter const*, > _jobjectArray*) const (jni_java2uno.cxx:225) > ==25248== by 0x5F33333C: > Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call > (jni_java2uno.cxx:523) > ==25248== by 0x47701855: ??? > ==25248== by 0x477096C3: ??? > ==25248== by 0x474959D1: ??? > ==25248== by 0x4749598C: ??? > ==25248== by 0x4749598C: ??? > ==25248== by 0x4749598C: ??? > ==25248== by 0x4749515F: ??? > ==25248== by 0x4749598C: ??? > ==25248== by 0x4749598C: ??? > ==25248== by 0x4748E4E6: ??? > ==25248== by 0x46575E1A: ??? (in > /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so) > ==25248== by 0x4658F989: ??? (in > /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so) > ==25248== by 0x4659344D: ??? (in > /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so) > ==25248== by 0x5F33890B: JNIEnv_::CallVoidMethodA(_jobject*, _jmethodID*, > jvalue const*) (jni.h:1063) > ==25248== by 0x5F336743: jni_uno::Bridge::call_java(_jobject*, > _typelib_InterfaceTypeDescription*, int, int, > _typelib_TypeDescriptionReference*, _typelib_MethodParameter*, int, void*, > void**, _uno_Any**) const (jni_uno2java.cxx:248) > ==25248== by 0x5F3381C7: UNO_proxy_dispatch (jni_uno2java.cxx:765) > ==25248== by 0x2755E04A: > cpp2uno_call(bridges::cpp_uno::shared::CppInterfaceProxy*, > _typelib_TypeDescription const*, _typelib_TypeDescriptionReference*, int, > _typelib_MethodParameter*, void**, void**, void**, unsigned long*) > (cpp2uno.cxx:186) > ==25248== by 0x2755EAC5: cpp_vtable_call (cpp2uno.cxx:377) > ==25248== by 0x27575935: privateSnippetExecutor (in > /home/julien/lo/libreoffice/instdir/program/libgcc3_uno.so) > ==25248== by 0xC556581: > ActionListenerMultiplexer::actionPerformed(com::sun::star::awt::ActionEvent > const&) (listenermultiplexer.cxx:145) > ==25248== by 0xC556581: > ActionListenerMultiplexer::actionPerformed(com::sun::star::awt::ActionEvent > const&) (listenermultiplexer.cxx:145) > ==25248== by 0xC3D3BEA: VCLXButton::ProcessWindowEvent(VclWindowEvent > const&)::{lambda()#1}::operator()() const (vclxwindows.cxx:589) > ==25248== by 0xC3F7B1D: std::_Function_handler<void (), > VCLXButton::ProcessWindowEvent(VclWindowEvent > const&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (functional:1871) > ==25248== by 0xC3CA835: std::function<void ()>::operator()() const > (functional:2267) > ==25248== by 0xC3BA3CE: VCLXWindowImpl::OnProcessCallbacks(void*) > (vclxwindow.cxx:302) > ==25248== by 0xC3BA230: VCLXWindowImpl::LinkStubOnProcessCallbacks(void*, > void*) (vclxwindow.cxx:274) > ==25248== by 0xD92229A: Link<void*, void>::Call(void*) const (in > /home/julien/lo/libreoffice/instdir/program/libvcllo.so) > ==25248== by 0xD91F133: ImplHandleUserEvent(ImplSVEvent*) > (winproc.cxx:1956) > ==25248== by 0xD920AF8: ImplWindowFrameProc(vcl::Window*, unsigned short, > void const*) (winproc.cxx:2524) > ==25248== by 0xDE6881E: SalFrame::CallCallback(unsigned short, void > const*) const (in /home/julien/lo/libreoffice/instdir/program/libvcllo.so) > ==25248== by 0xDE78C7A: SalGenericDisplay::DispatchInternalEvent() > (gendisp.cxx:86) > ==25248== by 0x22EEC073: GtkData::userEventFn(void*) (gtk3gtkdata.cxx:809) > ==25248== by 0x22EEC100: call_userEventFn (gtk3gtkdata.cxx:819) > ==25248== by 0x6DCDFE9: g_main_context_dispatch (in > /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0) > ==25248== by 0x6DCE38F: ??? (in > /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0) > ==25248== by 0x6DCE43B: g_main_context_iteration (in > /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.0) > ==25248== by 0x22EEAF11: GtkData::Yield(bool, bool) (gtk3gtkdata.cxx:467) > ==25248== by 0x22EEE1A2: GtkInstance::DoYield(bool, bool, unsigned long) > (gtkinst.cxx:407) > ==25248== by 0xDD2A794: ImplYield(bool, bool, unsigned long) > (svapp.cxx:511) > ==25248== by 0xDD265D9: Application::Yield() (svapp.cxx:553) > ==25248== by 0xD7CB9EE: Dialog::Execute() (dialog.cxx:887) -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs