[ODBC-130] 'unicode' test segmentation fault on s390x due to pointer casting Created: 2018-01-18 Updated: 2021-06-10 Resolved: 2021-06-10 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | General |
| Affects Version/s: | 3.0.2 |
| Fix Version/s: | 3.1.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Faiz Akhtar | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Arch: s390x (big endian) |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Test 'unicode' is failing with segmentaion fault on s390x. At ma_error.c:289 casting of (MARIADB_CHARSET_INFO **) into (Client_Charset *) is done which causes garbage values on s390x but not on x86. Creating a new Client_Charset object and passing its address to MADB_SetString is fixing the segmentation fault at this point,
but after execution goes ahead segmentation fault occurs at ma_error.c:289
Could you please suggest a fix? Attached gdb logs for s390x and x86. |
| Comments |
| Comment by Lawrin Novitsky [ 2021-06-07 ] |
|
And same request regarding this ticket, please |
| Comment by Nayana [ 2021-06-09 ] |
|
Yes. This ticket can be closed as we do not see this failure now. |
| Comment by Lawrin Novitsky [ 2021-06-10 ] |
|
This has been fixed by merged 3rd party PR |