[Bug 975684] Re: valgrind no longer runs wine on precise

kylea kylea at itvss.com.au
Tue Nov 6 04:23:15 UTC 2012


Ubuntu 12.06 x86_64 - confirm same error messages.

valgrind --trace-children=yes --vex-iropt-precise-memory-exns=yes
--workaround-gcc296-bugs=yes --leak-check=full  --track-origins=yes
--suppressions=$HOME/valgrind-suppressions --max-stackframe=2143745956
wine java -jar OESocketServer-1.0.0.e.jar

==23816== Memcheck, a memory error detector
==23816== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==23816== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==23816== Command: wine java -jar OESocketServer-1.0.0.e.jar
==23816== 

ERROR: ld.so: object '/usr/lib/valgrind/vgpreload_core-x86-linux.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so' from LD_PRELOAD cannot be preloaded: ignored.

==23816== Memcheck, a memory error detector
==23816== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==23816== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==23816== Command: /usr/bin/wine-preloader /usr/bin/wine java -jar OESocketServer-1.0.0.e.jar
==23816== preloader: Warning: failed to reserve range 00110000-68000000
==23816== Warning: set address range perms: large range [0x82000000, 0xfef90000) (noaccess)


valgrind: m_libcfile.c:73 (vgPlain_safe_fd): Assertion 'newfd >= VG_(fd_hard_limit)' failed.
==23847==    at 0x3803EAEE: ??? (in /usr/lib/valgrind/memcheck-x86-linux)
==23847==    by 0x3803EC68: ??? (in /usr/lib/valgrind/memcheck-x86-linux)
==23847==    by 0x3803FB05: ??? (in /usr/lib/valgrind/memcheck-x86-linux)
==23847==    by 0x38089536: ??? (in /usr/lib/valgrind/memcheck-x86-linux)
==23847==    by 0x38087391: ??? (in /usr/lib/valgrind/memcheck-x86-linux)
==23847==    by 0x38042AAA: ??? (in /usr/lib/valgrind/memcheck-x86-linux)
==23847==    by 0x3809B661: ??? (in /usr/lib/valgrind/memcheck-x86-linux)
==23847==    by 0x380BF23B: ??? (in /usr/lib/valgrind/memcheck-x86-linux)
==23847==    by 0x3808AB5D: ??? (in /usr/lib/valgrind/memcheck-x86-linux)
==23847==    by 0x38087041: ??? (in /usr/lib/valgrind/memcheck-x86-linux)
==23847==    by 0x38088588: ??? (in /usr/lib/valgrind/memcheck-x86-linux)
==23847==    by 0x3809AFE7: ??? (in /usr/lib/valgrind/memcheck-x86-linux)

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable
==23847==    at 0x6D3BF7C: fork (fork.c:131)
==23847==    by 0x492E463: fork (pt-fork.c:26)
==23847==    by 0x7BC72F4A: ??? (in /usr/lib/i386-linux-gnu/wine/ntdll.dll.so)
==23847==    by 0x7BC7C477: ??? (in /usr/lib/i386-linux-gnu/wine/ntdll.dll.so)
==23847==    by 0x7BC50038: __wine_process_init (in /usr/lib/i386-linux-gnu/wine/ntdll.dll.so)
==23847==    by 0x6B48A57: wine_init (in /usr/lib/i386-linux-gnu/libwine.so.1.0)
==23847==    by 0x7BF00E9A: main (in /usr/bin/wine)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to valgrind in Ubuntu.
https://bugs.launchpad.net/bugs/975684

Title:
  valgrind no longer runs wine on precise

Status in “valgrind” package in Ubuntu:
  Confirmed

Bug description:
  Under Oneiric I was able to run 32-bit wine programs under valgrind.
  This is no longer possible on Precise.  Valgrind crashes with a
  segfault.  Here is an example run:

  valgrind --trace-children=yes --vex-iropt-precise-memory-exns=yes  wine /usr/lib/i386-linux-gnu/wine/winver.exe.so
  ==20614== Memcheck, a memory error detector
  ==20614== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
  ==20614== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
  ==20614== Command: wine /usr/lib/i386-linux-gnu/wine/winver.exe.so
  ==20614== 
  ==20614== Conditional jump or move depends on uninitialised value(s)
  ==20614==    at 0x706CFCA: __memrchr_sse2_bsf (memrchr-sse2-bsf.S:319)
  ==20614==    by 0x7BF00FC0: main (in /usr/bin/wine)
  ==20614== 
  ==20614== Conditional jump or move depends on uninitialised value(s)
  ==20614==    at 0x6C6CAE6: wine_init_argv0_path (in /usr/lib/i386-linux-gnu/libwine.so.1.0)
  ==20614==    by 0x7BF00FC0: main (in /usr/bin/wine)
  ==20614== 
  ==20614== Use of uninitialised value of size 4
  ==20614==    at 0x6C6CAF3: wine_init_argv0_path (in /usr/lib/i386-linux-gnu/libwine.so.1.0)
  ==20614==    by 0x7BF00FC0: main (in /usr/bin/wine)
  ==20614== 
  ERROR: ld.so: object '/usr/lib/valgrind/vgpreload_core-x86-linux.so' from LD_PRELOAD cannot be preloaded: ignored.
  ERROR: ld.so: object '/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so' from LD_PRELOAD cannot be preloaded: ignored.
  ==20614== Memcheck, a memory error detector
  ==20614== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
  ==20614== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
  ==20614== Command: /usr/bin/wine-preloader /usr/bin/wine /usr/lib/i386-linux-gnu/wine/winver.exe.so
  ==20614== 
  preloader: Warning: failed to reserve range 00110000-68000000
  ==20614== Warning: set address range perms: large range [0x82000000, 0xfef00000) (noaccess)
  ==20614== Warning: client switching stacks?  SP change: 0xfef15924 --> 0x7f21fff0
  ==20614==          to suppress, use: --max-stackframe=2144295220 or greater
  --20614-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting
  --20614-- si_code=2;  Faulting address: 0x80000006;  sp: 0x4b0dccc

  valgrind: the 'impossible' happened:
     Killed by fatal signal
  ==20614==    at 0x38054B5F: vgPlain_get_StackTrace_wrk (m_stacktrace.c:163)
  ==20614==    by 0x38054D48: vgPlain_get_StackTrace (m_stacktrace.c:814)
  ==20614==    by 0x3803C7F0: record_ExeContext_wrk (m_execontext.c:317)
  ==20614==    by 0x38016F4B: vgMemCheck_new_block (mc_malloc_wrappers.c:264)
  ==20614==    by 0x380171C5: vgMemCheck_malloc (mc_malloc_wrappers.c:285)
  ==20614==    by 0x380890DD: vgPlain_scheduler (scheduler.c:1461)
  ==20614==    by 0x3809AFE7: run_a_thread_NORETURN (syswrap-linux.c:98)

  sched status:
    running_tid=1

  Thread 1: status = VgTs_Runnable
  Segmentation fault (core dumped)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/valgrind/+bug/975684/+subscriptions




More information about the foundations-bugs mailing list