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

[far2l -gui] Segmentation fault on first start on a clean machine #2689

Open
qrp73 opened this issue Mar 1, 2025 · 3 comments
Open

[far2l -gui] Segmentation fault on first start on a clean machine #2689

qrp73 opened this issue Mar 1, 2025 · 3 comments

Comments

@qrp73
Copy link

qrp73 commented Mar 1, 2025

Just tried to build the latest version from git (from 01-MAR-2025), and caught a segmentation fault error on far2l exit when starting it for the first time. It happened when I started it from the build folder using ./install/far2l -gui. At first glance, it worked fine, but when I exited, it led to a segmentation fault error. The second start works without any errors.

Только что попробовал собрать последнюю версию от 1 марта 2025 и поймал ошибку segmentation fault при выходе из far2l когда он был запущен первый раз на чистой машине. Это произошло, когда я запустил его из build папки как ./install/far2l -gui. На первый взгляд запуск прошел нормально, однако когда я вышел (по F10), это привело к ошибке segmentation fault. При повторном запуске ошибки не было.

The build was made with these options: cmake -DUSEWX=yes -DUSEUCD=yes -DPYTHON=no -DCMAKE_BUILD_TYPE=Release ..

It happens on a clean machine where far2l has never been started before. Version hash: cd70be2

@akruphi
Copy link
Contributor

akruphi commented Mar 2, 2025

Странно. У меня не воспроизводится.

Кстати, параметра -gui у far2l нет, но все нераспознанные параметры игнорируются (обрабатываемые параметры см по far2l -h).

А что у вас за "чистая машина"? Можете показать вывод far:about?

@qrp73
Copy link
Author

qrp73 commented Mar 3, 2025

А что у вас за "чистая машина"?

чистая в том смысле, что far2l на ней еще никогда не запускался, т.е. никаких конфигов в системе не было. Запуск производился без установки из папки build, т.е. ни конфигов, ни установленных файлов в системе не было - просто скомпилил и сразу запустил из build папки. Возможно это тоже как-то повлияло.

@akruphi
Copy link
Contributor

akruphi commented Mar 3, 2025

Запуск производился без установки из папки build, т.е. ни конфигов, ни установленных файлов в системе не было

Аналогично часто подобным образом тестирую в процессе разработки собственные сборки, либо указывая ключ far2l -u пустой_каталог либо даже переименовывая собственный ~/.config/far2l. Никогда описанный Вами глюк не проявлялся. Очень странно. Если будет повторяться, то интересно выяснить, что к нему приводит.

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

2 participants