[MDEV-9305] MariaDB Server Crashes while querying OQGRAPH. This happens when using connection pooling from an node.js application. Created: 2015-12-18 Updated: 2022-09-08 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - OQGRAPH |
| Affects Version/s: | 10.1.8, 10.0, 10.1 |
| Fix Version/s: | 10.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Ben Chege Ngumi | Assignee: | Andrew McDonnell |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Environment: |
Distributor ID: Ubuntu |
||
| Attachments: |
|
| Description |
|
|
| Comments |
| Comment by Elena Stepanova [ 2015-12-29 ] | |||||||||||||||||||||||
|
Does the crash always happen on the same query?
Please also attach your cnf file(s). Thanks. | |||||||||||||||||||||||
| Comment by Ben Chege Ngumi [ 2015-12-29 ] | |||||||||||||||||||||||
|
Yes - the crash is always after that query is run but not that the query crashes the service. i.e. I have attached the syslog log that has the crash information. all the files are stored as 'mariadb-bug-masukuma-bug.tgz' and the conf files as 'mariadb-bug-masukuma-bug-cnf.tgz' Thanks! | |||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-01-08 ] | |||||||||||||||||||||||
|
Thanks for the data.
Also, all cnf files in mariadb-bug-masukuma-bug-cnf.tgz are empty, their contents is commented. But you cannot be running on default settings only, at the very least you have binary log enabled, according to your logs. Could you please find and send missing cnf file(s)? If you don't know where they are, please paste or upload the output of SHOW GLOBAL VARIABLES command. Thanks. | |||||||||||||||||||||||
| Comment by richardeaxon [ 2016-01-19 ] | |||||||||||||||||||||||
|
I get a similar crash using OQGRAPH using the official MariaDB 10.0.23 RPM's on Centos 7. The crashes do not occur on every query but over time. Sometimes I can do many 100's of queries, sometimes one or two will cause a crash. I use various queries, but have been able to capture this one. Some of my tables contain foreign keys which I removed as a test. This did not help. Some of my queries contain unions too. 12 Connect root@localhost as anonymous on xxxxx 160119 3:14:31 [ERROR] mysqld got signal 11 ; To report this bug, see http://kb.askmonty.org/en/reporting-bugs We will try our best to scrape up some info that will hopefully help Server version: 10.0.23-MariaDB-log Thread pointer: 0x0x7f671ec21008 Trying to get some variables. Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains | |||||||||||||||||||||||
| Comment by richardeaxon [ 2016-01-21 ] | |||||||||||||||||||||||
|
I have uploaded a repeatable test case to reproduce the crash. Uploaded to ftp.askmonty.org/private as oqgraph_crash.tgz. Create a database called oqgraph_stress and source the schema.sql into the database. Then run stress.sh a couple of times to create the crash. If you want to immediately create the crash, run stress.sh in two sessions concurrently. As mentioned this is reproducible on Mariadb 10.0.23 supplied stock RPM's. | |||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-01-21 ] | |||||||||||||||||||||||
|
Ellerbrockr, thanks a lot for the test case. Release version produces a crash, debug version assertion failure.
| |||||||||||||||||||||||
| Comment by Andrew McDonnell [ 2016-01-22 ] | |||||||||||||||||||||||
|
Hi, elenst are you still able to reproduce this again after applying https://github.com/MariaDB/server/pull/152 ? | |||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-01-22 ] | |||||||||||||||||||||||
|
andymc73, I didn't try. If you are able to reproduce it easily before the patch, but not after the patch, then I suppose you can treat it as a duplicate, or better put it aside and close it together with | |||||||||||||||||||||||
| Comment by richardeaxon [ 2016-01-25 ] | |||||||||||||||||||||||
|
Hi, This issue is quite important for me. I see that Thanks. | |||||||||||||||||||||||
| Comment by richardeaxon [ 2016-01-26 ] | |||||||||||||||||||||||
|
Building 10.0.23 from sources after applying | |||||||||||||||||||||||
| Comment by Andrew McDonnell [ 2016-04-09 ] | |||||||||||||||||||||||
|
There is an updated pull request for |