-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Description:
I usually keep my server up-to-date with the 3.3.5-solocraft branch + Trinity-Bots (https://github.com/trickerer/Trinity-Bots)/ on a monthly basis. Everything is fine but I have server crash since recent updates (I don't know precisely since when), some SQL syntax errors.
I thought it was due to NPCBots, that's why I've reinstalled a fresh Solocraft TC core.
The issue still happens, so it seems to be related to 3.3.5-solocraft branch. It seems some SQL query is wrong and/or SQL table structure.
I'll also try to see on my side if I'm able to resolve the issue.
Thx !
Current behaviour:
Log in server : OK
Log into world : OK but character can't move and client is disconnected
Debug log
TC> [1064] You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Full: 0x0000000000000001 Type: Player Low: 1' at line 1
Error while parsing SQL. Core fix required.
/home/wotlk/TC_3.3.5-solocraft/src/server/database/Database/MySQLConnection.cpp:610 in _HandleMySQLErrno ABORTED.
Segmentation fault
https://gist.github.com/kruchor/6521cff092a8624148c963b85332561c
Expected behaviour:
Disconnection should not happen.
Steps to reproduce the problem:
- git clone -b 3.3.5-solocraft https://github.com/TrinityCore/TrinityCoreCustomChanges.git TC_3.3.5-solocraft/
- compile
- create fresh account / character
- login into world => crash
Branch(es):
TrinityCore rev. bdab574 2024-08-19 01:28:18 +0000 (3.3.5-solocraft branch) (Unix, Debug, Static) (worldserver-daemon) ready...
TC> server debug
TC> TrinityCore rev. bdab574 2024-08-19 01:28:18 +0000 (3.3.5-solocraft branch) (Unix, Debug, Static)
Using SSL version: OpenSSL 3.0.13 30 Jan 2024 (library: OpenSSL 3.0.13 30 Jan 2024)
Using Boost version: 1.74.0
Using MySQL version: 101106
Using CMake version: 3.25.1
Compiled on: Linux 6.1.0-21-amd64
Automatic database updates are enabled for the following databases: Auth, Characters, World
Worldserver listening connections on port {}
Realmlist (Realm Id: 1) configured in port 8085
VMAPs status: Enabled. LineOfSight: 1, getHeight: 1, indoorCheck: 1
MMAPs status: Enabled
maps directory located in ../../data/maps. Total size: 291014951 bytes
vmaps directory located in ../../data/vmaps. Total size: 1326890216 bytes
mmaps directory located in ../../data/mmaps. Total size: 2019979420 bytes
Using enUS DBC Locale as default. All available DBC locales: enUS
Using World DB: TDB 335.24081
LoginDatabase queue size: 0
CharacterDatabase queue size: 0
WorldDatabase queue size: 0
TC rev. hash/commit:
TrinityCore rev. bdab574 2024-08-19 01:28:18 +0000 (3.3.5-solocraft branch) (Unix, Debug, Static) (worldserver-daemon)
TDB version:
TDB335.24081
Operating system:
root@wotlkVM-dev:~# cat /etc/debian_version ; echo ;dpkg -l|grep mariadb-server|grep -v rc
12.5
ii mariadb-server 1:10.11.6-0+deb12u1 amd64 MariaDB database server binaries
ii mariadb-server-core 1:10.11.6-0+deb12u1 amd64 MariaDB database core server files