[Kstars-devel] Crash, possibly related to line clipping

Akarsh Simha akarshsimha at gmail.com
Mon Jun 30 01:06:13 CEST 2008


Hi

I encountered a crash while using KStars today. Unfortunately, I was
unable to reproduce it. 

I'm not yet acquainted with interpreting backtraces, but the backtrace
seems to hint that this is a problem with line clipping. Is it a bug
in Qt's libraries or our application? Could someone help me here?

I've attached the backtrace.

Regards
Akarsh
-------------- next part --------------
Application: KStars (kstars_branch), signal SIGABRT
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb4bea720 (LWP 7780)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb4f1af15 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb4f1c891 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb7db00a8 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbfbab8c0 "ASSERT: \"!qFuzzyCompare(c + 1, 1)\" in file ../../include/QtCore/../../src/corelib/tools/qpoint.h, line 349") at global/qglobal.cpp:2058
#10 0xb7db010d in qFatal (msg=0xb7f2cfc4 "ASSERT: \"%s\" in file %s, line %d")
    at global/qglobal.cpp:2260
#11 0xb7db0577 in qt_assert (assertion=0xb598936e "!qFuzzyCompare(c + 1, 1)", 
    file=0xb5989338 "../../include/QtCore/../../src/corelib/tools/qpoint.h", 
    line=349) at global/qglobal.cpp:1828
#12 0xb53dbf97 in operator/ (p=@0xbfbada08, c=9.3748568033735423e-13)
    at ../../include/QtCore/../../src/corelib/tools/qpoint.h:349
#13 0xb5424dfc in normalize (p=@0xbfbada08) at painting/qpathclipper.cpp:81
#14 0xb5424ed0 in computeAngle (v=@0xbfbada08)
    at painting/qpathclipper.cpp:1152
#15 0xb5425c25 in QWingedEdge::addEdge (this=0xbfbadc58, fi=8, si=7, 
    bezier=0x0, t0=0, t1=1) at painting/qpathclipper.cpp:1212
#16 0xb5426a7f in QWingedEdge::intersectAndAdd (this=0xbfbadc58)
    at painting/qpathclipper.cpp:713
#17 0xb5426d29 in QWingedEdge (this=0xbfbadc58, subject=@0xbfbadd5c, 
    clip=@0xbfbadd60) at painting/qpathclipper.cpp:748
#18 0xb542731c in QPathClipper::clip (this=0xbfbadd5c, 
    operation=QPathClipper::BoolAnd) at painting/qpathclipper.cpp:1728
#19 0xb53d3fa7 in QPainterPath::intersected (this=0xbfbaee18, p=@0xbfbaedd8)
    at painting/qpainterpath.cpp:3012
#20 0xb546ea4c in QX11PaintEnginePrivate::fillPath (this=0xa600188, 
    path=@0xbfbaef9c, gc_mode=QX11PaintEnginePrivate::BrushGC, transform=true)
    at painting/qpaintengine_x11.cpp:1611
#21 0xb546ef22 in QX11PaintEngine::drawPath (this=0xa519388, path=@0xbfbaef9c)
    at painting/qpaintengine_x11.cpp:1640
#22 0xb546c82b in QX11PaintEngine::drawLines (this=0xa519388, 
    lines=0xbfbaf0d8, lineCount=1) at painting/qpaintengine_x11.cpp:679
#23 0xb53c9690 in QPainter::drawLines (this=0xbfbaf6c8, lines=0xbfbaf0d8, 
    lineCount=1) at painting/qpainter.cpp:3994
#24 0x080941ee in QPainter::drawLine ()
#25 0x08094221 in QPainter::drawLine ()
#26 0x0809b5e9 in LineListIndex::drawLines ()
#27 0x0809b7bc in LineListIndex::draw ()
#28 0x0809658e in SkyMapComposite::draw ()
#29 0x0824d6f3 in SkyMap::paintEvent ()
#30 0xb52f665f in QWidget::event (this=0x9ff7060, event=0xbfbafca0)
    at kernel/qwidget.cpp:7065
#31 0xb528c765 in QApplicationPrivate::notify_helper (this=0x8304cf0, 
    receiver=0x9ff7060, e=0xbfbafca0) at kernel/qapplication.cpp:3772
#32 0xb528e4fb in QApplication::notify (this=0xbfbb1004, receiver=0x9ff7060, 
    e=0xbfbafca0) at kernel/qapplication.cpp:3739
#33 0xb779ea97 in KApplication::notify (this=0xbfbb1004, receiver=0x9ff7060, 
    event=0xbfbafca0)
    at /c/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#34 0xb7ec933d in QCoreApplication::notifyInternal (this=0xbfbb1004, 
    receiver=0x9ff7060, event=0xbfbafca0) at kernel/qcoreapplication.cpp:587
#35 0xb7076369 in QCoreApplication::sendSpontaneousEvent (receiver=0x9ff7060, 
    event=0xbfbafca0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#36 0xb530517e in qt_sendSpontaneousEvent (receiver=0x9ff7060, 
    event=0xbfbafca0) at kernel/qapplication_x11.cpp:4680
#37 0xb52fe47d in QWidgetPrivate::drawWidget (this=0x845c868, pdev=0x83c68fc, 
    rgn=@0xbfbafe0c, offset=@0xbfbafe44, flags=4, sharedPainter=0xba23ea0)
    at kernel/qwidget.cpp:4491
#38 0xb52fecc8 in QWidgetPrivate::paintSiblingsRecursive (this=0x83d0130, 
    pdev=0x83c68fc, siblings=@0xbfbaff74, index=9, rgn=@0xbfbafeb0, 
    offset=@0x83c68ec, flags=4, sharedPainter=0xba23ea0)
    at kernel/qwidget.cpp:4589
#39 0xb52feb69 in QWidgetPrivate::paintSiblingsRecursive (this=0x83d0130, 
    pdev=0x83c68fc, siblings=@0xbfbaff74, index=11, rgn=@0xbfbb00c4, 
    offset=@0x83c68ec, flags=4, sharedPainter=0xba23ea0)
    at kernel/qwidget.cpp:4579
#40 0xb52fe8a5 in QWidgetPrivate::drawWidget (this=0x83d0130, pdev=0x83c68fc, 
    rgn=@0xbfbb00c4, offset=@0x83c68ec, flags=5, sharedPainter=0xba23ea0)
    at kernel/qwidget.cpp:4532
#41 0xb548b5f9 in QWidgetBackingStore::cleanRegion (this=0x83c68e0, 
    rgn=@0xbfbb0194, widget=0x83d0048, recursiveCopyToScreen=true)
    at painting/qbackingstore.cpp:1035
#42 0xb548bff0 in qt_syncBackingStore (widget=0x83d0048)
    at painting/qbackingstore.cpp:319
#43 0xb52f6bf8 in QWidget::event (this=0x83d0048, event=0xba3ebe0)
    at kernel/qwidget.cpp:7209
#44 0xb56e3543 in QMainWindow::event (this=0x83d0048, event=0xba3ebe0)
    at widgets/qmainwindow.cpp:1252
#45 0xb78610a6 in KMainWindow::event (this=0x83d0048, ev=0xba3ebe0)
    at /c/kde-devel/kde/src/KDE/kdelibs/kdeui/widgets/kmainwindow.cpp:1002
#46 0xb78a1149 in KXmlGuiWindow::event (this=0x83d0048, ev=0xba3ebe0)
    at /c/kde-devel/kde/src/KDE/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:122
#47 0xb528c765 in QApplicationPrivate::notify_helper (this=0x8304cf0, 
    receiver=0x83d0048, e=0xba3ebe0) at kernel/qapplication.cpp:3772
#48 0xb528e4fb in QApplication::notify (this=0xbfbb1004, receiver=0x83d0048, 
    e=0xba3ebe0) at kernel/qapplication.cpp:3739
#49 0xb779ea97 in KApplication::notify (this=0xbfbb1004, receiver=0x83d0048, 
    event=0xba3ebe0)
    at /c/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#50 0xb7ec933d in QCoreApplication::notifyInternal (this=0xbfbb1004, 
    receiver=0x83d0048, event=0xba3ebe0) at kernel/qcoreapplication.cpp:587
#51 0xb7ecd971 in QCoreApplication::sendEvent (receiver=0x83d0048, 
    event=0xba3ebe0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#52 0xb7ec98de in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x82fa7b8) at kernel/qcoreapplication.cpp:1198
#53 0xb7ec9b53 in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1091
#54 0xb7f0037e in QCoreApplication::sendPostedEvents ()
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#55 0xb7eff56b in postEventSourceDispatch (s=0x8306ed8)
    at kernel/qeventdispatcher_glib.cpp:211
#56 0xb4e6c7e8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#57 0xb4e6fa3e in ?? () from /usr/lib/libglib-2.0.so.0
#58 0x08306e58 in ?? ()
#59 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20080630/4ccd64fa/attachment.pgp 


More information about the Kstars-devel mailing list