Skip to content

multiple calls to ibm_db_dbi.columns() - Fatal Python error: Deallocating None #413

@romatho

Description

@romatho

Hello everyone,
I'm working with ibm_db_dbi to insert values into timeseries on informix. When I call too many times the function ibm_db_dbi.columns(), I end-up with the following mistake: Fatal Python error: deallocating None. I'm working with Python 3.6.8. I created the following simple code that generate the error.
`while True:

conn_str = "server=informix;database=analytics;hostname=" + database_hostname + ";port=" + database_port + ";protocol=TCPIP;UID=informix;PWD="+ informix_pwd
ibm_db_conn = ibm_db_dbi.connect(conn_str,"","")
ibm_db_conn.columns(table_name='vt_alarm_measure')
ibm_db_conn.close()
`
(I also tried it with a single connexion before the loop and the result is exactly the same.)
Since the problem happens after a lot of calls to the function, I could not generate the various Trc dump files (the .dmp file reached a size of 8.5gb)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions