|
From: Julian S. <js...@ac...> - 2014-04-04 20:04:04
|
> ==11785== Conditional jump or move depends on uninitialised value(s) > ==11785== at 0x40CA0D8: pthread_join > (in /usr/lib64/libpthread-2.18.90.so) > ==11785== by 0x10000847: main (hg05_race2.c:31) > ==11785== Uninitialised value was created by a stack allocation > ==11785== at 0x4002754: dl_main (in /usr/lib64/ld-2.18.90.so) I've chased around these apparently-mysterious startup kinds of problems before. They tend to be something simple in the end, for example the thread-state register isn't marked as defined at startup. Peering at machine code might help, but it might also be an idea to install the debuginfo packages for libc so that you can get exact source locations in libpthread and ld. Then, look at the libpthread/ld sources to see what they are doing. In particular the fact that the uninitialised value is stack allocated in dl_main (allegedly, at least) might be a clue. J |