Project

General

Profile

Bug #1577

Залипание при запуске без интернета

Added by DA over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugins: Azoth Acetamide
Target version:
Start date:
04/02/2014
Due date:
% Done:

100%

Estimated time:
Reported in:
master

Description

«Похоже, что Магог как-то не оч восстанавливает соединение в случае повторной ошибки.» Коррелирует с QAbstractSocket в логах.

Expected result:
Периодически проверять интернеты, и подключиться, когда будут доступны.

Actual result:
Не входит ни в один чат до рестарта клиента. Иногда отпускает через несколько часов.

STR:
Вероятно, отключить интернеты, запустить крафты, подождать пару минут, включить интернеты.

System information:
LeechCraft 0.6.60-1224-g628f02a
Built with Qt 4.8.5, running with Qt 4.8.5
Running on: openSUSE 13.1 (Bottle) (x86_64) x86_64 3.11.10-7-desktop #1 SMP PREEMPT Mon Feb 3 09:41:24 UTC 2014 (750023e)

#1

Updated by Magog over 6 years ago

Норм будет, если я просто /etc/init.d/net.eth0 stop сделаю, а потом запушу личкрафты, а потом /etc/init.d/net.eth0 start ?

#2

Updated by DA over 6 years ago

Должно получиться.

#3

Updated by DA over 6 years ago

Упало в похожих условиях, трейс снимался в gdb, так что сами понимаете…

[New Thread 0x7ffeb1c7d700 (LWP 2621)]
[Thread 0x7ffeb1c7d700 (LWP 2621) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00007fffd84e6b00 in ?? () from /usr/lib64/leechcraft/plugins/libleechcraft_azoth_acetamide.so
(gdb) bt
#0 0x00007fffd84e6b00 in ?? () from /usr/lib64/leechcraft/plugins/libleechcraft_azoth_acetamide.so
#1 0x00007fffd84bc56c in ?? () from /usr/lib64/leechcraft/plugins/libleechcraft_azoth_acetamide.so
#2 0x00007fffd84bded0 in ?? () from /usr/lib64/leechcraft/plugins/libleechcraft_azoth_acetamide.so
#3 0x00007fffd851b142 in ?? () from /usr/lib64/leechcraft/plugins/libleechcraft_azoth_acetamide.so
#4 0x00007ffff5dd2d68 in QMetaObject::activate (sender=0x6b0f090, m=<optimized out>, local_signal_index=<optimized out>,
argv=0x7fffffffd430) at kernel/qobject.cpp:3556
#5 0x00007fffd851b426 in ?? () from /usr/lib64/leechcraft/plugins/libleechcraft_azoth_acetamide.so
#6 0x00007fffd84ef16d in ?? () from /usr/lib64/leechcraft/plugins/libleechcraft_azoth_acetamide.so
#7 0x00007fffd851b58b in ?? () from /usr/lib64/leechcraft/plugins/libleechcraft_azoth_acetamide.so
#8 0x00007ffff5dd2d68 in QMetaObject::activate (sender=sender@entry=0x6eafd40,
m=m@entry=0x7ffff6465c80 <QAbstractSocket::staticMetaObject>, local_signal_index=local_signal_index@entry=4,
argv=argv@entry=0x7fffffffd630) at kernel/qobject.cpp:3556
#9 0x00007ffff61ea2c1 in QAbstractSocket::error (this=this@entry=0x6eafd40, _t1=QAbstractSocket::NetworkError)
at .moc/release-shared/moc_qabstractsocket.cpp:246
#10 0x00007ffff61eee92 in QAbstractSocketPrivate::readFromSocket (this=this@entry=0x6f41b20) at socket/qabstractsocket.cpp:1172
#11 0x00007ffff61ef450 in QAbstractSocketPrivate::canReadNotification (this=0x6f41b20) at socket/qabstractsocket.cpp:628
#12 0x00007ffff61f84ed in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1151
#13 0x00007ffff6d4d8ac in QApplicationPrivate::notify_helper (this=this@entry=0x78de40, receiver=receiver@entry=0x6f4b220, e=e@entry=
0x7fffffffd990) at kernel/qapplication.cpp:4562
#14 0x00007ffff6d53e70 in QApplication::notify (this=0x7fffffffdc30, receiver=0x6f4b220, e=0x7fffffffd990)
at kernel/qapplication.cpp:4348
#15 0x000000000045a9b5 in LeechCraft::Application::notify (this=<optimized out>, obj=0x6f4b220, event=0x7fffffffd990)
at /usr/src/debug/leechcraft-0.6.65.1401718935/src/core/application.cpp:336
#16 0x00007ffff5dbf0ad in QCoreApplication::notifyInternal (this=0x7fffffffdc30, receiver=0x6f4b220, event=event@entry=0x7fffffffd990)
at kernel/qcoreapplication.cpp:949
#17 0x00007ffff5dec9b0 in sendEvent (event=0x7fffffffd990, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#18 socketNotifierSourceDispatch (source=0x793cc0) at kernel/qeventdispatcher_glib.cpp:110
---Type <return> to continue, or q <return> to quit---
#19 0x00007ffff25d2316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#20 0x00007ffff25d2668 in ?? () from /usr/lib64/libglib-2.0.so.0
#21 0x00007ffff25d270c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#22 0x00007ffff5debd55 in QEventDispatcherGlib::processEvents (this=0x793160, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#23 0x00007ffff6dea936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...)
at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007ffff5dbdd0f in QEventLoop::processEvents (this=this@entry=0x7fffffffdbe0, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007ffff5dbe005 in QEventLoop::exec (this=this@entry=0x7fffffffdbe0, flags=...) at kernel/qeventloop.cpp:204
#26 0x00007ffff5dc313b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#27 0x00007ffff6d4c06c in QApplication::exec () at kernel/qapplication.cpp:3823
#28 0x000000000042c6f5 in main (argc=1, argv=0x7fffffffddf8) at /usr/src/debug/leechcraft-0.6.65.1401718935/src/core/main.cpp:48
(gdb)

#4

Updated by 0xd34df00d over 6 years ago

Трейс — копия #1641, да.

#5

Updated by DA over 5 years ago

Так или иначе починилось давно уж, по крайней мере, рестартовать крафты больше не нужно.

#6

Updated by 0xd34df00d over 5 years ago

  • % Done changed from 0 to 100
  • Target version set to 0.6.75
  • Status changed from New to Closed

Починилось — и хорошо. Будем считать, что невидимая рука Магога починила.

Also available in: Atom PDF