[CONC-636] Crash in rpl_fetch Created: 2023-02-14  Updated: 2023-05-02

Status: Open
Project: MariaDB Connector/C
Component/s: Replication/Binlog API
Affects Version/s: 3.3.3
Fix Version/s: None

Type: Bug Priority: Major
Reporter: markus makela Assignee: Georg Richter
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Here's a stacktrace that MaxScale gets:

MaxScale 23.02.0 received fatal signal 11. Commit ID: f7721a27555a24ee1ed8d90a94b776367c66a1a7, System name: Linux, Release string: NAME="Rocky Linux", Thread: 10.128.0.110:Wr
2023-02-14 16:42:39   alert  : (pinloki-service); MaxScale 23.02.0 received fatal signal 11. Commit ID: f7721a27555a24ee1ed8d90a94b776367c66a1a7, System name: Linux, Release string: NAME="Rocky Linux", Thread: 10.128.0.110:Wr
2023-02-14 16:42:39   alert  : (pinloki-service); Statement currently being classified: none/unknown
2023-02-14 16:42:39   notice : (pinloki-service); For a more detailed stacktrace, install GDB and add 'debug=gdb-stacktrace' under the [maxscale] section.
  /lib64/libpthread.so.0(+0x12cf0): ??:?
  /usr/lib64/maxscale/libbinlogrouter.so(mariadb_rpl_fetch+0x406): _build/connector-c-prefix/src/connector-c/libmariadb/mariadb_rpl.c:269
  /usr/lib64/maxscale/libbinlogrouter.so(_ZN6maxsql10Connection11get_rpl_msgEv+0xea): server/modules/routing/pinloki/dbconnection.cc:95
  /usr/lib64/maxscale/libbinlogrouter.so(_ZN7pinloki6Writer3runEv+0xf94): server/modules/routing/pinloki/writer.cc:169 (discriminator 1)
  /usr/lib64/maxscale/libbinlogrouter.so(_ZSt13__invoke_implIvMN7pinloki6WriterEFvvEPS1_JEET_St21__invoke_memfun_derefOT0_OT1_DpOT2_+0x159): /usr/include/c++/8/bits/invoke.h:73 (discriminator 4)
  /usr/lib64/maxscale/libbinlogrouter.so(_ZSt8__invokeIMN7pinloki6WriterEFvvEJPS1_EENSt15__invoke_resultIT_JDpT0_EE4typeEOS6_DpOS7_+0x37): /usr/include/c++/8/bits/invoke.h:96
  /usr/lib64/maxscale/libbinlogrouter.so(_ZNSt6thread8_InvokerISt5tupleIJMN7pinloki6WriterEFvvEPS3_EEE9_M_invokeIJLm0ELm1EEEEDTcl8__invokespcl10_S_declvalIXT_EEEEESt12_Index_tupleIJXspT_EEE+0x43): /usr/include/c++/8/thread:244
  /usr/lib64/maxscale/libbinlogrouter.so(_ZNSt6thread8_InvokerISt5tupleIJMN7pinloki6WriterEFvvEPS3_EEEclEv+0x18): /usr/include/c++/8/thread:253
  /usr/lib64/maxscale/libbinlogrouter.so(_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJMN7pinloki6WriterEFvvEPS4_EEEEE6_M_runEv+0x1c): /usr/include/c++/8/thread:196
  /lib64/libstdc++.so.6(+0xc2ba3): ??:?
  /lib64/libpthread.so.0(+0x81cf): ??:?
  /lib64/libc.so.6(clone+0x43): :?
Writing core dump.



 Comments   
Comment by Georg Richter [ 2023-05-02 ]

markus makela Does it still happen with v3.3.5_pre1 ?

Comment by markus makela [ 2023-05-02 ]

I don't think we've seen this with that release.

Generated at Thu Feb 08 03:06:44 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.