* [gentoo-user] C++ code on Gentoo
@ 2005-08-16 19:18 James
2005-08-16 20:51 ` Bryce Verdier
2005-08-17 11:47 ` Andreas Fredriksson
0 siblings, 2 replies; 6+ messages in thread
From: James @ 2005-08-16 19:18 UTC (permalink / raw
To: gentoo-user
Hello,
I've been given some code that compiles, but does not work correctly on
Gentoo. Here is the error message I get:
*** glibc detected *** free(): invalid next size (normal): 0x08067168 ***
The code for nvwa-0.5 was added to try to get robust debugging
(memory) working, but, alas I'm certainly not strong on C++ code,
let alone some body else's C++ code.
any ideas where I can get help (volunteers or compensated)?
private email to wireless@tampabay.rr.com is OK, or list mail
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] C++ code on Gentoo
2005-08-16 19:18 [gentoo-user] C++ code on Gentoo James
@ 2005-08-16 20:51 ` Bryce Verdier
2005-08-17 14:18 ` [gentoo-user] " James
2005-08-17 11:47 ` Andreas Fredriksson
1 sibling, 1 reply; 6+ messages in thread
From: Bryce Verdier @ 2005-08-16 20:51 UTC (permalink / raw
To: gentoo-user
Does the code compile and work on any other machine (that doesn't have
nvwa compiled?)?
Also, have you tried upgrade nvwa, i see from the website that .6 is out.
I don't really know how to help you, but i don't mind trying. ;)
bryce
James wrote:
>Hello,
>
>I've been given some code that compiles, but does not work correctly on
>Gentoo. Here is the error message I get:
>
>*** glibc detected *** free(): invalid next size (normal): 0x08067168 ***
>
>The code for nvwa-0.5 was added to try to get robust debugging
>(memory) working, but, alas I'm certainly not strong on C++ code,
>let alone some body else's C++ code.
>
>any ideas where I can get help (volunteers or compensated)?
>
>
>private email to wireless@tampabay.rr.com is OK, or list mail
>
>
>James
>
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: C++ code on Gentoo
2005-08-16 19:18 [gentoo-user] C++ code on Gentoo James
2005-08-16 20:51 ` Bryce Verdier
@ 2005-08-17 11:47 ` Andreas Fredriksson
1 sibling, 0 replies; 6+ messages in thread
From: Andreas Fredriksson @ 2005-08-17 11:47 UTC (permalink / raw
To: gentoo-user
On 8/16/05, James <wireless@tampabay.rr.com> wrote:
> The code for nvwa-0.5 was added to try to get robust debugging
> (memory) working, but, alas I'm certainly not strong on C++ code,
> let alone some body else's C++ code.
Try valgrind. It's an excellent memory instrumentation system which
can trace back programming mistakes with complete callstacks of the
offending site if you compile with debugging symbols. Last time I
looked, a fairly recent version was in portage.
Good luck,
Andreas
--
And I hate redundancy, and having different functions for the same thing.
- Linus Torvalds on linux-kernel
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: C++ code on Gentoo
2005-08-16 20:51 ` Bryce Verdier
@ 2005-08-17 14:18 ` James
2005-08-17 15:43 ` Uwe Thiem
2005-08-17 18:29 ` Ciaran McCreesh
0 siblings, 2 replies; 6+ messages in thread
From: James @ 2005-08-17 14:18 UTC (permalink / raw
To: gentoo-user
Bryce Verdier <btv <at> cs.pdx.edu> writes:
> Does the code compile and work on any other machine (that doesn't have
> nvwa compiled?)?
It compiles and runs but it does not display video to the local
gentoo linux system. The author claims it works on SUSE.
> Also, have you tried upgrade nvwa, i see from the website that .6 is out.
Well, I do not think this is the problem. If somebody knowns
what they are doing with C++, then it is a good tool,
but I'm an old C/assembler hack....
> I don't really know how to help you, but i don't mind trying. ;)
I can email the sourcecode to you, compile it and see what you think. You
can check the sourcecode and make suggestions, as the original
author may not be a real whiz either, or something is missing
from the sources, and it is only intended to run on Fedora or
Suse. I just don't know. If you or anyone will consider helping
me a little bit, send me some private email at:
wireless@tampabay.rr.com
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: C++ code on Gentoo
2005-08-17 14:18 ` [gentoo-user] " James
@ 2005-08-17 15:43 ` Uwe Thiem
2005-08-17 18:29 ` Ciaran McCreesh
1 sibling, 0 replies; 6+ messages in thread
From: Uwe Thiem @ 2005-08-17 15:43 UTC (permalink / raw
To: gentoo-user
On 17 August 2005 15:18, James wrote:
> Bryce Verdier <btv <at> cs.pdx.edu> writes:
> > Does the code compile and work on any other machine (that doesn't have
> > nvwa compiled?)?
>
> It compiles and runs but it does not display video to the local
> gentoo linux system. The author claims it works on SUSE.
>
> > Also, have you tried upgrade nvwa, i see from the website that .6 is out.
>
> Well, I do not think this is the problem. If somebody knowns
> what they are doing with C++, then it is a good tool,
> but I'm an old C/assembler hack....
>
> > I don't really know how to help you, but i don't mind trying. ;)
>
> I can email the sourcecode to you, compile it and see what you think. You
> can check the sourcecode and make suggestions, as the original
> author may not be a real whiz either, or something is missing
> from the sources, and it is only intended to run on Fedora or
> Suse. I just don't know. If you or anyone will consider helping
> me a little bit, send me some private email at:
I am quite good at C++ and may be willing to help. If you tar up the source,
how big is the tarball? Please don't send it right away. I am sitting here in
Africa and am connected via a percussion group. You don't want those guys die
of exhaustion. ;-)
Uwe
--
95% of all programmers rate themselves among the top 5% of all software
developers. - Linus Torvalds
http://www.uwix.iway.na (last updated: 20.06.2004)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: C++ code on Gentoo
2005-08-17 14:18 ` [gentoo-user] " James
2005-08-17 15:43 ` Uwe Thiem
@ 2005-08-17 18:29 ` Ciaran McCreesh
1 sibling, 0 replies; 6+ messages in thread
From: Ciaran McCreesh @ 2005-08-17 18:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 626 bytes --]
On Wed, 17 Aug 2005 14:18:25 +0000 (UTC) James
<wireless@tampabay.rr.com> wrote:
| Bryce Verdier <btv <at> cs.pdx.edu> writes:
| > Does the code compile and work on any other machine (that doesn't
| > have nvwa compiled?)?
|
| It compiles and runs but it does not display video to the local
| gentoo linux system. The author claims it works on SUSE.
It works by coincidence only. He's got some invalid memory allocation
or deallocation code.
--
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-08-17 18:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-16 19:18 [gentoo-user] C++ code on Gentoo James
2005-08-16 20:51 ` Bryce Verdier
2005-08-17 14:18 ` [gentoo-user] " James
2005-08-17 15:43 ` Uwe Thiem
2005-08-17 18:29 ` Ciaran McCreesh
2005-08-17 11:47 ` Andreas Fredriksson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox