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

Fix segfault on startup of application on Kubuntu 22.04 #47

Closed
silverv opened this issue Jun 14, 2022 · 3 comments
Closed

Fix segfault on startup of application on Kubuntu 22.04 #47

silverv opened this issue Jun 14, 2022 · 3 comments
Assignees
Labels

Comments

@silverv
Copy link
Contributor

silverv commented Jun 14, 2022

No description provided.

@silverv silverv added the bug label Jun 14, 2022
@silverv
Copy link
Contributor Author

silverv commented Jun 14, 2022

./Kucher
2022-06-14 21:32:10,058 pid=4444 INFO: quamash: Using Qt Implementation: PyQt5
2022-06-14 21:32:10,151 pid=4444 INFO: kucher.view.main_window.telega_control_widget.task_specific_status_widget: Loading module idle_status_widget for task ID <TaskID.IDLE: 1>
2022-06-14 21:32:10,151 pid=4444 INFO: kucher.view.main_window.telega_control_widget.task_specific_status_widget: Module is not defined - no task-specific status info for task <TaskID.IDLE: 1> is available
2022-06-14 21:32:10,151 pid=4444 INFO: kucher.view.main_window.telega_control_widget.task_specific_status_widget: Loading module fault_status_widget for task ID <TaskID.FAULT: 2>
2022-06-14 21:32:10,159 pid=4444 INFO: kucher.view.main_window.telega_control_widget.task_specific_status_widget: Module <module 'kucher.view.main_window.telega_control_widget.task_specific_status_widget.fault_status_widget' from '/tmp/_MEILVNcFd/kucher/view/main_window/telega_control_widget/task_specific_status_widget/fault_status_widget.pyc'> loaded successfully
2022-06-14 21:32:10,159 pid=4444 INFO: kucher.view.main_window.telega_control_widget.task_specific_status_widget: Loading module beep_status_widget for task ID <TaskID.BEEP: 3>
2022-06-14 21:32:10,159 pid=4444 INFO: kucher.view.main_window.telega_control_widget.task_specific_status_widget: Module is not defined - no task-specific status info for task <TaskID.BEEP: 3> is available
2022-06-14 21:32:10,159 pid=4444 INFO: kucher.view.main_window.telega_control_widget.task_specific_status_widget: Loading module run_status_widget for task ID <TaskID.RUN: 4>
2022-06-14 21:32:10,159 pid=4444 INFO: kucher.view.main_window.telega_control_widget.task_specific_status_widget: Module <module 'kucher.view.main_window.telega_control_widget.task_specific_status_widget.run_status_widget' from '/tmp/_MEILVNcFd/kucher/view/main_window/telega_control_widget/task_specific_status_widget/run_status_widget.pyc'> loaded successfully
2022-06-14 21:32:10,159 pid=4444 INFO: kucher.view.main_window.telega_control_widget.task_specific_status_widget: Loading module hardware_test_status_widget for task ID <TaskID.HARDWARE_TEST: 5>
2022-06-14 21:32:10,159 pid=4444 INFO: kucher.view.main_window.telega_control_widget.task_specific_status_widget: Module <module 'kucher.view.main_window.telega_control_widget.task_specific_status_widget.hardware_test_status_widget' from '/tmp/_MEILVNcFd/kucher/view/main_window/telega_control_widget/task_specific_status_widget/hardware_test_status_widget.pyc'> loaded successfully
2022-06-14 21:32:10,159 pid=4444 INFO: kucher.view.main_window.telega_control_widget.task_specific_status_widget: Loading module motor_identification_status_widget for task ID <TaskID.MOTOR_IDENTIFICATION: 6>
2022-06-14 21:32:10,160 pid=4444 INFO: kucher.view.main_window.telega_control_widget.task_specific_status_widget: Module <module 'kucher.view.main_window.telega_control_widget.task_specific_status_widget.motor_identification_status_widget' from '/tmp/_MEILVNcFd/kucher/view/main_window/telega_control_widget/task_specific_status_widget/motor_identification_status_widget.pyc'> loaded successfully
2022-06-14 21:32:10,160 pid=4444 INFO: kucher.view.main_window.telega_control_widget.task_specific_status_widget: Loading module low_level_manipulation_status_widget for task ID <TaskID.LOW_LEVEL_MANIPULATION: 7>
2022-06-14 21:32:10,160 pid=4444 INFO: kucher.view.main_window.telega_control_widget.task_specific_status_widget: Module is not defined - no task-specific status info for task <TaskID.LOW_LEVEL_MANIPULATION: 7> is available
2022-06-14 21:32:10,161 pid=4444 INFO: kucher.view.main_window.telega_control_widget.control_widget.low_level_manipulation_control_widget: Loading module calibration_widget for LLM mode <LowLevelManipulationMode.CALIBRATION: 1>
2022-06-14 21:32:10,162 pid=4444 INFO: kucher.view.main_window.telega_control_widget.control_widget.low_level_manipulation_control_widget: Loading module phase_manipulation_widget for LLM mode <LowLevelManipulationMode.PHASE_MANIPULATION: 2>
2022-06-14 21:32:10,162 pid=4444 INFO: kucher.view.main_window.telega_control_widget.control_widget.low_level_manipulation_control_widget: Loading module scalar_control_widget for LLM mode <LowLevelManipulationMode.SCALAR_CONTROL: 3>
2022-06-14 21:32:10,165 pid=4444 INFO: kucher.data_dir: Old log cleaner is waiting...
Segmentation fault (core dumped)

@pavel-kirienko
Copy link
Member

This is reproducible on a fresh Manjaro as well but only when running a frozen binary (not when running from sources). The segfault occurs somewhere inside libpthread according to GDB. A naïve Google search like "cx_freeze segfault pthread" reveals marcelotduarte/cx_Freeze#1132 which suggests that updating cx_Freeze might help.

@silverv
Copy link
Contributor Author

silverv commented Jun 16, 2022

This was solved, the binary is now available at https://files.zubax.com/products/com.zubax.kucher/v1.1.0.beta/linux-x86_64/

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

No branches or pull requests

2 participants