From: Tom Lane <tgl@sss.pgh.pa.us>
To: Johann Spies <jspies@sun.ac.za>
Cc: pgsql-admin@postgresql.org
Subject: Re: ERROR: invalid memory alloc request size
Date: Fri, 18 May 2007 11:10:21 -0400
Message-ID: <27574.1179501021@sss.pgh.pa.us> (raw)
In-Reply-To: <20070518122942.GA28931@sun.ac.za>
References: <20070514131318.GA26537@sun.ac.za>
<11217.1179153258@sss.pgh.pa.us>
<20070515105042.GA8121@burger.sun.ac.za>
<5221.1179337804@sss.pgh.pa.us>
<20070517132033.GA9482@sun.ac.za>
<25608.1179412804@sss.pgh.pa.us>
<20070518122942.GA28931@sun.ac.za>
Johann Spies <jspies@sun.ac.za> writes:
>> Could you please rebuild the executables with --enable-debug and try
>> again?
> I did that. The following breakpoint occurred again before an error
> message from the process on the terminal:
> Breakpoint 1, 0x0827eef6 in errfinish ()
> (gdb) bt
> #0 0x0827eef6 in errfinish ()
> #1 0x0828039c in elog_finish ()
> #2 0x082993b3 in MemoryContextAlloc ()
> #3 0x0828d437 in pg_mb2wchar ()
> #4 0x0811c288 in CreateCopyDestReceiver ()
> #5 0x0811ea43 in DoCopy ()
> #6 0x081f9d00 in ProcessUtility ()
> #7 0x081f6ed9 in PostgresMain ()
> #8 0x081f7cac in FreeQueryDesc ()
> #9 0x081f84d9 in PortalRun ()
> #10 0x081f3b51 in pg_parse_query ()
> #11 0x081f5296 in PostgresMain ()
> #12 0x081c8a1f in ClosePostmasterPorts ()
> #13 0x081c9924 in PostmasterMain ()
> #14 0x081823b5 in main ()
> It looks the same as the previous one to me.
That's because it is the same :-(. You forgot to install the debuggable
executable, or something like that.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, jspies@sun.ac.za
Subject: Re: ERROR: invalid memory alloc request size
In-Reply-To: <27574.1179501021@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox