------- Additional Comments From coudert at clipper dot ens dot fr  2005-01-06 
23:12 -------
Debugging with puts statements, I confirm that the previously isolated code is
the place where the segfault happens. Replacing:

          *rptr = *sptr;

with:
          puts ("Before");  foo = *sptr; puts ("After");
          puts ("Before");  *rptr = foo; puts ("After");
          *rptr = *sptr;

now gives the following output:

$ LD_PRELOAD=/usr/local/lib/libefence.so ./a.out
Before
After
Before
zsh: bus error  LD_PRELOAD=/usr/local/lib/libefence.so ./a.out

That's the further I can go. If someone has something I can test you, please
mention it.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19294

Reply via email to