[MDEV-5988] Running mysqlcheck -A --auto-repair on OQGraph InnoDB backing table causes crashes on subsequent OQGRAPH queries. Created: 2014-03-31 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.10 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Heinz Wiesinger | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | oqgraph | ||
| Environment: |
CentOS 6 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
I have the weird situation that querying dijkstras shortest path on an OQGraph table, which has an InnoDB backing table sometimes results in a crash. Stacktrace attached. This is the query I run:
The weird thing is that after the server automatically restarts after the crash, the query works. Then I run mysqlcheck on the entire database and after running it the query causes the crash again. So I somehow ended up in an endless loop here :/ |
| Comments |
| Comment by Elena Stepanova [ 2014-03-31 ] |
|
I presume the problem might be related to |
| Comment by Heinz Wiesinger [ 2014-03-31 ] |
|
Doesn't look like it's got anything to do with InnoDB after all. I converted the table to MyISAM and I'm still getting the same behavior. |
| Comment by Elena Stepanova [ 2014-03-31 ] |
|
What exactly are you getting with MyISAM? |
| Comment by Heinz Wiesinger [ 2014-03-31 ] |
|
Attaching the log of the crash with myisam. It looked close enough to the original crash backtrace to me, but maybe it isn't. |
| Comment by Andrew McDonnell [ 2014-04-02 ] |
|
Are you able to post the table definition and insert statements leading up? |
| Comment by Heinz Wiesinger [ 2014-04-02 ] |
|
Table definition is the same as the one I posted in |
| Comment by Andrew McDonnell [ 2014-04-08 ] |
|
Are you able to repeat using a debug build instead? These stack traces are C++ mangled function names and no line numbers which is somewhat more tricky to work out where the crash happened. They do both look quite different as well... |
| Comment by Heinz Wiesinger [ 2014-04-10 ] |
|
I managed to reproduce this very easily with the examples on https://mariadb.com/kb/en/oqgraph-examples/ . I could unfortunately not reproduce the crash with MyISAM like this, but it happened under the same circumstances. |
| Comment by Andrew McDonnell [ 2014-04-11 ] |
|
WIthout having dove into the detail yet, based on 'do not restart the server' my prediction is that that that tool does stuff to memory that oqgraph may be (incorrectly) hanging onto or not told to release (not listening for some notification from the server). Will try and repeat this next week |