Re: [HACKERS] Segmentation fault with HEAD.
Rune Bromer <[EMAIL PROTECTED]> writes: > It sure is, but it seems to work now. It could be that the error isn't > persistant on a MacBook Pro as these have a x86 arch. Exactly which version of readline (or, perhaps, libedit) are you using? regards, tom lane ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster
Re: [HACKERS] Segmentation fault with HEAD.
Alon Goldshuv wrote: Thank you very much, I'll verify this tomorrow and return if the error persists. What led you to the conclusion that it was a readline error? I looked into it for a couple of hours, but as I'm new to the postgres source code I cound't find the error :) For the life of me I can't remember! That was some time ago. It sure wasn't obvious to me - took some time. I think few of my colleagues were having some issues with Apple's default readline and they had to install a 3rd party readline. I didn't get around to doing that yet. Is your error on a mac os? It sure is, but it seems to work now. It could be that the error isn't persistant on a MacBook Pro as these have a x86 arch. Rune ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq
Re: [HACKERS] Segmentation fault with HEAD.
> Thank you very much, I'll verify this tomorrow and return if the error > persists. What led you to the conclusion that it was a readline error? I > looked into it for a couple of hours, but as I'm new to the postgres > source code I cound't find the error :) For the life of me I can't remember! That was some time ago. It sure wasn't obvious to me - took some time. I think few of my colleagues were having some issues with Apple's default readline and they had to install a 3rd party readline. I didn't get around to doing that yet. Is your error on a mac os? ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly
Re: [HACKERS] Segmentation fault with HEAD.
Alon Goldshuv wrote: Rune, This is a readline issue of some sort. Basically this seg fault happens when you quit and the .psql_history file changes. I don't really know why it happens and what the right solution is but if you empty the contents of this file (or maybe delete it) then your seg fault will go away (until it will show up again in few months or so :-) ). This is not THE proper solution probably but it does the job. Thank you very much, I'll verify this tomorrow and return if the error persists. What led you to the conclusion that it was a readline error? I looked into it for a couple of hours, but as I'm new to the postgres source code I cound't find the error :) Rune ---(end of broadcast)--- TIP 5: don't forget to increase your free space map settings
Re: [HACKERS] Segmentation fault with HEAD.
Rune, This is a readline issue of some sort. Basically this seg fault happens when you quit and the .psql_history file changes. I don't really know why it happens and what the right solution is but if you empty the contents of this file (or maybe delete it) then your seg fault will go away (until it will show up again in few months or so :-) ). This is not THE proper solution probably but it does the job. Alon. On 11/14/06 4:49 AM, "Rune Bromer" <[EMAIL PROTECTED]> wrote: > Hi. > > I just compiled the version in HEAD with no problems. I connected with > template1, made some tests and quited. I got the following error: > > template1=# \q > psql(15213) malloc: *** error for object 0x1804e00: incorrect checksum > for freed object - object was probably modified after being freed, break > at szone_error to debug > psql(15213) malloc: *** set a breakpoint in szone_error to debug > Segmentation fault > > Now. I can't find a list of knows bug to compare agains, so sorry if > this is a know bug. If you need more information, please let me know how > to record these, and I will post them as soon as possible. > > Rune > > ---(end of broadcast)--- > TIP 1: if posting/reading through Usenet, please send an appropriate >subscribe-nomail command to [EMAIL PROTECTED] so that your >message can get through to the mailing list cleanly > ---(end of broadcast)--- TIP 6: explain analyze is your friend
[HACKERS] Segmentation fault with HEAD.
Hi. I just compiled the version in HEAD with no problems. I connected with template1, made some tests and quited. I got the following error: template1=# \q psql(15213) malloc: *** error for object 0x1804e00: incorrect checksum for freed object - object was probably modified after being freed, break at szone_error to debug psql(15213) malloc: *** set a breakpoint in szone_error to debug Segmentation fault Now. I can't find a list of knows bug to compare agains, so sorry if this is a know bug. If you need more information, please let me know how to record these, and I will post them as soon as possible. Rune ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly