Bug 16078 - browser crashes when focus lost
Summary: browser crashes when focus lost
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: alterator-browser-qt (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Sergey V Turchin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 12:45 MSD by Vladislav Zavjalov
Modified: 2008-10-01 14:46 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladislav Zavjalov 2008-06-18 12:45:07 MSD
Браузер падает, если в то время, пока он думает (курсор - часами) вывести фокус из окна.

====== 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47722192442368 (LWP 31249)]
0x00002b672c0df0f4 in QWidget::setCursor () from /usr/lib64/libQtGui.so.4
(gdb) bt
#0  0x00002b672c0df0f4 in QWidget::setCursor () from /usr/lib64/libQtGui.so.4
#1  0x0000000000426f90 in QTreeView::scrollTo ()
#2  0x000000000046f12a in QTreeView::scrollTo ()
#3  0x00002b672c8f44e0 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#4  0x00002b672c8f6565 in QObject::event () from /usr/lib64/libQtCore.so.4
#5  0x00002b672c0af695 in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#6  0x00002b672c0af916 in QApplication::notify () from /usr/lib64/libQtGui.so.4
#7  0x00002b672c8e903e in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#8  0x00002b672c0aa3f8 in QCoreApplication::sendEvent () from /usr/lib64/libQtGui.so.4
#9  0x00002b672c903df8 in QTreeView::scrollTo () from /usr/lib64/libQtCore.so.4
#10 0x00002b672c904c43 in QEventDispatcherUNIX::processEvents () from /usr/lib64/libQtCore.so.4
#11 0x00002b672c10c181 in QTreeView::scrollTo () from /usr/lib64/libQtGui.so.4
#12 0x00002b672c8e82b1 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#13 0x00002b672c8e8376 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#14 0x00002b672c8ea0f5 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#15 0x000000000041b534 in QTreeView::scrollTo ()
#16 0x00002b672d2f3cf4 in __libc_start_main () from /lib64/libc.so.6
#17 0x000000000041b3f9 in QTreeView::scrollTo ()
#18 0x00007fff7effe7c8 in ?? ()
#19 0x0000000000000000 in ?? ()
Comment 1 Sergey V Turchin 2008-08-05 17:40:12 MSD
qt4-4.4.1-alt1 и alterator-browser-qt-2.9.86-alt1
Comment 2 Vladislav Zavjalov 2008-09-22 14:27:32 MSD
ошибка повторяется
Comment 3 Vladislav Zavjalov 2008-09-22 14:45:58 MSD
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221282048 (LWP 32608)]
0xb7add39d in QWidget::setCursor () from /usr/lib/libQtGui.so.4
(gdb) bt
#0  0xb7add39d in QWidget::setCursor () from /usr/lib/libQtGui.so.4
#1  0x08069176 in QTreeView::scrollTo ()
#2  0x080b2f2e in QTreeView::scrollTo ()
#3  0xb790274b in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#4  0xb7902a5e in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#5  0x080b2be9 in QTreeView::scrollTo ()
#6  0xb7904ba1 in QObject::event () from /usr/lib/libQtCore.so.4
#7  0xb7aa7024 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#8  0xb7aa72e7 in QApplication::notify () from /usr/lib/libQtGui.so.4
#9  0xb78f5c8d in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#10 0xb7aa07f2 in QCoreApplication::sendEvent () from /usr/lib/libQtGui.so.4
#11 0xb7914b13 in QTreeView::scrollTo () from /usr/lib/libQtCore.so.4
#12 0x081207c0 in ?? ()
#13 0xbfd99790 in ?? ()
#14 0x00000003 in ?? ()
#15 0x00000003 in ?? ()
#16 0xbfd99780 in ?? ()
#17 0xbfd997a0 in ?? ()
#18 0x00000001 in ?? ()
#19 0x00000001 in ?? ()
#20 0x00000000 in ?? ()
Comment 4 Sergey V Turchin 2008-09-22 15:08:49 MSD
(In reply to comment #2)
> ошибка повторяется
Трейсы похожи, но меня не воспроизводиться. Может, qt-4.4.2 попробуешь ?
Comment 5 Vladislav Zavjalov 2008-09-22 15:36:10 MSD
обновился до libqt4-4.4.2-alt1 (было 4.4.1)

ничего не изменилось, трейс в точности такой же
Comment 6 Sergey V Turchin 2008-09-22 15:43:27 MSD
x86_64 ?
Comment 7 Vladislav Zavjalov 2008-09-22 15:44:23 MSD
i586
Comment 8 Sergey V Turchin 2008-09-22 15:53:08 MSD
(In reply to comment #7)
> i586
Тогда вообще странно, т.к. у меня тоже.
Нажимаю на какой-нибудь  тяжелый модуль типа "Установка программ" и есть достаточно времени, чтоб мышкой поводить, но ничего не валится.

Может, от видео зависит? У меня nvidia
Comment 9 Sergey V Turchin 2008-09-22 15:54:00 MSD
Это воспроизводиться на любой другой машине?
Comment 10 Vladislav Zavjalov 2008-09-22 16:10:28 MSD
У меня intel

На машине с nvidia тоже было, когда вешал эту ошибку.

Еще есть #17247, которое м.б. про то же.

Еще моя особенность - wm, который не ставит фокус на только что созданное окно - так что проблема очень видна (и даже вполне раздражала, пока не привык при запуске acc быстро ставить на него мышь :)). 

Но и на стенде со стандартным kde я такое тоже вижу (нажать кнопку Apply и быстро тыкнуть в другое окно).
Comment 11 Sergey V Turchin 2008-09-23 12:24:21 MSD
Можно ли узнать трейс от
ftp://ftp.altlinux.ru/pub/people/zerg/misc/alterator-browser-qt
ftp://ftp.altlinux.ru/pub/people/zerg/misc/alterator-browser-qt-2
Оба собраны с дебагом. Во втором все операции с курсором убраны
Comment 12 Vladislav Zavjalov 2008-09-23 12:34:40 MSD
(gdb) run
Starting program: /home/slazav/alterator-browser-qt 
[Thread debugging using libthread_db enabled]
[New Thread -1221212416 (LWP 743)]
socket path /tmp/.private/slazav/alterator/browser-sock ...
[New Thread -1224189040 (LWP 746)]
(auth-request user "qtbrowser" password "" language "ru_RU")

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221212416 (LWP 743)]
0xb7aed693 in QWidget::setCursor () from /usr/lib/libQtGui.so.4
(gdb) bt
#0  0xb7aed693 in QWidget::setCursor () from /usr/lib/libQtGui.so.4
#1  0x080697ad in MainWindow::onStartBusySplash (this=0xbffaf440) at main_window.cc:770
#2  0x080ae4f3 in MainWindow::qt_metacall (this=0xbffaf440, _c=QMetaObject::InvokeMetaMethod, _id=6, 
    _a=0xbffaeda8) at .moc/moc_main_window.cpp:89
#3  0xb79138d7 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#4  0xb7913bea in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#5  0x080ae1c0 in Connection::startLongRequest (this=0x8122ce8) at .moc/moc_connection.cpp:97
#6  0x08062953 in Connection::timerEvent (this=0x8122ce8, e=0xbffaf1a0) at connection.cc:176
#7  0xb7915d2d in QObject::event () from /usr/lib/libQtCore.so.4
#8  0xb7ab80c4 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#9  0xb7ab8387 in QApplication::notify () from /usr/lib/libQtGui.so.4
#10 0xb7906e29 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#11 0xb7ab1892 in QCoreApplication::sendEvent () from /usr/lib/libQtGui.so.4
#12 0xb7925cab in QTreeView::scrollTo () from /usr/lib/libQtCore.so.4
#13 0x08122ce8 in ?? ()
#14 0xbffaf1a0 in ?? ()
#15 0x00000003 in ?? ()
#16 0xb7926527 in QEventDispatcherUNIX::activateTimers () from /usr/lib/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#17 0xb7926c05 in QEventDispatcherUNIX::processEvents () from /usr/lib/libQtCore.so.4
#18 0xb7b1e55c in QTreeView::scrollTo () from /usr/lib/libQtGui.so.4
#19 0x080dbeb8 in ?? ()
#20 0xbffaf2c8 in ?? ()
#21 0x00000004 in ?? ()
#22 0xb7905d82 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#23 0xb7905e4a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#24 0xb79079a9 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#25 0xb7ab3bf8 in QApplication::exec () from /usr/lib/libQtGui.so.4
#26 0x0805db54 in main (argc=1, argv=0xbffaf554) at main.cc:21


Вторая не падает.
Comment 13 Sergey V Turchin 2008-09-24 20:34:04 MSD
alterator-browser-qt-2.9.93