-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Note: i am not expecting some fancy solution to this, i'm just suggesting that it doesn't crash
My window manager(i3) starts applications as tiles with forced sizes by default. Fuse does not like this, and segfaults. I figured out that was the reason, as adding a float override to the window title in i3's config solved the issue.
Stack trace:
Program received signal SIGSEGV, Segmentation fault.
0x00005555558edaa4 in uBuildMemory(uType*) ()
(gdb) bt
#0 0x00005555558edaa4 in uBuildMemory(uType*) ()
#1 0x00005555558f447f in uType::Build() [clone .part.187] ()
#2 0x00005555558f3826 in uGetParameterization(uTypeKey const&) ()
#3 0x00005555558f3f68 in uType::MakeType(uType*, ...) ()
#4 0x00005555558a34fe in g::Uno::Platform::CoreApp_build(uType*) ()
#5 0x00005555558f4980 in uType::Init() ()
#6 0x00005555558a6f53 in g::Uno::Platform::CoreApp::Current() ()
#7 0x0000555555858092 in g::Uno::Application::Current1() ()
#8 0x00005555558b2183 in g::Uno::Runtime::Implementation::Internal::Bootstrapper::OnWindowSizeChanged(Xli::Window*) ()
#9 0x00005555558ec21c in uMainLoop::OnSizeChanged(Xli::Window*) ()
#10 0x00005555558fe39a in Xli::Window::ProcessMessages() ()
#11 0x00005555558eca1b in uMainLoop::uMainLoop() ()
#12 0x0000555555589326 in main ()
Expected behavior
App launches in some way shape or form
Actual behavior
Segfault
Suggested fix
My assumption is that uno is making assumptions based on an expected window size. I think, without looking at the code, that basing all size calculations on the actual window size coud fix this. But it's probably not that easy.
OS details
➜ ~ screenfetch
-`
.o+` petterroea@petterroea-arch
`ooo/ OS: Arch Linux
`+oooo: Kernel: x86_64 Linux 5.1.4-arch1-1-ARCH
`+oooooo: Uptime: 9h 15m
-+oooooo+: Packages: 1357
`/:-:++oooo+: Shell: zsh 5.7.1
`/++++/+++++++: Resolution: 7680x2160
`/++++++++++++++: DE: KDE
`/+++ooooooooooooo/` WM: i3
./ooosssso++osssssso+` CPU: Intel Core i7-8700K @ 12x 4.7GHz [27.8°C]
.oossssso-````/ossssss+` GPU: GeForce GTX 1060 6GB
-osssssso. :ssssssso. RAM: 10554MiB / 15973MiB
:osssssss/ osssso+++.
/ossssssss/ +ssssooo/-
`/ossssso+/:- -:/+osssso+-
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels