[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 113864] New: Valgrind fails on SpecOpenMP benchmark
From:       Walter Shands <walter.shands () intel ! com>
Date:       2005-10-04 23:54:04
Message-ID: 20051005015401.113864.walter.shands () intel ! com
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=113864         
           Summary: Valgrind fails on SpecOpenMP benchmark
           Product: valgrind
           Version: 3.0.0
          Platform: RedHat RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: memcheck
        AssignedTo: jseward acm org
        ReportedBy: walter.shands intel com


Ran SpecOpenMP benchmark 330.art under valgind and valgrind generates error 
message: "valgrind: the 'impossible' happened"

Application compiled with the Intel(R)C++ Compiler for Linux 9.0 targeting 
Intel ® Extended Memory 64 Technology (Intel ® EM64T) platforms; application is 
run on an Intel(R) EM64T platform

Red Hat Enterprise Linux AS release 3 (Taroon Update 3)
Linux 2.4.21-20.EL #1 SMP Wed Aug 18 20:34:58 EDT 2004 x86_64 x86_64 x86_64 
GNU/Linux
_________________________________________________________
Script to run benchmark under valgrind:
#!/bin/sh

valgrind ./art_base.em64t -scanfile "../data/test/input/c756hel.in" -
trainfile1 "../data/test/input/a10.img" -
trainfile2 "../data/test/input/hc.img" -stride 2 -startx 130 -starty 220 -endx 
150 -endy 230 -objects 1 > valout.txt 2>&1
__________________________________________________

==18041== Memcheck, a memory error detector.
==18041== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==18041== Using LibVEX rev 1313, a library for dynamic binary translation.
==18041== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==18041== Using valgrind-3.0.0, a dynamic binary instrumentation framework.
==18041== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==18041== For more details, rerun with: -v
==18041== 
==18041== Conditional jump or move depends on uninitialised value(s)
==18041==    at 0x43967B: strlen (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x420BA3: getenv (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x410F4E: __kmp_register_library_startup 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x411168: __kmp_do_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x410ECE: __kmp_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x411D8F: __kmp_internal_begin 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x405C69: __kmpc_begin 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4002A8: main (in /home/jwshands/valbug/exe/art_base.em64t)
==18041== 
==18041== Conditional jump or move depends on uninitialised value(s)
==18041==    at 0x43967B: strlen (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4248AA: vfprintf 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x42C7C1: vsprintf 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x42AE78: sprintf (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x411122: __kmp_register_library_startup 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x411168: __kmp_do_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x410ECE: __kmp_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x411D8F: __kmp_internal_begin 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x405C69: __kmpc_begin 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4002A8: main (in /home/jwshands/valbug/exe/art_base.em64t)
==18041== 
==18041== Conditional jump or move depends on uninitialised value(s)
==18041==    at 0x43967B: strlen (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x420D23: __add_to_environ 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x420CDC: putenv (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x41112A: __kmp_register_library_startup 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x411168: __kmp_do_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x410ECE: __kmp_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x411D8F: __kmp_internal_begin 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x405C69: __kmpc_begin 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4002A8: main (in /home/jwshands/valbug/exe/art_base.em64t)
==18041== 
==18041== Conditional jump or move depends on uninitialised value(s)
==18041==    at 0x419BA7: _pthread_cleanup_push_defer 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4321F1: _IO_link_in 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x430659: _IO_file_init 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x42C0E9: fopen (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x45910D: setmntent 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43C973: get_proc_path 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43C56B: get_nprocs 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B55C: posix_sysconf 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B490: sysconf (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x40A8D4: __kmp_runtime_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4111FA: __kmp_do_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x410ECE: __kmp_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041== 
==18041== Conditional jump or move depends on uninitialised value(s)
==18041==    at 0x419BFF: _pthread_cleanup_pop_restore 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4321CC: _IO_link_in 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x430659: _IO_file_init 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x42C0E9: fopen (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x45910D: setmntent 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43C973: get_proc_path 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43C56B: get_nprocs 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B55C: posix_sysconf 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B490: sysconf (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x40A8D4: __kmp_runtime_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4111FA: __kmp_do_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x410ECE: __kmp_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041== 
==18041== Conditional jump or move depends on uninitialised value(s)
==18041==    at 0x419BA7: _pthread_cleanup_push_defer 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x455BAA: _IO_vfscanf 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x42C88D: vsscanf (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x42AFB8: sscanf (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x458AA2: getmntent_r 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43C99F: get_proc_path 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43C56B: get_nprocs 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B55C: posix_sysconf 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B490: sysconf (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x40A8D4: __kmp_runtime_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4111FA: __kmp_do_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x410ECE: __kmp_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041== 
==18041== Conditional jump or move depends on uninitialised value(s)
==18041==    at 0x419BFF: _pthread_cleanup_pop_restore 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x44ECA7: _IO_vfscanf 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x42C88D: vsscanf (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x42AFB8: sscanf (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x458AA2: getmntent_r 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43C99F: get_proc_path 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43C56B: get_nprocs 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B55C: posix_sysconf 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B490: sysconf (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x40A8D4: __kmp_runtime_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4111FA: __kmp_do_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x410ECE: __kmp_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041== 
==18041== Conditional jump or move depends on uninitialised value(s)
==18041==    at 0x419BA7: _pthread_cleanup_push_defer 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43210D: _IO_un_link 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x42BD29: fclose (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x45914D: endmntent 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43C9C5: get_proc_path 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43C56B: get_nprocs 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B55C: posix_sysconf 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B490: sysconf (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x40A8D4: __kmp_runtime_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4111FA: __kmp_do_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x410ECE: __kmp_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x411D8F: __kmp_internal_begin 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041== 
==18041== Conditional jump or move depends on uninitialised value(s)
==18041==    at 0x419BFF: _pthread_cleanup_pop_restore 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4320DA: _IO_un_link 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x42BD29: fclose (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x45914D: endmntent 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43C9C5: get_proc_path 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43C56B: get_nprocs 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B55C: posix_sysconf 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B490: sysconf (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x40A8D4: __kmp_runtime_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4111FA: __kmp_do_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x410ECE: __kmp_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x411D8F: __kmp_internal_begin 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041== 
==18041== Conditional jump or move depends on uninitialised value(s)
==18041==    at 0x419BA7: _pthread_cleanup_push_defer 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43210D: _IO_un_link 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x42BD29: fclose (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43C67F: get_nprocs 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B55C: posix_sysconf 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B490: sysconf (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x40A8D4: __kmp_runtime_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4111FA: __kmp_do_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x410ECE: __kmp_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x411D8F: __kmp_internal_begin 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x405C69: __kmpc_begin 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4002A8: main (in /home/jwshands/valbug/exe/art_base.em64t)
==18041== 
==18041== Conditional jump or move depends on uninitialised value(s)
==18041==    at 0x419BFF: _pthread_cleanup_pop_restore 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4320DA: _IO_un_link 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x42BD29: fclose (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43C67F: get_nprocs 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B55C: posix_sysconf 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x43B490: sysconf (in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x40A8D4: __kmp_runtime_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4111FA: __kmp_do_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x410ECE: __kmp_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x411D8F: __kmp_internal_begin 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x405C69: __kmpc_begin 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4002A8: main (in /home/jwshands/valbug/exe/art_base.em64t)
==18041== 
==18041== Conditional jump or move depends on uninitialised value(s)
==18041==    at 0x41D7EC: pthread_setspecific 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x40A12F: __kmp_gtid_set_specific 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x40F6CD: __kmp_register_root 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x411261: __kmp_do_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x410ECE: __kmp_serial_initialize 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x411D8F: __kmp_internal_begin 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x405C69: __kmpc_begin 
(in /home/jwshands/valbug/exe/art_base.em64t)
==18041==    by 0x4002A8: main (in /home/jwshands/valbug/exe/art_base.em64t)

vex: priv/guest-amd64/toIR.c:2422 (dis_op2_E_G): Assertion `0' failed.
vex storage:  P 640,  T total 82395920 (1545072),  T curr 536 (14)

valgrind: the 'impossible' happened:
   LibVEX called failure_exit().
==18041==    at 0x7001A757: vgPlain_core_panic_at (m_libcassert.c:181)
==18041==    by 0x7013BFFF: ???
==18041==    by 0x70074E26: addInstr (isel.c:172)
==18041==    by 0x7013BFFF: ???

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable
==18041==    at 0x4003A8: main (in /home/jwshands/valbug/exe/art_base.em64t)


Note: see also the FAQ.txt in the source distribution.
It contains workarounds to several common problems.

If that doesn't help, please report this bug to: www.valgrind.org

In the bug report, send all the above text, the valgrind
version, and what Linux distro you are using.  Thanks.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic