[MCOL-1826] PrimProc crash in float/double to string conversion Created: 2018-10-21 Updated: 2020-08-25 Resolved: 2018-11-12 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | PrimProc |
| Affects Version/s: | 1.1.5 |
| Fix Version/s: | 1.1.7, 1.2.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Roman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Sprint: | 2018-19, 2018-20 |
| Description |
|
Steps to reproduce: 1. Create table
2. Run the attached PHP script as follows:
3. Insert the data:
4. Run the query:
PrimProc will crash most of the time (may require a ColumnStore restart and retry if it doesn't) |
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2018-10-21 ] | ||||||||||||||||||||
|
Cause appears to be class global fFloatStr being used by multiple threads for multiple blocks during sringValue. Causing a race-style crash. | ||||||||||||||||||||
| Comment by Andrew Hutchings (Inactive) [ 2018-10-22 ] | ||||||||||||||||||||
|
For QA: see description. This is a race condition so may not happen 100% of the time (but I was hitting it every time) | ||||||||||||||||||||
| Comment by Roman [ 2018-11-12 ] | ||||||||||||||||||||
|
Fixed both in develop with HEAD at
and
|