Re: [Valgrind-users] valgrind macos

2009-05-19 Thread Nicholas Nethercote
On Wed, May 20, 2009 at 12:07 AM, Dan Kegel wrote: > On Tue, May 19, 2009 at 6:29 AM, Bruno Causse wrote: >> when i use valgrind, >> valgrind ./Roxane -h 24 -t 8 ../../fforum-20-39.src >> valgring says "cannot execute binary file" >> >>   file Roxane >> >> Mach-O 64 bit executable X86-64 >> >>   

Re: [Valgrind-users] drd: drd_mutex.c:383 (mutex_unlock): Assertion 'p->mutex_type == mutex_type' failed

2009-05-19 Thread Bart Van Assche
On Fri, May 15, 2009 at 10:06 AM, Andy Howell wrote: > Bart Van Assche wrote: >> >> On Fri, May 15, 2009 at 9:33 AM, Andy Howell >> wrote: >>> >>> Hello, >>> >>>       I'm seeing this with 3.4.1 compiled on fedora 9. >>> >>> Just before that I see: >>> >>> ==14457== Mutex reinitialization: mutex

Re: [Valgrind-users] valgrind macos

2009-05-19 Thread Bruno Causse
Le 19 mai 09 à 16:07, Dan Kegel a écrit : On Tue, May 19, 2009 at 6:29 AM, Bruno Causse wrote: when i use valgrind, valgrind ./Roxane -h 24 -t 8 ../../fforum-20-39.src valgring says "cannot execute binary file" file Roxane Mach-O 64 bit executable X86-64 uname -a Darwin Kernel versio

Re: [Valgrind-users] helgrind suppressing on global variables

2009-05-19 Thread Colin Miller
Andy Howell wrote: > I have some code that uses the pre-processor to generate code to log messages: > > #define logDebug if ( Log::minLevel <= Log::LVL_DEBUG ) Log::printLog > > Helgrind reports data races ultimately due to the global Log::minLevel. While > technically > this is a potential ra

Re: [Valgrind-users] valgrind macos

2009-05-19 Thread Dan Kegel
On Tue, May 19, 2009 at 6:29 AM, Bruno Causse wrote: > when i use valgrind, > valgrind ./Roxane -h 24 -t 8 ../../fforum-20-39.src > valgring says "cannot execute binary file" > >   file Roxane > > Mach-O 64 bit executable X86-64 > >   uname -a > > Darwin Kernel version 9.7.0 : "date"; root:xnu-122

Re: [Valgrind-users] valgrind macos

2009-05-19 Thread Bruno Causse
Le 19 mai 09 à 15:12, Dan Kegel a écrit : On Tue, May 19, 2009 at 4:58 AM, Bruno Causse wrote: when i use valgrind, valgrind ./Roxane -h 24 -t 8 ../../fforum-20-39.src valgring says "cannot execute binary file" What does file Roxane Mach-O 64 bit executable X86-64 uname -a Darwin

Re: [Valgrind-users] valgrind macos

2009-05-19 Thread Dan Kegel
On Tue, May 19, 2009 at 4:58 AM, Bruno Causse wrote: > when i use valgrind, > valgrind ./Roxane -h 24 -t 8 ../../fforum-20-39.src > valgring says "cannot execute binary file" What does file Roxane say? And what does uname -a say? -

[Valgrind-users] valgrind macos

2009-05-19 Thread Bruno Causse
hi all i am newby i have command line program i launch it in terminal same this (compile gcc 4.2 option -g) ./Roxane -h 24 -t 8 ../../fforum-20-39.src when i use valgrind, valgrind ./Roxane -h 24 -t 8 ../../fforum-20-39.src valgring says "cannot execute binary file" what is a probleme? -

[Valgrind-users] helgrind suppressing on global variables

2009-05-19 Thread Andy Howell
I have some code that uses the pre-processor to generate code to log messages: #define logDebug if ( Log::minLevel <= Log::LVL_DEBUG ) Log::printLog Helgrind reports data races ultimately due to the global Log::minLevel. While technically this is a potential race condition, Log::minLevel is