-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Hyprtasking crashing Hyprland at launch, Hyprland launches when Hyprtasking is disabled. #26
Comments
I've just included the Hyprland crash log, but it is reproducible on my end. If there's any other logs you need let me know. This is my first time submitting an Issue. |
same problem for me too, took me a while to understand why I couldnt login till I removed hyprtasking from my start upps im on Arch |
this isnt only this plugins issue, this is also effecting hyprspace for me aswell |
Based on the tail end of the log:
I want to say that this is an issue with the function hook API from upstream... But Hyprspace doesn't use any function hooks. Odd. This one might be hard to find, I'm not crashing on my machine on the same Hyprland commit. Related to hyprwm/Hyprland#8845? |
I'm encountering a similar error. Whenever I use Hyprstaking on my main monitor, Hyprland crashes and I'm logged out. |
I've pushed a commit that tells hyprpm to build the plugin in debug mode, which magically fixes the issue. The plugin should work now, while I figure out what is going on w it 👍 |
Hyprland Crash Report
"stable"
Hyprland received signal 11(SEGV)
Version: 0bd541f2fd902dbfa04c3ea2ccf679395e316887
Tag: v0.46.2
Date: Thu Dec 19 19:26:47 2024
Flags:
Hyprland seems to be running with plugins. This crash might not be Hyprland's fault.
Plugins:
()
System info:
System name: Linux
Node name: eos-box
Release: 6.12.10-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Sat, 18 Jan 2025 02:26:57 +0000
GPU:
09:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060] [10de:2487] (rev a1) (prog-if 00 [VGA controller])
os-release:
NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch"
BUILD_ID="2024.09.22"
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/general-system/endeavouros-installation"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"
Backtrace:
# | Hyprland(_Z12getBacktracev+0x61) [0x63319476fd41]
getBacktrace()
??:?
#1 | Hyprland(_ZN14NCrashReporter18createAndSaveCrashEi+0xb50) [0x6331946ed9f0]
NCrashReporter::createAndSaveCrash(int)
??:?
#2 | Hyprland(_Z25handleUnrecoverableSignali+0x71) [0x6331946813b1]
handleUnrecoverableSignal(int)
??:?
#3 | /usr/lib/libc.so.6(+0x411d0) [0x79437444c1d0]
??
??:0
#4 | /home/avery/.local/share/hyprpm/Hyprtasking/hyprtasking.so(+0xfa47f) [0x79435500647f]
??
??:0
#5 | /home/avery/.local/share/hyprpm/Hyprtasking/hyprtasking.so(+0xf83b7) [0x7943550043b7]
??
??:0
#6 | /home/avery/.local/share/hyprpm/Hyprtasking/hyprtasking.so(pluginInit+0x11d) [0x794355006063]
??
??:0
#7 | Hyprland(_ZN13CPluginSystem10loadPluginERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x3af) [0x63319483bc2f]
CPluginSystem::loadPlugin(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)
??:?
#8 | Hyprland(_Z14dispatchPlugin20eHyprCtlOutputFormatNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x458) [0x633194708928]
dispatchPlugin(eHyprCtlOutputFormat, std::__cxx11::basic_string<char, std::char_traits, std::allocator >)
??:?
#9 | Hyprland(ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE20eHyprCtlOutputFormatS5_EPS7_E9_M_invokeERKSt9_Any_dataOS6_OS5+0x71) [0x633194702f91]
std::_Function_handler<std::__cxx11::basic_string<char, std::char_traits, std::allocator > (eHyprCtlOutputFormat, std::__cxx11::basic_string<char, std::char_traits, std::allocator >), std::__cxx11::basic_string<char, std::char_traits, std::allocator > ()(eHyprCtlOutputFormat, std::__cxx11::basic_string<char, std::char_traits, std::allocator >)>::_M_invoke(std::_Any_data const&, eHyprCtlOutputFormat&&, std::__cxx11::basic_string<char, std::char_traits, std::allocator >&&)
??:?
#1 | Hyprland(_ZN8CHyprCtl8getReplyENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x612) [0x63319470a5f2]
CHyprCtl::getReply(std::__cxx11::basic_string<char, std::char_traits, std::allocator >)
??:?
#11 | Hyprland(_Z13hyprCtlFDTickijPv+0x4ed) [0x63319470af2d]
hyprCtlFDTick(int, unsigned int, void)
??:?
#12 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x1f2) [0x794374f8b112]
??
??:0
#13 | /usr/lib/libwayland-server.so.0(wl_display_run+0x37) [0x794374f8d1f7]
??
??:0
#14 | Hyprland(_ZN17CEventLoopManager9enterLoopEv+0x2d8) [0x6331948047e8]
CEventLoopManager::enterLoop()
??:?
#15 | Hyprland(main+0xac8) [0x633194652908]
main
??:?
#16 | /usr/lib/libc.so.6(+0x29e08) [0x794374434e08]
??
??:0
#17 | /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x794374434ecc]
??
??:0
#18 | Hyprland(_start+0x25) [0x63319467d575]
_start
??:?
Log tail:
[LOG] [CWLCompositorResource] New wl_surface with id 37 at 6331aaccaf40
[LOG] CWLSurface 6331aacd5000 called init()
[LOG] LayerSurface 6331aa4ac390 (namespace hotspot layer 3) created on monitor DP-2
[LOG] [CLayerShellProtocol] New wlr_layer_surface 6331aa4ac390
[LOG] Socket2 accepted a new client at FD 117
[LOG] LayerSurface 6331aaf6a0c0 mapped
[LOG] [hookSystem] New hook event registered: openLayer
[LOG] LayerSurface 6331aaea2120 mapped
[LOG] LayerSurface 6331aa4ac390 mapped
[LOG] [CXDGShellProtocol] New xdg_wm_base at 6331aac0dac0
[LOG] [CXDGShellProtocol] New xdg_wm_base at 6331ab1deda0
[LOG] [CDRMLeaseDeviceResource] Sending DRMFD 130 to new lease device
[LOG] [CWLSeatProtocol] New seat resource bound at 6331aacd75d0
[LOG] [CWLCompositorResource] New wl_surface with id 24 at 6331aacce3d0
[LOG] XWayland is ready
[LOG] xfixes version: 6.0
[LOG] xres version: 1.2
[LOG] [seatmgr] Rejecting a setCursor because the client ain't in focus
[LOG] [CWLDataDeviceProtocol] New datamgr resource bound at 6331ab1a5180
[LOG] [CPrimarySelectionProtocol] New primary_seletion_manager at 6331aacd25f0
[LOG] [CXDGOutputProtocol] New xdg_output for DP-1: client 6331ab1d7810 (not xwayland)
[LOG] [CXDGOutputProtocol] New xdg_output for DP-2: client 6331ab1d7810 (not xwayland)
[LOG] [CSHMPool] Resizing a SHM pool from 2304 to 8704
[LOG] [CSHMPool] Resizing a SHM pool from 8704 to 21504
[LOG] [CSHMPool] Resizing a SHM pool from 21504 to 47104
[LOG] [CSHMPool] Resizing a SHM pool from 47104 to 98304
[LOG] [CSHMPool] Resizing a SHM pool from 98304 to 200704
[LOG] [CSHMPool] Resizing a SHM pool from 200704 to 405504
[LOG] [CSHMPool] Resizing a SHM pool from 405504 to 815104
[LOG] [CSHMPool] Resizing a SHM pool from 815104 to 1634304
[LOG] [CWLSeatProtocol] New seat resource bound at 6331ab0f0640
[LOG] [CWLCompositorResource] New wl_surface with id 23 at 6331aacced30
[LOG] [CPrimarySelectionManager] New primary selection data device bound at 6331ab1de680
[LOG] [CWLDataDeviceManagerResource] New data device bound at 6331ab14d450
[LOG] [CWLCompositorResource] New wl_surface with id 26 at 6331ab317260
[LOG] [CWLSeatProtocol] New seat resource bound at 6331ab170f00
[LOG] [CWLCompositorResource] New wl_surface with id 18 at 6331ab31d210
[LOG] [CWLCompositorResource] New wl_region with id 19 at 6331aac0d6d0
[LOG] CWLSurface 6331ab2218f0 called init()
[LOG] LayerSurface 6331a937f090 (namespace hyprpaper layer 0) created on monitor DP-1
[LOG] [CLayerShellProtocol] New wlr_layer_surface 6331a937f090
[LOG] [CWLCompositorResource] New wl_surface with id 23 at 6331ab31d830
[LOG] [CWLCompositorResource] New wl_region with id 24 at 6331aac0f5a0
[LOG] CWLSurface 6331ab1e9ab0 called init()
[LOG] LayerSurface 6331a80a33a0 (namespace hyprpaper layer 0) created on monitor DP-2
[LOG] [CLayerShellProtocol] New wlr_layer_surface 6331a80a33a0
[LOG] [CWLCompositorResource] New wl_region with id 24 at 6331ab0f6030
[LOG] LayerSurface 6331a937f090 mapped
[LOG] [CWLCompositorResource] New wl_region with id 19 at 6331aafa3d70
[LOG] LayerSurface 6331a80a33a0 mapped
[LOG] LayerSurface 6331aaf6a0c0 destroyed
[LOG] Forcing an unmap of a LS that did a straight destroy!
[LOG] LayerSurface 6331aaf6a0c0 unmapped
[LOG] [hookSystem] New hook event registered: closeLayer
[LOG] Framebuffer created, status 36053
[LOG] CWLSurface 6331aacdc2f0 called destroy()
[LOG] [Hyprtasking] Attempting hook _ZN13CHyprRenderer15renderWorkspaceEN9Hyprutils6Memory14CSharedPointerI8CMonitorEENS2_I10CWorkspaceEEP8timespecRKNS0_4Math4CBoxE
[LOG] getAddressForTrampo: Allocating new page for hooks
[LOG] seekNewPageAddr: page 0x40473000 - 0x4051f000
[LOG] seekNewPageAddr: page 0x41191000 - 0x41193000
[LOG] seekNewPageAddr: found gap: 0x4051f000-0x41191000 (13049856 bytes)
[LOG] Attempted to allocate 0x4051f000, got 0x4051f000
[LOG] getAddressForTrampo: Returning addr 0x4051f000 for page at 0x4051f000
[LOG] [Hyprtasking] Attempting hook _ZN13CHyprRenderer18shouldRenderWindowEN9Hyprutils6Memory14CSharedPointerI7CWindowEENS2_I8CMonitorEE
[LOG] getAddressForTrampo: Returning addr 0x4051f040 for page at 0x4051f000
The text was updated successfully, but these errors were encountered: