#18336 closed bug (fixed)
GPF in LocaleDataBridge running mgba
Reported by: | korli | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta5 |
Component: | System/libroot.so | Version: | R1/beta4 |
Keywords: | r1beta4-fixes | Cc: | |
Blocked By: | Blocking: | #18344 | |
Platform: | x86-64 |
Description
Trying to run mgba from haikuports with locale enabled triggers a GPF in BPrivate::Libroot::LocaleNumericDataBridge::LocaleNumericDataBridge(bool)
To reproduce, remove the workaround patch for mgba at haikuports, build, install the package, run mgba-qt in the terminal.
This looks like a regression, the same version of mgba worked without patching begin 2022.
Attachments (1)
Change History (8)
by , 20 months ago
Attachment: | mgba-qt-12801-debug-29-03-2023-17-08-30.report added |
---|
comment:1 by , 20 months ago
rdx is 0x0064006e00690053
, that looks invalid. Uninitialized memory?
Actually it looks like UTF-16: <00>d<00>n<00>i<00>S
comment:2 by , 20 months ago
Seems to happen by a memcpy: https://cgit.haiku-os.org/haiku/tree/src/system/libroot/posix/locale/LocaleDataBridge.cpp#n95
comment:3 by , 20 months ago
Blocking: | 18344 added |
---|
comment:4 by , 20 months ago
#18344 was just reported, it looks pretty similar, also crashing in LocaleNumericDataBridge with a bogus pointer.
comment:6 by , 19 months ago
Milestone: | Unscheduled → R1/beta5 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
indeed. thanks!
comment:7 by , 19 months ago
Keywords: | r1beta4-fixes added |
---|
crash report