# MySQL Crash in 2015R3 in Web Project

**URL:** <https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456>\
**Category:** Web\
**Created:** [October 22, 2015, 2:28am UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456 "2015-10-22T02:28:45Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jordan\_Morris](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@Jordan\_Morris](https://forum.xojo.com/u/Jordan_Morris)\
**Post date:** [October 22, 2015, 2:28am UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456/1 "2015-10-22T02:28:45Z")

</div>

I have a project the works fine in 2015R.2.4 The same project in 2015R3 hard crashes. You can duplicate the issue by creating a new web project add a button to the web page and add the following code to the button “Action” event:

` dim db as new MySQLCommunityServer
  db.port=3386
  db.host="SERVER"
  db.UserName="USERNAME"
  db.Password="PASSWORD"
  db.DatabaseName="DBNAME"
  if db.Connect=true then
    dim rec as RecordSet
    rec=db.SQLSelect("select * from ...'") <----Crashing here no error just prompts me to report the problem.
  end if`  
I will create a feedback ticket but wanted to see if anyone else has seen this.

---

<div class="post-metadata">

**Author:** ![Norman\_P](https://forum.xojo.com/letter_avatar_proxy/v4/letter/n/858c86/32.png) [@Norman\_P](https://forum.xojo.com/u/Norman_P)\
**Post date:** [October 22, 2015, 3:16am UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456/2 "2015-10-22T03:16:12Z")

</div>

copy & pasted your code into a new web project on OS X 10.9.5 using 2015r3  
runs fine

---

<div class="post-metadata">

**Author:** ![Jordan\_Morris](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@Jordan\_Morris](https://forum.xojo.com/u/Jordan_Morris)\
**Post date:** [October 22, 2015, 3:24am UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456/3 "2015-10-22T03:24:39Z")

</div>

Crashed for me on Windows 10 PC and a windows 8.1 PC. Runs fine if code is in a desktop app.

---

<div class="post-metadata">

**Author:** ![Tomas\_J](https://forum.xojo.com/user_avatar/forum.xojo.com/tomas_j/32/311_2.png) [@Tomas\_J](https://forum.xojo.com/u/Tomas_J)\
**Post date:** [October 22, 2015, 3:28am UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456/4 "2015-10-22T03:28:18Z")

</div>

Jordan, 32 or 64 Bit? If using try… catch clause does it still crash? I assume stand alone web server? In which user context? Same proviledges?

---

<div class="post-metadata">

**Author:** ![Jordan\_Morris](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@Jordan\_Morris](https://forum.xojo.com/u/Jordan_Morris)\
**Post date:** [October 22, 2015, 3:40am UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456/5 "2015-10-22T03:40:33Z")

</div>

Try catch does nothing in this case. Its a stand alone Web server running on the same privileges as xojo is. The same code in xojo 2015R2.5 runs just fine its only in 2015R3 that it crashes. Image Of Error message I get [](http://pasteboard.co/1yz2JMNV.png) It crashes right on the SQLSelect line. Its 32 bit mode in both the debugger and compiled mode that it will crash. Also crashes when compiled to a 64bit mode.

---

<div class="post-metadata">

**Author:** ![Norman\_P](https://forum.xojo.com/letter_avatar_proxy/v4/letter/n/858c86/32.png) [@Norman\_P](https://forum.xojo.com/u/Norman_P)\
**Post date:** [October 22, 2015, 3:44am UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456/6 "2015-10-22T03:44:09Z")

</div>

what version of mysql ?

is the report you submitted the one that gets sent f you click “Report Now” ?

---

<div class="post-metadata">

**Author:** ![Jordan\_Morris](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@Jordan\_Morris](https://forum.xojo.com/u/Jordan_Morris)\
**Post date:** [October 22, 2015, 3:52am UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456/7 "2015-10-22T03:52:33Z")

</div>

I submitted the report via the “Report Now”  
IDE Version : 2015 Release 3  
Location: RuntimeThread.cpp(1530)  
Condition: current == sCurrentThread-\>mThreadID  
Message:  
Platform: Windows 6.2

Mysql Version 5.6.17

---

<div class="post-metadata">

**Author:** ![Norman\_P](https://forum.xojo.com/letter_avatar_proxy/v4/letter/n/858c86/32.png) [@Norman\_P](https://forum.xojo.com/u/Norman_P)\
**Post date:** [October 22, 2015, 3:57am UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456/8 "2015-10-22T03:57:53Z")

</div>

just there is 41306 and 41307 - basically they’re duplicates  
the sql is fine  
its not the cause  
There’s a bug (I dont know the exact details) in the plugin  
41307 is one that we’ve seen and is already being looked into

---

<div class="post-metadata">

**Author:** ![Tomas\_J](https://forum.xojo.com/user_avatar/forum.xojo.com/tomas_j/32/311_2.png) [@Tomas\_J](https://forum.xojo.com/u/Tomas_J)\
**Post date:** [October 22, 2015, 6:32am UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456/9 "2015-10-22T06:32:42Z")

</div>

I will Check this against my WebApps with MySQL on Windows today.

---

<div class="post-metadata">

**Author:** ![Jeffrey\_Simons](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@Jeffrey\_Simons](https://forum.xojo.com/u/Jeffrey_Simons)\
**Post date:** [October 24, 2015, 4:51pm UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456/10 "2015-10-24T16:51:09Z")

</div>

Jordan - definitely seeing the same issue with web apps windows 10 and 7.

---

<div class="post-metadata">

**Author:** ![Christian\_Schmitz](https://forum.xojo.com/user_avatar/forum.xojo.com/christian_schmitz/32/158_2.png) [@Christian\_Schmitz](https://forum.xojo.com/u/Christian_Schmitz)\
**Post date:** [October 24, 2015, 9:22pm UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456/11 "2015-10-24T21:22:01Z")

</div>

You could try MBS SQL Plugin as an alternative to the built in plugin.

---

<div class="post-metadata">

**Author:** ![Rudolph\_Thomas](https://forum.xojo.com/user_avatar/forum.xojo.com/rudolph_thomas/32/697_2.png) [@Rudolph\_Thomas](https://forum.xojo.com/u/Rudolph_Thomas)\
**Post date:** [October 28, 2015, 1:48pm UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456/12 "2015-10-28T13:48:11Z")

</div>

Same issue here. My Webapp that was written on XOJO 2015R2.1 is fine. I’m testing and developing on a Windows Server 2012 and on Windows 8, 8.1 and 10. The app loads but crashes immediately as soon as I send Community MySQL calls. The actual database connects are fine but as soon as I start to SELECT data it crashes almost immediately although every now and then a SELECT completes but it does crash within moment after the first query.

---

<div class="post-metadata">

**Author:** ![Norman\_P](https://forum.xojo.com/letter_avatar_proxy/v4/letter/n/858c86/32.png) [@Norman\_P](https://forum.xojo.com/u/Norman_P)\
**Post date:** [October 28, 2015, 1:51pm UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456/13 "2015-10-28T13:51:27Z")

</div>

[quote=222887:@Norman Palardy]  
There’s a bug (I dont know the exact details) in the plugin  
41307 is one that we’ve seen and is already being looked into[/quote]  
And it’s being looked into ASAP

---

<div class="post-metadata">

**Author:** ![Rudolph\_Thomas](https://forum.xojo.com/user_avatar/forum.xojo.com/rudolph_thomas/32/697_2.png) [@Rudolph\_Thomas](https://forum.xojo.com/u/Rudolph_Thomas)\
**Post date:** [October 28, 2015, 2:01pm UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456/14 "2015-10-28T14:01:43Z")

</div>

Thanks Norman, Much appreciated.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 6:01pm UTC](https://forum.xojo.com/t/mysql-crash-in-2015r3-in-web-project/27456/15 "2020-10-29T18:01:09Z")

</div>


