[MXS-3866] Crash in MaxScale Created: 2021-11-10  Updated: 2021-11-19  Resolved: 2021-11-19

Status: Closed
Project: MariaDB MaxScale
Component/s: N/A
Affects Version/s: 6.1.1
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Relates
relates to MXS-3796 maxscale 6.1.2 killed by SystemD watc... Closed

 Description   

  /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(_Z12gwbuf_appendP5GWBUFS0_+0x9): server/core/buffer.cc:523
  /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN3DCB13writeq_appendEP5GWBUFNS_5DrainE+0x6c): server/core/dcb.cc:639
  /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN24MariaDBBackendConnection17finish_connectionEv+0x5d): server/modules/protocol/MariaDB/mariadb_backend.cc:179
  /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN3DCB7destroyEv+0x55): server/core/dcb.cc:788
  /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN8maxscale13RoutingWorker14delete_zombiesEv+0x61): /usr/include/c++/8/bits/stl_vector.h:895
  /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN8maxscale13RoutingWorker10epoll_tickEv+0x1d): /usr/include/c++/8/bits/stl_iterator.h:784
  /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase6Worker15poll_waiteventsEv+0x359): maxutils/maxbase/src/worker.cc:784
  /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(_ZN7maxbase6Worker3runEPNS_9SemaphoreE+0x4f): maxutils/maxbase/src/worker.cc:562
  /lib64/libstdc++.so.6(+0xc2ba3): ??:?
  /lib64/libpthread.so.0(+0x814a): pthread_create.c:?
  /lib64/libc.so.6(clone+0x43): :?



 Comments   
Comment by markus makela [ 2021-11-11 ]

The crash happens when a final COM_QUIT packet is being written into the socket. The reason why it crashes seems to be caused by the previous buffer in the writeq being invalid which suggests that this could be another manifestation of MXS-3796.

Comment by markus makela [ 2021-11-19 ]

Closing as a duplicate of MXS-3796.

Generated at Thu Feb 08 04:24:31 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.