Re: [BUGS] Postgresql 7.3.3 crashing on query

2003-08-14 Thread Tom Lane
Philipp Reisner <[EMAIL PROTECTED]> writes: > strncpy(fstr, (cp + 1), 7); > + fstr[7]=0; > strcpy((fstr + strlen(fstr)), "00"); After some looking around, it turns out there was another similar error, plus several related pl

Re: [BUGS] Postgresql 7.3.3 crashing on query

2003-08-08 Thread Tom Lane
Philipp Reisner <[EMAIL PROTECTED]> writes: > We (Clifford Wolf and me) have found the bug! Good work! The INT64_TIMESTAMP code isn't very widely used, I think, which probably explains why this wasn't noticed before. Will commit the patch shortly. regards, tom lane ---

Re: [BUGS] Postgresql 7.3.3 crashing on query

2003-08-05 Thread Philipp Reisner
Am Donnerstag, 31. Juli 2003 15:53 schrieb Tom Lane: > Philipp Reisner <[EMAIL PROTECTED]> writes: > > Program received signal SIGSEGV, Segmentation fault. > > DecodeDateTime (field=Cannot access memory at address 0x303038 > > ) at datetime.c:1404 > > 1404datetime.c: No such file or directory.

Re: [BUGS] Postgresql 7.3.3 crashing on query

2003-07-31 Thread Tom Lane
Philipp Reisner <[EMAIL PROTECTED]> writes: > Program received signal SIGSEGV, Segmentation fault. > DecodeDateTime (field=Cannot access memory at address 0x303038 > ) at datetime.c:1404 > 1404datetime.c: No such file or directory. > in datetime.c > (gdb) where > #0 DecodeDateTime (fie

Re: [BUGS] Postgresql 7.3.3 crashing on query

2003-07-31 Thread Philipp Reisner
Am Mittwoch, 30. Juli 2003 16:00 schrieb Tom Lane: > Philipp Reisner <[EMAIL PROTECTED]> writes: > > Program received signal SIGSEGV, Segmentation fault. > > 0x0812f9bc in DecodeDateTime () > > (gdb) where > > #0 0x0812f9bc in DecodeDateTime () > > Cannot access memory at address 0xbf003030 > > Th

Re: [BUGS] Postgresql 7.3.3 crashing on query

2003-07-30 Thread Tom Lane
Philipp Reisner <[EMAIL PROTECTED]> writes: > Program received signal SIGSEGV, Segmentation fault. > 0x0812f9bc in DecodeDateTime () > (gdb) where > #0 0x0812f9bc in DecodeDateTime () > Cannot access memory at address 0xbf003030 That's a fairly large routine :-(. Could I trouble you to rebuild w

Re: [BUGS] Postgresql 7.3.3 crashing on query

2003-07-30 Thread Philipp Reisner
Am Montag, 28. Juli 2003 15:53 schrieb Tom Lane: > Philipp Reisner <[EMAIL PROTECTED]> writes: > > If I execute this query several times (I receive the correct result set), > > and then do an explain of the same query, the backend terminates with > > sig 11 !!! > > Can you get us a debugger stack t

Re: [BUGS] Postgresql 7.3.3 crashing on query

2003-07-28 Thread Tom Lane
Philipp Reisner <[EMAIL PROTECTED]> writes: > If I execute this query several times (I receive the correct result set), > and then do an explain of the same query, the backend terminates with > sig 11 !!! Can you get us a debugger stack trace from the crash? Also you should specify the platform y

[BUGS] Postgresql 7.3.3 crashing on query

2003-07-28 Thread Philipp Reisner
HI, Executing a crashes postgresql. If I execute this query several times (I receive the correct result set), and then do an explain of the same query, the backend terminates with sig 11 !!! Sometimes it crashes by simply executing the query (without explain). I looks a lot like if the crash h