[CONC-438] mysql_free_result hangs Created: 2019-09-09 Updated: 2021-02-08 Resolved: 2021-02-08 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Juha Heinanen | Assignee: | Georg Richter |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian 9 |
||
| Description |
|
Once in a while INSERT query hangs for 10+ minutes. Backtrace of the process in hanging state is below. Unfortunately Debian libmariadbclient18 package does not include symbols. Any ideas what might cause the hang? Is it possible the issue if fixed in newer versions of libmariadbclient? ------------------------------------------------------------------------------------------------------------ Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". tve = {tv_sec = 108261778181, tv_usec = 1382979469336}tz = {tz_minuteswest = 24, tz_dsttime = 65147} tdiff = 908405824 |
| Comments |
| Comment by Juha Heinanen [ 2019-09-10 ] |
|
I was not able to add the version of the library. The app has been built with this: Package: libmariadbclient-dev-compat (10.1.41-0+deb9u1) |
| Comment by Juha Heinanen [ 2019-09-18 ] |
|
I build libmariadbclient.so.18 with debug symbols. Below is new backtrace from the hanging process with symbols. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". state = {m_flags = 3509778656, m_socket = 0x7ffed132f820, m_thread = 0x0, m_number_of_bytes = 21474836512, m_timer_start = 140732408199414, m_timer = 0x7ffed132f8fc, m_operation = 3509778680, m_src_file = 0x7ffed132f8fc "\376\177", m_src_line = 16, m_wait = 0x7f517398d010}#3 0x00007f51725f3f78 in vio_socket_io_wait (vio=vio@entry=0x560529eb39d8, event=event@entry=VIO_IO_EVENT_READ) at ./vio/viosocket.c:108 |
| Comment by Georg Richter [ 2021-02-08 ] |
|
This bug doesn't affect Connector/C but the client library (libmysql) of MariaDB 10.1 - which is not supported anymore. |