List:MySQL++« Previous MessageNext Message »
From:Mike Kinney Date:March 19 2005 2:35am
Subject:v1.7.32 simple1 Seg faults
View as plain text  
I have 1.7.23 running simple1 just fine.

I just installed 1.7.32 and tried to run simple1 and it seg faults.

I have narrowed it down to the line:
       mysqlpp::Result res =;
in util.cpp.

I have read the thread from Marco/Chris/Warrent about his SegFaults.

Note: RHEL3 gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-49)
[root@dragon examples]# ldd .libs/lt-simple1 => /usr/local/src/mysql+
+-1.7.32/lib/.libs/ (0x00ec5000) => /usr/lib/ (0x00a76000) => /usr/lib/mysql/
(0x00da1000) => /usr/lib/ (0x00111000) => /lib/tls/ (0x00aaf000) => /lib/ (0x00b39000) => /lib/tls/ (0x001c4000) => /lib/ (0x006b8000) => /lib/ (0x002fc000)
        /lib/ => /lib/ (0x00d3c000)
[root@dragon examples]# pwd

[root@dragon examples]# ./resetdb localhost root foo
Reinitialized sample database successfully.

[root@dragon examples]# ./simple1 localhost root foo
Query: select * from stock
Segmentation fault (core dumped)
[root@dragon examples]# ls -al core
ls: core: No such file or directory

Hmm... no core, but says it cores... hmm...

(You'll note I added old-school debugging "cout's" before each step to
get to that line is what is causing problems.)

Mike Kinney
Phone (503) 590-5606 x201

v1.7.32 simple1 Seg faultsMike Kinney19 Mar
  • Re: v1.7.32 simple1 Seg faultsChris Frey19 Mar
  • Re: v1.7.32 simple1 Seg faultsWarren Young22 Mar