Raised This Month: $ Target: $400
 0% 

MySQL 1.8.3 git4314+ Segmentation Fault


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sho0ter
Member
Join Date: Oct 2009
Location: Ukraine
Old 01-17-2015 , 18:19   MySQL 1.8.3 git4314+ Segmentation Fault
Reply With Quote #1

Hello.
SQL_ThreadQuery causes segmentation fault in latest git version of Amx Mod X 1.8.3.
Tested older builds: on git4288 works fine, but on newer I got segmentation fault.
HLDS 6153, Debian Wheezy i386.
__________________
Sry for my bad english. Im using translator.
Sho0ter is offline
Send a message via ICQ to Sho0ter Send a message via Skype™ to Sho0ter
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-18-2015 , 04:21   Re: MySQL 1.8.3 git4314+ Segmentation Fault
Reply With Quote #2

Can you try git4495? This should be before changes to build in C++11 mode.
- If no crash, try git4502, which is after this above change.
- if crash, try git4465, which should be before the change about Reconnect feature.

I can see only these 2 changes related to Mysql.

Thanks for testing.
__________________
Arkshine is offline
Sho0ter
Member
Join Date: Oct 2009
Location: Ukraine
Old 01-18-2015 , 07:55   Re: MySQL 1.8.3 git4314+ Segmentation Fault
Reply With Quote #3

Quote:
Originally Posted by Arkshine View Post
Can you try git4495? This should be before changes to build in C++11 mode.
- If no crash, try git4502, which is after this above change.
- if crash, try git4465, which should be before the change about Reconnect feature.

I can see only these 2 changes related to Mysql.

Thanks for testing.
On 4495 and 4465 crashed =\
I'm tried all versions above 4288. All of them crashed the server.
__________________
Sry for my bad english. Im using translator.

Last edited by Sho0ter; 01-18-2015 at 07:57.
Sho0ter is offline
Send a message via ICQ to Sho0ter Send a message via Skype™ to Sho0ter
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-18-2015 , 08:28   Re: MySQL 1.8.3 git4314+ Segmentation Fault
Reply With Quote #4

I have a hard time to figure out what are the changes as number after "git" is arbitrary. -_-

If I trust waterfall page, the next build after git4288 includes the Pull Request about reorganizing project files and sometimes converting some libraries to AMTL libraries (like CString to ke::AString). So something wrong with this libraries conversion.

Why no one has reported the issue? I mean it's like several months ago, I find hard to believe among 100 servers with AMXX version > 4288, no one use Mysql.

Let me test mysql, do you have some specific context to how to reproduce? Or just using the version crash right away?
__________________
Arkshine is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 01-18-2015 , 08:38   Re: MySQL 1.8.3 git4314+ Segmentation Fault
Reply With Quote #5

Quote:
Originally Posted by Arkshine View Post
Why no one has reported the issue? I mean it's like several months ago, I find hard to believe among 100 servers with AMXX version > 4288, no one use Mysql.
https://forums.alliedmods.net/showthread.php?t=250939
https://bugs.alliedmods.net/show_bug.cgi?id=6291
Aren't those connected?
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
Old 01-18-2015, 08:41
Sho0ter
This message has been deleted by Sho0ter. Reason: Wait a moment
Sho0ter
Member
Join Date: Oct 2009
Location: Ukraine
Old 01-18-2015 , 08:53   Re: MySQL 1.8.3 git4314+ Segmentation Fault
Reply With Quote #6

Simple queries don't crash the server. You can reproduce this bug with this:
Attached Files
File Type: zip test.zip (1.8 KB, 70 views)
__________________
Sry for my bad english. Im using translator.

Last edited by Sho0ter; 01-18-2015 at 08:55.
Sho0ter is offline
Send a message via ICQ to Sho0ter Send a message via Skype™ to Sho0ter
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-18-2015 , 09:09   Re: MySQL 1.8.3 git4314+ Segmentation Fault
Reply With Quote #7

Maybe GuskiS!

Thanks shoOter, going to test that now.
__________________
Arkshine is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-18-2015 , 14:02   Re: MySQL 1.8.3 git4314+ Segmentation Fault
Reply With Quote #8

This has been fixed in latest dev build (git4530+).
__________________
Arkshine is offline
Sho0ter
Member
Join Date: Oct 2009
Location: Ukraine
Old 01-18-2015 , 18:48   Re: MySQL 1.8.3 git4314+ Segmentation Fault
Reply With Quote #9

Quote:
Originally Posted by Arkshine View Post
This has been fixed in latest dev build (git4530+).
It works now. Thanks
__________________
Sry for my bad english. Im using translator.
Sho0ter is offline
Send a message via ICQ to Sho0ter Send a message via Skype™ to Sho0ter
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode