Bug 222012 - kpat crashes with segfault KDE 4.4 RC1
Summary: kpat crashes with segfault KDE 4.4 RC1
Status: RESOLVED DUPLICATE of bug 220166
Alias: None
Product: kpat
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-10 03:55 UTC by cristjs
Modified: 2010-01-10 21:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cristjs 2010-01-10 03:55:27 UTC
Application: kpat (3.3)
KDE Platform Version: 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-17-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
Seems to be the same crash error as Beta-1. Still occurs in RC1

The crash can be reproduced every time.

 -- Backtrace:
Application: KPatience (kpat), signal: Aborted
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f4f20014770 (LWP 2678))]

Thread 2 (Thread 0x7f4f17f0f910 (LWP 2682)):
[KCrash Handler]
#5  0x00007f4f24e504b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f4f24e53f50 in *__GI_abort () at abort.c:92
#7  0x00007f4f24e88c97 in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f4f24e92dd6 in malloc_printerr (action=3, str=0x7f4f24f517da "free(): invalid pointer", ptr=<value optimized out>) at malloc.c:6217
#9  0x000000000043eb5d in free_array<MOVE> (this=0x16fb650, parent=0x7f4f171adf48) at /build/buildd/kdegames-4.3.90/kpat/patsolve/memory.h:80
#10 Solver::solve (this=0x16fb650, parent=0x7f4f171adf48) at /build/buildd/kdegames-4.3.90/kpat/patsolve/patsolve.cpp:758
#11 0x000000000043ea8b in Solver::solve (this=0x16fb650, parent=0x7f4f16f38c58) at /build/buildd/kdegames-4.3.90/kpat/patsolve/patsolve.cpp:746
#12 0x000000000043ea8b in Solver::solve (this=0x16fb650, parent=0x7f4f173188a0) at /build/buildd/kdegames-4.3.90/kpat/patsolve/patsolve.cpp:746
#13 0x000000000043ea8b in Solver::solve (this=0x16fb650, parent=0x7f4f171d6ab0) at /build/buildd/kdegames-4.3.90/kpat/patsolve/patsolve.cpp:746
#14 0x000000000043f50b in Solver::doit (this=0x16fb650) at /build/buildd/kdegames-4.3.90/kpat/patsolve/patsolve.cpp:658
#15 0x000000000043f567 in Solver::patsolve (this=0x16fb650, _max_positions=<value optimized out>) at /build/buildd/kdegames-4.3.90/kpat/patsolve/patsolve.cpp:951
#16 0x0000000000420529 in SolverThread::run (this=0x1705940) at /build/buildd/kdegames-4.3.90/kpat/dealer.cpp:158
#17 0x00007f4f25bcc6c5 in QThreadPrivate::start (arg=0x1705940) at thread/qthread_unix.cpp:244
#18 0x00007f4f2593da04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#19 0x00007f4f24efc7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4f20014770 (LWP 2678)):
#0  0x00007f4f24ef0373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4f20cec29a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f4f20cec7d7 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007f4f20ceca85 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007f4f24412d4a in _XSend () from /usr/lib/libX11.so.6
#5  0x00007f4f243ff4b3 in ?? () from /usr/lib/libX11.so.6
#6  0x00007f4f243ff65e in XPutImage () from /usr/lib/libX11.so.6
#7  0x00007f4f269a8bc1 in QX11PixmapData::fromImage (this=0x1f97000, img=<value optimized out>, flags=<value optimized out>) at image/qpixmap_x11.cpp:606
#8  0x00007f4f26994a46 in QPixmap::fromImage (image=..., flags=) at image/qpixmap.cpp:1997
#9  0x00007f4f269f67c8 in QPaintEngine::drawImage (this=0x15132d0, r=..., image=..., sr=..., flags=<value optimized out>) at painting/qpaintengine.cpp:623
#10 0x00007f4f26ab0762 in QX11PaintEngine::drawImage (this=0x15132d0, r=..., image=..., sr=..., flags=) at painting/qpaintengine_x11.cpp:1893
#11 0x00007f4f26a0b66f in QPainterPrivate::draw_helper (this=0x1f8b7c0, originalPath=<value optimized out>, op=<value optimized out>) at painting/qpainter.cpp:484
#12 0x00007f4f26a0db7c in QPainter::drawRects (this=<value optimized out>, rects=<value optimized out>, rectCount=1) at painting/qpainter.cpp:3471
#13 0x00007f4f26a0e9c3 in QPainter::drawRect (this=0x7fff4213d9a0, p=<value optimized out>, pm=...) at ../../include/QtGui/../../src/gui/painting/qpainter.h:622
#14 QPainter::drawPixmap (this=0x7fff4213d9a0, p=<value optimized out>, pm=...) at painting/qpainter.cpp:5195
#15 0x00007f4f26e896a4 in QGraphicsPixmapItem::paint (this=0x16ee160, painter=0x7fff4213d9a0, option=0x16bac98, widget=<value optimized out>) at graphicsview/qgraphicsitem.cpp:9329
#16 0x00007f4f26ecd8f1 in QGraphicsScenePrivate::draw (this=<value optimized out>, item=0x16ee160, painter=0x7fff4213d9a0, viewTransform=<value optimized out>, transformPtr=<value optimized out>, 
    exposedRegion=<value optimized out>, widget=0x1500460, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true)
    at graphicsview/qgraphicsscene.cpp:4734
#17 0x00007f4f26ece10a in QGraphicsScenePrivate::drawSubtreeRecursive (this=<value optimized out>, item=0x16ee160, painter=0x7fff4213d9a0, viewTransform=0x7fff4213d790, exposedRegion=0x14eda70, 
    widget=0x1500460, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4669
#18 0x00007f4f26ece82c in QGraphicsScenePrivate::drawItems (this=0x16baa40, painter=0x7fff4213d9a0, viewTransform=0x7fff4213d790, exposedRegion=0x14eda70, widget=0x1500460)
    at graphicsview/qgraphicsscene.cpp:4565
#19 0x00007f4f26eed695 in QGraphicsView::paintEvent (this=0x14e7b60, event=<value optimized out>) at graphicsview/qgraphicsview.cpp:3352
#20 0x00007f4f26908175 in QWidget::event (this=0x14e7b60, event=0x7fff4213e240) at kernel/qwidget.cpp:8120
#21 0x00007f4f26cabe16 in QFrame::event (this=0x14e7b60, e=0x7fff4213e240) at widgets/qframe.cpp:557
#22 0x00007f4f26ee8a0b in QGraphicsView::viewportEvent (this=0x14e7b60, event=0x7fff4213e240) at graphicsview/qgraphicsview.cpp:2747
#23 0x00007f4f25cbf467 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1500460, event=0x7fff4213e240) at kernel/qcoreapplication.cpp:819
#24 0x00007f4f268b2e5c in QApplicationPrivate::notify_helper (this=0x13f4c60, receiver=0x1500460, e=0x7fff4213e240) at kernel/qapplication.cpp:4238
#25 0x00007f4f268b948d in QApplication::notify (this=0x7fff4213fe80, receiver=0x1500460, e=0x7fff4213e240) at kernel/qapplication.cpp:4125
#26 0x00007f4f27d7ee16 in KApplication::notify (this=0x7fff4213fe80, receiver=0x1500460, event=0x7fff4213e240) at ../../kdeui/kernel/kapplication.cpp:302
#27 0x00007f4f25cc004c in QCoreApplication::notifyInternal (this=0x7fff4213fe80, receiver=0x1500460, event=0x7fff4213e240) at kernel/qcoreapplication.cpp:704
#28 0x00007f4f2691072d in QCoreApplication::sendSpontaneousEvent (this=0x1501b90, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x1525f20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#29 QWidgetPrivate::drawWidget (this=0x1501b90, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1525f20)
    at kernel/qwidget.cpp:5322
#30 0x00007f4f26ac6e76 in QWidgetBackingStore::sync (this=0x1525f20) at painting/qbackingstore.cpp:1281
#31 0x00007f4f26901b60 in QWidgetPrivate::syncBackingStore (this=0x14ba1f0) at kernel/qwidget.cpp:1662
#32 0x00007f4f26908885 in QWidget::event (this=0x14ba050, event=0x1f8d0a0) at kernel/qwidget.cpp:8266
#33 0x00007f4f26cc6c9b in QMainWindow::event (this=0x14ba050, event=0x1f8d0a0) at widgets/qmainwindow.cpp:1434
#34 0x00007f4f27e95c63 in KXmlGuiWindow::event (this=0x7fff42139950, ev=0x1) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#35 0x00007f4f268b2e8c in QApplicationPrivate::notify_helper (this=0x13f4c60, receiver=0x14ba050, e=0x1f8d0a0) at kernel/qapplication.cpp:4242
#36 0x00007f4f268b948d in QApplication::notify (this=0x7fff4213fe80, receiver=0x14ba050, e=0x1f8d0a0) at kernel/qapplication.cpp:4125
#37 0x00007f4f27d7ee16 in KApplication::notify (this=0x7fff4213fe80, receiver=0x14ba050, event=0x1f8d0a0) at ../../kdeui/kernel/kapplication.cpp:302
#38 0x00007f4f25cc004c in QCoreApplication::notifyInternal (this=0x7fff4213fe80, receiver=0x14ba050, event=0x1f8d0a0) at kernel/qcoreapplication.cpp:704
#39 0x00007f4f25cc27c7 in QCoreApplication::sendEvent (receiver=0x14ba050, event_type=<value optimized out>, data=0x13a81e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x14ba050, event_type=<value optimized out>, data=0x13a81e0) at kernel/qcoreapplication.cpp:1345
#41 0x00007f4f26ed53da in QGraphicsViewPrivate::dispatchPendingUpdateRequests (this=0x16baa40) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:178
#42 QGraphicsScenePrivate::_q_processDirtyItems (this=0x16baa40) at graphicsview/qgraphicsscene.cpp:487
#43 0x00007f4f26ed5962 in QGraphicsScene::qt_metacall (this=0x16b7450, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1f8cd50) at .moc/release-shared/moc_qgraphicsscene.cpp:130
#44 0x0000000000429f35 in DealerScene::qt_metacall (this=0x7fff42139950, _c=QMetaObject::ReadProperty, _id=-1, _a=0xffffffffffffffff)
    at /build/buildd/kdegames-4.3.90/obj-x86_64-linux-gnu/kpat/dealer.moc:105
#45 0x0000000000451525 in Klondike::qt_metacall (this=0x7fff42139950, _c=QMetaObject::ReadProperty, _id=-1, _a=0xffffffffffffffff)
    at /build/buildd/kdegames-4.3.90/obj-x86_64-linux-gnu/kpat/klondike.moc:68
#46 0x00007f4f25ccfd19 in QObject::event (this=0x16b7450, e=0x1f90c70) at kernel/qobject.cpp:1260
#47 0x00007f4f26ed1970 in QGraphicsScene::event (this=0x16b7450, event=0x1f90c70) at graphicsview/qgraphicsscene.cpp:3450
#48 0x00007f4f268b2e8c in QApplicationPrivate::notify_helper (this=0x13f4c60, receiver=0x16b7450, e=0x1f90c70) at kernel/qapplication.cpp:4242
#49 0x00007f4f268b948d in QApplication::notify (this=0x7fff4213fe80, receiver=0x16b7450, e=0x1f90c70) at kernel/qapplication.cpp:4125
#50 0x00007f4f27d7ee16 in KApplication::notify (this=0x7fff4213fe80, receiver=0x16b7450, event=0x1f90c70) at ../../kdeui/kernel/kapplication.cpp:302
#51 0x00007f4f25cc004c in QCoreApplication::notifyInternal (this=0x7fff4213fe80, receiver=0x16b7450, event=0x1f90c70) at kernel/qcoreapplication.cpp:704
#52 0x00007f4f25cc27c7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x13a81e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#53 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x13a81e0) at kernel/qcoreapplication.cpp:1345
#54 0x00007f4f25ce9ae3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#55 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#56 0x00007f4f22382bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#57 0x00007f4f22386598 in ?? () from /lib/libglib-2.0.so.0
#58 0x00007f4f223866c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#59 0x00007f4f25ce9623 in QEventDispatcherGlib::processEvents (this=0x13a7800, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#60 0x00007f4f269612fe in QGuiEventDispatcherGlib::processEvents (this=0x7fff42139950, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#61 0x00007f4f25cbe972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#62 0x00007f4f25cbed4c in QEventLoop::exec (this=0x7fff4213fce0, flags=) at kernel/qeventloop.cpp:201
#63 0x00007f4f25cc2a8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#64 0x0000000000416f1c in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kdegames-4.3.90/kpat/main.cpp:314

Reported using DrKonqi
Comment 1 Stephan Kulow 2010-01-10 14:15:49 UTC
unfortunately your glibc is buggy. I'm told ubuntu released a fixed version, perhaps you should try it
Comment 2 Stefan Majewsky 2010-01-10 15:46:46 UTC
Stephan, shouldn't this be marked RESOLVED/UPSTREAM then?
Comment 3 Parker Coates 2010-01-10 21:41:27 UTC

*** This bug has been marked as a duplicate of bug 220166 ***