Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > GDB X Postgresq...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 9293 of 9628
Post > Topic >>

GDB X Postgresql 8 - Failed to read a valid object file image from memory

by anacrl@[EMAIL PROTECTED] ("Ana Carolina Brito de Almeida") May 1, 2008 at 11:02 PM

------=_Part_4906_24159981.1209693737532
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi!

I tried to use GDB with postgresql 8 and I didnt have success.
Can you help me?
I tried like as I did in postgresql 7.4
I run configure like this: ./configure --prefix=/usr/local/pgsql8
--enable-debug --enable-cassert --enable-depend
After, I run "make", "make install", "initdb"
After this, I tried run gdb, but I dont enter in backend.
See this:
postgres@[EMAIL PROTECTED]
 gdb postgres
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run
Starting program: /usr/local/pgsql8/bin/postgres
Failed to read a valid object file image from memory.
LOG:  database system was shut down at 2008-05-01 22:56:41 BRT
LOG:  database system is ready to accept connections
LOG:  autovacuum launcher started

So, I think that have something wrong (Failed to read a valid object file
image from memory).
Can you help me?
I tried run psql and attached process pid too, but no success. :-(

Thanks,
Ana Carolina

------=_Part_4906_24159981.1209693737532
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>Hi!</div>
<div>&nbsp;</div>
<div>I tried to use GDB with postgresql 8 and I didnt have success.</div>
<div>Can you help me?</div>
<div>I tried like as I did in postgresql 7.4</div>
<div>I run configure like this: ./configure --prefix=/usr/local/pgsql8
--enable-debug --enable-cassert --enable-depend</div>
<div>After, I run &quot;make&quot;, &quot;make install&quot;,
&quot;initdb&quot;</div>
<div>After this, I tried run gdb, but I dont enter in backend.</div>
<div>See this:</div>
<div>postgres@[EMAIL PROTECTED]
 gdb postgres<br>GNU gdb
6.8<br>Copyright (C) 2008 Free Software Foundation, Inc.<br>License
GPLv3+: GNU GPL version 3 or later &lt;<a
href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>&gt;<br>
This is free software: you are free to change and redistribute
it.<br>There is NO WARRANTY, to the extent permitted by law.&nbsp; Type
&quot;show copying&quot;<br>and &quot;show warranty&quot; for
details.<br>This GDB was configured as
&quot;i686-pc-linux-gnu&quot;...<br>
(gdb) run<br>Starting program: /usr/local/pgsql8/bin/postgres<br>Failed to
read a valid object file image from memory.<br>LOG:&nbsp; database system
was shut down at 2008-05-01 22:56:41 BRT<br>LOG:&nbsp; database system is
ready to accept connections<br>
LOG:&nbsp; autovacuum launcher started<br><br>So, I think that have
something wrong (Failed to read a valid object file image from
memory).</div>
<div>Can you help me?</div>
<div>I tried run psql and attached process pid too, but no success.
:-(</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>Ana Carolina</div>
<div>&nbsp;</div>

------=_Part_4906_24159981.1209693737532--




 2 Posts in Topic:
GDB X Postgresql 8 - Failed to read a valid object file image fr
anacrl@[EMAIL PROTECTED]   2008-05-01 23:02:17 
Re: GDB X Postgresql 8 - Failed to read a valid object file imag
tomas@[EMAIL PROTECTED]   2008-05-02 05:51:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Jul 4 9:30:55 CDT 2008.