[MDEV-3571] LP:624099 - ma_close.c:75: maria_close: Assertion `share->in_trans == 0' failed on UNLOCK TABLES Created: 2010-08-25 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Philip Stoev (Inactive) | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
When trying to load an OpenStreetMap dataset using the Osmosis tool, the server asserted as follows: mysqld: ma_close.c:75: maria_close: Assertion `share->in_trans == 0' failed. backtrace: #8 0x00897de8 in __assert_fail () from /lib/libc.so.6 bzr version-info: revision-id: <email address hidden> |
| Comments |
| Comment by Philip Stoev (Inactive) [ 2010-08-25 ] |
|
Re: ma_close.c:75: maria_close: Assertion `share->in_trans == 0' failed on UNLOCK TABLES |
| Comment by Philip Stoev (Inactive) [ 2010-08-25 ] |
|
What seems to be happening is that the script has tried to lock the table before inserting about 1 million rows into it. This causes massive maria log file growth and memory usage. The vardir and the logs are several Gb and therefore only the core and the binary are being uploaded at this time. |
| Comment by Philip Stoev (Inactive) [ 2010-08-26 ] |
|
Re: ma_close.c:75: maria_close: Assertion `share->in_trans == 0' failed on UNLOCK TABLES |
| Comment by Philip Stoev (Inactive) [ 2010-08-26 ] |
|
Database schema |
| Comment by Philip Stoev (Inactive) [ 2010-08-26 ] |
|
Re: ma_close.c:75: maria_close: Assertion `share->in_trans == 0' failed on UNLOCK TABLES 1. Create a database named "osm" chmod +x osmosis-0.36/bin/osmosis The tool will start loading the data and abort with a Java exception when the server has crashed. |
| Comment by Philip Stoev (Inactive) [ 2010-08-28 ] |
|
Re: ma_close.c:75: maria_close: Assertion `share->in_trans == 0' failed on UNLOCK TABLES |
| Comment by Philip Stoev (Inactive) [ 2010-08-28 ] |
|
To reproduce without any third-party tools, simply load this SQL dump using - |
| Comment by Michael Widenius [ 2011-02-10 ] |
|
Re: ma_close.c:75: maria_close: Assertion `share->in_trans == 0' failed on UNLOCK TABLES |
| Comment by Rasmus Johansson (Inactive) [ 2011-03-01 ] |
|
Launchpad bug id: 624099 |