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

List:       kde-bugs-dist
Subject:    [Bug 310845] Application being checked generates illegal instruction
From:       <tim.gallagher () gatech ! edu>
Date:       2012-11-30 23:11:58
Message-ID: bug-310845-17878-As4epQHwhK () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=310845

--- Comment #10 from tim.gallagher@gatech.edu ---
I tried what I think you suggested and ran with
/data3/valgrindInstall/bin/valgrind --partial-loads-ok=yes ./les3d.x:

> svn diff VEX/priv/guest_amd64_toIR.c 
Index: VEX/priv/guest_amd64_toIR.c
===================================================================
--- VEX/priv/guest_amd64_toIR.c    (revision 2574)
+++ VEX/priv/guest_amd64_toIR.c    (working copy)
@@ -17070,7 +17070,7 @@
       case 0x00:
       case 0x02: case 0x08: case 0x0A: case 0x0C: case 0x12:
       case 0x1A: case 0x38: case 0x3A: case 0x44: case 0x4A:
-      case 0x46:
+      case 0x46: case 0x42:
          break;
       case 0x01: // the 16-bit character versions of the above
       case 0x03: case 0x09: case 0x0B: case 0x0D: case 0x13:

And it resulted in:

vex: priv/guest_amd64_helpers.c:3266 (amd64g_dirtyhelper_PCMPxSTRx): Assertion
`ok' failed.
vex storage: T total 829967584 bytes allocated
vex storage: P total 640 bytes allocated

valgrind: the 'impossible' happened:
   LibVEX called failure_exit().
==20981==    at 0x38056EB6: report_and_quit (m_libcassert.c:235)
==20981==    by 0x38056F13: panic (m_libcassert.c:319)
==20981==    by 0x380570C8: vgPlain_core_panic_at (m_libcassert.c:324)
==20981==    by 0x380570DA: vgPlain_core_panic (m_libcassert.c:329)
==20981==    by 0x3806EC22: failure_exit (m_translate.c:713)
==20981==    by 0x380FD1A8: vex_assert_fail (main_util.c:219)
==20981==    by 0x3813B6F4: amd64g_dirtyhelper_PCMPxSTRx
(guest_amd64_helpers.c:3266)
==20981==    by 0x403B1245D: ???
==20981==    by 0x402ABEF4F: ???

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable
==20981==    at 0x7D6F9EB: __intel_sse4_strrchr (in
/opt/intel/2013.initial/composer_xe_2013.0.079/compiler/lib/intel64/libirc.so)
==20981==    by 0x612EC11: H5_build_extpath (in
/opt/hdf5/intel/2013.initial/lib64/libhdf5.so.7.0.2)
==20981==    by 0x61A25BB: H5F_open (in
/opt/hdf5/intel/2013.initial/lib64/libhdf5.so.7.0.2)
==20981==    by 0x61A4F51: H5Fopen (in
/opt/hdf5/intel/2013.initial/lib64/libhdf5.so.7.0.2)
==20981==    by 0x6B245C2: h5fopen_c_ (in
/opt/hdf5/intel/2013.initial/lib64/libhdf5_fortran.so.7.0.2)
==20981==    by 0x6B1BFA4: h5f_mp_h5fopen_f_ (in
/opt/hdf5/intel/2013.initial/lib64/libhdf5_fortran.so.7.0.2)
==20981==    by 0x6CD9C9: gridoperations_m_mp_readgridhdf5_ (in
/data1/randomPack/bin_randPackMSDM_van/les3d.x)
==20981==    by 0x69F967: gridoperations_m_mp_readgrid_ (in
/data1/randomPack/bin_randPackMSDM_van/les3d.x)
==20981==    by 0x6D0953: simulationsetup_m_mp_readinputsandallocatedata_ (in
/data1/randomPack/bin_randPackMSDM_van/les3d.x)
==20981==    by 0x6E8194: MAIN__ (in
/data1/randomPack/bin_randPackMSDM_van/les3d.x)
==20981==    by 0x404BDB: main (in
/data1/randomPack/bin_randPackMSDM_van/les3d.x)

I have joined the IRC channel in the event there are other quick things to test
out. I've never looked at the source before, but I'm willing to put in any work
I can to help resolve it.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

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