[MDEV-5891] Assertion `! ((size_t)orig == (size_t)-1 && (size_t)dest == (size_t)-1)' failed in open_query::edges_cursor::fetch_row(..) with InnoDB backing table Created: 2014-03-17 Updated: 2014-05-26 Resolved: 2014-05-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.9 |
| Fix Version/s: | 10.0.11 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Andrew McDonnell |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | oqgraph | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
|
| Comments |
| Comment by Elena Stepanova [ 2014-03-17 ] | ||
|
The release version falls into a seemingly endless 100%-CPU-consuming loop. | ||
| Comment by Arjen Lentz [ 2014-03-18 ] | ||
|
Curious - pretty sure this worked before and isn't it part of the test suite also? | ||
| Comment by Elena Stepanova [ 2014-03-18 ] | ||
|
I peeked into the test suite while filing, it looked like it only uses MyISAM, but I did not dig deep. | ||
| Comment by Arjen Lentz [ 2014-03-19 ] | ||
|
You are correct, so far it only uses MyISAM for tests - we weren't sure if we could rely on InnoDB being present. | ||
| Comment by Elena Stepanova [ 2014-03-19 ] | ||
|
In case of InnoDB, it is fairly simple, you can add There are similar include files for some other plugins. For plugins which don't have the include files, you can do it in the same fashion as you load oqgraph itself – by adding --plugin-load-add=... and a switch for the plugin to your opt file. | ||
| Comment by Andrew McDonnell [ 2014-04-02 ] | ||
|
Believe it or not, in every single one of our test cases, we always insert at least one prior to doing a select! I suspect that assert should be removed and replaced with
I will try and test that soon | ||
| Comment by Andrew McDonnell [ 2014-04-02 ] | ||
|
I have repeated the infinite loop against innodb | ||
| Comment by Andrew McDonnell [ 2014-04-02 ] | ||
|
MyISAM and ariadb seem to work fine in release though | ||
| Comment by Andrew McDonnell [ 2014-04-02 ] | ||
|
(BTW I have an updated test suite that uses your method above and also repeats the tests for MyISAM and aria) | ||
| Comment by Andrew McDonnell [ 2014-04-02 ] | ||
|
This is now fixed in my maintenance branch, http://bazaar.launchpad.net/~andymc73/maria/oqgraph-maintenance If you merge the current head of this branch, you will also get my update tetsing archicture - I am using a common test suite for the core function with dollar-variables to repeat the test for innodb, aria and myisam I am unsure of the workflow here - I seem to have the ablity to CLOSE FIXED, but I would have thought it cant be resolved until merged into the trunk (which I cant do) | ||
| Comment by Elena Stepanova [ 2014-04-02 ] | ||
|
I have created a merge task https://mariadb.atlassian.net/browse/MDEV-6014 . | ||
| Comment by Heinz Wiesinger [ 2014-04-02 ] | ||
|
There's also | ||
| Comment by Andrew McDonnell [ 2014-05-26 ] | ||
|
This was merged in 10.0.11 and tests currently pass, so I hope I can take the liberty of resolving it... |