Comment 13 for bug 13460

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20050307171518.GA5688@andromeda>
Date: Mon, 7 Mar 2005 12:15:18 -0500
From: Justin Pryzby <email address hidden>
To: <email address hidden>
Subject: valgrind test case

--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Have you tried to construct a minimal test case?

I tried to reproduce the problem with a trivial program, included.
Let me know if I'm missing something already known.

Thanks,
Justin

References

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=297798

--9jxsPFA5p3P2qPhR
Content-Type: text/x-csrc; charset=us-ascii
Content-Disposition: attachment; filename="vg.c"

#include <dlfcn.h>
#include <stdio.h>

print(char *s)
{
 fprintf(stderr, "%s\n", s);
}

int main()
{
 void *v=dlopen("/", RTLD_LAZY);
 print(dlerror());

 //void *dlsym(void *handle, const char *symbol);
 //int dlclose(void *handle);

 return 0;
}

--9jxsPFA5p3P2qPhR--