[kmahjongg] [Bug 327337] New: kmahjongg crashes when use custom layout

Oleg Kukharchuk oleg.kuh at gmail.com
Fri Nov 8 23:01:15 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=327337

            Bug ID: 327337
           Summary: kmahjongg crashes when use custom layout
    Classification: Unclassified
           Product: kmahjongg
           Version: 0.8
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: oleg.kuh at gmail.com
                CC: kde-games-bugs at kde.org

Application: kmahjongg (0.8)
KDE Platform Version: 4.11.3 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.11.0-gentoo x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
- What I was doing when the application crashed:
I created a new layout for the kmahjongg. Application crashes during loading
this layout.
- Custom settings of the application:

The crash can be reproduced every time.

-- Backtrace:
Application: KMahjongg (kmahjongg), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fe4c1fcb1f5 in __GI_raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fe4c1fcc66b in __GI_abort () at abort.c:90
#8  0x00007fe4c200cfce in __libc_message (do_abort=2, fmt=0x7fe4c2102950 "***
Error in `%s': %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:196
#9  0x00007fe4c2012d36 in malloc_printerr (action=3, str=0x7fe4c2102a80
"free(): invalid next size (normal)", ptr=<optimized out>) at malloc.c:4902
#10 0x00007fe4c2013b20 in _int_free (av=0x7fe4c2339640 <main_arena>,
p=0x2e7bc80, have_lock=0) at malloc.c:3758
#11 0x000000000041c5d9 in free (alignment=8, x=<optimized out>) at
/usr/include/qt4/QtCore/qvector.h:99
#12 free (x=<optimized out>, this=<optimized out>) at
/usr/include/qt4/QtCore/qvector.h:468
#13 ~QVector (this=0x7fff0a127200, __in_chrg=<optimized out>) at
/usr/include/qt4/QtCore/qvector.h:124
#14 GameData::onlyFreeInLine (this=this at entry=0x2e6eaf0,
position=position at entry=64) at
/mnt/shared/portage/portage/kde-base/kmahjongg-4.11.3/work/kmahjongg-4.11.3/GameData.cpp:400
#15 0x000000000041ce47 in GameData::generateSolvableGame
(this=this at entry=0x2e6eaf0) at
/mnt/shared/portage/portage/kde-base/kmahjongg-4.11.3/work/kmahjongg-4.11.3/GameData.cpp:272
#16 0x000000000041d192 in GameData::generateStartPosition2 (this=0x2e6eaf0) at
/mnt/shared/portage/portage/kde-base/kmahjongg-4.11.3/work/kmahjongg-4.11.3/GameData.cpp:573
#17 0x0000000000416033 in BoardWidget::calculateNewGame (this=0x2e6c400,
gNumber=gNumber at entry=-1) at
/mnt/shared/portage/portage/kde-base/kmahjongg-4.11.3/work/kmahjongg-4.11.3/boardwidget.cpp:756
#18 0x000000000041dced in KMahjonggLayoutSelector::layoutChanged
(this=0x2e2eb80) at
/mnt/shared/portage/portage/kde-base/kmahjongg-4.11.3/work/kmahjongg-4.11.3/kmahjongglayoutselector.cpp:110
#19 0x00007fe4c27d9cb4 in QMetaObject::activate (sender=sender at entry=0x2e31070,
m=m at entry=0x7fe4c3c5c800 <QListWidget::staticMetaObject>,
local_signal_index=local_signal_index at entry=6, argv=argv at entry=0x7fff0a127520)
at kernel/qobject.cpp:3547
#20 0x00007fe4c371c6af in QListWidget::currentItemChanged
(this=this at entry=0x2e31070, _t1=_t1 at entry=0x304e760, _t2=0x2e914d0) at
.moc/release-shared/moc_qlistwidget.cpp:246
#21 0x00007fe4c371c7de in QListWidgetPrivate::_q_emitCurrentItemChanged
(this=0x2e310a0, current=..., previous=...) at itemviews/qlistwidget.cpp:1112
#22 0x00007fe4c27d9cb4 in QMetaObject::activate (sender=sender at entry=0x2e629c0,
m=m at entry=0x7fe4c3c5c0c0 <QItemSelectionModel::staticMetaObject>,
local_signal_index=local_signal_index at entry=1, argv=argv at entry=0x7fff0a127710)
at kernel/qobject.cpp:3547
#23 0x00007fe4c370b35a in QItemSelectionModel::currentChanged
(this=this at entry=0x2e629c0, _t1=..., _t2=...) at
.moc/release-shared/moc_qitemselectionmodel.cpp:172
#24 0x00007fe4c370b449 in QItemSelectionModel::setCurrentIndex (this=0x2e629c0,
index=..., command=...) at itemviews/qitemselectionmodel.cpp:1175
#25 0x00007fe4c36bb208 in QAbstractItemView::mousePressEvent (this=0x2e31070,
event=<optimized out>) at itemviews/qabstractitemview.cpp:1682
#26 0x00007fe4c32212a8 in QWidget::event (this=this at entry=0x2e31070,
event=event at entry=0x7fff0a128500) at kernel/qwidget.cpp:8372
#27 0x00007fe4c35ae8f6 in QFrame::event (this=0x2e31070, e=0x7fff0a128500) at
widgets/qframe.cpp:557
#28 0x00007fe4c36c1ceb in QAbstractItemView::viewportEvent (this=0x2e31070,
event=0x7fff0a128500) at itemviews/qabstractitemview.cpp:1644
#29 0x00007fe4c27c5b44 in
QCoreApplicationPrivate::sendThroughObjectEventFilters
(this=this at entry=0x25e1860, receiver=receiver at entry=0x2e315b0,
event=event at entry=0x7fff0a128500) at kernel/qcoreapplication.cpp:1059
#30 0x00007fe4c31d3dfc in QApplicationPrivate::notify_helper
(this=this at entry=0x25e1860, receiver=receiver at entry=0x2e315b0,
e=e at entry=0x7fff0a128500) at kernel/qapplication.cpp:4558
#31 0x00007fe4c31d7039 in QApplication::notify (this=this at entry=0x7fff0a129130,
receiver=receiver at entry=0x2e315b0, e=e at entry=0x7fff0a128500) at
kernel/qapplication.cpp:4105
#32 0x00007fe4c3ed08d6 in KApplication::notify (this=0x7fff0a129130,
receiver=0x2e315b0, event=0x7fff0a128500) at
/mnt/shared/portage/portage/kde-base/kdelibs-4.11.3/work/kdelibs-4.11.3/kdeui/kernel/kapplication.cpp:311
#33 0x00007fe4c27c59de in QCoreApplication::notifyInternal
(this=0x7fff0a129130, receiver=receiver at entry=0x2e315b0,
event=event at entry=0x7fff0a128500) at kernel/qcoreapplication.cpp:949
#34 0x00007fe4c31d9f1b in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#35 QApplicationPrivate::sendMouseEvent (receiver=receiver at entry=0x2e315b0,
event=event at entry=0x7fff0a128500, alienWidget=alienWidget at entry=0x2e315b0,
nativeWidget=nativeWidget at entry=0x2d98890,
buttonDown=buttonDown at entry=0x7fe4c3c7a208 <qt_button_down>,
lastMouseReceiver=..., spontaneous=spontaneous at entry=true) at
kernel/qapplication.cpp:3173
#36 0x00007fe4c324d0d4 in QETWidget::translateMouseEvent
(this=this at entry=0x2d98890, event=event at entry=0x7fff0a128c50) at
kernel/qapplication_x11.cpp:4517
#37 0x00007fe4c324b9d1 in QApplication::x11ProcessEvent (this=0x7fff0a129130,
event=event at entry=0x7fff0a128c50) at kernel/qapplication_x11.cpp:3640
#38 0x00007fe4c32745ea in x11EventSourceDispatch (s=s at entry=0x25e4800,
callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x00007fe4bddc6055 in g_main_dispatch (context=0x25de8d0) at
/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3054
#40 g_main_context_dispatch (context=context at entry=0x25de8d0) at
/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3630
#41 0x00007fe4bddc6398 in g_main_context_iterate
(context=context at entry=0x25de8d0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3701
#42 0x00007fe4bddc6454 in g_main_context_iteration (context=0x25de8d0,
may_block=1) at
/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3762
#43 0x00007fe4c27f3d36 in QEventDispatcherGlib::processEvents (this=0x25b3ba0,
flags=...) at kernel/qeventdispatcher_glib.cpp:425
#44 0x00007fe4c32746be in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007fe4c27c468f in QEventLoop::processEvents
(this=this at entry=0x7fff0a129010, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007fe4c27c4918 in QEventLoop::exec (this=this at entry=0x7fff0a129010,
flags=...) at kernel/qeventloop.cpp:204
#47 0x00007fe4c27c9b78 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1221
#48 0x00007fe4c31d277c in QApplication::exec () at kernel/qapplication.cpp:3823
#49 0x000000000040fe51 in main (argc=1, argv=0x7fff0a129268) at
/mnt/shared/portage/portage/kde-base/kmahjongg-4.11.3/work/kmahjongg-4.11.3/main.cpp:64

Possible duplicates by query: bug 322518, bug 321465, bug 320526, bug 320128,
bug 314055.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list