[Bug 975684] [NEW] valgrind no longer runs wine on precise

Rockwalrus 975684 at bugs.launchpad.net
Sat Apr 7 02:56:02 UTC 2012


Public bug reported:

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)

** Affects: valgrind (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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