psql: core dumped

From: Mario <gonzalemario(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: psql: core dumped
Date: 2006-12-19 22:52:10
Message-ID: 2065a6cf0612191452j5db5997dnc1bc503fc4bffcb1@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

When psql is running and CRTL + \ is pressed, a core dumped show up.
In first place I ran psql into gdb, saw the backtrace and I believed
it was a libc6 bug and I reported to my distro security team
https://launchpad.net/distros/ubuntu/+source/glibc/+bug/76437

Ubuntu edgy has got libc-2.4, a friend of my tested in Linux with
libc-2.3 and nothing happened. I don't know why in my libc version
(2.4) this happen.

So, with humility :-) I want to help and I wrote a patch with a
solution, you can have it in the next link:
http://media.forestal.udec.cl/pgsql/startup.diff I do not wanted to
sent it as an attachment

My solution is catch the SIGQUIT signal and abort in silence, just that.

Regards!

PS: sorry my English
--
http://www.advogato.org/person/mgonzalez/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2006-12-19 22:57:19 Re: effective_cache_size vs units
Previous Message Peter Eisentraut 2006-12-19 22:51:57 Re: effective_cache_size vs units