[Bug 169533] New: When resized too fast, KPat asserts and crashes

View: New views
8 Messages — Rating Filter:   Alert me  

[Bug 169533] New: When resized too fast, KPat asserts and crashes

by Bugzilla from echidnaman@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.kde.org/show_bug.cgi?id=169533

           Summary: When resized too fast, KPat asserts and crashes
           Product: kpat
           Version: 3.0
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: coolo@...
        ReportedBy: echidnaman@...


Version:           3.0 (using 4.1.00 (KDE 4.1.0), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.26-5-generic

If you resize (make smaller) KPat to quickly, by the time it gets to the
minimum window width it asserts and crashes.

ASSERT: "ms.width() >= cardMap::self()->wantedCardWidth() - 0.2" in file
/build/buildd/kdegames-4.1.0/kpat/dealer.cpp, line 1745                        
KCrash: Application 'kpat' crashing...

Application: KPatience (kpat), signal SIGABRT
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb5ead710 (LWP 9152)]
[KCrash handler]
#6  0xb7f8b424 in __kernel_vsyscall ()
#7  0xb633e860 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6340228 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb730e725 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb730e802 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb730e8a5 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0x08062a74 in _start ()
#0  0xb7f8b424 in __kernel_vsyscall ()


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 169533] When resized too fast, KPat asserts and crashes

by Bugzilla from matt@milliams.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.kde.org/show_bug.cgi?id=169533





--- Comment #1 from Matt Williams <matt milliams com>  2008-08-21 23:06:21 ---
Created an attachment (id=26968)
 --> (http://bugs.kde.org/attachment.cgi?id=26968)
Backtrace for crash


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 169533] When resized too fast, KPat asserts and crashes

by Bugzilla from matt@milliams.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.kde.org/show_bug.cgi?id=169533





--- Comment #2 from Matt Williams <matt milliams com>  2008-08-21 23:11:04 ---
Created an attachment (id=26969)
 --> (http://bugs.kde.org/attachment.cgi?id=26969)
Konsole debug output


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 169533] When resized too fast, KPat asserts and crashes

by Bugzilla from matt@milliams.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.kde.org/show_bug.cgi?id=169533


Matt Williams matt milliams com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matt@...
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 169533] When resized too fast, KPat asserts and crashes

by Bugzilla from coolo@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.kde.org/show_bug.cgi?id=169533





--- Comment #3 from Stephan Kulow <coolo kde org>  2008-08-24 13:16:10 ---
Matt, can you reproduce that? I fail


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 169533] When resized too fast, KPat asserts and crashes

by Bugzilla from pino@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.kde.org/show_bug.cgi?id=169533





--- Comment #4 from Pino Toscano <pino kde org>  2008-09-02 11:55:08 ---
(Pasting inline for easier dupe find.)

Application: KPatience (kpat), signal SIGABRT
 [?1034h[Thread debugging using libthread_db enabled]
0x00007f00305a6230 in nanosleep () from /lib64/libc.so.6

Thread 1 (Thread 0x7f0033ef8740 (LWP 18530)):
[KCrash Handler]
#5  0x00007f00305365c5 in raise () from /lib64/libc.so.6
#6  0x00007f0030537bb3 in abort () from /lib64/libc.so.6
#7  0x00007f0031245e65 in qt_message_output () from /usr/lib64/libQtCore.so.4
#8  0x00007f0031245f8d in qFatal () from /usr/lib64/libQtCore.so.4
#9  0x000000000041b719 in DealerScene::setSceneSize (this=0xf01230,
s=@0x7fff3c033ee0) at /home/matt/kde/trunk/KDE/kdegames/kpat/dealer.cpp:1746
#10 0x000000000042b1c7 in PatienceView::resizeEvent (this=0x88b790,
e=0x7fff3c034590) at /home/matt/kde/trunk/KDE/kdegames/kpat/view.cpp:265
#11 0x00007f003211acd1 in QWidget::event () from /usr/lib64/libQtGui.so.4
#12 0x00007f00325a471b in QGraphicsView::viewportEvent () from
/usr/lib64/libQtGui.so.4
#13 0x00007f003131da78 in
QCoreApplicationPrivate::sendThroughObjectEventFilters () from
/usr/lib64/libQtCore.so.4
#14 0x00007f00320cde8c in QApplicationPrivate::notify_helper () from
/usr/lib64/libQtGui.so.4
#15 0x00007f00320d428a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#16 0x00007f0033a549bb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#17 0x00007f003131e78c in QCoreApplication::notifyInternal () from
/usr/lib64/libQtCore.so.4
#18 0x00007f00321465c6 in QWidgetPrivate::setGeometry_sys () from
/usr/lib64/libQtGui.so.4
#19 0x00007f0032114257 in QWidget::setGeometry () from /usr/lib64/libQtGui.so.4
#20 0x00007f00324511c5 in ?? () from /usr/lib64/libQtGui.so.4
#21 0x00007f00324516f6 in QAbstractScrollArea::event () from
/usr/lib64/libQtGui.so.4
#22 0x00007f00320cdebd in QApplicationPrivate::notify_helper () from
/usr/lib64/libQtGui.so.4
#23 0x00007f00320d428a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#24 0x00007f0033a549bb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#25 0x00007f003131e78c in QCoreApplication::notifyInternal () from
/usr/lib64/libQtCore.so.4
#26 0x00007f00321465c6 in QWidgetPrivate::setGeometry_sys () from
/usr/lib64/libQtGui.so.4
#27 0x00007f0032114257 in QWidget::setGeometry () from /usr/lib64/libQtGui.so.4
#28 0x00007f003246407a in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00007f00323ee85c in ?? () from /usr/lib64/libQtGui.so.4
#30 0x00007f00323eea45 in ?? () from /usr/lib64/libQtGui.so.4
#31 0x00007f00320f57b7 in QLayoutPrivate::doResize () from
/usr/lib64/libQtGui.so.4
#32 0x00007f00320f58fa in QLayout::activate () from /usr/lib64/libQtGui.so.4
#33 0x00007f003211bd6b in QWidget::setVisible () from /usr/lib64/libQtGui.so.4
#34 0x00007f003244953b in QToolBarLayout::setGeometry () from
/usr/lib64/libQtGui.so.4
#35 0x00007f00320f57b7 in QLayoutPrivate::doResize () from
/usr/lib64/libQtGui.so.4
#36 0x00007f00320f58fa in QLayout::activate () from /usr/lib64/libQtGui.so.4
#37 0x00007f00320cde7e in QApplicationPrivate::notify_helper () from
/usr/lib64/libQtGui.so.4
#38 0x00007f00320d428a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#39 0x00007f0033a549bb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#40 0x00007f003131e78c in QCoreApplication::notifyInternal () from
/usr/lib64/libQtCore.so.4
#41 0x00007f00321465c6 in QWidgetPrivate::setGeometry_sys () from
/usr/lib64/libQtGui.so.4
#42 0x00007f0032114257 in QWidget::setGeometry () from /usr/lib64/libQtGui.so.4
#43 0x00007f003246407a in ?? () from /usr/lib64/libQtGui.so.4
#44 0x00007f003246580a in ?? () from /usr/lib64/libQtGui.so.4
#45 0x00007f00323edb38 in ?? () from /usr/lib64/libQtGui.so.4
#46 0x00007f00323ee85c in ?? () from /usr/lib64/libQtGui.so.4
#47 0x00007f00323eea45 in ?? () from /usr/lib64/libQtGui.so.4
#48 0x00007f00320f57b7 in QLayoutPrivate::doResize () from
/usr/lib64/libQtGui.so.4
#49 0x00007f00320f58fa in QLayout::activate () from /usr/lib64/libQtGui.so.4
#50 0x00007f00320cde7e in QApplicationPrivate::notify_helper () from
/usr/lib64/libQtGui.so.4
#51 0x00007f00320d428a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#52 0x00007f0033a549bb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#53 0x00007f003131e78c in QCoreApplication::notifyInternal () from
/usr/lib64/libQtCore.so.4
#54 0x00007f00321228c5 in ?? () from /usr/lib64/libQtGui.so.4
#55 0x00007f003212b4e9 in QApplication::x11ProcessEvent () from
/usr/lib64/libQtGui.so.4
#56 0x00007f003214effc in ?? () from /usr/lib64/libQtGui.so.4
#57 0x00007f003131d0e2 in QEventLoop::processEvents () from
/usr/lib64/libQtCore.so.4
#58 0x00007f003131d275 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#59 0x00007f003131f315 in QCoreApplication::exec () from
/usr/lib64/libQtCore.so.4
#60 0x0000000000413f1d in main (argc=1, argv=0x7fff3c037e38) at
/home/matt/kde/trunk/KDE/kdegames/kpat/main.cpp:179


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 169533] When resized too fast, KPat asserts and crashes

by Bugzilla from coolo@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.kde.org/show_bug.cgi?id=169533


Stephan Kulow coolo kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #5 from Stephan Kulow <coolo kde org>  2008-09-09 21:10:04 ---
fixed in r859197. Missed one little detail: you need to resize _really_ small
:)


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[Bug 169533] When resized too fast, KPat asserts and crashes

by Bugzilla from echidnaman@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.kde.org/show_bug.cgi?id=169533





--- Comment #6 from Jonathan Thomas <echidnaman gmail com>  2008-09-09 21:30:42 ---
Eheh, sorry about that. ;-)
All's well that ends well though.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
LightInTheBox - Buy quality products at wholesale price!