Thread: C function problem with 8.2.4

C function problem with 8.2.4

From
"Anton A. Patrushev"
Date:
Hello,

My C function for Pl/pgsql worked fine until I upgraded to 8.2.4
version. Now it fails with signal 11 (segmentation fault).

The problem is - I can't find where, 'cause it's working fine if I'm
trying to raun postmaster with gdb :(

And after I ran it with gdb once, it's working fine without gdb until I
restart the server.

What can be a reason? Memory management? Why it was working with
previous version?

Can somebody help me with this problem?


Thanks in advance!

Anton.


Re: C function problem with 8.2.4

From
"Pavel Stehule"
Date:
Hello,

send source code please, we cannot check any without source.

Regards
Pavel Stehule

2007/7/25, Anton A. Patrushev <anton@orkney.co.jp>:
> Hello,
>
> My C function for Pl/pgsql worked fine until I upgraded to 8.2.4
> version. Now it fails with signal 11 (segmentation fault).
>
> The problem is - I can't find where, 'cause it's working fine if I'm
> trying to raun postmaster with gdb :(
>
> And after I ran it with gdb once, it's working fine without gdb until I
> restart the server.
>
> What can be a reason? Memory management? Why it was working with
> previous version?
>
> Can somebody help me with this problem?
>
>
> Thanks in advance!
>
> Anton.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly
>