Bug report - ODBC Driver - Postgresql ODBC driver crash found in customer environment - Mailing list pgsql-odbc

From Huang, Yang
Subject Bug report - ODBC Driver - Postgresql ODBC driver crash found in customer environment
Date
Msg-id DM6PR07MB67318DD9D2B56C5C0E42C50AB958A@DM6PR07MB6731.namprd07.prod.outlook.com
Whole thread Raw
List pgsql-odbc

Hi dear PostgreSQL support engineer,

 

We recently found a driver crash of postgresql odbc driver in customer environment. Could you please help us to take a look? Thanks.

 

  • ODBC driver version: 12.02.0000
  • PostgreSQL database version: Not sure. Maybe v11.17

 

We do not have the capture when the error happens and we haven’t got a chance to enable the debug log when this crash happens since it happened in customer’ s environments. And it is logged by our automatically crash report system.

 

Here is the callstack:

tail(callstack):
 

[0] /opt/mstr/MicroStrategy/install/pgsql-12/lib/psqlodbcw.so + 0x4c7f0
sp=0x7fec60f37750 bp=0x7fec5d8da3e0 
[1] /opt/mstr/MicroStrategy/install/pgsql-12/lib/psqlodbcw.so + 0x29e5d
[2] /opt/mstr/MicroStrategy/install/pgsql-12/lib/psqlodbcw.so + 0x2ad80
[3] /opt/mstr/MicroStrategy/install/pgsql-12/lib/psqlodbcw.so + 0x2b51c
[4] /opt/mstr/MicroStrategy/install/pgsql-12/lib/psqlodbcw.so + 0x5e934
[5] /opt/mstr/MicroStrategy/install/lib/libodbc.so + 0xf75df
[6] /opt/mstr/MicroStrategy/install/lib/libodbc.so + 0xf354e
[7] /opt/mstr/MicroStrategy/install/lib/libodbc.so + 0xf6f86
[8] /opt/mstr/MicroStrategy/install/lib/libodbc.so + 0xb4b12
[9] /opt/mstr/MicroStrategy/install/lib/libM8DbOd35.so.11.3.0960.0061!MDb::Odbc35::Odbc::SQLExecDirectW(MDb::Error&, MDb::DATABASE_TYPE, MDb::ODBCDriverVendor, void*, void*, void*, wchar_t const*, int, wchar_t const*, wchar_t const*, wchar_t const*) + 0x40
[10] /opt/mstr/MicroStrategy/install/lib/libM8DbOd35.so.11.3.0960.0061!_fini + 0x460c
[11] /opt/mstr/MicroStrategy/install/lib/libM8DbOd35.so.11.3.0960.0061!_fini + 0x460c
[12] /opt/mstr/MicroStrategy/install/lib/libM8DbOd35.so.11.3.0960.0061!virtual thunk to MDb::Odbc35::OdbcStatement::ExecQuery(std::basic_string, std::allocator > const&, std::vector, std::allocator >, std::allocator, std::allocator > > > const&, std::vector > const&) [clone .localalias] + 0x133
[13] /opt/mstr/MicroStrategy/install/lib/libM8DbOd35.so.11.3.0960.0061!_fini + 0x460c
[14] /opt/mstr/MicroStrategy/install/lib/libM8DbOd35.so.11.3.0960.0061!virtual thunk to MDb::Odbc35::OdbcStatement::ExecQuery(std::basic_string, std::allocator > const&, std::vector, std::allocator >, std::allocator, std::allocator > > > const&, std::vector > const&) [clone .localalias] + 0x101
[15] /opt/mstr/MicroStrategy/install/lib/libM8PrcCo2.so.11.3.0960.0061!_fini + 0x345f
[16] /opt/mstr/MicroStrategy/install/lib/libM8PrcCo2.so.11.3.0960.0061!_fini + 0x3441
[17] /opt/mstr/MicroStrategy/install/lib/libM8PrcCo2.so.11.3.0960.0061!_fini + 0x345f
[18] /opt/mstr/MicroStrategy/install/lib/libM8PrcCo2.so.11.3.0960.0061!_fini + 0x3441
[19] /opt/mstr/MicroStrategy/install/lib/libM8PrcCo2.so.11.3.0960.0061!virtual thunk to MMultiProcess::MultithreadedExecutor::Run() + 0x134
[20] /opt/mstr/MicroStrategy/install/lib/libM8Synch4.so.11.3.0960.0061!MSynch::ThreadImpl::ThreadFunction(void*) [/var/lib/jenkins/Projects/microstrategy/Tech/Server/Common/Synch/Synch/PrivateSource/ThreadImpl.cpp : 185 + 0x6]
[21] /usr/lib64/libpthread-2.26.so!start_thread + 0xdb
[22] /usr/lib64/libc-2.26.so!__GI___clone + 0x3f

I have  attached mini core dumps. Please help us look into this.

 

Regards,

Yang Huang



Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

Attachment

pgsql-odbc by date:

Previous
From: Jason Hwang
Date:
Subject: Connection to PostgreSQL 14.4
Next
From: Sayan Oruspay
Date:
Subject: BUG #17981: HY000 server closed the connection unexpectedly