Your name: Giacomo Cariello
Your email address: [EMAIL PROTECTED]

System Configuration
---------------------
Architecture (example: Intel Pentium) : CHOST="i686-pc-linux-gnu", CPU=athlon-xp


Operating System (example: Linux 2.0.26 ELF) : Gentoo Linux 1.4 (kernel version 2.4.20, ELF, glibc 2.3.2)

PostgreSQL version (example: PostgreSQL-7.3.4): PostgreSQL-7.3.4

Compiler used (example: gcc 2.95.2) : from gcc -v: gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)


Please enter a FULL description of your problem:
------------------------------------------------
Using repalloc in some functions in a shared library I load, the effect is not the desidered one: the allocated area gets overwritten and causes segfault once the function returns or calls SPI_finish()





Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
hrm...I noticed some memory areas palloc'ed during a SRF initialization get overwritten. Also backend tends to crash randomly.
As of now I fixed using palloc/memcpy variant to achieve the same result.





If you know how this problem might be fixed, list the solution below: --------------------------------------------------------------------- no clue.



Giacomo Cariello, [EMAIL PROTECTED]
KeyID: 3072/1024/0x409C9044
Fingerprint: 7984 10FD 0460 4202 BF90 3881 CDE4 D78E 409C 9044

"Put that mic in my hand and let me kick out the jams!" - MC5



---------------------------(end of broadcast)---------------------------
TIP 3: 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

Reply via email to