Bug 266330 - Crash on switching the image resolution on "basics page"
Summary: Crash on switching the image resolution on "basics page"
Status: RESOLVED DUPLICATE of bug 264768
Alias: None
Product: kooka
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: Jonathan Marten
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-14 22:10 UTC by Momo
Modified: 2011-02-15 17:14 UTC (History)
0 users

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 Momo 2011-02-14 22:10:40 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

It's on "Kooka Version 0.60 Using KDE Development Platform 4.6.00 (4.6.0) "release 381" " Every time I try to switch the scan resolution the application crashes. It's negligible whether black/white or color scan. Just switching causes the crash. The Scanner is a Canon Pixma MP540. 
Hope that helps.. Thanx a lot!

Reproducible: Always

Steps to Reproduce:
s. Details

Actual Results:  
Can only scan on 75 dpi. 


OS: Linux (x86_64) release 2.6.37-12-desktop
Compiler: gcc
Comment 1 Pino Toscano 2011-02-15 12:42:28 UTC
Please provide a backtrace of the crash.
Comment 2 Momo 2011-02-15 12:56:58 UTC
Ok, this is a backtrace that seems to be worthless:

Application: Kooka (kooka), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f805c325ed5 in KScanOption::get(int*) const () from /usr/lib64/liblibkscan.so.3
#7  0x00007f805c33075b in ScanParams::slotNewResolution(KScanOption*) () from /usr/lib64/liblibkscan.so.3
#8  0x00007f805c333214 in ScanParams::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/liblibkscan.so.3
#9  0x00000000004348c0 in _start ()

Nevertheless I will install the Debug-symbols so I try to reconstruct it again.
Comment 3 Jonathan Marten 2011-02-15 14:02:39 UTC
Backtrace probably the same as bug 264768.

If possible, could you please let me know make/model of scanner and how connected.  Could you also try running kooka in a terminal window and attach the log output.

*** This bug has been marked as a duplicate of bug 264768 ***
Comment 4 Momo 2011-02-15 14:12:23 UTC
Next I started Kooka by terminal window and got these results:

X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 55 (X_CreateGC)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 55 (X_CreateGC)
  Resource id:  0x0
X Error: BadGC (invalid GC parameter) 13
  Major opcode: 60 (X_FreeGC)
  Resource id:  0x0
X Error: BadGC (invalid GC parameter) 13
  Major opcode: 60 (X_FreeGC)
  Resource id:  0x0
KCrash: Application 'kooka' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/momo/.kde4/socket-linux-7277/kdeinit4__0

therefor I got the following backtrace:

Application: Kooka (kooka), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fa3d1c6fed5 in KScanOption::get(int*) const () from /usr/lib64/liblibkscan.so.3
#7  0x00007fa3d1c7a75b in ScanParams::slotNewResolution(KScanOption*) () from /usr/lib64/liblibkscan.so.3
#8  0x00007fa3d1c7d214 in ScanParams::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/liblibkscan.so.3
#9  0x00000000004348c0 in _start ()

Shall I provide debug symbols? So I have to rebuild kooka with symbols by hand. Opensuse-Repos doesn't provide it.
Comment 5 Momo 2011-02-15 14:42:04 UTC
Ok, now I can give a more different picture. I downloaded the latest svn version and build it with symbols and got following results:

Application: Kooka (kooka), signal: Segmentation fault
[KCrash Handler]
#6  KScanOption::get (this=0x0, val=0x7fff35854a5c) at /home/momo/develop/kooka-kde4/libkscan/kscanoption.cpp:661
#7  0x00007ffd9bde9c7b in ScanParams::slotNewResolution (this=0xbee6f0, opt=<value optimized out>) at /home/momo/develop/kooka-kde4/libkscan/scanparams.cpp:1057
#8  0x00007ffd9bdec72c in ScanParams::qt_metacall (this=0xbee6f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff35854bb0) at /home/momo/develop/kooka-kde4/build/libkscan/scanparams.moc:109
#9  0x0000000000434af0 in KookaScanParams::qt_metacall (this=0xbee6f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff35854bb0) at /home/momo/develop/kooka-kde4/build/kooka/kookascanparams.moc:73
#10 0x00007ffd9992cfef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#11 0x00007ffd9bddf02f in KScanOption::guiChange (this=<value optimized out>, _t1=0xb555d0) at /home/momo/develop/kooka-kde4/build/libkscan/kscanoption.moc:94
#12 0x00007ffd9bde2716 in KScanOption::slotWidgetChange (this=0xb555d0, t=<value optimized out>) at /home/momo/develop/kooka-kde4/libkscan/kscanoption.cpp:191
#13 0x00007ffd9bde27c9 in KScanOption::qt_metacall (this=0xb555d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff35854cf0) at /home/momo/develop/kooka-kde4/build/libkscan/kscanoption.moc:80
#14 0x00007ffd9992cfef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#15 0x00007ffd9bddd382 in KScanControl::settingChanged (this=<value optimized out>, _t1=<value optimized out>) at /home/momo/develop/kooka-kde4/build/libkscan/kscancontrols.moc:89
#16 0x00007ffd9bddd437 in KScanControl::qt_metacall (this=0xa0cce0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff35854e00) at /home/momo/develop/kooka-kde4/build/libkscan/kscancontrols.moc:75
#17 0x00007ffd9992cfef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#18 0x00007ffd98c34375 in QComboBox::activated(QString const&) () from /usr/lib64/libQtGui.so.4
#19 0x00007ffd98c343d7 in ?? () from /usr/lib64/libQtGui.so.4
#20 0x00007ffd98c353c7 in ?? () from /usr/lib64/libQtGui.so.4
#21 0x00007ffd98c387e7 in QComboBox::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtGui.so.4
#22 0x00007ffd9992cfef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#23 0x00007ffd98ed66d2 in ?? () from /usr/lib64/libQtGui.so.4
#24 0x00007ffd98c2f91a in ?? () from /usr/lib64/libQtGui.so.4
#25 0x00007ffd99917fb7 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#26 0x00007ffd9885eca1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x00007ffd98867a4a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#28 0x00007ffd9b409ec6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#29 0x00007ffd99917e2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#30 0x00007ffd9885fcd5 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#31 0x00007ffd988de144 in ?? () from /usr/lib64/libQtGui.so.4
#32 0x00007ffd988dc5d9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#33 0x00007ffd98904212 in ?? () from /usr/lib64/libQtGui.so.4
#34 0x00007ffd93407ce3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#35 0x00007ffd934084c0 in ?? () from /lib64/libglib-2.0.so.0
#36 0x00007ffd93408760 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#37 0x00007ffd99942a8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#38 0x00007ffd98903eae in ?? () from /usr/lib64/libQtGui.so.4
#39 0x00007ffd99917262 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#40 0x00007ffd99917475 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#41 0x00007ffd9991b8db in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#42 0x0000000000422dde in main (argc=1, argv=0x7fff35856a08) at /home/momo/develop/kooka-kde4/kooka/main.cpp:131

The Scanner is a Canon Pixma MP540 on USB connection. Standard is 75dpi every changing fails in a crash.
Comment 6 Jonathan Marten 2011-02-15 16:06:02 UTC
Thanks for the improved backtrace.  Could you try turning on debug output (use 'kdebugdialog' and turn on areas 28000 (kooka) and 29000 (libkscan).  Running in the terminal window again you should then see an awful lot of output starting with:

kooka(16906)/Kooka main: DevToUse is "test"
kooka(16906)/libkscan ImageCanvas::ImageCanvas:
kooka(16906)/libkscan ImageCanvas::contextMenu: context menu enabled
kooka(16906)/kfile (kdelibs) KDirOperator::setDirLister: mainWidget= Kooka(0x8e90ea0, name = "Kooka")

If this works then please attach the complete output from start to the crash point.
Comment 7 Momo 2011-02-15 17:14:13 UTC
Hey Jonathan,

I've installed additionally *-debuginfo-packages from opensuse-repo and got the following output from the command line (by the way there also one from "Crash-dialog):

kooka(8290)/Kooka main: DevToUse is ""
kooka(8290)/libkscan ImageCanvas::ImageCanvas:
kooka(8290)/libkscan ImageCanvas::contextMenu: context menu enabled
kooka(8290)/Kooka ThumbView::ThumbView: Using maximum preview file size 20971520
kooka(8290)/Kooka KookaPref::findGalleryRoot: old "/home/momo/.kde4/share/apps/ScanImages" exists false
kooka(8290)/Kooka KookaPref::findGalleryRoot: new "/home/momo/Dokumente/KookaGallery" exists true
kooka(8290)/Kooka KookaPref::findGalleryRoot: returning "/home/momo/Dokumente/KookaGallery/"
kooka(8290)/kdecore (KSycoca): Trying to open ksycoca from "/var/tmp/kdecache-momo/ksycoca4"
kooka(8290)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("file:///home/momo/Dokumente/KookaGallery")
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xbe7230)
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::protoQ: creating ProtoQueue instance for "file"
kooka(8290)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: m_maxConnectionsTotal: 50 m_maxConnectionsPerHost: 50
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::cancelJob: KIO::ListJob(0xbe7230) QObject(0x0)
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0xbe7230) QObject(0x0)
kooka(8290)/kio (KDirListerCache) KDirListerCache::forgetDirs: Killing update job for  "file:///home/momo/Dokumente/KookaGallery"
kooka(8290)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("file:///home/momo/Dokumente/KookaGallery")
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xb3fad0)
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::cancelJob: KIO::ListJob(0xb3fad0) QObject(0x0)
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0xb3fad0) QObject(0x0)
kooka(8290)/kio (KDirListerCache) KDirListerCache::forgetDirs: Killing update job for  "file:///home/momo/Dokumente/KookaGallery"
kooka(8290)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("file:///home/momo/Dokumente/KookaGallery")
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0xb598b0)
kooka(8290)/Kooka ThumbView::setBackground: custom false img "/usr/share/kde4/apps/kooka/pics/thumbviewtile.png"
kooka(8290)/Kooka KookaGallery::KookaGallery:
kooka(8290)/Kooka ScanGallery::setAllowRename: to false
kooka(8290)/libkscan KScanDevice::KScanDevice:
kooka(8290)/libkscan ScanGlobal::ScanGlobal:
kooka(8290)/libkscan ScanGlobal::init: calling sane_init()
kooka(8290)/libkscan KScanOptSet::KScanOptSet: "GammaTables"
kooka(8290)/libkscan ImageCanvas::ImageCanvas:
kooka(8290)/libkscan Previewer::slotAutoSelToggled: rect is QRect(0,0 1x1)
kooka(8290)/libkscan ImageCanvas::contextMenu: context menu enabled
kooka(8290)/Kooka KookaView::slotSelectDevice: use device "" ask false
kooka(8290)/libkscan ScanDevices::ScanDevices:
kooka(8290)/libkscan ScanDevices::ScanDevices: Query for network scanners enabled
kooka(8290)/libkscan ScanDevices::ScanDevices: SANE found scanner: pixma:04A91730_A06D18 = "CANON Canon PIXMA MP540"
kooka(8290)/libkscan DeviceSelector::setScanSources: Scanner type file "/usr/share/kde4/apps/libkscan/scantypes.dat"
kooka(8290)/libkscan DeviceSelector::setScanSources: for device "pixma" icon ""
kooka(8290)/libkscan DeviceSelector::setScanSources: for type multi-function peripheral icon "scanner"
kooka(8290)/libkscan DeviceSelector::getDeviceFromConfig: Scanner from config "pixma:04A91730_A06D18"
kooka(8290)/libkscan DeviceSelector::getDeviceFromConfig: Using scanner from config
kooka(8290)/Kooka KookaView::slotSelectDevice: Opening device "pixma:04A91730_A06D18"
kooka(8290)/libkscan KScanDevice::openDevice: backend "pixma:04A91730_A06D18"
kooka(8290)/libkscan KScanDevice::findOptions: Option 1 is "group-1"
kooka(8290)/libkscan KScanDevice::findOptions: Option 2 is "resolution"
kooka(8290)/libkscan KScanDevice::findOptions: Option 3 is "mode"
kooka(8290)/libkscan KScanDevice::findOptions: Option 4 is "source"
kooka(8290)/libkscan KScanDevice::findOptions: Option 5 is "button-controlled"
kooka(8290)/libkscan KScanDevice::findOptions: Option 6 is "group-6"
kooka(8290)/libkscan KScanDevice::findOptions: Option 7 is "custom-gamma"
kooka(8290)/libkscan KScanDevice::findOptions: Option 8 is "gamma-table"
kooka(8290)/libkscan KScanDevice::findOptions: Option 9 is "group-9"
kooka(8290)/libkscan KScanDevice::findOptions: Option 10 is "tl-x"
kooka(8290)/libkscan KScanDevice::findOptions: Option 11 is "tl-y"
kooka(8290)/libkscan KScanDevice::findOptions: Option 12 is "br-x"
kooka(8290)/libkscan KScanDevice::findOptions: Option 13 is "br-y"
kooka(8290)/libkscan KScanDevice::findOptions: Option 14 is "group-14"
kooka(8290)/libkscan KScanDevice::findOptions: Option 15 is "button-update"
kooka(8290)/libkscan KScanDevice::findOptions: Option 16 is "button-1"
kooka(8290)/libkscan KScanDevice::findOptions: Option 17 is "button-2"
kooka(8290)/Kooka KookaView::slotSelectDevice: scanner max size QSize(216, 297)
kooka(8290)/libkscan Previewer::setScannerBedSize: to [ 216 , 297 ]
kooka(8290)/libkscan Previewer::slotNewCustomScanSize: rect QRect(0,0 0x0)
kooka(8290)/libkscan ImageCanvas::setSelectionRect: rect= QRect(0,0 0x0)
kooka(8290)/libkscan KScanDevice::scannerDescription: returning "CANON Canon PIXMA MP540"
kooka(8290)/libkscan KScanOptSet::KScanOptSet: "saveSet"
kooka(8290)/libkscan KScanOptSet::load: Reading into "saveSet" - 0 options 0 strays
kooka(8290)/libkscan KScanOptSet::load: "br-x" = "216"
kooka(8290)/libkscan KScanOptSet::backupOption: set "saveSet" option "br-x"
kooka(8290)/libkscan KScanOptSet::backupOption: new with value "216"
kooka(8290)/libkscan KScanOptSet::load: "br-y" = "297"
kooka(8290)/libkscan KScanOptSet::backupOption: set "saveSet" option "br-y"
kooka(8290)/libkscan KScanOptSet::backupOption: new with value "297"
kooka(8290)/libkscan KScanOptSet::load: "button-1" = "0"
kooka(8290)/libkscan KScanOptSet::backupOption: set "saveSet" option "button-1"
kooka(8290)/libkscan KScanOptSet::backupOption: new with value "0"
kooka(8290)/libkscan KScanOptSet::load: "button-2" = "0"
kooka(8290)/libkscan KScanOptSet::backupOption: set "saveSet" option "button-2"
kooka(8290)/libkscan KScanOptSet::backupOption: new with value "0"
kooka(8290)/libkscan KScanOptSet::load: "button-controlled" = "false"
kooka(8290)/libkscan KScanOptSet::backupOption: set "saveSet" option "button-controlled"
kooka(8290)/libkscan KScanOptSet::backupOption: new with value "false"
kooka(8290)/libkscan KScanOptSet::load: "custom-gamma" = "true"
kooka(8290)/libkscan KScanOptSet::backupOption: set "saveSet" option "custom-gamma"
kooka(8290)/libkscan KScanOptSet::backupOption: new with value "true"
kooka(8290)/libkscan KScanOptSet::load: "gamma-table" = "100,0,0"
kooka(8290)/libkscan KScanOption::set: Setting GammaTable with int vals 100 0 0
kooka(8290)/libkscan KScanOptSet::backupOption: set "saveSet" option "gamma-table"
kooka(8290)/libkscan KScanOptSet::backupOption: new with value "100,0,0"
kooka(8290)/libkscan KScanOptSet::load: "mode" = "Gray"
kooka(8290)/libkscan KScanOptSet::backupOption: set "saveSet" option "mode"
kooka(8290)/libkscan KScanOptSet::backupOption: new with value "Gray"
kooka(8290)/libkscan KScanOptSet::load: "resolution" = "75"
kooka(8290)/libkscan KScanOptSet::backupOption: set "saveSet" option "resolution"
kooka(8290)/libkscan KScanOptSet::backupOption: new with value "75"
kooka(8290)/libkscan KScanOptSet::load: "source" = "Flatbed"
kooka(8290)/libkscan KScanOptSet::backupOption: set "saveSet" option "source"
kooka(8290)/libkscan KScanOptSet::backupOption: new with value "Flatbed"
kooka(8290)/libkscan KScanOptSet::load: "tl-x" = "0"
kooka(8290)/libkscan KScanOptSet::backupOption: set "saveSet" option "tl-x"
kooka(8290)/libkscan KScanOptSet::backupOption: new with value "0"
kooka(8290)/libkscan KScanOptSet::load: "tl-y" = "0"
kooka(8290)/libkscan KScanOptSet::backupOption: set "saveSet" option "tl-y"
kooka(8290)/libkscan KScanOptSet::backupOption: new with value "0"
kooka(8290)/libkscan KScanOptSet::load: done - 12 options 12 strays
kooka(8290)/libkscan KScanDevice::getGuiElement: for name "mode"
kooka(8290)/libkscan KScanOption::createWidget: type 5 text "Scan mode"
kooka(8290)/libkscan ScanParams::initialise: Initialising "mode" with value "Gray"
kooka(8290)/libkscan KScanDevice::getGuiElement: for name "resolution"
kooka(8290)/libkscan KScanOption::createWidget: type 5 text "Scan resolution"
kooka(8290)/libkscan ScanParams::initialise: Initialising "resolution" with value "75"
kooka(8290)/libkscan Previewer::slotNewScanResolutions: resolution 75  x  75
kooka(8290)/libkscan ScanSizeSelector::ScanSizeSelector: bed size QSize(216, 297)
kooka(8290)/libkscan KScanDevice::getGuiElement: for name "source"
kooka(8290)/libkscan KScanOption::createWidget: type 5 text "Scan source"
kooka(8290)/libkscan ScanParams::initialise: Initialising "source" with value "Flatbed"
kooka(8290)/libkscan KScanDevice::getGuiElement: for name "group-1"
kooka(8290)/libkscan KScanOption::createWidget: type 9 text "Scan mode"
kooka(8290)/libkscan ScanParams::createScannerParams: creating OTHER option "group-1"
kooka(8290)/libkscan KScanDevice::getGuiElement: for name "button-controlled"
kooka(8290)/libkscan KScanOption::createWidget: type 1 text "Button-controlled scan"
kooka(8290)/libkscan ScanParams::createScannerParams: creating OTHER option "button-controlled"
kooka(8290)/libkscan ScanParams::initialise: Initialising "button-controlled" with value "false"
kooka(8290)/libkscan KScanDevice::getGuiElement: for name "group-6"
kooka(8290)/libkscan KScanOption::createWidget: type 9 text "Gamma"
kooka(8290)/libkscan ScanParams::createScannerParams: creating OTHER option "group-6"
kooka(8290)/libkscan KScanDevice::getGuiElement: for name "custom-gamma"
kooka(8290)/libkscan KScanOption::createWidget: type 1 text "Use custom gamma table"
kooka(8290)/libkscan ScanParams::createScannerParams: creating OTHER option "custom-gamma"
kooka(8290)/libkscan ScanParams::initialise: Initialising "custom-gamma" with value "true"
kooka(8290)/libkscan ScanParams::setEditCustomGammaTableState: State of edit custom gamma button= true
kooka(8290)/libkscan KScanDevice::getGuiElement: for name "gamma-table"
kooka(8290)/libkscan KScanOption::createWidget: type 4 text "Image intensity"
kooka(8290)/libkscan KScanOption::createWidget: GammaTable not implemented here
kooka(8290)/libkscan KScanDevice::getGuiElement: No widget created for "gamma-table"
kooka(8290)/libkscan ScanParams::createScannerParams: creating OTHER option "gamma-table"
kooka(8290)/libkscan ScanParams::initialise: Initialising "gamma-table" with value "100,0,0"
kooka(8290)/libkscan KScanOption::set: Setting GammaTable with int vals 100 0 0
kooka(8290)/libkscan KScanDevice::apply: Was set inexact "gamma-table"
kooka(8290)/libkscan KScanDevice::getGuiElement: for name "group-9"
kooka(8290)/libkscan KScanOption::createWidget: type 9 text "Geometry"
kooka(8290)/libkscan ScanParams::createScannerParams: creating OTHER option "group-9"
kooka(8290)/libkscan KScanDevice::getGuiElement: for name "group-14"
kooka(8290)/libkscan KScanOption::createWidget: type 9 text "Buttons"
kooka(8290)/libkscan ScanParams::createScannerParams: creating OTHER option "group-14"
kooka(8290)/libkscan KScanDevice::getGuiElement: for name "button-update"
kooka(8290)/libkscan KScanOption::createWidget: type 10 text "Update button state"
kooka(8290)/libkscan ScanParams::createScannerParams: creating ADVANCED option "button-update"
kooka(8290)/libkscan KScanDevice::getGuiElement: for name "button-1"
kooka(8290)/libkscan KScanOption::createWidget: type 2 text "Button 1"
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 55 (X_CreateGC)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 55 (X_CreateGC)
  Resource id:  0x0
X Error: BadGC (invalid GC parameter) 13
  Major opcode: 60 (X_FreeGC)
  Resource id:  0x0
X Error: BadGC (invalid GC parameter) 13
  Major opcode: 60 (X_FreeGC)
  Resource id:  0x0
kooka(8290)/libkscan ScanParams::createScannerParams: creating ADVANCED option "button-1"
kooka(8290)/libkscan ScanParams::initialise: Initialising "button-1" with value "0"
kooka(8290)/libkscan KScanDevice::getGuiElement: for name "button-2"
kooka(8290)/libkscan KScanOption::createWidget: type 2 text "Button 2"
kooka(8290)/libkscan ScanParams::createScannerParams: creating ADVANCED option "button-2"
kooka(8290)/libkscan ScanParams::initialise: Initialising "button-2" with value "0"
kooka(8290)/libkscan ScanParams::slotNewScanMode: format 0 depth 8 -> strips  1
kooka(8290)/libkscan Previewer::slotNewScanMode: bytes per pix 1
kooka(8290)/libkscan KScanDevice::scannerDescription: returning "CANON Canon PIXMA MP540"
kooka(8290)/libkscan KScanDevice::loadPreviewImage: Loading preview from "/home/momo/.kde4/share/apps/previews/CANON Canon PIXMA MP540"
kooka(8290)/libkscan Previewer::connectScanner:
kooka(8290)/libkscan SizeIndicator::setSizeInByte: New size 559526 bytes
kooka(8290)/Kooka KookaView::slotTabChanged: 0
kooka(8290)/Kooka ScanGallery::restoreHeaderState: from "GalleryState0"
kooka(8290)/Kooka Kooka::readProperties: from group "<default>"
kooka(8290)/Kooka Kooka::applyMainWindowSettings: from group "MainWindow"
kooka(8290)/Kooka KookaView::applyWindowSettings: from group "MainWindow"
kooka(8290)/Kooka Kooka::applyMainWindowSettings: from group "MainWindow"
kooka(8290)/Kooka KookaView::applyWindowSettings: from group "MainWindow"
kooka(8290)/Kooka Kooka::slotUpdateScannerActions: haveConnection true
kooka(8290)/libkscan KScanDevice::scannerDescription: returning "CANON Canon PIXMA MP540"
kooka(8290)/Kooka Kooka::slotUpdateRectangleActions: haveSelection false
kooka(8290)/Kooka Kooka::slotUpdateViewActions: state QFlags(0x1|0x8|0x40)
kooka(8290)/Kooka Kooka::slotUpdateOcrResultActions: haveText false
kooka(8290)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///home/momo/Dokumente/KookaGallery")
kooka(8290)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-momo/kookaXF8290.slave-socket"
kooka(8290)/Kooka Kooka::startup:
kooka(8290)/Kooka ScanGallery::openRoots: Standard root "file:///home/momo/Dokumente/KookaGallery/"
kooka(8290)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::instance: instance(): ... initialised
kooka(8290)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readConfig: readConfig(): local zone= "Europe/Berlin"
kooka(8290)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readZoneTab: readZoneTab( "/usr/share/zoneinfo/zone.tab" )
kooka(8290)/kio (KDirListerCache) KDirListerCache::listDir: Entry currently being listed: KUrl("file:///home/momo/Dokumente/KookaGallery") by (KDirLister(0xb1c460) )
kooka(8290)/Kooka KookaView::loadStartupImage: load startup image "/home/momo/Dokumente/KookaGallery/Dahlke_05_Entzündung_1.jpeg"
kooka(8290)/Kooka ScanGallery::findItemByUrl: URL search for KUrl("file:///home/momo/Dokumente/KookaGallery/Dahlke_05_Entzündung_1.jpeg")
kooka(8290)/Kooka ScanGallery::slotItemHighlighted: KUrl("file:///home/momo/Dokumente/KookaGallery")
kooka(8290)/libkscan ImageCanvas::newImage: no new image
kooka(8290)/Kooka Kooka::slotUpdateViewActions: state QFlags(0x8|0x40)
kooka(8290)/Kooka Kooka::slotUpdateViewActions: state QFlags(0x8|0x40)
kooka(8290)/Kooka ThumbView::slotHighlightItem: url KUrl("file:///home/momo/Dokumente/KookaGallery") isDir true
kooka(8290)/Kooka ScanGallery::slotItemActivated: KUrl("file:///home/momo/Dokumente/KookaGallery")
kooka(8290)/libkscan ImageCanvas::newImage: no new image
kooka(8290)/Kooka Kooka::slotUpdateViewActions: state QFlags(0x8|0x40)
kooka(8290)/Kooka ScanGallery::itemDirectoryRelative: itemurl "file:///home/momo/Dokumente/KookaGallery/" rooturl "file:///home/momo/Dokumente/KookaGallery/"
kooka(8290)/Kooka ScanGallery::itemDirectoryRelative: -> ""
kooka(8290)/Kooka ScanGallery::itemDirectoryRelative: -> "/"
kooka(8290)/Kooka GalleryHistory::slotPathChanged: inserting "Kooka Gallery - /"
kooka(8290)/kdecore (kdelibs): findExe(): returning  "/usr/bin/update-mime-database"
kooka(8290)/Kooka ScanGallery::slotDecorate: count 6
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0xb598b0) KIO::Slave(0xb63700)
kooka(8290)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///home/momo/Dokumente/KookaGallery")
kooka(8290)/Kooka ScanGallery::slotStartupFinished:
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x98eae0)
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::StatJob(0x98eae0) KIO::Slave(0xb63700)
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x8f2b60)
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::StatJob(0x8f2b60) KIO::Slave(0xb63700)
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x8f2b90)
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::StatJob(0x8f2b90) KIO::Slave(0xb63700)
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x8f2bc0)
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::StatJob(0x8f2bc0) KIO::Slave(0xb63700)
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x8f2bf0)
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::StatJob(0x8f2bf0) KIO::Slave(0xb63700)
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x8f2c20)
kooka(8290)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::StatJob(0x8f2c20) KIO::Slave(0xb63700)
kooka(8290)/libkscan KScanDevice::slotReloadAllBut: except "resolution"
kooka(8290)/libkscan ScanParams::setEditCustomGammaTableState: State of edit custom gamma button= true
KCrash: Application 'kooka' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/momo/.kde4/socket-linux-7277/kdeinit4__0
 
This version is the last from svn which I newly rebuild with debug-options "on". 
Ok, I decided to give you the full whole package:


Application: Kooka (kooka), signal: Segmentation fault
[KCrash Handler]
#6  KScanOption::isValid (this=0x0) at /home/momo/develop/kooka-kde4/libkscan/kscanoption.h:102
#7  0x00007f36deab0465 in KScanOption::get (this=0x0, val=0x7fff00b3357c) at /home/momo/develop/kooka-kde4/libkscan/kscanoption.cpp:661
#8  0x00007f36deab7f8a in ScanParams::slotNewResolution (this=0xa96b10, opt=<value optimized out>) at /home/momo/develop/kooka-kde4/libkscan/scanparams.cpp:1057
#9  0x00007f36deabb7bc in ScanParams::qt_metacall (this=0xa96b10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff00b336e0) at /home/momo/develop/kooka-kde4/build/libkscan/scanparams.moc:109
#10 0x00000000004334f0 in KookaScanParams::qt_metacall (this=0xa96b10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff00b336e0) at /home/momo/develop/kooka-kde4/build/kooka/kookascanparams.moc:73
#11 0x00007f36dc5fcfef in QMetaObject::activate (sender=0x8a7390, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff00b336e0) at kernel/qobject.cpp:3272
#12 0x00007f36deab003f in KScanOption::guiChange (this=<value optimized out>, _t1=0x8a7390) at /home/momo/develop/kooka-kde4/build/libkscan/kscanoption.moc:94
#13 0x00007f36deab2447 in KScanOption::slotWidgetChange (this=0x8a7390, t=<value optimized out>) at /home/momo/develop/kooka-kde4/libkscan/kscanoption.cpp:191
#14 0x00007f36deab2531 in KScanOption::qt_metacall (this=0x8a7390, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff00b33820) at /home/momo/develop/kooka-kde4/build/libkscan/kscanoption.moc:80
#15 0x00007f36dc5fcfef in QMetaObject::activate (sender=0x8a7340, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff00b33820) at kernel/qobject.cpp:3272
#16 0x00007f36deaadbf2 in KScanControl::settingChanged (this=<value optimized out>, _t1=<value optimized out>) at /home/momo/develop/kooka-kde4/build/libkscan/kscancontrols.moc:89
#17 0x00007f36deaadca7 in KScanControl::qt_metacall (this=0x8a7340, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff00b33930) at /home/momo/develop/kooka-kde4/build/libkscan/kscancontrols.moc:75
#18 0x00007f36dc5fcfef in QMetaObject::activate (sender=0xad8990, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff00b33930) at kernel/qobject.cpp:3272
#19 0x00007f36db904375 in QComboBox::activated (this=<value optimized out>, _t1=<value optimized out>) at .moc/release-shared/moc_qcombobox.cpp:281
#20 0x00007f36db9043d7 in QComboBoxPrivate::emitActivated (this=<value optimized out>, index=...) at widgets/qcombobox.cpp:1248
#21 0x00007f36db9053c7 in QComboBoxPrivate::_q_itemSelected (this=0xc282f0, item=...) at widgets/qcombobox.cpp:1238
#22 0x00007f36db9087e7 in QComboBox::qt_metacall (this=0xad8990, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff00b33ac0) at .moc/release-shared/moc_qcombobox.cpp:191
#23 0x00007f36dc5fcfef in QMetaObject::activate (sender=0x829f50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff00b33ac0) at kernel/qobject.cpp:3272
#24 0x00007f36dbba66d2 in QComboBoxPrivateContainer::itemSelected (this=<value optimized out>, _t1=<value optimized out>) at .moc/release-shared/moc_qcombobox_p.cpp:213
#25 0x00007f36db8ff91a in QComboBoxPrivateContainer::eventFilter (this=0x829f50, o=0xbe8fc0, e=<value optimized out>) at widgets/qcombobox.cpp:687
#26 0x00007f36dc5e7fb7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xbe8fc0, event=0x7fff00b34380) at kernel/qcoreapplication.cpp:847
#27 0x00007f36db52eca1 in QApplicationPrivate::notify_helper (this=0x6af160, receiver=0xbe8fc0, e=0x7fff00b34380) at kernel/qapplication.cpp:4441
#28 0x00007f36db537a4a in QApplication::notify (this=<value optimized out>, receiver=0xbe8fc0, e=0x7fff00b34380) at kernel/qapplication.cpp:4006
#29 0x00007f36de0d9ec6 in KApplication::notify (this=0x7fff00b350c0, receiver=0xbe8fc0, event=0x7fff00b34380) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#30 0x00007f36dc5e7e2c in QCoreApplication::notifyInternal (this=0x7fff00b350c0, receiver=0xbe8fc0, event=0x7fff00b34380) at kernel/qcoreapplication.cpp:732
#31 0x00007f36db52fcd5 in sendEvent (receiver=0xbe8fc0, event=0x7fff00b34380, alienWidget=0xbe8fc0, nativeWidget=0x829f50, buttonDown=0x7f36dc00a178, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#32 QApplicationPrivate::sendMouseEvent (receiver=0xbe8fc0, event=0x7fff00b34380, alienWidget=0xbe8fc0, nativeWidget=0x829f50, buttonDown=0x7f36dc00a178, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3105
#33 0x00007f36db5ae144 in QETWidget::translateMouseEvent (this=0x829f50, event=<value optimized out>) at kernel/qapplication_x11.cpp:4372
#34 0x00007f36db5ac5d9 in QApplication::x11ProcessEvent (this=0x7fff00b350c0, event=0x7fff00b34ce0) at kernel/qapplication_x11.cpp:3564
#35 0x00007f36db5d4212 in x11EventSourceDispatch (s=0x6b30a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007f36d60d7ce3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#37 0x00007f36d60d84c0 in ?? () from /lib64/libglib-2.0.so.0
#38 0x00007f36d60d8760 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#39 0x00007f36dc612a8f in QEventDispatcherGlib::processEvents (this=0x697140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#40 0x00007f36db5d3eae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f36dc5e7262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f36dc5e7475 in QEventLoop::exec (this=0x7fff00b35000, flags=...) at kernel/qeventloop.cpp:201
#43 0x00007f36dc5eb8db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#44 0x0000000000423192 in main (argc=1, argv=0x7fff00b35528) at /home/momo/develop/kooka-kde4/kooka/main.cpp:131


May it help, don't it?? ;-) Thanx for your work!!