Skip to content
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

SEGV on Manjaro ARM 23.02 #689

Open
valerierx opened this issue Feb 25, 2023 · 0 comments
Open

SEGV on Manjaro ARM 23.02 #689

valerierx opened this issue Feb 25, 2023 · 0 comments

Comments

@valerierx
Copy link

valerierx commented Feb 25, 2023

Using latest hardinfo-git from the AUR on a Pinephone Pro running Phosh with Wayland, hardinfo crashes after displaying the main window.

Log

*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/hardinfo.c:41 (main) *** HardInfo version 0.6-alpha. Debug version.
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:284 (binreloc_init) *** initializing binreloc (hardcoded = 0)
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:307 (binreloc_init) *** done, trying to use binreloc paths.
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:318 (binreloc_init) *** searching for runtime data on these locations:
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:319 (binreloc_init) ***   lib: /usr/lib/hardinfo
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:320 (binreloc_init) ***  data: /usr/share/hardinfo
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:348 (binreloc_init) *** runtime data found!
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:558 (ui_init) *** initializing gtk+ UI
[New Thread 0xffffec3fee20 (LWP 53914)]
[New Thread 0xffffebbeee20 (LWP 53915)]
[New Thread 0xffffeb3dee20 (LWP 53916)]
[New Thread 0xffffeabcee20 (LWP 53917)]
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/hardinfo.c:114 (main) *** loading all modules
*** /usr/src/debug/hardinfo-git/hardinfo/shell/iconcache.c:27 (icon_cache_init) *** initializing icon cache
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:744 (module_load) *** gmodule resource for ``/usr/lib/hardinfo/modules/computer.so'' is (nil) (/usr/lib/hardinfo/modules/computer.so: undefined symbol: memory_devices_get_system_memory_types_str)
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:811 (module_load) *** cannot g_module_open(``computer.so''). permission problem?
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:813 (module_load) *** loading module computer.so failed: /usr/lib/hardinfo/modules/computer.so: undefined symbol: memory_devices_get_system_memory_types_str
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:744 (module_load) *** gmodule resource for ``/usr/lib/hardinfo/modules/benchmark.so'' is (nil) (/usr/lib/hardinfo/modules/benchmark.so: undefined symbol: memory_devices_get_system_memory_MiB)
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:811 (module_load) *** cannot g_module_open(``benchmark.so''). permission problem?
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:813 (module_load) *** loading module benchmark.so failed: /usr/lib/hardinfo/modules/benchmark.so: undefined symbol: memory_devices_get_system_memory_MiB
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:744 (module_load) *** gmodule resource for ``/usr/lib/hardinfo/modules/devices.so'' is 0xffffefa5e290 ((null))
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:762 (module_load) *** initializing module ``devices.so''
*** /usr/src/debug/hardinfo-git/hardinfo/shell/syncmanager.c:105 (sync_manager_add_entry) *** registering syncmanager entry ''Update PCI ID listing''
*** /usr/src/debug/hardinfo-git/hardinfo/shell/syncmanager.c:105 (sync_manager_add_entry) *** registering syncmanager entry ''Update USB ID listing''
*** /usr/src/debug/hardinfo-git/hardinfo/shell/syncmanager.c:105 (sync_manager_add_entry) *** registering syncmanager entry ''Update EDID vendor codes''
*** /usr/src/debug/hardinfo-git/hardinfo/shell/syncmanager.c:105 (sync_manager_add_entry) *** registering syncmanager entry ''Update IEEE OUI vendor codes''
*** /usr/src/debug/hardinfo-git/hardinfo/shell/syncmanager.c:105 (sync_manager_add_entry) *** registering syncmanager entry ''Update SD card manufacturer information''
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:808 (module_load) *** registering methods for module ``devices.so''
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:744 (module_load) *** gmodule resource for ``/usr/lib/hardinfo/modules/network.so'' is 0xffffefa5f110 ((null))
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:762 (module_load) *** initializing module ``network.so''
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:808 (module_load) *** registering methods for module ``network.so''
[New Thread 0xffffe5dfee20 (LWP 53926)]
[Thread 0xffffe5dfee20 (LWP 53926) exited]
[New Thread 0xffffe5dfee20 (LWP 53927)]
[New Thread 0xffffe47fee20 (LWP 53928)]
[Thread 0xffffe5dfee20 (LWP 53927) exited]
[New Thread 0xffffe5dfee20 (LWP 53929)]
[New Thread 0xffffe3cbee20 (LWP 53930)]
[Thread 0xffffe47fee20 (LWP 53928) exited]
[Thread 0xffffe5dfee20 (LWP 53929) exited]
[Thread 0xffffe3cbee20 (LWP 53930) exited]
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:744 (module_load) *** gmodule resource for ``/usr/lib/hardinfo/modules/computer.so'' is 0xffffefa9b890 ((null))
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:762 (module_load) *** initializing module ``computer.so''
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:808 (module_load) *** registering methods for module ``computer.so''
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/vendor.c:262 (vendor_init) *** initializing vendor list
*** /usr/src/debug/hardinfo-git/hardinfo/shell/syncmanager.c:105 (sync_manager_add_entry) *** registering syncmanager entry ''Update vendor list''
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/vendor.c:278 (vendor_init) *** searching for vendor data at /home/manjaro/.config/hardinfo/vendor.ids ...
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/vendor.c:278 (vendor_init) *** searching for vendor data at /usr/share/hardinfo/vendor.ids ...
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/vendor.c:281 (vendor_init) *** ... file exists.
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/vendor.c:145 (read_from_vendor_ids) *** using vendor.ids format loader for /usr/share/hardinfo/vendor.ids
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/vendor.c:246 (read_from_vendor_ids) *** ... found 323 match strings
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:1256 (moreinfo_init) *** initializing moreinfo
*** /usr/src/debug/hardinfo-git/hardinfo/shell/stock.c:79 (stock_icons_init) *** initializing stock icons
*** /usr/src/debug/hardinfo-git/hardinfo/shell/shell.c:753 (shell_init) *** initializing shell
*** /usr/src/debug/hardinfo-git/hardinfo/hardinfo/hardinfo.c:143 (main) *** entering gtk+ main loop
*** /usr/src/debug/hardinfo-git/hardinfo/modules/computer.c:497 (computer_get_virtualization) *** Detecting virtual machine
*** /usr/src/debug/hardinfo-git/hardinfo/modules/computer.c:536 (computer_get_virtualization) *** no virtual machine detected; assuming physical machine
[New Thread 0xffffe3cbee20 (LWP 53934)]
[New Thread 0xffffe5dfee20 (LWP 53935)]
[Thread 0xffffe3cbee20 (LWP 53934) exited]
[Thread 0xffffe5dfee20 (LWP 53935) exited]
[Detaching after fork from child process 53936]
[Detaching after fork from child process 53937]
[Detaching after fork from child process 53938]
[Detaching after fork from child process 53939]

Stacktrace

Thread 1 "hardinfo" received signal SIGSEGV, Segmentation fault.
0x0000fffff6e5a5c0 in ?? () from /usr/lib/libgdk-3.so.0
(gdb) where
#0  0x0000fffff6e5a5c0 in  () at /usr/lib/libgdk-3.so.0
#1  0x0000fffff6e5a624 in gdk_x11_display_error_trap_push () at /usr/lib/libgdk-3.so.0
#2  0x0000fffff6e6b3fc in  () at /usr/lib/libgdk-3.so.0
#3  0x0000fffff6e6b6a4 in  () at /usr/lib/libgdk-3.so.0
#4  0x0000fffff6e6e31c in gdk_x11_screen_get_window_manager_name () at /usr/lib/libgdk-3.so.0
#5  0x0000ffffec5c1f1c in detect_window_manager () at /usr/src/debug/hardinfo-git/hardinfo/modules/computer/os.c:167
#6  detect_desktop_environment () at /usr/src/debug/hardinfo-git/hardinfo/modules/computer/os.c:256
#7  computer_get_os () at /usr/src/debug/hardinfo-git/hardinfo/modules/computer/os.c:536
#8  0x0000ffffec5b8f64 in scan_os (reload=<optimized out>) at /usr/src/debug/hardinfo-git/hardinfo/modules/computer.c:181
#9  scan_os (reload=<optimized out>) at /usr/src/debug/hardinfo-git/hardinfo/modules/computer.c:178
#10 0x0000ffffec5b9048 in get_os () at /usr/src/debug/hardinfo-git/hardinfo/modules/computer.c:859
#11 0x0000aaaaaaaead6c in module_call_method (method=<optimized out>) at /usr/src/debug/hardinfo-git/hardinfo/hardinfo/util.c:631
#12 0x0000aaaaaab1a5d0 in shell_show_detail_view () at /usr/src/debug/hardinfo-git/hardinfo/shell/shell.c:1946
#13 module_selected (data=<optimized out>) at /usr/src/debug/hardinfo-git/hardinfo/shell/shell.c:2050
#14 0x0000fffff69e9480 in  () at /usr/lib/libgobject-2.0.so.0
#15 0x0000fffff6a07934 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#16 0x0000fffff6a07bf8 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#17 0x0000fffff72b16a0 in gtk_tree_selection_select_path () at /usr/lib/libgtk-3.so.0
#18 0x0000fffff72b187c in gtk_tree_selection_select_iter () at /usr/lib/libgtk-3.so.0
#19 0x0000aaaaaab102ac in select_first_tree_item (data=<optimized out>) at /usr/src/debug/hardinfo-git/hardinfo/shell/shell.c:720
#20 0x0000fffff6743c68 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#21 0x0000fffff6744240 in  () at /usr/lib/libglib-2.0.so.0
#22 0x0000fffff6744630 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#23 0x0000fffff714dcf4 in gtk_main () at /usr/lib/libgtk-3.so.0
#24 0x0000aaaaaaaddd48 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/hardinfo-git/hardinfo/hardinfo/hardinfo.c:145

EDIT: Running hardinfo as root dosen't solve the library/plugin loading errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant