Bug 165341 - Crash when changing histogram channel when welcome page is shown
Summary: Crash when changing histogram channel when welcome page is shown
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-WelcomePage (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-29 17:01 UTC by Thomas McGuire
Modified: 2017-07-28 20:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.10.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas McGuire 2008-06-29 17:01:55 UTC
Version:           0.10.0-svn (rev.: 819557) (using 4.00.84 (KDE 4.0.84 (KDE 4.1 >= 20080625), compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.22.17-0.1-default

When the welcome page is still shown, changing the channel on the histogram tab of the colors sidebar item will crash Digikam.
Probably the whole colors sidebar item should be disabled to prevent this.

[Thread debugging using libthread_db enabled]
[New Thread 0xb498f6d0 (LWP 21469)]
[New Thread 0xb278eb90 (LWP 21478)]
[New Thread 0xb1f8db90 (LWP 21476)]
[New Thread 0xb314cb90 (LWP 21473)]
[KCrash handler]
#6  0xb721b0d8 in Digikam::ImageHistogram::getMean (this=0x0, channel=1, 
    start=0, end=99)
    at /media/kdedev/trunk/src/KDE/graphics/digikam/libs/histogram/imagehistogram.cpp:308
#7  0xb732c42d in Digikam::ImagePropertiesColorsTab::updateStatistiques (
    this=0x879a3a0)
   Application: digiKam (digikam), signal SIGSEGV at /media/kdedev/trunk/src/KDE/graphics/digikam/libs/imageproperties/imagepropertiescolorstab.cpp:793
#8  0xb732ce6b in Digikam::ImagePropertiesColorsTab::slotChannelChanged (
    this=0x879a3a0, channel=1)
    at /media/kdedev/trunk/src/KDE/graphics/digikam/libs/imageproperties/imagepropertiescolorstab.cpp:696
#9  0xb733762c in Digikam::ImagePropertiesColorsTab::qt_metacall (
    this=0x879a3a0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf82235c)
    at /media/kdedev/trunk/build/KDE/graphics/digikam/digikam/imagepropertiescolorstab.moc:93
#10 0xb7e69633 in QMetaObject::activate ()
   from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4
#11 0xb7e69ab5 in QMetaObject::activate ()
   from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4
#12 0xb5ba9b12 in QComboBox::activated ()
   from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4
#13 0xb5baaf68 in QComboBoxPrivate::emitActivated ()
   from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4
#14 0xb5bac178 in QComboBoxPrivate::_q_itemSelected ()
   from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4
#15 0xb5bb2434 in QComboBox::qt_metacall ()
   from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4
#16 0xb7e69633 in QMetaObject::activate ()
   from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4
#17 0xb7e69ab5 in QMetaObject::activate ()
   from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4
#18 0xb5e3b896 in QComboBoxPrivateContainer::itemSelected ()
   from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4
#19 0xb5bacdc4 in QComboBoxPrivateContainer::eventFilter ()
   from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4
#20 0xb7e52c0c in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
   from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4
#21 0xb5817de7 in QApplicationPrivate::notify_helper ()
   from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4
#22 0xb581898f in QApplication::notify ()
   from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4
#23 0xb793ff6b in KApplication::notify (this=0xbf8233cc, receiver=0xa443a48, 
    event=0xbf822b14)
    at /media/kdedev/trunk/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#24 0xb7e5488a in QCoreApplication::notifyInternal ()
   from /media/kdedev/trunk/qt-copy/lib/libQtCore.so.4
#25 0xb656cf0f in QCoreApplication::sendSpontaneousEvent ()
   from /media/kdedev/trunk/qt-copy/lib/libQt3Support.so.4
#26 0xb581c79a in QApplicationPrivate::sendMouseEvent ()
   from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4
#27 0xb5896331 in QETWidget::translateMouseEvent ()
   from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4
#28 0xb5894047 in QApplication::x11ProcessEvent ()
   from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4
#29 0xb58bf538 in x11EventSourceDispatch ()
   from /media/kdedev/trunk/qt-copy/lib/libQtGui.so.4
#30 0xb50295d6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0xb502c972 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x08384c90 in ?? ()
#33 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 caulier.gilles 2008-06-29 18:04:05 UTC
SVN commit 825906 by cgilles:

disable histogram view at startup by default.
BUGS: 165341


 M  +8 -8      imagepropertiescolorstab.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=825906
Comment 2 Marcel Wiesweg 2008-07-02 22:42:55 UTC
SVN commit 827393 by mwiesweg:

Use a slightly different way to achieve the same bug fix

CCBUG:165341


 M  +9 -8      imagepropertiescolorstab.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=827393