|
From: Emmanuel A. <ma...@ab...> - 2004-09-08 10:43:58
|
This time I subscribed to the list...
I keep getting the assertion failed message when trying to run a program
using asm functions with valgrind 2.2.0 :
valgrind: vg_ldt.c:200 (vgPlain_do_useseg): Assertion `seg_selector >= 6
&& seg_selector < (6 + 3)' failed.
==14644== at 0xB002FF47: vgPlain_skin_assert_fail (vg_mylibc.c:1137)
==14644== by 0xB002FF46: assert_fail (vg_mylibc.c:1133)
==14644== by 0xB002FFB4: vgPlain_core_assert_fail (vg_mylibc.c:1144)
==14644== by 0xB0074EAA: vgPlain_do_useseg (vg_ldt.c:213)
The running thread dies on a "push esi" instruction, at the begining of
a function called the usual way ("call <function name>").
So it does not seem to make much sense, and this program does not change
directly the selectors afaik...
Help ? Hints ?
|