-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
I am getting a crash in this code block in wtftw/core/src/config.rs
It seems to be in the first line as I have gotten output from debug! just before result().
Any thoughts
if let Ok(lib) = DynamicLibrary::open(Some(&Path::new(&libname.unwrap().unwrap().path().as_os_str().to_str().unwrap()))) {
unsafe {
if let Ok(symbol) = lib.symbol("configure") {
let result = mem::transmute::<*mut u8, extern fn(&mut WindowManager,
&dyn WindowSystem,
&mut Config)>(symbol);
self.internal.library = Some(lib);
result(m, w, self);
} else {
error!("Error loading config module")
}
}
}
Oct 30 14:58:18 crow kernel: [71420.391043] wtftw[30277]: segfault at 557992ebae08 ip 00007f51e45d4dee sp 00007ffce4888270 error 7 in libconfig.so[7f51e41c5000+5b7000]
Oct 30 14:58:18 crow kernel: [71420.391056] Code: 89 48 08 58 c3 0f 1f 80 00 00 00 00 48 83 ec 18 48 89 3c 24 48 89 74 24 08 89 54 24 10 48 8b 04 24 48 8b 4c 24 08 8b 54 24 10 <48> 89 08 89 50 08 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 83 ec 10
xhalo32
Metadata
Metadata
Assignees
Labels
No labels