Project

General

Profile

Actions

Bug #2069

closed

Мигрировать на qtnetworkauth

Added by Dolozhee almost 5 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Plugins: Blasq
Target version:
Start date:
11/17/2019
Due date:
% Done:

100%

Estimated time:
5:00 h
Reported in:
master

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

lc_crash_19_11_14-21_43_51.log (458 Bytes) lc_crash_19_11_14-21_43_51.log Dolozhee, 11/17/2019 05:45 PM
Actions #1

Updated by 0xd34df00d almost 5 years ago

Qt4 в системе есть? Судя по всему, оно пытается загрузить /lib/x86_64-linux-gnu/libQtGui.so.4, а это, похоже, кусок четвёртых кутей. Какая-то библиотека с ним слинкована.

Можно натравить ldd на libleechcraft_blasq*.so и посмотреть, кто из них втягивает четвёртые кути. Не факт, что этого будет достаточно, но, может, поможет понять, в чём дело.

Actions #2

Updated by 0xd34df00d almost 5 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from Падение при запуске Лича (b/p/blasq/p/spengnersi/..) segfault to Мигрировать на qtnetworkauth
  • Status changed from New to Assigned
  • Assignee set to 0xd34df00d
  • Target version set to 0.6.75
  • Estimated time set to 5:00 h
  • Reported in deleted (master)

Обсудили в конфочке — это хороший повод мигрировать на qtnetworkauth, да.

Actions #3

Updated by 0xd34df00d about 3 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Теперь используется произвольный webview-плагин, должно починиться.

Actions #4

Updated by 0xd34df00d about 3 years ago

  • Tracker changed from Feature to Bug
  • Reported in set to master
Actions #5

Updated by 0xd34df00d about 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF