Доброго дня - не запускается Carla: Gnome Regular ╰─ carla [1] 102392 segmentation fault carla
(In reply to Toxblh from comment #0) > Доброго дня - не запускается Carla: Доброго! Обновить бы её, может. > Gnome Regular > > ╰─ carla > [1] 102392 segmentation fault carla Можете повторить это в отладчике и сказать `bt`? Или достать backtrace из coredumpctl debug, если у вас такой сбор корок включён и если этот сегфолт с коркой попал в журнал.
В частности, интересно, она сама упала или это в ней плагин.
Ну я только её поставил, она упала и следом поставил с flatpak. Так, а как запустить в отладчике или coredumpctl достать?
``` ╰─ gdb --args python3 /usr/share/carla/carla GNU gdb (GDB) 14.1.0.56.d739d4fd457-alt1 (ALT Sisyphus) Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-alt-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from python3... This GDB supports auto-downloading debuginfo from the following URLs: <https://debuginfod.altlinux.org/> Enable debuginfod for this session? (y or [n]) Debuginfod has been disabled. To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. Missing separate debuginfo for /usr/bin/python3.12. Try to install the hash file /usr/lib/debug/.build-id/18/dde4dc2dac96ba8dec8b2101f08688e72a34a5.debug (No debugging symbols found in python3) (gdb) run Starting program: /usr/bin/python3 /usr/share/carla/carla Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2. Try to install the hash file /usr/lib/debug/.build-id/93/692bbc9607b7f6c4dba648fa0a728f94b97f3d.debug Missing separate debuginfo for /lib64/libm.so.6. Try to install the hash file /usr/lib/debug/.build-id/2a/17962bf0a77812fb411abc286a08a45440ed88.debug Missing separate debuginfo for /lib64/libc.so.6. Try to install the hash file /usr/lib/debug/.build-id/b6/7fc4a57d98569e0b581e7aff0c33e38bae9e18.debug [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Missing separate debuginfo for /usr/lib64/python3.12/lib-dynload/_json.cpython-312.so. Try to install the hash file /usr/lib/debug/.build-id/74/98ae777f41d3dfa3337ad29aad8488c514c4b1.debug Missing separate debuginfo for /usr/lib64/python3.12/lib-dynload/_ctypes.cpython-312.so. Try to install the hash file /usr/lib/debug/.build-id/49/4420892943321b3be0244ab4ea1797145880c8.debug Missing separate debuginfo for /lib64/libffi.so.8. Try to install the hash file /usr/lib/debug/.build-id/7a/482fad84ef7cf55dbbc2d54f8737dea9087bbc.debug Missing separate debuginfo for /usr/lib64/python3.12/lib-dynload/_struct.cpython-312.so. Try to install the hash file /usr/lib/debug/.build-id/a6/c5c8eb1e3404e7e4bed23fc2a3e6390de202ad.debug Missing separate debuginfo for /lib64/libstdc++.so.6. Try to install the hash file /usr/lib/debug/.build-id/44/e8e6dfdfb7d8c6b9e7593a3ff679985d85b1b1.debug Missing separate debuginfo for /lib64/libpthread.so.0. Try to install the hash file /usr/lib/debug/.build-id/04/25e7c2365342443cc7157933aa6b3f3025517d.debug Missing separate debuginfo for /lib64/libz.so.1. Try to install the hash file /usr/lib/debug/.build-id/ed/2c5efb5863b7328819826b6c1aeba3491847c7.debug Missing separate debuginfo for /lib64/libdl.so.2. Try to install the hash file /usr/lib/debug/.build-id/be/47c112b67c9ef0599c909a565e5c91fbc60710.debug Missing separate debuginfo for /lib64/libgthread-2.0.so.0. Try to install the hash file /usr/lib/debug/.build-id/7d/51a5894f8aaa47ee18a7225b4a97c161326998.debug Missing separate debuginfo for /lib64/libglib-2.0.so.0. Try to install the hash file /usr/lib/debug/.build-id/80/87a8637b01f70d168ae639718ca86fc1912a9c.debug Missing separate debuginfo for /lib64/libgcc_s.so.1. Try to install the hash file /usr/lib/debug/.build-id/89/03b50ee723dbd5be5c0727a7bbdecb6b8e6f08.debug Missing separate debuginfo for /lib64/libpcre2-8.so.0. Try to install the hash file /usr/lib/debug/.build-id/76/0693c3b8e9609c5b78740692c91a4423554572.debug Missing separate debuginfo for /lib64/libgssapi_krb5.so.2. Try to install the hash file /usr/lib/debug/.build-id/0a/3ecaafbcfe48da873634e15df7e6f5acf8e560.debug Missing separate debuginfo for /lib64/libkrb5.so.3. Try to install the hash file /usr/lib/debug/.build-id/9f/07ceb2d6290839b43203fafad2bbc26cd3b272.debug Missing separate debuginfo for /lib64/libk5crypto.so.3. Try to install the hash file /usr/lib/debug/.build-id/06/dbdf658f6ae144d5d9c1788ae9bc2f15afd444.debug Missing separate debuginfo for /lib64/libcom_err.so.2. Try to install the hash file /usr/lib/debug/.build-id/b0/d660c65290e6b3d378ce9a005a0ef20e84aae0.debug Missing separate debuginfo for /lib64/libkrb5support.so.0. Try to install the hash file /usr/lib/debug/.build-id/dd/a22b1c2184ea2bb3d2f83a01477f8c6d286d36.debug Missing separate debuginfo for /lib64/libkeyutils.so.1. Try to install the hash file /usr/lib/debug/.build-id/79/b455860ccf5b000959c11cbee61f1104c73b18.debug Missing separate debuginfo for /lib64/libselinux.so.1. Try to install the hash file /usr/lib/debug/.build-id/13/a89d28f932e0e8974dd70de27d6392255e1876.debug Missing separate debuginfo for /lib64/libGL.so.1. Try to install the hash file /usr/lib/debug/.build-id/b6/3b05f9f15391c92e4b0b7a74c682e6da5fa7ed.debug Missing separate debuginfo for /lib64/libGLdispatch.so.0. Try to install the hash file /usr/lib/debug/.build-id/75/33bc1b66398285191c37c82903d4a1a2981e74.debug Missing separate debuginfo for /lib64/libGLX.so.0. Try to install the hash file /usr/lib/debug/.build-id/ee/7478c6e496d527efc32446cd31a3aef54bda79.debug Missing separate debuginfo for /lib64/libX11.so.6. Try to install the hash file /usr/lib/debug/.build-id/16/7311198e24fc49bf2358894a37517c6ecd2c5e.debug Missing separate debuginfo for /lib64/libxcb.so.1. Try to install the hash file /usr/lib/debug/.build-id/f9/52997ff9a878e683cc48db67ad3cb240021075.debug Missing separate debuginfo for /lib64/libXau.so.6. Try to install the hash file /usr/lib/debug/.build-id/97/81e328731d8c72661b2166856b87806fcba8a0.debug Missing separate debuginfo for /lib64/libXdmcp.so.6. Try to install the hash file /usr/lib/debug/.build-id/b8/3d2fb2ef38034b4fb1187d669c54478c12ae51.debug Missing separate debuginfo for /lib64/librt.so.1. Try to install the hash file /usr/lib/debug/.build-id/55/426515f266e5110ab274ee15e32dbba57115f6.debug Missing separate debuginfo for /lib64/libdbus-1.so.3. Try to install the hash file /usr/lib/debug/.build-id/82/57e772c3bfd565067eaa9ad81c8b10e8fe3def.debug Missing separate debuginfo for /lib64/libsystemd.so.0. Try to install the hash file /usr/lib/debug/.build-id/61/0a7b8d55e0a7120c23f6e2681332eb43fd2859.debug Missing separate debuginfo for /lib64/libcap.so.2. Try to install the hash file /usr/lib/debug/.build-id/11/655cc394c9354f2fd69ba99c9166975980d2e1.debug Missing separate debuginfo for /lib64/libpulse-mainloop-glib.so.0. Try to install the hash file /usr/lib/debug/.build-id/8c/22f97289ad22517bc00fb3138afa78d63ea116.debug Missing separate debuginfo for /lib64/libpulse.so.0. Try to install the hash file /usr/lib/debug/.build-id/97/99486982733731bf07bf252f2df403f8210974.debug Missing separate debuginfo for /usr/lib64/pulseaudio/libpulsecommon-17.0.so. Try to install the hash file /usr/lib/debug/.build-id/ed/fb580015c62516103814d0bdb89a2e894da065.debug Missing separate debuginfo for /lib64/libsndfile.so.1. Try to install the hash file /usr/lib/debug/.build-id/b8/280859b557dfba229b1917507adbb8b7db73b8.debug Missing separate debuginfo for /lib64/libasyncns.so.0. Try to install the hash file /usr/lib/debug/.build-id/a6/4fcc1ed38a123e98d4f3b263d6819ba607c49f.debug Missing separate debuginfo for /lib64/libgsm.so.1. Try to install the hash file /usr/lib/debug/.build-id/a8/6f91a209269693213271a68bec80792f468a44.debug Missing separate debuginfo for /lib64/libFLAC.so.14. Try to install the hash file /usr/lib/debug/.build-id/fe/9b25b5e7a023063b6df6a0e8e37e8b3be985bb.debug Missing separate debuginfo for /lib64/libvorbis.so.0. Try to install the hash file /usr/lib/debug/.build-id/d6/23622ea02d92e28aea6284f35a825b34c0af31.debug Missing separate debuginfo for /lib64/libvorbisenc.so.2. Try to install the hash file /usr/lib/debug/.build-id/16/295e84894aa24fc456ce746a6c37df19bbf9a3.debug Missing separate debuginfo for /lib64/libopus.so.0. Try to install the hash file /usr/lib/debug/.build-id/8c/0a6b560baa50347d5e1647c0c16416436b00a6.debug Missing separate debuginfo for /lib64/libogg.so.0. Try to install the hash file /usr/lib/debug/.build-id/5d/6cda644938494159871c54f7c477532034f224.debug Missing separate debuginfo for /lib64/libmpg123.so.0. Try to install the hash file /usr/lib/debug/.build-id/87/d836e783298b824a883550001adba0bb09bf15.debug Missing separate debuginfo for /lib64/libmp3lame.so.0. Try to install the hash file /usr/lib/debug/.build-id/14/c0ce12f5797e8c39f4b2d9ff225d3f1197a73c.debug Missing separate debuginfo for /lib64/libresolv.so.2. Try to install the hash file /usr/lib/debug/.build-id/ed/b8dc55469795ccb634e1f20053acbb738b7f88.debug Missing separate debuginfo for /usr/lib64/python3.12/lib-dynload/math.cpython-312.so. Try to install the hash file /usr/lib/debug/.build-id/83/a2257585d1aba05b04b9d7aa03aefd3abe40e3.debug Missing separate debuginfo for /usr/lib64/python3.12/lib-dynload/fcntl.cpython-312.so. Try to install the hash file /usr/lib/debug/.build-id/da/a6ac0c6535322a5d918c0b644b1c3f7a4715dd.debug Missing separate debuginfo for /usr/lib64/python3.12/lib-dynload/_posixsubprocess.cpython-312.so. Try to install the hash file /usr/lib/debug/.build-id/54/6d44879521526181f31118520ca063c836415d.debug Missing separate debuginfo for /usr/lib64/python3.12/lib-dynload/select.cpython-312.so. Try to install the hash file /usr/lib/debug/.build-id/5f/c1d679aa8e590181fcdb532b1c04a1330d0ba2.debug [Detaching after vfork from child process 120912] Missing separate debuginfo for /usr/lib64/python3.12/lib-dynload/_bisect.cpython-312.so. Try to install the hash file /usr/lib/debug/.build-id/73/b5ef9195b866f877400f7d21e491438121dfab.debug Missing separate debuginfo for /usr/lib64/python3.12/lib-dynload/_random.cpython-312.so. Try to install the hash file /usr/lib/debug/.build-id/ef/e73e378a04ea7e91b981e2e4a00a75d60b1e2d.debug Missing separate debuginfo for /usr/lib64/python3.12/lib-dynload/_sha2.cpython-312.so. Try to install the hash file /usr/lib/debug/.build-id/73/fca30e96ce4b57980c8c75c812104f7d509539.debug Program received signal SIGSEGV, Segmentation fault. 0x000055555574a1d0 in PyDict_Next () (gdb) bt #0 0x000055555574a1d0 in PyDict_Next () #1 0x00007ffff743ce39 in trawl_hierarchy(_typeobject*, qpycore_metaobject*, QMetaObjectBuilder&, QList<_qpycore_pyqtSignal const*>&, QMap<unsigned int, QPair<_object*, _object*> >&) () from /home/toxblh/.local/lib/python3/site-packages/PyQt5/QtCore.abi3.so #2 0x00007ffff743d3b2 in trawl_hierarchy(_typeobject*, qpycore_metaobject*, QMetaObjectBuilder&, QList<_qpycore_pyqtSignal const*>&, QMap<unsigned int, QPair<_object*, _object*> >&) () from /home/toxblh/.local/lib/python3/site-packages/PyQt5/QtCore.abi3.so #3 0x00007ffff743d3b2 in trawl_hierarchy(_typeobject*, qpycore_metaobject*, QMetaObjectBuilder&, QList<_qpycore_pyqtSignal const*>&, QMap<unsigned int, QPair<_object*, _object*> >&) () from /home/toxblh/.local/lib/python3/site-packages/PyQt5/QtCore.abi3.so #4 0x00007ffff743d52e in qpycore_new_user_type_handler(_sipWrapperType*) () from /home/toxblh/.local/lib/python3/site-packages/PyQt5/QtCore.abi3.so #5 0x00007ffff3c0fb0c in sipWrapperType_init (self=0x555556051180, args=<optimized out>, kwds=<optimized out>) at siplib.c:9878 #6 0x0000555555748163 in _PyObject_MakeTpCall () #7 0x00005555558087e0 in ?? () #8 0x00005555557680ab in ?? () #9 0x0000555555767f7e in PyObject_Vectorcall () #10 0x00005555557527b1 in _PyEval_EvalFrameDefault () #11 0x0000555555807883 in PyEval_EvalCode () #12 0x00005555558246fc in ?? () #13 0x00005555557680ab in ?? () #14 0x0000555555756ebd in _PyEval_EvalFrameDefault () #15 0x00005555557716be in ?? () #16 0x000055555579b40e in PyObject_CallMethodObjArgs () #17 0x000055555579aed2 in PyImport_ImportModuleLevelObject () #18 0x00005555557593b5 in _PyEval_EvalFrameDefault () #19 0x0000555555807883 in PyEval_EvalCode () #20 0x00005555558246fc in ?? () #21 0x00005555557680ab in ?? () #22 0x0000555555756ebd in _PyEval_EvalFrameDefault () #23 0x00005555557716be in ?? () #24 0x000055555579b40e in PyObject_CallMethodObjArgs () #25 0x000055555579aed2 in PyImport_ImportModuleLevelObject () #26 0x00005555557593b5 in _PyEval_EvalFrameDefault () --Type <RET> for more, q to quit, c to continue without paging-- #27 0x0000555555807883 in PyEval_EvalCode () #28 0x00005555558246fc in ?? () #29 0x00005555557680ab in ?? () #30 0x0000555555756ebd in _PyEval_EvalFrameDefault () #31 0x00005555557716be in ?? () #32 0x000055555579b40e in PyObject_CallMethodObjArgs () #33 0x000055555579aed2 in PyImport_ImportModuleLevelObject () #34 0x00005555557593b5 in _PyEval_EvalFrameDefault () #35 0x0000555555807883 in PyEval_EvalCode () #36 0x00005555558246fc in ?? () #37 0x00005555557680ab in ?? () #38 0x0000555555756ebd in _PyEval_EvalFrameDefault () #39 0x00005555557716be in ?? () #40 0x000055555579b40e in PyObject_CallMethodObjArgs () #41 0x000055555579aed2 in PyImport_ImportModuleLevelObject () #42 0x00005555557593b5 in _PyEval_EvalFrameDefault () #43 0x0000555555807883 in PyEval_EvalCode () #44 0x0000555555839d8a in ?? () #45 0x0000555555839b55 in ?? () #46 0x000055555583bc72 in ?? () #47 0x000055555583b637 in _PyRun_SimpleFileObject () #48 0x000055555583b384 in _PyRun_AnyFileObject () #49 0x0000555555835ab1 in Py_RunMain () #50 0x00005555557f1bf7 in Py_BytesMain () #51 0x00007ffff7ce5d6a in ?? () from /lib64/libc.so.6 #52 0x00007ffff7ce5e25 in __libc_start_main () from /lib64/libc.so.6 #53 0x00005555557f1a71 in _start () (gdb) ```
(In reply to Toxblh from comment #3) > Ну я только её поставил, она упала и следом поставил с flatpak. > > Так, а как запустить в отладчике или coredumpctl достать? Ну, чтобы помочь выяснить причину, научиться с этим работать на начальном уровне придётся. :) Сначала надо[1] поставить всякие *-debuginfo, перечисленные вот здесь: https://packages.altlinux.org/en/sisyphus/srpms/carla/ с их зависимостями. В файле /etc/apt/sources.list надо сначала заменить "classic" на "classic debuginfo". Далее: # apt-get install carla-debuginfo lv2-carla-debuginfo carla-vst-debuginfo # apt-mark auto carla-debuginfo lv2-carla-debuginfo carla-vst-debuginfo Теперь сам отладчик. Вот такая команда от вашего юзера: % gdb --args /usr/bin/carla Запустится gdb, проинициализируется. В его командной строке: (gdb) run Далее она упадёт, и снова появится приглашение ко вводу командной строки gdb. Вот тут уже сказать отладчику `bt`: (gdb) bt И прислать выведенную табличку. ____ [1] Сервис debuginfod.altlinux.org пока что мёртв, написан на Ruby (не будет исправлен никогда), так что придётся по старинке. Возможно, его когда-нибудь перепишут без Ruby.
(In reply to Toxblh from comment #4) > ``` > ╰─ gdb --args python3 /usr/share/carla/carla > > GNU gdb (GDB) 14.1.0.56.d739d4fd457-alt1 (ALT Sisyphus) > Copyright (C) 2023 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > Type "show copying" and "show warranty" for details. > This GDB was configured as "x86_64-alt-linux". > Type "show configuration" for configuration details. > For bug reporting instructions, please see: > <https://www.gnu.org/software/gdb/bugs/>. > Find the GDB manual and other documentation resources online at: > <http://www.gnu.org/software/gdb/documentation/>. > > For help, type "help". > Type "apropos word" to search for commands related to "word"... > Reading symbols from python3... > > This GDB supports auto-downloading debuginfo from the following URLs: > <https://debuginfod.altlinux.org/> > Enable debuginfod for this session? (y or [n]) > Debuginfod has been disabled. > To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. > Missing separate debuginfo for /usr/bin/python3.12. > Try to install the hash file > /usr/lib/debug/.build-id/18/dde4dc2dac96ba8dec8b2101f08688e72a34a5.debug > (No debugging symbols found in python3) > (gdb) run > Starting program: /usr/bin/python3 /usr/share/carla/carla > <...> Да, примерно вот это, просто с debuginfo-пакетами может быть меньше ??? (а может и не быть).
> Program received signal SIGSEGV, Segmentation fault. > 0x000055555574a1d0 in PyDict_Next () > (gdb) bt > #0 0x000055555574a1d0 in PyDict_Next () > #1 0x00007ffff743ce39 in trawl_hierarchy(_typeobject*, qpycore_metaobject*, QMetaObjectBuilder&, QList<_qpycore_pyqtSignal const*>&, QMap<unsigned int, QPair<_object*, _object*> >&) () from /home/toxblh/.local/lib/python3/site-packages/PyQt5/QtCore.abi3.so > #2 0x00007ffff743d3b2 in trawl_hierarchy(_typeobject*, qpycore_metaobject*, QMetaObjectBuilder&, QList<_qpycore_pyqtSignal const*>&, QMap<unsigned int, QPair<_object*, _object*> >&) () from /home/toxblh/.local/lib/python3/site-packages/PyQt5/QtCore.abi3.so > #3 0x00007ffff743d3b2 in trawl_hierarchy(_typeobject*, qpycore_metaobject*, QMetaObjectBuilder&, QList<_qpycore_pyqtSignal const*>&, QMap<unsigned int, QPair<_object*, _object*> >&) () from /home/toxblh/.local/lib/python3/site-packages/PyQt5/QtCore.abi3.so > #4 0x00007ffff743d52e in qpycore_new_user_type_handler(_sipWrapperType*) () > from /home/toxblh/.local/lib/python3/site-packages/PyQt5/QtCore.abi3.so > #5 0x00007ffff3c0fb0c in sipWrapperType_init (self=0x555556051180, args=<optimized out>, kwds=<optimized out>) at siplib.c:9878 > #6 0x0000555555748163 in _PyObject_MakeTpCall () > #7 0x00005555558087e0 in ?? () > #8 0x00005555557680ab in ?? () > #9 0x0000555555767f7e in PyObject_Vectorcall () > #10 0x00005555557527b1 in _PyEval_EvalFrameDefault () > #11 0x0000555555807883 in PyEval_EvalCode () Кто-то занимался разработкой на питоне без virtualenv... ;) Внутри репозитория между бинарными библиотеками мы такие вещи в 99,99% исключаем, а вот когда лежащий в пакете код на питоне что-то импортит сам, он может захватывать не те *.so, например, те, что юзер себе в хомяк поставил при помощи `python3 -m pip`. Воспроизводится ли проблема, если дать вот такую команду?: % mv /home/toxblh/.local/lib/python3/site-packages/{,__saved__}PyQt5 Потом, когда вернётесь к разработке на PyQt5, вернуть обратно: % mv /home/toxblh/.local/lib/python3/site-packages/{__saved__,}PyQt5 или начать пользоваться venv.
Да стоят пакеты через pip которых не будет в сизифе по лицензиям их А для системных апп нельзя исключить ~/.local из обхода?
Да с mv /home/toxblh/.local/lib/python3/site-packages/{,__saved__}PyQt5 заработало, спасибо.
Хотя наверное, я сам это поломал с export PATH=~/.local/lib/python3/site-packages:$PATH чтобы заставить работать pip пакеты, как обычные пакеты
(In reply to Toxblh from comment #8) > Да стоят пакеты через pip которых не будет в сизифе по лицензиям их > А для системных апп нельзя исключить ~/.local из обхода? Надо бы оценить реализуемость такого. Одному и тому же питону потребуется игнорировать ~/.local, если он запускает упакованную в репозиторий программу, и вести себя как раньше, если что-то ещё.
(In reply to Toxblh from comment #8) > Да стоят пакеты через pip которых не будет в сизифе по лицензиям их > А для системных апп нельзя исключить ~/.local из обхода? В Debian патчат их пакет python3-pip, чтобы pip ругался при попытке наивно запустить pip install и подробно объяснял, что делать.
(In reply to Toxblh from comment #10) > Хотя наверное, я сам это поломал с > export PATH=~/.local/lib/python3/site-packages:$PATH > > чтобы заставить работать pip пакеты, как обычные пакеты Вот эта команда выше вообще не должна срабатывать. 1) шеллы не раскрывают ~ внутри слов 2) PATH — это про расположения исполнимых файлов, site-packages — не тот каталог, в котором лежат исполнимые файлы, поставленные при помощи python3 -m pip пакеты с зарегистрированными исполнимыми командами кладут исполнимые файлы в ~/.local/bin. Вот такую команду в profile я бы рекомендовал: export PATH="$HOME/.local/bin:$PATH"
> 1) шеллы не раскрывают ~ внутри слов Раскрывают, если это zsh > site-packages — не тот каталог, в котором лежат исполнимые файлы Да попутал с другой строчкой export PATH="$PATH:~/.local/bin"