Bug 244891 - Digital Camera crashed when clicking on Configure.
Summary: Digital Camera crashed when clicking on Configure.
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kamera (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Marcus Meissner
URL:
Keywords:
: 245578 250877 257553 273396 283726 285829 287728 322007 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-16 21:08 UTC by Josef
Modified: 2013-07-25 06:41 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.91 KB, text/plain)
2012-08-14 16:19 UTC, charpentier Franck
Details
patch to handle unset variables (1.61 KB, patch)
2013-07-07 18:17 UTC, Marcus Meissner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Josef 2010-07-16 21:08:26 UTC
Application: kcmshell4 ()
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-23-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
My camera is detected automatically, clicking on Test and Information works fine, but the application crashes when I click on Configure. 

My camera is correctly identified as Nikon DSC D5000 (PTP mode) (not sure what PTP mode means but that's what it says). 

(digiKam crashed earlier when trying to import photos, but I didn't get a bug report wizard so I didn't know how to report it. I suspect it's caused by the same bug. )

The crash can be reproduced every time.

 -- Backtrace:
Application: KDE Control Module (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  __strcmp_ia32 () at ../sysdeps/i386/i686/multiarch/../strcmp.S:39
#7  0x03878c3d in KameraConfigDialog::appendWidget (this=0xbfcf3f54, parent=0x965ee28, widget=0x8ee4558) at ../../../kamera/kcontrol/kameraconfigdialog.cpp:188
#8  0x03878170 in KameraConfigDialog::appendWidget (this=0xbfcf3f54, parent=0x8ee2680, widget=0x8edca98) at ../../../kamera/kcontrol/kameraconfigdialog.cpp:247
#9  0x03878170 in KameraConfigDialog::appendWidget (this=0xbfcf3f54, parent=0x8ee2680, widget=0x8ee2878) at ../../../kamera/kcontrol/kameraconfigdialog.cpp:247
#10 0x038798b0 in KameraConfigDialog (this=0xbfcf3f54, widget=0x8ee2878, parent=0x0, name=0x0) at ../../../kamera/kcontrol/kameraconfigdialog.cpp:65
#11 0x03876b8a in KCamera::configure (this=0x8d53818) at ../../../kamera/kcontrol/kameradevice.cpp:175
#12 0x03872017 in KKameraConfig::slot_configureCamera (this=0x8bf6050) at ../../../kamera/kcontrol/kamera.cpp:358
#13 0x038721ab in KKameraConfig::qt_metacall (this=0x8bf6050, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0xbfcf4198) at ./kamera.moc:92
#14 0x0102d47a in QMetaObject::metacall (object=0x8bf6050, cl=QMetaObject::InvokeMetaMethod, idx=40, argv=0xbfcf4198) at kernel/qmetaobject.cpp:237
#15 0x0103bfbb in QMetaObject::activate (sender=0x8bfc1d8, m=0x503acf8, local_signal_index=1, argv=0xbfcf4198) at kernel/qobject.cpp:3295
#16 0x04709589 in QAction::triggered (this=0x8bfc1d8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#17 0x0470b77c in QAction::activate (this=0x8bfc1d8, event=QAction::Trigger) at kernel/qaction.cpp:1255
#18 0x04c00222 in QAction::trigger (this=0x8ef0ac8) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#19 QToolButton::nextCheckState (this=0x8ef0ac8) at widgets/qtoolbutton.cpp:1147
#20 0x04b1ce33 in QAbstractButtonPrivate::click (this=0x8bfcf90) at widgets/qabstractbutton.cpp:528
#21 0x04b1d12e in QAbstractButton::mouseReleaseEvent (this=0x8c24b90, e=0xbfcf4900) at widgets/qabstractbutton.cpp:1121
#22 0x04c006ec in QToolButton::mouseReleaseEvent (this=0x8c24b90, e=0xbfcf4900) at widgets/qtoolbutton.cpp:721
#23 0x0476e158 in QWidget::event (this=0x8c24b90, event=0xbfcf4900) at kernel/qwidget.cpp:8044
#24 0x04b1bece in QAbstractButton::event (this=0x8c24b90, e=0x8ef0ac8) at widgets/qabstractbutton.cpp:1080
#25 0x04c0321a in QToolButton::event (this=0x8c24b90, event=0xbfcf4900) at widgets/qtoolbutton.cpp:1163
#26 0x0470fe8c in QApplicationPrivate::notify_helper (this=0x89eedd0, receiver=0x8c24b90, e=0xbfcf4900) at kernel/qapplication.cpp:4302
#27 0x047173a7 in QApplication::notify (this=0xbfcf51e4, receiver=0x8c24b90, e=0xbfcf4900) at kernel/qapplication.cpp:3867
#28 0x009c040a in KApplication::notify (this=0xbfcf51e4, receiver=0x8c24b90, event=0xbfcf4900) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x0102813b in QCoreApplication::notifyInternal (this=0xbfcf51e4, receiver=0x8c24b90, event=0xbfcf4900) at kernel/qcoreapplication.cpp:726
#30 0x04716302 in QCoreApplication::sendEvent (receiver=0x8c24b90, event=0xbfcf4900, alienWidget=0x8c24b90, nativeWidget=0x8adcda0, buttonDown=0x5056058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0x8c24b90, event=0xbfcf4900, alienWidget=0x8c24b90, nativeWidget=0x8adcda0, buttonDown=0x5056058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2967
#32 0x047a1d58 in QETWidget::translateMouseEvent (this=0x8adcda0, event=0xbfcf4e1c) at kernel/qapplication_x11.cpp:4380
#33 0x047a11e1 in QApplication::x11ProcessEvent (this=0xbfcf51e4, event=0xbfcf4e1c) at kernel/qapplication_x11.cpp:3391
#34 0x047d02ea in x11EventSourceDispatch (s=0x89f1ea8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x025f35e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x025f72d8 in ?? () from /lib/libglib-2.0.so.0
#37 0x025f74b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x01053e35 in QEventDispatcherGlib::processEvents (this=0x89bce68, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#39 0x047cfe15 in QGuiEventDispatcherGlib::processEvents (this=0x89bce68, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x01026759 in QEventLoop::processEvents (this=0xbfcf5110, flags=) at kernel/qeventloop.cpp:149
#41 0x01026baa in QEventLoop::exec (this=0xbfcf5110, flags=...) at kernel/qeventloop.cpp:201
#42 0x04c50ed3 in QDialog::exec (this=0x8adaa60) at dialogs/qdialog.cpp:546
#43 0x06865846 in kdemain (_argc=2, _argv=0x89e4088) at ../../kcmshell/main.cpp:272
#44 0x0804e133 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1, envs=0x89e6a8a "DISPLAY=:0.0", reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x8051465 "0") at ../../kinit/kinit.cpp:717
#45 0x0804ec6d in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#46 0x0804f190 in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1402
#47 0x0804fe4f in main (argc=4, argv=0xbfcf5d24, envp=0xbfcf5d38) at ../../kinit/kinit.cpp:1845

Reported using DrKonqi
Comment 1 Christoph Feck 2010-07-24 00:32:14 UTC
*** Bug 245578 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2010-09-11 15:13:09 UTC
*** Bug 250877 has been marked as a duplicate of this bug. ***
Comment 3 Pino Toscano 2010-11-22 00:46:46 UTC
*** Bug 257553 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2011-05-16 10:56:54 UTC
*** Bug 273396 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2011-10-10 21:22:56 UTC
*** Bug 283726 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2011-11-07 21:01:04 UTC
*** Bug 285829 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2011-11-28 10:57:53 UTC
*** Bug 287728 has been marked as a duplicate of this bug. ***
Comment 8 charpentier Franck 2012-08-14 16:19:42 UTC
Created attachment 73164 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crashed:

- Custom settings of the application:

i pluged my Canon EOS 550D then I opened configuration settings and appareil photo. I  tested it with the bottom test. I clicked on configurer and then crached. At every time that i have make this actions

-- Backtrace (Reduced):
#6  __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:163
#7  0x00007f7d63ca630d in KameraConfigDialog::appendWidget (this=0x7fff1c8dd010, parent=0x1ab8570, widget=0x1e78710) at ../../kcontrol/kameraconfigdialog.cpp:192
#8  0x00007f7d63ca5adc in KameraConfigDialog::appendWidget (this=0x7fff1c8dd010, parent=<optimized out>, widget=0x1e47dd0) at ../../kcontrol/kameraconfigdialog.cpp:251
#9  0x00007f7d63ca5adc in KameraConfigDialog::appendWidget (this=0x7fff1c8dd010, parent=<optimized out>, widget=0x1e57de0) at ../../kcontrol/kameraconfigdialog.cpp:251
#10 0x00007f7d63ca67c3 in KameraConfigDialog::KameraConfigDialog (this=0x7fff1c8dd010, widget=0x1e57de0, parent=<optimized out>, name=<optimized out>) at ../../kcontrol/kameraconfigdialog.cpp:64
Comment 9 Norbert 2012-08-14 16:39:57 UTC
W dniu 2012-08-14 12:19, charpentier Franck pisze:
> https://bugs.kde.org/show_bug.cgi?id=244891
>
> --- Comment #8 from charpentier Franck <charpentier.franck@gmail.com> ---
> Created attachment 73164 [details]
>    --> https://bugs.kde.org/attachment.cgi?id=73164&action=edit
> New crash information added by DrKonqi
>
> systemsettings (1.0) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1
>
> - What I was doing when the application crashed:
>
> - Custom settings of the application:
>
> i pluged my Canon EOS 550D then I opened configuration settings and appareil
> photo. I  tested it with the bottom test. I clicked on configurer and then
> crached. At every time that i have make this actions
>
> -- Backtrace (Reduced):
> #6  __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:163
> #7  0x00007f7d63ca630d in KameraConfigDialog::appendWidget
> (this=0x7fff1c8dd010, parent=0x1ab8570, widget=0x1e78710) at
> ../../kcontrol/kameraconfigdialog.cpp:192
> #8  0x00007f7d63ca5adc in KameraConfigDialog::appendWidget
> (this=0x7fff1c8dd010, parent=<optimized out>, widget=0x1e47dd0) at
> ../../kcontrol/kameraconfigdialog.cpp:251
> #9  0x00007f7d63ca5adc in KameraConfigDialog::appendWidget
> (this=0x7fff1c8dd010, parent=<optimized out>, widget=0x1e57de0) at
> ../../kcontrol/kameraconfigdialog.cpp:251
> #10 0x00007f7d63ca67c3 in KameraConfigDialog::KameraConfigDialog
> (this=0x7fff1c8dd010, widget=0x1e57de0, parent=<optimized out>, name=<optimized
> out>) at ../../kcontrol/kameraconfigdialog.cpp:64
>
?
Comment 10 Christoph Feck 2013-07-05 23:38:22 UTC
*** Bug 322007 has been marked as a duplicate of this bug. ***
Comment 11 Marcus Meissner 2013-07-06 07:52:34 UTC
Weird, as it does not reproduce for me :/

if anyone could output the values at that crash site it would be nice

gdb kcmshell4
(gdb) r kamera
... reproduce crash ... 

go to the frame wiht  ../../kcontrol/kameraconfigdialog.cpp:192  and then

(gdb) info locals

(gdb) print widget_value_string

(gdb) print widget_choice


I need to see why                                 if(!strcmp(widget_value_string, widget_choice))
crashes :/
Comment 12 alainthiaville59 2013-07-07 08:48:54 UTC
Hello,
   here-after the gdb report. It shows that  widget_value_string[0] = 0
   Have a nice day
Alain

GDB report:
Reading symbols from /usr/bin/kcmshell4...Reading symbols from 
/usr/lib/debug/usr/bin/kcmshell4.debug...done.
done.
(gdb) r kamera
Starting program: /usr/bin/kcmshell4 kamera
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
__strcmp_sse2 () at ../sysdeps/x86_64/strcmp.S:212
212             movlpd  (%rdi), %xmm1
Missing separate debuginfos, use: debuginfo-install 
expat-2.1.0-4.fc18.x86_64 ibus-qt-1.3.2-2.fc18.x86_64 
jbigkit-libs-2.0-7.fc18.x86_64 kde-workspace-libs-4.10.4-5.fc18.x86_64 
keyutils-libs-1.5.5-3.fc18.x86_64 lcms-libs-1.19-7.fc18.x86_64 
libXdmcp-1.1.1-2.fc18.x86_64 libffi-3.0.10-3.fc18.x86_64 
libicu-49.1.1-8.fc18.x86_64 libselinux-2.1.12-7.3.fc18.x86_64 
libtool-ltdl-2.4.2-7.fc18.x86_64 libuuid-2.22.2-6.fc18.x86_64 
libxcb-1.9-3.fc18.x86_64
(gdb) backtrace
#0  __strcmp_sse2 () at ../sysdeps/x86_64/strcmp.S:212
#1  0x00007fffed54b977 in KameraConfigDialog::appendWidget 
(this=this@entry=0x7fffffffc330, parent=parent@entry=0x8914f0,
     widget=0xb380b0) at 
/usr/src/debug/kamera-4.10.4/kcontrol/kameraconfigdialog.cpp:185
#2  0x00007fffed54b284 in KameraConfigDialog::appendWidget 
(this=this@entry=0x7fffffffc330, parent=parent@entry=0xadc610,
     widget=0xb373d0) at 
/usr/src/debug/kamera-4.10.4/kcontrol/kameraconfigdialog.cpp:244
#3  0x00007fffed54b284 in KameraConfigDialog::appendWidget 
(this=this@entry=0x7fffffffc330, parent=parent@entry=0xadc610,
     widget=widget@entry=0xae5950) at 
/usr/src/debug/kamera-4.10.4/kcontrol/kameraconfigdialog.cpp:244
#4  0x00007fffed54be92 in KameraConfigDialog::KameraConfigDialog 
(this=0x7fffffffc330, widget=0xae5950,
     parent=<optimized out>) at 
/usr/src/debug/kamera-4.10.4/kcontrol/kameraconfigdialog.cpp:62
#5  0x00007fffed548a0a in KCamera::configure (this=0xbb7bc0) at 
/usr/src/debug/kamera-4.10.4/kcontrol/kameradevice.cpp:173
#6  0x00007fffed546689 in KKameraConfig::slot_configureCamera 
(this=0x7b12f0)
     at /usr/src/debug/kamera-4.10.4/kcontrol/kamera.cpp:362
#7  0x00000032e5b8cd6f in QMetaObject::activate (sender=0x7bb960, 
m=<optimized out>, local_signal_index=<optimized out>,
     argv=0x7fffffffc590) at kernel/qobject.cpp:3539
#8  0x0000003883fc4412 in QAction::triggered (this=this@entry=0x7bb960, 
_t1=false)
     at .moc/release-shared/moc_qaction.cpp:276
#9  0x0000003883fc4600 in QAction::activate (this=0x7bb960, 
event=<optimized out>) at kernel/qaction.cpp:1257
#10 0x000000388438424f in QAbstractButtonPrivate::click 
(this=this@entry=0x7bbfd0) at widgets/qabstractbutton.cpp:530
#11 0x00000038843844fc in QAbstractButton::mouseReleaseEvent 
(this=0x968cc0, e=0x7fffffffce40)
     at widgets/qabstractbutton.cpp:1123
#12 0x000000388443e78a in QToolButton::mouseReleaseEvent 
(this=<optimized out>, e=<optimized out>)
     at widgets/qtoolbutton.cpp:718
#13 0x0000003884019f49 in QWidget::event (this=0x968cc0, 
event=0x7fffffffce40) at kernel/qwidget.cpp:8375
#14 0x0000003883fca5cc in QApplicationPrivate::notify_helper 
(this=0x63cda0, receiver=0x968cc0, e=0x7fffffffce40)
     at kernel/qapplication.cpp:4562
#15 0x0000003883fcf2ab in QApplication::notify (this=<optimized out>, 
receiver=0x968cc0, e=0x7fffffffce40)
     at kernel/qapplication.cpp:4105
#16 0x0000003f88a46f16 in KApplication::notify (this=0x7fffffffdc50, 
receiver=0x968cc0, event=0x7fffffffce40)
     at /usr/src/debug/kdelibs-4.10.4/kdeui/kernel/kapplication.cpp:311
#17 0x00000032e5b7793e in QCoreApplication::notifyInternal 
(this=0x7fffffffdc50, receiver=0x968cc0, event=0x7fffffffce40)
     at kernel/qcoreapplication.cpp:949
#18 0x0000003883fcb40b in QApplicationPrivate::sendMouseEvent 
(receiver=0x968cc0, event=0x7fffffffce40,
     alienWidget=0x968cc0, nativeWidget=0x9412d0, 
buttonDown=0x3884a9e268 <qt_button_down>, lastMouseReceiver=...,
     spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:231
#19 0x0000003884045b74 in QETWidget::translateMouseEvent (this=0x9412d0, 
event=<optimized out>)
     at kernel/qapplication_x11.cpp:4537
#20 0x0000003884044901 in QApplication::x11ProcessEvent 
(this=0x7fffffffdc50, event=0x7fffffffd5b0)
     at kernel/qapplication_x11.cpp:3660
#21 0x000000388406aa5c in x11EventSourceDispatch (s=s@entry=0x63df00, 
callback=0x0, user_data=0x0)
     at kernel/qguieventdispatcher_glib.cpp:148
#22 0x00000032da647a55 in g_main_dispatch (context=0x633780) at gmain.c:2715
#23 g_main_context_dispatch (context=context@entry=0x633780) at gmain.c:3219
#24 0x00000032da647d88 in g_main_context_iterate 
(context=context@entry=0x633780, block=block@entry=1,
     dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
---Type <return> to continue, or q <return> to quit---
#25 0x00000032da647e44 in g_main_context_iteration (context=0x633780, 
may_block=1) at gmain.c:3351
#26 0x00000032e5ba5fa6 in QEventDispatcherGlib::processEvents 
(this=0x609770, flags=...)
     at kernel/qeventdispatcher_glib.cpp:426
#27 0x000000388406a73e in QGuiEventDispatcherGlib::processEvents 
(this=<optimized out>, flags=...)
     at kernel/qguieventdispatcher_glib.cpp:207
#28 0x00000032e5b765ef in QEventLoop::processEvents 
(this=this@entry=0x7fffffffd990, flags=...)
     at kernel/qeventloop.cpp:149
#29 0x00000032e5b76878 in QEventLoop::exec (this=0x7fffffffd990, 
flags=...) at kernel/qeventloop.cpp:204
#30 0x000000388447e3f8 in QDialog::exec (this=0x7ee050) at 
dialogs/qdialog.cpp:554
#31 0x0000003794807cec in kdemain (_argc=6422624, _argv=<optimized out>)
     at /usr/src/debug/kde-runtime-4.10.4/kcmshell/main.cpp:297
#32 0x00000032d7a21a05 in __libc_start_main (main=0x400790 <main(int, 
char**)>, argc=2, ubp_av=0x7fffffffdd88,
     init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized 
out>, stack_end=0x7fffffffdd78) at libc-start.c:225
#33 0x00000000004007c1 in _start ()
#1  0x00007fffed54b977 in KameraConfigDialog::appendWidget 
(this=this@entry=0x7fffffffc330, parent=parent@entry=0x8914f0,
     widget=0xb380b0) at 
/usr/src/debug/kamera-4.10.4/kcontrol/kameraconfigdialog.cpp:185
185 if(!strcmp(widget_value_string, widget_choice))
(gdb) frame 1 # ATH: at 
/usr/src/debug/kamera-4.10.4/kcontrol/kameraconfigdialog.cpp:185
(gdb) info locals
widget_choice = 0xbc8280 "P"
i = 0
count = 16
buttonGroup = 0xd94290
widget_type = <optimized out>
widget_info = 0xb381b4 ""
widget_value_int = <optimized out>
whats_this = {static null = {<No data fields>}, static shared_null = 
{ref = {_q_value = 5332}, alloc = 0, size = 0,
     data = 0x32e5ed491a <QString::shared_null+26>, clean = 0, 
simpletext = 0, righttoleft = 0, asciiCache = 0,
     capacity = 0, reserved = 0, array = {0}}, static shared_empty = 
{ref = {_q_value = 77}, alloc = 0, size = 0,
     data = 0x32e5ed48fa <QString::shared_empty+26>, clean = 0, 
simpletext = 0, righttoleft = 0, asciiCache = 0,
     capacity = 0, reserved = 0, array = {0}}, d = 0x32e5ed48e0 
<QString::shared_empty>, static codecForCStrings = 0x0}
newParent = 0x8914f0
widget_name = 0xb385b4 "autoexposuremode"
widget_label = 0xb380b4 "Mode d'exposition automatique Canon"
widget_value_float = <optimized out>
widget_value_string = 0x0
(gdb) print widget_choice
$2 = 0xbc8280 "P"



Marcus Meissner wrote:
> https://bugs.kde.org/show_bug.cgi?id=244891
>
> --- Comment #11 from Marcus Meissner<marcus@jet.franken.de>  ---
> Weird, as it does not reproduce for me :/
>
> if anyone could output the values at that crash site it would be nice
>
> gdb kcmshell4
> (gdb) r kamera
> ... reproduce crash ...
>
> go to the frame wiht  ../../kcontrol/kameraconfigdialog.cpp:192  and then
>
> (gdb) info locals
>
> (gdb) print widget_value_string
>
> (gdb) print widget_choice
>
>
> I need to see why
> if(!strcmp(widget_value_string, widget_choice))
> crashes :/
>
Comment 13 Marcus Meissner 2013-07-07 18:16:55 UTC
This could happen when the value of a configuration widget was not set, e.g. in some
cases where the value was unknown.

I was hoping libgphoto2 always sets the value, but apparently there are some side cases where it did not (or does not).

I have applied a patch to kamera GIT to handle this case.
Comment 14 Marcus Meissner 2013-07-07 18:17:42 UTC
Created attachment 81005 [details]
patch to handle unset variables

patch i applied to current kamera GIT, checking for NULL ptr
Comment 15 Christoph Feck 2013-07-12 02:16:20 UTC
Marcus, the patch looks good.

To get more testing, I would suggest to commit it to 4.11 branch and master.
Comment 16 alainthiaville59 2013-07-13 21:25:21 UTC
comment #13 is a good new (for segmentation fault) but I think it hides a most serious problem.
if you look at the end of comment 13, there is a very strange value for a widget_name : 0xb385b4 "autoexposuremode" . This value is an EXIF data embeded in an plain photo or a thumbnail  . All happens as if 2 apps (Kamera and maybe digikam) were accessing the EOS 7D at the same time 
an it's would be a very bad idea to do this. My opinion is this is a share resource problem or if the camera can't be shared, a locking default.
Comment 17 Marcus Meissner 2013-07-25 06:39:28 UTC
I thought I had it applied and pushed... but I seem to have forgot the push :)

pushed now, to master and KDE/4.11
Comment 18 Marcus Meissner 2013-07-25 06:41:14 UTC
alainthiaville59 ... (re #c16)

this is a camera setting that can be changed in the kamera configure dialog.

2 apps cannot access the camera at the same time, the protocol in use does not really know about multiple session over a single usb bus.

The second app trying to access it should get a "camera already in use" error already.