-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash any time a Message is added to Log with Collapse Mode on #8
Comments
Sorry, I've tried a few times to repro it, but everything works fine for me. I don't have a Linux machine to test it, so that might be the source of the problem. |
Should leave it open until another Linux user can test. I managed to work around it by disabling it in code. |
The issue was open since April, so I don't expect a lot to happen there. But I'll reopen it for you, if it makes you happy ;) |
It's merely about keeping Issues open for visibility. I doubt many people develop enough on Linux to warrant even the plugin, but I enjoyed it and felt I'd do my part. |
Ported to 5.1.0 (see issue #11). Decided to try enabling Collapsed Mode again:
Just spit-balling here, but I wonder if the bit of code relating to the old error Edit: Apparently happens whether Collapsed is on or off, was lucky it worked before. Possibly a memory access issue. |
Background
I noticed there wasn't a Linux compile of UE4_MagicConsole but most plugins can compile without issue or much alteration if merely included in Engine/Plugins/Marketplace. Compile went well, aside from needing to fix an issue regarding regex byte-encoding and adding Linux to the whitelist so that Unreal Engine would compile it. (I created a #7 for those changes.)
Note: Unreal Engine 4.26.2.
Note: Linux x64
Behavior
Any time a message is added to the Enhanced Output Log (when it is open) it will crash if and only if Collapse Mode is on.
Expected Behavior
No crashes.
Steps to Reproduce
Failure Logs
`libUE4Editor-Slate.so!FTextBlockStyle::FTextBlockStyle(FTextBlockStyle const&) [/opt/UnrealEngine/Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h:226]
libUE4Editor-Slate.so!FSlateTextRun::FSlateTextRun(FRunInfo const&, TSharedRef<FString const, (ESPMode)0> const&, FTextBlockStyle const&, FTextRange const&) [/opt/UnrealEngine/Engine/Source/Runtime/Slate/Private/Framework/Text/SlateTextRun.cpp:268]
libUE4Editor-Slate.so!FSlateTextRun::Create(FRunInfo const&, TSharedRef<FString const, (ESPMode)0> const&, FTextBlockStyle const&, FTextRange const&) [/opt/UnrealEngine/Engine/Source/Runtime/Slate/Private/Framework/Text/SlateTextRun.cpp:19]
libUE4Editor-ConsoleEnhanced.so!FOutputLogTextLayoutMarshaller::AppendMessagesToTextLayout(TArray<TSharedPtr<FLogMessage, (ESPMode)0>, TSizedDefaultAllocator<32> > const&) [/opt/UnrealEngine/Engine/Plugins/Marketplace/ConsoleEnhanced/Source/ConsoleEnhanced/Private/SOutputLog.cpp:753]
libUE4Editor-ConsoleEnhanced.so!FOutputLogTextLayoutMarshaller::AppendMessage(char16_t const*, ELogVerbosity::Type, double, FName const&) [/opt/UnrealEngine/Engine/Plugins/Marketplace/ConsoleEnhanced/Source/ConsoleEnhanced/Private/SOutputLog.cpp:638]
libUE4Editor-ConsoleEnhanced.so!non-virtual thunk to SOutputLog::Serialize(char16_t const*, ELogVerbosity::Type, FName const&, double) [/opt/UnrealEngine/Engine/Plugins/Marketplace/ConsoleEnhanced/Source/ConsoleEnhanced/Private/SOutputLog.cpp:1301]`
The text was updated successfully, but these errors were encountered: