From: | Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Debugging initdb breakage |
Date: | 2010-10-10 20:38:01 |
Message-ID: | m2sk0deqc6.fsf@2ndQuadrant.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
So I'm beginning to work on the extension support for dump and restore,
and that begins with a new pg_extension catalog. I managed to break
initdb already, of course, but I'm fighting my way out — no luck with
gdb, it won't catch the Assert failure and show me a backtrace. I tried
"set follow-fork-mode child" in gdb, in different systems, to no avail.
Please find attached the detailed initdb.log and the very few items I
needed to obtain:
TRAP: FailedAssertion("!(reln->md_fd[forkNum] == ((void *)0))", File: "md.c", Line: 254)
child process was terminated by signal 6: Abort trap
How to have gdb help me? What's my error, that I guess is obvious? Where
do I read more now in order not to need too much assistance after that?
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
Attachment | Content-Type | Size |
---|---|---|
pg_extension.fail.patch | text/x-patch | 3.3 KB |
initdb.log.gz | application/zip | 143.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-10-10 21:16:59 | Re: wip: functions median and percentile |
Previous Message | Martijn van Oosterhout | 2010-10-10 20:23:31 | Re: Which file does the SELECT? |