https://bugs.kde.org/show_bug.cgi?id=458915
Libor Peltan changed:
What|Removed |Added
Status|RESOLVED|VERIFIED
--- Comment #28 from Libor Peltan
https://bugs.kde.org/show_bug.cgi?id=458915
--- Comment #24 from Libor Peltan ---
Hi Philippe,
if you have a mood to try out with Knot DNS, these are the instruction to
reproduce:
1) download Knot DNS sources from https://gitlab.nic.cz/knot/knot-dns . It's OK
to stay at the `master` bran
https://bugs.kde.org/show_bug.cgi?id=458915
--- Comment #22 from Libor Peltan ---
(In reply to Philippe Waroquiers from comment #21)
> Valgrind should stop by itself when it finds an error (when using
> --vgdb-error argument)
The error mentioned by me is an error in application logic. Va
https://bugs.kde.org/show_bug.cgi?id=458915
Libor Peltan changed:
What|Removed |Added
Summary|syscall sometimes returns |syscall sometimes returns
https://bugs.kde.org/show_bug.cgi?id=458915
--- Comment #20 from Libor Peltan ---
Thank you for your observations! Based on this, we actually found out that the
issue happens exactly (sometimes!) when we attach vgdb to the running process,
like this:
```
/usr/bin/gdb -ex "set confirm off
https://bugs.kde.org/show_bug.cgi?id=458915
--- Comment #18 from Libor Peltan ---
Created attachment 152437
--> https://bugs.kde.org/attachment.cgi?id=152437&action=edit
Logs of wrong syscall retvals with no signals observed.
--
You are receiving this mail because:
You are watching
https://bugs.kde.org/show_bug.cgi?id=458915
--- Comment #17 from Libor Peltan ---
Thank you much for looking at this issue constantly!
I confirm that with --tool=none, the issue reproduces as well. This is also
true for --tool=helgrind, as I said earlier.
Even with --vex-iropt-register-updates
https://bugs.kde.org/show_bug.cgi?id=458915
--- Comment #14 from Libor Peltan ---
Created attachment 152228
--> https://bugs.kde.org/attachment.cgi?id=152228&action=edit
Strace failing syscalls from a reproducing scenario.
--
You are receiving this mail because:
You are watching
https://bugs.kde.org/show_bug.cgi?id=458915
--- Comment #13 from Libor Peltan ---
(In reply to Paul Floyd from comment #12)
> And do you see any ERESTARTNOINTR with strace?
No. I see only those return error from any failed syscalls:
EAGAIN
ECONNREFUSED
EEXIST
EINPROGRESS
EINTR
EINVAL
ENO
https://bugs.kde.org/show_bug.cgi?id=458915
--- Comment #11 from Libor Peltan ---
Created attachment 152221
--> https://bugs.kde.org/attachment.cgi?id=152221&action=edit
The log of valgrind returning wrong syscall value five times.
--
You are receiving this mail because:
You are watch
https://bugs.kde.org/show_bug.cgi?id=458915
--- Comment #10 from Libor Peltan ---
@Philippe Thanks much for your deep analysis! I wouldn't be able to see such
things in conext. However, I think you are not entirely correct. I think the
observed bug is not caused by other thread aborting.
https://bugs.kde.org/show_bug.cgi?id=458915
--- Comment #7 from Libor Peltan ---
Created attachment 152095
--> https://bugs.kde.org/attachment.cgi?id=152095&action=edit
The log of valgrind crashing knotd after mishandled epoll_wait syscall.
--
You are receiving this mail because:
https://bugs.kde.org/show_bug.cgi?id=458915
--- Comment #6 from Libor Peltan ---
I frankly don't understand the flags of futex syscall. This is what glibc does.
To possibly bring more light to the issue, I'm going to upload a log from
completely different reproducer.
This time, th
https://bugs.kde.org/show_bug.cgi?id=458915
--- Comment #4 from Libor Peltan ---
Created attachment 152081
--> https://bugs.kde.org/attachment.cgi?id=152081&action=edit
The log of valgrind crashing glibc by mishandled futex syscall.
--
You are receiving this mail because:
You are w
https://bugs.kde.org/show_bug.cgi?id=458915
--- Comment #3 from Libor Peltan ---
@Paul
Helgrind reports oh so many errors, I can hardly find any clue in them. I guess
this tool is not intended for debugging (mostly) lockless multi-threaded
programs (where concurrency is controlled by libRCU or
https://bugs.kde.org/show_bug.cgi?id=458915
Bug ID: 458915
Summary: syscall sometimes returns its number instead of return
code
Product: valgrind
Version: 3.18.1
Platform: Ubuntu Packages
OS: Linux
16 matches
Mail list logo