Segmentation fault in PQexec

From: VICTOR MIGUEL MORALES CAYUELA <victormiguel(dot)moralescayuela(at)telefonica(dot)com>
To: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Segmentation fault in PQexec
Date: 2016-12-03 16:26:35
Message-ID: VI1PR0602MB2942D8E35CBDCAEE026AA1C088810@VI1PR0602MB2942.eurprd06.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello,

I receive a segmentation fault signal calling PQexec function with an already established connection and a valid SQL query, as frame #4 shows.
I printed both the connection variable (conexion_bbdd) and the SQL query variable (sql_formateado) and both are valid.

[cid:image001(dot)png(at)01D24D89(dot)06F34430]

The steps taken in order to establish the connection are:

[cid:image002(dot)png(at)01D24D8A(dot)25DC0ED0]

[cid:image003(dot)png(at)01D24D8A(dot)25DC0ED0]

Before the program crashes, some other SQL queries execute properly. All of them use PQclear().

I believe the database table and fields are not important regarding the problem, thus I do not describe them.

This is my system,
[cid:image004(dot)png(at)01D24D8A(dot)630E8FD0]

Please let me know if this bug shall be amended shortly.
Thank you in advance,
Victor Morales
Spain

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jaime Casanova 2016-12-04 01:01:02 Re: Segmentation fault in PQexec
Previous Message David Lopes 2016-12-02 22:41:28 Re: BUG #14440: Error starting postgres