Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The problem with the crash of the latest version #95

Closed
dok441 opened this issue Nov 19, 2021 · 9 comments
Closed

The problem with the crash of the latest version #95

dok441 opened this issue Nov 19, 2021 · 9 comments

Comments

@dok441
Copy link

dok441 commented Nov 19, 2021

Hello, I would like to report a problem with the faucet in the latest version of mysql. This usually happens after changing the maps randomly. After the maps has changed, either the server breaks down completely and nothing works, or writes this error and the server crashes.
Lua Panic! Something went horribly wrong!

"attempt to index a number value"Lua Panic! Something went horribly wrong!

"attempt to index a number value"
Mode https://github.com/Arizard/deathrun
OS: debian 11
The problem was on both 64x and 32 bit.

@FredyH
Copy link
Owner

FredyH commented Nov 20, 2021

Can you check both the debug.log file and the crashes folder if they contain any info about the crashes?

@dok441
Copy link
Author

dok441 commented Nov 20, 2021

https://pastebin.com/b4NbnCrf There is nothing special in the logs, the latter is just a connection to mysql

@FredyH
Copy link
Owner

FredyH commented Nov 22, 2021

Can you try using the 32 bit version of srcds (i.e. not the 32 bit version on the 64 bit beta branch) and see if it also crashes there?

If anyone else is also experiencing crashes since the latest update, please also report it here and let me know which addons you are using and what OS you are running.

@dok441
Copy link
Author

dok441 commented Nov 24, 2021

I checked the server not on beta 32, as a result, the mode with errors just breaks there.
https://pastebin.com/KtuWJW1n As a result, now I get a broken server sometimes after changing the maps.
https://steamcommunity.com/sharedfiles/filedetails/?id=1907060869 This hook causes an error most often, perhaps it's the case.

@NiXyos
Copy link

NiXyos commented Nov 28, 2021

hello, I have the same problem when I put the last version, it cannot find the connection to the base

@FredyH
Copy link
Owner

FredyH commented Nov 28, 2021

I published a new version that might have fixed this issue: https://github.com/FredyH/MySQLOO/releases/tag/9.7.2-beta-1
Please report back if that one still crashes.

@NiXyos
Copy link

NiXyos commented Nov 29, 2021

does not connect with MySQLOO 9.7.2, MySQLOO 9.6 version works fine except it spam and asks to download the latest version

[libk] addons/libk/lua/libk/server/sv_libk_database.lua:293: attempt to index field 'MySQLDB' (a nil value)

  1. prepareForSQL - addons/libk/lua/libk/server/sv_libk_database.lua:293
  2. findAllDbByField - addons/libk/lua/libk/server/sv_libk_model.lua:241
    3. findByPlayer - addons/libk/lua/libk/server/sv_libk_model.lua:554
    4. fn - addons/libk/lua/libk/server/sv_libk_player.lua:3
    5. unknown - addons/ulib/lua/ulib/shared/hook.lua:109

@FredyH
Copy link
Owner

FredyH commented Nov 29, 2021

The error you are getting is unrelated to crashes but rather due to an outdated version of mysqloolib being used by LibK.

I have created a pull request that provides an updated version in LibK.
However, it needs some more adjustments by the LibK maintainer.
For now, you can update the file like I did in the pull request and also add require("mysqloo") into the first line, then it should work in your case.

@FredyH
Copy link
Owner

FredyH commented Nov 30, 2021

Potentially fixed in 9.7.2

@FredyH FredyH closed this as completed Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants