Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.11.8, 10.5
Description
clang-18
10.5 |
/source/mysys/mf_keycache.c:5950:11: runtime error: call to function init_simple_key_cache through pointer to incorrect function type 'int (*)(void *, unsigned int, unsigned long, unsigned int, unsigned int, unsigned int)'
|
/source/mysys/mf_keycache.c:480: note: init_simple_key_cache defined here
|
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /source/mysys/mf_keycache.c:5950:11
|
And
/source/mysys/mf_keycache.c:6152:5: runtime error: call to function end_simple_key_cache through pointer to incorrect function type 'void (*)(void *, char)'
|
/source/mysys/mf_keycache.c:957: note: end_simple_key_cache defined here
|
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /source/mysys/mf_keycache.c:6152:5
|
Attachments
Issue Links
- blocks
-
MDBF-741 Remove the gcc UBSAN builder to use the clang based UBSAN
-
- In Testing
-
- duplicates
-
MDEV-35531 UBSAN: runtime error: call to function init_simple_key_cache through pointer to incorrect function type
-
- Closed
-
- is part of
-
MDEV-25454 Make MariaDB server UBSAN safe
-
- Confirmed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link | This issue is part of MDEV-25454 [ MDEV-25454 ] |
Description |
clang-18 {noformat:title=10.5} /source/mysys/mf_keycache.c:5950:11: runtime error: call to function init_simple_key_cache through pointer to incorrect function type 'int (*)(void *, unsigned int, unsigned long, unsigned int, unsigned int, unsigned int)' /source/mysys/mf_keycache.c:480: note: init_simple_key_cache defined here SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /source/mysys/mf_keycache.c:5950:11 {noformat} |
clang-18
{noformat:title=10.5} /source/mysys/mf_keycache.c:5950:11: runtime error: call to function init_simple_key_cache through pointer to incorrect function type 'int (*)(void *, unsigned int, unsigned long, unsigned int, unsigned int, unsigned int)' /source/mysys/mf_keycache.c:480: note: init_simple_key_cache defined here SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /source/mysys/mf_keycache.c:5950:11 {noformat} And {noformat} /source/mysys/mf_keycache.c:6152:5: runtime error: call to function end_simple_key_cache through pointer to incorrect function type 'void (*)(void *, char)' /source/mysys/mf_keycache.c:957: note: end_simple_key_cache defined here SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /source/mysys/mf_keycache.c:6152:5 {noformat} |
Assignee | Daniel Black [ danblack ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Link |
This issue duplicates |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.11 [ 27614 ] | |
Resolution | Duplicate [ 3 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |