|
From: Waqar M. <wm...@ci...> - 2003-09-09 02:11:57
|
Hi, I'm running Valgrind on mp4live, a program to capture, encode and record/stream mpeg4 video (http://mpeg4ip.net). Here's the output: [wmohsin@zoneplate work]$ valgrind --skin=addrcheck ~/mpeg4ip/server/mp4live/.libs/mp4live ==14353== Addrcheck, a fine-grained address checker for x86-linux. ==14353== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward. ==14353== Using valgrind-20030725, a program supervision framework for x86-linux. ==14353== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward. ==14353== Estimated CPU clock rate is 1615 MHz ==14353== For more details, rerun with: -v ==14353== 18:48:55.366-mp4live-7: audio device /dev/dsp doesn't support sampling rate 7350 18:48:55.402-mp4live-7: audio device /dev/dsp doesn't support sampling rate 64000 18:48:55.404-mp4live-7: audio device /dev/dsp doesn't support sampling rate 88200 18:48:55.405-mp4live-7: audio device /dev/dsp doesn't support sampling rate 96000 ==14353== valgrind's libpthread.so: KLUDGED call to: sem_destroy ==14353== valgrind's libpthread.so: KLUDGED call to: sem_destroy disInstr: unhandled instruction bytes: 0xF 0x70 0xC0 0x88 Illegal instruction Can anyone please help me figure out what's going on ? Does the x86 emulator not support a certain instruction ? Thanks Waqar |
|
From: Kiran R <not...@ya...> - 2003-09-09 03:56:12
|
Hi All I want to include valgrid in my makefile. Can u tell me how I should include special flags and how I should put it in my makefile Thanks kiran --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software |
|
From: Dimitri Papadopoulos-O. <pap...@sh...> - 2003-09-09 07:29:51
|
Hi, > I want to include valgrid in my makefile. Can u tell me how I should > include special flags and how I should put it in my makefile There should be no need to include valgrind in your makefile. Why do you want to include valgrind in your makefile? -- Dimitri |
|
From: Kiran R <not...@ya...> - 2003-09-09 07:54:46
|
Hi All I am working on an application which has many modules...We have a build command to do the build To compile and generate .o files, we use build command followed by our filenames. We cannot run it as ./executable-file... So how can I use valgrind... Thanks for ur time Rgds Kiran Dimitri Papadopoulos-Orfanos <pap...@sh...> wrote: Hi, > I want to include valgrid in my makefile. Can u tell me how I should > include special flags and how I should put it in my makefile There should be no need to include valgrind in your makefile. Why do you want to include valgrind in your makefile? -- Dimitri ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Valgrind-users mailing list Val...@li... https://lists.sourceforge.net/lists/listinfo/valgrind-users --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software |
|
From: Dimitri Papadopoulos-O. <pap...@sh...> - 2003-09-09 08:37:24
|
Hi, > I am working on an application which has many modules...We have a build > command to do the build > > To compile and generate .o files, we use build command followed by our > filenames. > We cannot run it as ./executable-file... > > So how can I use valgrind... I'm not sure I understand. What do you expect valgrind to do for you? In order to use valgrind you need to build an executable first. It seems to me you have problems building your application, but this isn't related to valgrind, is it? -- Dimitri |
|
From: Paul L D. <pld...@pl...> - 2003-09-09 08:54:35
|
On Tue, 9 Sep 2003 00:54:42 -0700 (PDT) Kiran R <not...@ya...> wrote: > Hi All > > I am working on an application which has many modules...We have a build command to do the build > > To compile and generate .o files, we use build command followed by our filenames. > We cannot run it as ./executable-file... Are you trying to test your program in a modular form? If you are, then irrespective, you still need to have an executable in order for valgrind to be used. Regards. -- Paul L Daniels http://www.pldaniels.com Linux/Unix systems Internet Development ICQ#103642862,AOL:pldsoftware,IRC:inflex irc.freenode.net A.B.N. 19 500 721 806 |
|
From: Paul L D. <pld...@pl...> - 2003-09-09 04:13:15
|
On Mon, 8 Sep 2003 20:56:11 -0700 (PDT) Kiran R <not...@ya...> wrote: > > Hi All > > I want to include valgrid in my makefile. Can u tell me how I should include special flags and how I should put it in > my makefile You don't actually include valgrind in your makefile as such. However, make sure that you have the '-g' option active in your compiles so that sufficient debugging information is left in the binary files for when you do valgrind them. Once you have your binary build, you only need to do : valgrind ./my-application And the rest will happen. ... or did I miss your need? -- Paul L Daniels http://www.pldaniels.com Linux/Unix systems Internet Development ICQ#103642862,AOL:pldsoftware,IRC:inflex irc.freenode.net A.B.N. 19 500 721 806 |
|
From: Dimitri Papadopoulos-O. <pap...@sh...> - 2003-09-09 07:28:13
|
Hi, > I'm running Valgrind on mp4live, a program to capture, encode and > record/stream mpeg4 video (http://mpeg4ip.net). Here's the output: > [...] > Can anyone please help me figure out what's going on ? Does the x86 > emulator not support a certain instruction ? Indeed some instructions such as MMX or SSE are not supported: http://developer.kde.org/~sewardj/docs-1.9.5/FAQ.txt -- Dimitri |
|
From: Tom H. <th...@cy...> - 2003-09-09 07:36:57
|
In message <106...@zo...>
Waqar Mohsin <wm...@ci...> wrote:
> disInstr: unhandled instruction bytes: 0xF 0x70 0xC0 0x88
> Illegal instruction
>
> Can anyone please help me figure out what's going on ? Does the x86
> emulator not support a certain instruction ?
Exactly correct. There are a number of instructions that the emulator
does not yet support. In this case it appears to be an SSE instruction
which isn't implemented yet - valgrind's SSE support is only partial
at the moment.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|
|
From: Tom H. <th...@cy...> - 2003-09-09 07:38:12
|
In message <yek...@au...>
Tom Hughes <th...@cy...> wrote:
> In message <106...@zo...>
> Waqar Mohsin <wm...@ci...> wrote:
>
> > disInstr: unhandled instruction bytes: 0xF 0x70 0xC0 0x88
> > Illegal instruction
> >
> > Can anyone please help me figure out what's going on ? Does the x86
> > emulator not support a certain instruction ?
>
> Exactly correct. There are a number of instructions that the emulator
> does not yet support. In this case it appears to be an SSE instruction
> which isn't implemented yet - valgrind's SSE support is only partial
> at the moment.
In fact I've just noticed that the CVS source does seem to have
support for this particular instruction, so you might want to upgrade
to a more recent version.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|