Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: free(): invalid pointer: msg#00039

db.mysql.c++

Subject: Re: free(): invalid pointer

I'm using Fedora Core 4 with MySQL 4.1.16. I used the mysql++ 2 rpm
suggested/implied in the online mysql++ document. I compiled and run
resetdb
successfully. It created the sample database. Then I compiled
simple1.cpp, but when I run it, it dumps this:

[root@localhost examples]# ./simple1

Item Num Weight Price Date

Nürnberger Brats 92 1.5 8.79 2005-03-10

Pickle Relish 87 1.5 1.75 1998-09-04

Hot Mustard 75 0.95 0.97 1998-05-25

Hotdog Buns 65 1.1 1.1 1998-04-23

*** glibc detected *** ./simple1: free(): invalid pointer: 0x08947ab0 ***

So i used the mysql++ source and recompiled it in Fedora Core 4 with
GCC 4. Then I no longer have the invalid pointer error. Maybe the
rpm was built using GCC 3+ and will have issues under GCC 4.



On 1/16/06, Warren Young <mysqlpp@xxxxxxxxxxx> wrote:
> Verfranc Raganas wrote:
> > I have solved this problem by compiling
> > http://tangentsoft.net/mysql++/releases/mysql++-2.0.7.tar.gz in Fedora
> > Core 4.
>
> What were you doing before?
>
> --
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe: http://lists.mysql.com/plusplus?unsub=verfranc@xxxxxxxxx
>
>

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation