[valgrind] [Bug 457619] Instructions are not consistently executed after returning from a SIGSEGV signal handler

2022-08-13 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=457619

tanning-skull...@icloud.com changed:

   What|Removed |Added

 Resolution|FIXED   |NOT A BUG

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 457619] Instructions are not consistently executed after returning from a SIGSEGV signal handler

2022-08-13 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=457619

tanning-skull...@icloud.com changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #4 from tanning-skull...@icloud.com ---
(In reply to Philippe Waroquiers from comment #3)
> Using the below should solve the problem:
>valgrind --vex-iropt-register-updates=allregs-at-mem-access  ./test
> 
> See https://valgrind.org/docs/manual/manual-core.html#manual-core.signals
> for more info.

That works indeed. Can't believe I missed that. Thank you for that hint.

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 457619] Instructions are not consistently executed after returning from a SIGSEGV signal handler

2022-08-13 Thread Philippe Waroquiers
https://bugs.kde.org/show_bug.cgi?id=457619

Philippe Waroquiers  changed:

   What|Removed |Added

 CC||philippe.waroquiers@skynet.
   ||be

--- Comment #3 from Philippe Waroquiers  ---
Using the below should solve the problem:
   valgrind --vex-iropt-register-updates=allregs-at-mem-access  ./test

See https://valgrind.org/docs/manual/manual-core.html#manual-core.signals for
more info.

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 457619] Instructions are not consistently executed after returning from a SIGSEGV signal handler

2022-08-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=457619

--- Comment #2 from tanning-skull...@icloud.com ---
Created attachment 151171
  --> https://bugs.kde.org/attachment.cgi?id=151171=edit
Minimal reproducible example (failing)

USE THIS TO TEST

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 457619] Instructions are not consistently executed after returning from a SIGSEGV signal handler

2022-08-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=457619

--- Comment #1 from tanning-skull...@icloud.com ---
I'm sorry. The attached file was a working example (compare the assembly).
Please refer to the code in the ticket itself.

Here is the output from "valgrind --tool=memcheck -v ./ test":

==97692== Memcheck, a memory error detector
==97692== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==97692== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==97692== Command: ./a.out
==97692== 
==97692== Invalid write of size 8
==97692==at 0x109254: eval(unsigned char*) (in /home/ubuntu/vb/test/a.out)
==97692==by 0x109454: main (in /home/ubuntu/vb/test/a.out)
==97692==  Address 0x4037000 is in a --- anonymous segment
==97692== 
==> offset in memory: 0
==> offset in memory: 67334144
==97692== 
==97692== HEAP SUMMARY:
==97692== in use at exit: 0 bytes in 0 blocks
==97692==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==97692== 
==97692== All heap blocks were freed -- no leaks are possible
==97692== 
==97692== For lists of detected and suppressed errors, rerun with: -s
==97692== ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 457619] Instructions are not consistently executed after returning from a SIGSEGV signal handler

2022-08-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=457619

tanning-skull...@icloud.com changed:

   What|Removed |Added

 CC||tanning-skull...@icloud.com

-- 
You are receiving this mail because:
You are watching all bug changes.