Bug #2069
closedМигрировать на qtnetworkauth
100%
Description
После установки Лича он падает на 6-м или 8-м потоке:
ошибка сегментации.
Обошёл ошибку выпиливанием Blasq (`-DENABLE_BLASQ=OFF` и получил рабочий Лич)
что с версиями (cmake Version: 3.13.4-1 (/snap/bin/cmake)
LUbuntu 19.04
gcc version 8.3.0 (Ubuntu 8.3.0-6ubuntu1)
qt 5.12.2+dfsg-4ubuntu1.1
x84-64 intel core i5)
STR:
1)Установка в cmake, make, `fakeroot checkinstall --install=no --fstrans=yes`, sudo dpkg -i лич.deb
2)создание линка `sudo mkdir -p /usr/lib64;
sudo ln -nfs /usr/lib/x86_64-linux-gnu/libXm.so.4 /usr/lib64/libXm.so.4`
3)запуск /usr/local/bin/leechcraft-qt5 , либо как ниже ч/з gdb:
===что в дебаге====
===запуск команды `gdb cc1`===
(gdb) exec-file /usr/local/bin/leechcraft-qt5
(gdb) run
Starting program: /usr/local/bin/leechcraft-qt5 /usr/local/bin/leechcraft-qt5
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fa0502a4700 (LWP 7313)]
[New Thread 0x7fa04e0f7700 (LWP 7314)]
[New Thread 0x7fa047c6a700 (LWP 7315)]
[New Thread 0x7fa045a73700 (LWP 7316)]
[New Thread 0x7fa045239700 (LWP 7317)]
[New Thread 0x7fa0373ea700 (LWP 7318)]
[New Thread 0x7fa036be9700 (LWP 7319)]
[New Thread 0x7fa0363e8700 (LWP 7320)]
[New Thread 0x7fa035be7700 (LWP 7321)]
Thread 8 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fa036be9700 (LWP 7319)]
0x00007fa0259a4604 in ?? () from /lib/x86_64-linux-gnu/libQtGui.so.4
(gdb) where
#0 0x00007fa0259a4604 in ?? () from /lib/x86_64-linux-gnu/libQtGui.so.4
#1 0x00007fa0592b095a in ?? () from /lib64/ld-linux-x86-64.so.2
#2 0x00007fa0592b0a59 in ?? () from /lib64/ld-linux-x86-64.so.2
#3 0x00007fa0592b4cbc in ?? () from /lib64/ld-linux-x86-64.so.2
#4 0x00007fa056fb65cf in _dl_catch_exception () from /lib/x86_64-linux-gnu/libc.so.6
#5 0x00007fa0592b42a6 in ?? () from /lib64/ld-linux-x86-64.so.2
#6 0x00007fa056a01256 in ?? () from /lib/x86_64-linux-gnu/libdl.so.2
#7 0x00007fa056fb65cf in _dl_catch_exception () from /lib/x86_64-linux-gnu/libc.so.6
#8 0x00007fa056fb665f in _dl_catch_error () from /lib/x86_64-linux-gnu/libc.so.6
#9 0x00007fa056a01a25 in ?? () from /lib/x86_64-linux-gnu/libdl.so.2
#10 0x00007fa056a012e6 in dlopen () from /lib/x86_64-linux-gnu/libdl.so.2
#11 0x00007fa0574addbc in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fa0574a7945 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fa0574a7ef3 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x0000559649ab722d in ?? ()
#15 0x00007fa036be8970 in ?? ()
#16 0x0000559649a1f5ba in ?? ()
#17 0x0000000000000001 in ?? ()
#18 0x0000559649a08b4c in ?? ()
#19 0x00007fa036be88f8 in ?? ()
#20 0x0000559649a1e95d in ?? ()
#21 0x0000000000000000 in ?? ()
(gdb) list
1 // This file is autogenerated. Changes will be overwritten.
2 #include "EWIEGA46WW/moc_flickraccount.cpp"
3 #include "EWIEGA46WW/moc_flickrservice.cpp"
4 #include "EWIEGA46WW/moc_spegnersi.cpp"
(gdb) list
Line number 5 out of range; /home/salessionato/Desktop/leechcraft/build/plugins/blasq/plugins/spegnersi/leechcraft_blasq_spegnersi_autogen/mocs_compilation.cpp has 4 lines.
Expected result:
ВСЕ 9 ПОТОКОВ ЗАПУЩЕНЫ, ЛИЧ ОТКРЫВАЕТСЯ БЕЗ ОШИБОК
Actual result:
ИЗМЕНЕНИЯ НЕСЁННЫЕ В УСТАНОВКУ ЛИЧА!!!!!!!:
в src/CMakeLists.txt дописал
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -march=native -mno-avx")
set (CPACK_PACKAGING_INSTALL_PREFIX "/usr")
в cmake передал
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_AZOTH_WOODPECKER=ON -DENABLE_AZOTH_XOOX=OFF -DENABLE_AZOTH_SARIN=ON -DENABLE_AZOTH_OTROID=ON -DENABLE_AZOTH_ZHEET=OFF -DENABLE_AZOTH_VADER=ON -DENABLE_AZOTH_VELVETBIRD=ON -DENABLE_AZOTH_ASTRALITY=OFF -DENABLE_SB2=ON -DENABLE_POLEEMERY=OFF -DENABLE_LASTFMSCROBBLE=OFF -DENABLE_OTLOZHU=OFF -DENABLE_BLASQ=ON -DENABLE_MONOCLE=ON --trace --debug-output
System information:
LeechCraft 0.6.70-13546-g148f64cd11
Built with Qt 5.12.2, running with Qt 5.12.2
Running on: Ubuntu 19.04 x86_64 5.0.0-36-generic #39-Ubuntu SMP Tue Nov 12 09:46:06 UTC 2019
Files