Bug 244297 - Crash/possible infinite recursion in ZoomWidget
Summary: Crash/possible infinite recursion in ZoomWidget
Status: RESOLVED WORKSFORME
Alias: None
Product: palapeli
Classification: Applications
Component: general (other bugs)
Version First Reported In: 1.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Stefan Majewsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-12 16:01 UTC by Jonathan Thomas
Modified: 2021-01-02 04:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Thomas 2010-07-12 16:01:08 UTC
Version:           1.1 (KDE SC 4.5) (using Devel) 
OS:                Linux

We received a report about a crash at https://launchpad.net/bugs/604597

Unfortunately, the reporter's explanation about the circumstances were very sparse, but fortunately the backtrace is quite informative about the crash:

#0  0x011bb949 in QFont (this=0xbf5e8058) at text/qfont.cpp:766
No locals.
#1  0x012a697e in QStyleOption (this=0xbf5e8100, version=1, type=983041)
    at styles/qstyleoption.cpp:163
No locals.
#2  0x012a89c0 in QStyleOptionComplex (this=0xbf5e8100, version=1, 
    type=983041) at styles/qstyleoption.cpp:2786
No locals.
#3  0x012a9872 in QStyleOptionSlider (this=0xbf5e8100)
    at styles/qstyleoption.cpp:2878
No locals.
#4  0x014356a0 in QScrollBar::sizeHint (this=0x8e33358)
    at widgets/qscrollbar.cpp:491
	opt = {<QStyleOptionComplex> = {<QStyleOption> = {version = 1, 
      type = 983041, state = {i = 0}, direction = Qt::LeftToRight, rect = {
        x1 = 0, y1 = 0, x2 = -1, y2 = -1}, fontMetrics = {d = {
          d = 0x1000000}}, palette = {static staticMetaObject = {d = {
            superdata = 0x0, stringdata = 0x1724680 "QPalette", 
            data = 0x17247c0, extradata = 0x0}}, d = 0x1, current_group = 0, 
        resolve_mask = 0}}, subControls = {i = 0}, activeSubControls = {
      i = 0}}, orientation = 0, minimum = 0, maximum = 0, 
  tickPosition = QSlider::NoTicks, tickInterval = 0, upsideDown = false, 
  sliderPosition = 23242253, sliderValue = 0, singleStep = 0, pageStep = 0, 
  notchTarget = 0, dialWrapping = false}
	scrollBarExtent = 0
	scrollBarSliderMin = <value optimized out>
	size = {wd = 0, ht = 0}
#5  0x01472929 in QAbstractScrollArea::maximumViewportSize (this=0x8e32538)
    at widgets/qabstractscrollarea.cpp:586
	d = (const QAbstractScrollAreaPrivate * const) 0x8e32570
	hsbExt = 148867096
	f = 148873512
	max = {wd = -1084325192, ht = 23026580}
#6  0x016592ec in QGraphicsViewPrivate::recalculateContentSize (
    this=0x8e32570) at graphicsview/qgraphicsview.cpp:370
	q = (QGraphicsView * const) 0x8e32538
	width = 22975848
	height = 26116084
	scrollBarExtent = <value optimized out>
	oldLeftIndent = 0
	oldTopIndent = 7.4679457135539938e-316
	left = <value optimized out>
	top = <value optimized out>
	bottom = <value optimized out>
	useVerticalScrollBar = <value optimized out>
	right = <value optimized out>
	viewRect = {xp = -0.0018627718091011123, yp = -0.0018624216640948498, 
  w = 4.5862571482618553e-302, h = -0.001862257751321714}
	useHorizontalScrollBar = <value optimized out>
#7  0x01659d23 in QGraphicsView::updateSceneRect (this=0x8e32538, 
    rect=@0x8df88a4) at graphicsview/qgraphicsview.cpp:2646
	d = (QGraphicsViewPrivate * const) 0x0
#8  0x0165b365 in QGraphicsView::qt_metacall (this=0x8e32538, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf5e8508)
    at .moc/release-shared/moc_qgraphicsview.cpp:161
No locals.
#9  0x0808d7ff in ZoomWidget (this=0x0, parent=0x0)
    at /usr/include/qt4/QtCore/qglobal.h:2185
No locals.
#10 0x05490f3a in QMetaObject::metacall (object=0x8e32538, cl=26116084, 
    idx=35, argv=0xbf5e8508) at kernel/qmetaobject.cpp:237
	mo = <value optimized out>
#11 0x054a3ccd in QMetaObject::activate (sender=0x8df7f48, m=0x80ac888, 
    local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3280
	method = 35
	currentSender = {sender = 0x8df7f48, signal = 5, ref = 1}
	receiverInSameThread = true
	previousSender = (QObjectPrivate::Sender *) 0xbf5e8908
	c = (QObjectPrivate::Connection *) 0x8dfb008
	last = (QObjectPrivate::Connection *) 0x8dfb008
	methodOffset = <value optimized out>
	signal_absolute_index = 5
	empty_argv = {0x0}
	currentThreadData = (QThreadData *) 0x8abc0a0
	locker = {val = 145983080}
	connectionLists = (QObjectConnectionListVector *) 0x8df8be0
	signalOffset = <value optimized out>
	signal_index = 3
#12 0x0161d143 in QGraphicsScene::sceneRectChanged (this=0x8df7f48, 
    _t1=@0x8df88a4) at .moc/release-shared/moc_qgraphicsscene.cpp:193
	_a = {0x0, 0x8df88a4}
#13 0x01632d87 in QGraphicsScene::sceneRect (this=0x8df7f48)
    at graphicsview/qgraphicsscene.cpp:1665
	d = (const QGraphicsScenePrivate * const) 0x8df8818
#14 0x0164ea6d in QGraphicsView::sceneRect (this=0x8e32538)
    at graphicsview/qgraphicsview.cpp:1693
	d = <value optimized out>
#15 0x01659316 in QGraphicsViewPrivate::recalculateContentSize (
    this=0x8e32570) at graphicsview/qgraphicsview.cpp:373
	q = (QGraphicsView * const) 0x8e32538
	width = 634
	height = 474
	scrollBarExtent = <value optimized out>
	oldLeftIndent = 0
	oldTopIndent = 7.4679457135539938e-316
	left = <value optimized out>
	top = <value optimized out>
	bottom = <value optimized out>
	useVerticalScrollBar = <value optimized out>
	right = <value optimized out>
	viewRect = {xp = -0.0018637999892234878, yp = -0.0018634498442172253, 
  w = 4.5862571482624273e-302, h = -0.0018632859314440895}
	useHorizontalScrollBar = <value optimized out>
#16 0x01659d23 in QGraphicsView::updateSceneRect (this=0x8e32538, 
    rect=@0x8df88a4) at graphicsview/qgraphicsview.cpp:2646
	d = (QGraphicsViewPrivate * const) 0x0
#17 0x0165b365 in QGraphicsView::qt_metacall (this=0x8e32538, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf5e8958)
    at .moc/release-shared/moc_qgraphicsview.cpp:161
No locals.
#18 0x0808d7ff in ZoomWidget (this=0x0, parent=0x0)
    at /usr/include/qt4/QtCore/qglobal.h:2185
No locals.
#19 0x05490f3a in QMetaObject::metacall (object=0x8e32538, cl=26116084, 
    idx=35, argv=0xbf5e8958) at kernel/qmetaobject.cpp:237
	mo = <value optimized out>
#20 0x054a3ccd in QMetaObject::activate (sender=0x8df7f48, m=0x80ac888, 
    local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3280
	method = 35
	currentSender = {sender = 0x8df7f48, signal = 5, ref = 1}
	receiverInSameThread = true
	previousSender = (QObjectPrivate::Sender *) 0xbf5e8d58
	c = (QObjectPrivate::Connection *) 0x8dfb008
	last = (QObjectPrivate::Connection *) 0x8dfb008
	methodOffset = <value optimized out>
	signal_absolute_index = 5
	empty_argv = {0x0}
	currentThreadData = (QThreadData *) 0x8abc0a0
	locker = {val = 145983080}
	connectionLists = (QObjectConnectionListVector *) 0x8df8be0
	signalOffset = <value optimized out>
	signal_index = 3
#21 0x0161d143 in QGraphicsScene::sceneRectChanged (this=0x8df7f48, 
    _t1=@0x8df88a4) at .moc/release-shared/moc_qgraphicsscene.cpp:193
	_a = {0x0, 0x8df88a4}
#22 0x01632d87 in QGraphicsScene::sceneRect (this=0x8df7f48)
    at graphicsview/qgraphicsscene.cpp:1665
	d = (const QGraphicsScenePrivate * const) 0x8df8818
#23 0x0164ea6d in QGraphicsView::sceneRect (this=0x8e32538)
    at graphicsview/qgraphicsview.cpp:1693
	d = <value optimized out>
#24 0x01659316 in QGraphicsViewPrivate::recalculateContentSize (
    this=0x8e32570) at graphicsview/qgraphicsview.cpp:373
	q = (QGraphicsView * const) 0x8e32538
	width = 634
	height = 474
	scrollBarExtent = <value optimized out>
	oldLeftIndent = 0
	oldTopIndent = 7.4679457135539938e-316
	left = <value optimized out>
	top = <value optimized out>
	bottom = <value optimized out>
	useVerticalScrollBar = <value optimized out>
	right = <value optimized out>
	viewRect = {xp = -0.0018648281693458633, yp = -0.0018644780243396008, 
  w = 4.5862571482629992e-302, h = -0.001864314111566465}
	useHorizontalScrollBar = <value optimized out>
#25 0x01659d23 in QGraphicsView::updateSceneRect (this=0x8e32538, 
    rect=@0x8df88a4) at graphicsview/qgraphicsview.cpp:2646
	d = (QGraphicsViewPrivate * const) 0x0
#26 0x0165b365 in QGraphicsView::qt_metacall (this=0x8e32538, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf5e8da8)
    at .moc/release-shared/moc_qgraphicsview.cpp:161
No locals.
#27 0x0808d7ff in ZoomWidget (this=0x0, parent=0x0)
    at /usr/include/qt4/QtCore/qglobal.h:2185
No locals.
#28 0x05490f3a in QMetaObject::metacall (object=0x8e32538, cl=26116084, 
    idx=35, argv=0xbf5e8da8) at kernel/qmetaobject.cpp:237
	mo = <value optimized out>
#29 0x054a3ccd in QMetaObject::activate (sender=0x8df7f48, m=0x80ac888, 
    local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3280
	method = 35
	currentSender = {sender = 0x8df7f48, signal = 5, ref = 1}
	receiverInSameThread = true
	previousSender = (QObjectPrivate::Sender *) 0xbf5e91a8
	c = (QObjectPrivate::Connection *) 0x8dfb008
	last = (QObjectPrivate::Connection *) 0x8dfb008
	methodOffset = <value optimized out>
	signal_absolute_index = 5
	empty_argv = {0x0}
	currentThreadData = (QThreadData *) 0x8abc0a0
	locker = {val = 145983080}
	connectionLists = (QObjectConnectionListVector *) 0x8df8be0
	signalOffset = <value optimized out>
	signal_index = 3
#30 0x0161d143 in QGraphicsScene::sceneRectChanged (this=0x8df7f48, 
    _t1=@0x8df88a4) at .moc/release-shared/moc_qgraphicsscene.cpp:193
	_a = {0x0, 0x8df88a4}
#31 0x01632d87 in QGraphicsScene::sceneRect (this=0x8df7f48)
    at graphicsview/qgraphicsscene.cpp:1665
	d = (const QGraphicsScenePrivate * const) 0x8df8818
#32 0x0164ea6d in QGraphicsView::sceneRect (this=0x8e32538)
    at graphicsview/qgraphicsview.cpp:1693
	d = <value optimized out>
#33 0x01659316 in QGraphicsViewPrivate::recalculateContentSize (
    this=0x8e32570) at graphicsview/qgraphicsview.cpp:373
	q = (QGraphicsView * const) 0x8e32538
	width = 634
	height = 474
	scrollBarExtent = <value optimized out>
	oldLeftIndent = 0
	oldTopIndent = 7.4679457135539938e-316
	left = <value optimized out>
	top = <value optimized out>
	bottom = <value optimized out>
	useVerticalScrollBar = <value optimized out>
	right = <value optimized out>
	viewRect = {xp = -0.0018658563494682388, yp = -0.0018655062044619763, 
  w = 4.5862571482635712e-302, h = -0.0018653422916888405}
	useHorizontalScrollBar = <value optimized out>
#34 0x01659d23 in QGraphicsView::updateSceneRect (this=0x8e32538, 
    rect=@0x8df88a4) at graphicsview/qgraphicsview.cpp:2646
	d = (QGraphicsViewPrivate * const) 0x0
#35 0x0165b365 in QGraphicsView::qt_metacall (this=0x8e32538, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf5e91f8)
    at .moc/release-shared/moc_qgraphicsview.cpp:161

This snippet repeats for about 2000 frames, suggesting some sort of infinite recursion. It also appears that there is a null ZoomWidget pointer in there.

Here is a permalink to the full backtrace attachment at the Launchpad bug: http://launchpadlibrarian.net/51781019/Stacktrace.txt

Reproducible: Didn't try
Comment 1 Justin Zobel 2020-12-03 22:27:04 UTC
Thank you for the report, Jonathan.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 2 Bug Janitor Service 2020-12-18 04:34:54 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2021-01-02 04:34:28 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!