{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaDB/MySQL.jl/issues/44","repository_url":"https://api.github.com/repos/JuliaDB/MySQL.jl","labels_url":"https://api.github.com/repos/JuliaDB/MySQL.jl/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/JuliaDB/MySQL.jl/issues/44/comments","events_url":"https://api.github.com/repos/JuliaDB/MySQL.jl/issues/44/events","html_url":"https://github.com/JuliaDB/MySQL.jl/issues/44","id":151204675,"number":44,"title":"EXCEPTION_ACCESS_VIOLATION from mysql_stmt_execute with large inserts","user":{"login":"amellnik","id":7132414,"avatar_url":"https://avatars.githubusercontent.com/u/7132414?v=3","gravatar_id":"","url":"https://api.github.com/users/amellnik","html_url":"https://github.com/amellnik","followers_url":"https://api.github.com/users/amellnik/followers","following_url":"https://api.github.com/users/amellnik/following{/other_user}","gists_url":"https://api.github.com/users/amellnik/gists{/gist_id}","starred_url":"https://api.github.com/users/amellnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amellnik/subscriptions","organizations_url":"https://api.github.com/users/amellnik/orgs","repos_url":"https://api.github.com/users/amellnik/repos","events_url":"https://api.github.com/users/amellnik/events{/privacy}","received_events_url":"https://api.github.com/users/amellnik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-26T18:20:58Z","updated_at":"2016-04-27T20:10:02Z","closed_at":null,"body":"I'm seeing a new access violation error when performing large insert statements using the prepared statement version of ```mysql_execute```.  I haven't been able to localize the problem well -- inserting the same 10k rows works fine sometimes, but fails other times, and there's nothing that stands out about the rows near where the statement failed.  It seems possible that any individual row has a very small chance of failing as ```mysql_execute``` is called once per row.\r\n\r\nI'm also not sure what's supposed to be happening when it fails since the function in the highest level error apparently [does nothing](https://dev.mysql.com/doc/refman/5.7/en/mysql-stmt-param-metadata.html).  \r\n\r\nAny suggestions on the best way to look into this?  \r\n\r\n```\r\nPlease submit a bug report with steps to reproduce this fault, and any error mes\r\nsages that follow (in their entirety). Thanks.\r\nException: EXCEPTION_ACCESS_VIOLATION at 0x7ffd5117a299 -- mysql_stmt_param_meta\r\ndata at  (unknown line)\r\nmysql_stmt_param_metadata at C:\\Program Files\\MySQL\\MySQL Connector.C 6.1\\lib\\li\r\nbmysql.dll (unknown line)\r\nmysql_stmt_param_metadata at C:\\Program Files\\MySQL\\MySQL Connector.C 6.1\\lib\\li\r\nbmysql.dll (unknown line)\r\nmysql_stmt_param_metadata at C:\\Program Files\\MySQL\\MySQL Connector.C 6.1\\lib\\li\r\nbmysql.dll (unknown line)\r\nmysql_stmt_execute at C:\\Program Files\\MySQL\\MySQL Connector.C 6.1\\lib\\libmysql.\r\ndll (unknown line)\r\nmysql_stmt_execute at C:\\Users\\amellnik\\.julia\\v0.4\\MySQL\\src\\handy.jl:240\r\nmysql_execute at C:\\Users\\amellnik\\.julia\\v0.4\\MySQL\\src\\handy.jl:190\r\njlcall___mysql_execute#19___2926 at  (unknown line)\r\njl_apply_generic at C:\\Users\\amellnik\\AppData\\Local\\Julia-0.4.5\\bin\\libjulia.dll\r\n (unknown line)\r\njulia_mysql_execute_2925 at  (unknown line)\r\nexecuteReplaceStatement at C:\\Users\\amellnik\\Documents\\Julia libraries\\XXXX\\src\\XXXXX.jl:39\r\njlcall_XXXXXX_2892 at  (unknown line)\r\njl_apply_generic at C:\\Users\\amellnik\\AppData\\Local\\Julia-0.4.5\\bin\\libjulia.dll\r\n (unknown line)\r\njl_interpret_toplevel_expr at C:\\Users\\amellnik\\AppData\\Local\\Julia-0.4.5\\bin\\li\r\nbjulia.dll (unknown line)\r\njl_interpret_toplevel_thunk_with at C:\\Users\\amellnik\\AppData\\Local\\Julia-0.4.5\\\r\nbin\\libjulia.dll (unknown line)\r\njl_eval_with_compiler_p at C:\\Users\\amellnik\\AppData\\Local\\Julia-0.4.5\\bin\\libju\r\nlia.dll (unknown line)\r\njl_parse_eval_all at C:\\Users\\amellnik\\AppData\\Local\\Julia-0.4.5\\bin\\libjulia.dl\r\nl (unknown line)\r\njl_load_file_string at C:\\Users\\amellnik\\AppData\\Local\\Julia-0.4.5\\bin\\libjulia.\r\ndll (unknown line)\r\ninclude_string at loading.jl:282\r\njl_apply_generic at C:\\Users\\amellnik\\AppData\\Local\\Julia-0.4.5\\bin\\libjulia.dll\r\n (unknown line)\r\nexecute_request_0x535c5df2 at C:\\Users\\amellnik\\.julia\\v0.4\\IJulia\\src\\execute_r\r\nequest.jl:182\r\njlcall_execute_request_0x535c5df2_1580 at  (unknown line)\r\njl_apply_generic at C:\\Users\\amellnik\\AppData\\Local\\Julia-0.4.5\\bin\\libjulia.dll\r\n (unknown line)\r\neventloop at C:\\Users\\amellnik\\.julia\\v0.4\\IJulia\\src\\IJulia.jl:142\r\njl_apply_generic at C:\\Users\\amellnik\\AppData\\Local\\Julia-0.4.5\\bin\\libjulia.dll\r\n (unknown line)\r\nanonymous at task.jl:447\r\njl_unprotect_stack at C:\\Users\\amellnik\\AppData\\Local\\Julia-0.4.5\\bin\\libjulia.d\r\nll (unknown line)\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaDB/MySQL.jl/issues/comments/215212847","html_url":"https://github.com/JuliaDB/MySQL.jl/issues/44#issuecomment-215212847","issue_url":"https://api.github.com/repos/JuliaDB/MySQL.jl/issues/44","id":215212847,"user":{"login":"amellnik","id":7132414,"avatar_url":"https://avatars.githubusercontent.com/u/7132414?v=3","gravatar_id":"","url":"https://api.github.com/users/amellnik","html_url":"https://github.com/amellnik","followers_url":"https://api.github.com/users/amellnik/followers","following_url":"https://api.github.com/users/amellnik/following{/other_user}","gists_url":"https://api.github.com/users/amellnik/gists{/gist_id}","starred_url":"https://api.github.com/users/amellnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amellnik/subscriptions","organizations_url":"https://api.github.com/users/amellnik/orgs","repos_url":"https://api.github.com/users/amellnik/repos","events_url":"https://api.github.com/users/amellnik/events{/privacy}","received_events_url":"https://api.github.com/users/amellnik/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T20:10:02Z","updated_at":"2016-04-27T20:10:02Z","body":"@yuyichao This is an excellent list and I'll start going through these items as best I can.  Thanks!"}}