Informix - Problem description
Problem IT28944 | Status: Closed |
SM_DISCON THREAD CAN ASSERT INVALID MUTEX TYPE CALLING SIGCLIENT_DEAD FROM NET_SM_DISCON_THREAD_FREE_STATINFO | |
product: | |
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10 | |
Problem description: | |
This problem was originally reported by customer running 12.10.FC6 on aix64. The repro I developed also dupes the problem on 12.10.FC12 on linux x86_64. A client that attempts an ipcshm connection and dies quickly can cause the sm_discon thread to fail with asserts like these below: 08:28:33 Assert Failed: Invalid Mutex Type 08:28:33 Who: Session(5, informix@, 0, (nil)) Thread(10, sm_discon, 0, 9) File: mt_fn.c Line: 8885 08:28:33 Stack for thread: 10 sm_discon base: 0x0000000045c8f000 len: 69632 pc: 0x0000000001bbb9af tos: 0x0000000045c9ef40 state: running vp: 9 0x0000000001bbb9af (oninit) afstack 0x0000000001bb9a47 (oninit) afhandler 0x0000000001bb8d7d (oninit) afcrash_interface 0x0000000001be150e (oninit) mt_check_mutex 0x0000000001be1cbb (oninit) mt_lock_helper 0x0000000001be1c54 (oninit) mt_lock 0x0000000001e17c16 (oninit) sigclient_dead 0x0000000001e17bc8 (oninit) net_sm_discon_thread_free_statinfo 0x0000000001e1779b (oninit) net_sm_discon_thread 0x0000000001c28e6d (oninit) startup My repro also reported generated a segv assertion: 16:14:15 Assert Failed: No Exception Handler 16:14:15 Who: Session(5, informix@, 0, (nil)) Thread(10, sm_discon, 0, 1) File: mtex.c Line: 508 16:14:15 Results: Exception Caught. Type: MT_EX_OS, Context: mem 16:14:15 Action: Please notify IBM Informix Techical Support. 16:14:15 Stack for thread: 10 sm_discon base: 0x0000000045c29000 len: 69632 pc: 0x0000000001b405c6 tos: 0x000000004468b3b0 state: running vp: 1 0x0000000001b405c6 (oninit) afstack 0x0000000001b435cd (oninit) mt_ex_throw_sig 0x0000000001b5abbb (oninit) afsig_handler 0x0000003ddfa0e4c0 (Linux) 0x0000000001b7b5da (oninit) mt_signal 0x0000000001d95c76 (oninit) sigclient_dead 0x0000000001d95c0d (oninit) net_sm_discon_thread_free_statinfo 0x0000000001d957e0 (oninit) net_sm_discon_thread 0x0000000001c02c06 (oninit) startup | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users of IDS prior to 12.10.xC13. * **************************************************************** * PROBLEM DESCRIPTION: * * A client that attempts an ipcshm connection and dies quickly * * can cause the sm_discon * * thread to Assert Fail. * **************************************************************** * RECOMMENDATION: * **************************************************************** | |
Local Fix: | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 25.04.2019 26.09.2019 26.09.2019 |
Problem solved at the following versions (IBM BugInfos) | |
12.10.xC13 | |
Problem solved according to the fixlist(s) of the following version(s) |