[digikam] [Bug 322652] New: Crashes on camera import

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] New: Crashes on camera import

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

            Bug ID: 322652
           Summary: Crashes on camera import
    Classification: Unclassified
           Product: digikam
           Version: 3.2.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Import
          Assignee: [hidden email]
          Reporter: [hidden email]

Immediate crashes on camera import (Canon EOS-40D on USB), no diags from
command string.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=322652

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |[hidden email]
         Resolution|---                         |BACKTRACE

--- Comment #1 from Gilles Caulier <[hidden email]> ---
We need a GDB backtrace to hack. Please run digiKam in GDB like explained here
:

http://www.digikam.org/contrib

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

SinClaus
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

--- Comment #2 from SinClaus <[hidden email]> ---
There isn't debug symbols in the Arch's binaries.
Backtrace is very short:

(gdb) bt
#0  0x00000000007b9263 in ?? ()
#1  0x00000000007b97c2 in ?? ()
#2  0x00000000007ab05c in ?? ()
#3  0x00000000007ad6c6 in ?? ()
#4  0x00007ffff26e7d8f in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007fffef652dd2 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff1912cdd in clone () from /usr/lib/libc.so.6

If it can help you, I can attach catchsegv output - without debug symbols too.

Note: digiKam opens a camera with empty flash without crash, and with one
picture - too. Crashed with three or more pictures in the camera.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

Gilles Caulier-4
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

--- Comment #3 from Gilles Caulier <[hidden email]> ---
No it doesn't help. It miss debug symbol.

Please install digiKam debug package.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

SinClaus
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

--- Comment #4 from SinClaus <[hidden email]> ---
Unfortunately:
"Arch

Arch currently doesn't offer debug packages with symbols. You therefore need to
recompile all concerned packages with debugging symbols."
There is nothing to install, and I don't have any desire to recompile
something.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

SinClaus
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

--- Comment #5 from SinClaus <[hidden email]> ---
Created attachment 81605
  --> https://bugs.kde.org/attachment.cgi?id=81605&action=edit
here is backtrace from digicam 3.3.0, compiled on my box

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

SinClaus
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

SinClaus <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|BACKTRACE                   |---

--- Comment #6 from SinClaus <[hidden email]> ---
I'm compiled digiKam 3.3.0, and one crashed on import too. Backtrace attached.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

georg.lipps
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #7 from [hidden email] ---
I also observe a crash (segfault) upon trying to download picture from a Canon
S95 camera.

Does not appear to be a Gphoto2 problems as Camera is detected correctly by
Gphoto2 from terminal commandline.

Import was tricky with 2.8. already but crash is new for 3.3.

Greetings,

Georg

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

SinClaus
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

SinClaus <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEEDSINFO
            Version|3.2.0                       |3.5.0
         Resolution|---                         |REMIND

--- Comment #8 from SinClaus <[hidden email]> ---
Version 3.5.0, Arch Linux x86-64 with all fresh updates.
STILL CRASHES on import window.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

Jekyll Wu
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

Jekyll Wu <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |UNCONFIRMED
         Resolution|REMIND                      |---

--- Comment #9 from Jekyll Wu <[hidden email]> ---
please do not change the bug status to something that nobody understand its
meaning.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

SinClaus
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

--- Comment #10 from SinClaus <[hidden email]> ---
note: If camera have only one photo, import always successful.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

Teemu Rytilahti
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

Teemu Rytilahti <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #11 from Teemu Rytilahti <[hidden email]> ---
If you can still make it crash, could you please get the values of local
variables by doing the following inside gdb:
> f 0
> info locals

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

SinClaus
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

--- Comment #12 from SinClaus <[hidden email]> ---
Here is result (ver 3.5 from KDE repo)

(gdb) f 0
#0  0x00000000007cfbe1 in Digikam::GPCamera::getItemInfoInternal
(this=0x7866d10, folder=..., itemName=..., info=..., useMetadata=true)
    at
/home/chawoosh/Util/photo/digikam/digikam-3.5.0/core/utilities/importui/backend/gpcamera.cpp:849
849                                 QFile::encodeName(info.name).constData(),
&cfinfo, d->status->context);
(gdb) info locals
cfinfo = {preview = {fields = GP_FILE_INFO_NONE, status =
GP_FILE_STATUS_NOT_DOWNLOADED, size = 0, type = '\000' <repeats 63 times>,
    width = 0, height = 0}, file = {fields = 229, status =
GP_FILE_STATUS_DOWNLOADED, size = 140736347504672,
    type =
"\000r\003\274\377\177\000\000\360q\003\274\377\177\000\000P\000\000\000\000\000\000\000@\000\000\000\000\000\000\000y\361\360\351\377\177\000\000\000\000\000\000\000\000\000\000\200\207\305\000\000\000\000\000n\000\000\000w\000\000",
width = 1, height = 0,
    permissions = 2948657104, mtime = 16}, audio = {fields = 12, status =
GP_FILE_STATUS_NOT_DOWNLOADED, size = 24,
    type =
"\000\a\301\257\377\177\000\000(,\374\352\377\177\000\000T\000\000\000\000\000\000\000\320\357\300\257\377\177\000\000\f\000\000\000\000\000\000\000\030",
'\000' <repeats 11 times>, "\377\177\000\000\f\000\000\000\000\000\000"}}

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

Teemu Rytilahti
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

--- Comment #13 from Teemu Rytilahti <[hidden email]> ---
Hmm, doesn't give enough information. Can you try info args? And perhaps even
"print info" or "print info.name" when inside the local. And same for
d->status->context to see what really crashes it.

Btw, that size value looks quite big there, but I don't really know how it's
being encoded or so...

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

SinClaus
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

--- Comment #14 from SinClaus <[hidden email]> ---
I'm not an active developer, so please say step by step what do you need from
me.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

Teemu Rytilahti
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

--- Comment #15 from Teemu Rytilahti <[hidden email]> ---
Ah, not a problem. So the same thing as before, so first "f 0" and then the
following commands:
> info args
> print info
> print info.name
> print d->status
> print d->status->context

Thanks in advance.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

SinClaus
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

--- Comment #16 from SinClaus <[hidden email]> ---
OK.
1. There is four RAW images in a camera.
2. Digikam is running in the gdb.
3. Camera is ON.
4. Say to digikam to import images.
5. Camera window is open and program is segfault:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff68664700 (LWP 31043)]
0x00000000007cfbe1 in Digikam::GPCamera::getItemInfoInternal (this=0x10ec9f0,
folder=..., itemName=..., info=..., useMetadata=true)
    at
/home/chawoosh/Util/photo/digikam/digikam-3.5.0/core/utilities/importui/backend/gpcamera.cpp:849
849                                 QFile::encodeName(info.name).constData(),
&cfinfo, d->status->context);
6.
(gdb) f 0
#0  0x00000000007cfbe1 in Digikam::GPCamera::getItemInfoInternal
(this=0x10ec9f0, folder=..., itemName=..., info=..., useMetadata=true)
    at
/home/chawoosh/Util/photo/digikam/digikam-3.5.0/core/utilities/importui/backend/gpcamera.cpp:849
849                                 QFile::encodeName(info.name).constData(),
&cfinfo, d->status->context);

(gdb) info args
this = 0x10ec9f0
folder = @0x7fff686632e0: {static null = {<No data fields>}, static shared_null
= {ref = {_q_value = 114120}, alloc = 0, size = 0,
    data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
    array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
reserved = 0, array = {0}}, d = 0x937dd10,
  static codecForCStrings = 0x0}
itemName = @0x7fff68662fd0: {static null = {<No data fields>}, static
shared_null = {ref = {_q_value = 114120}, alloc = 0, size = 0,
    data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
    array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
reserved = 0, array = {0}}, d = 0x9804720,
  static codecForCStrings = 0x0}
info = @0x7fff68662e80: {size = -1, width = -1, height = -1, readPermissions =
-1, writePermissions = -1, name = {
    static null = {<No data fields>}, static shared_null = {ref = {_q_value =
114120}, alloc = 0, size = 0,
      data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
      array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
      clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
reserved = 0, array = {0}}, d = 0x9804720,
    static codecForCStrings = 0x0}, folder = {static null = {<No data fields>},
static shared_null = {ref = {_q_value = 114120}, alloc = 0,
      size = 0, data = 0xc5879a <QString::shared_null+26>, clean = 0,
simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
      reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value =
339}, alloc = 0, size = 0,
      data = 0x7fffeb3dd8fa <QString::shared_empty+26>, clean = 0, simpletext =
0, righttoleft = 0, asciiCache = 0, capacity = 0,
      reserved = 0, array = {0}}, d = 0x937dd10, static codecForCStrings =
0x0}, mime = {static null = {<No data fields>},
    static shared_null = {ref = {_q_value = 114120}, alloc = 0, size = 0, data
= 0xc5879a <QString::shared_null+26>, clean = 0,
      simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved =
0, array = {0}}, static shared_empty = {ref = {
        _q_value = 339}, alloc = 0, size = 0, data = 0x7fffeb3dd8fa
<QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0,
      asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xc58780
<QString::shared_null>, static codecForCStrings = 0x0}, ctime = {
    d = {d = 0x92f13b0}}, photoInfo = {make = {static null = {<No data
fields>}, static shared_null = {ref = {_q_value = 114120}, alloc = 0,
        size = 0, data = 0xc5879a <QString::shared_null+26>, clean = 0,
simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
        reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value =
339}, alloc = 0, size = 0,
        data = 0x7fffeb3dd8fa <QString::shared_empty+26>, clean = 0, simpletext
= 0, righttoleft = 0, asciiCache = 0, capacity = 0,
        reserved = 0, array = {0}}, d = 0xc58780 <QString::shared_null>, static
codecForCStrings = 0x0}, model = {
      static null = {<No data fields>}, static shared_null = {ref = {_q_value =
114120}, alloc = 0, size = 0,
        data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
        array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
        clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity =
0, reserved = 0, array = {0}},
      d = 0xc58780 <QString::shared_null>, static codecForCStrings = 0x0}, lens
= {static null = {<No data fields>}, static shared_null = {
        ref = {_q_value = 114120}, alloc = 0, size = 0, data = 0xc5879a
<QString::shared_null+26>, clean = 0, simpletext = 0,
        righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array =
{0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
        size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>, clean = 0,
simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
        reserved = 0, array = {0}}, d = 0xc58780 <QString::shared_null>, static
codecForCStrings = 0x0}, exposureTime = {
      static null = {<No data fields>}, static shared_null = {ref = {_q_value =
114120}, alloc = 0, size = 0,
        data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
        array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
        clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity =
0, reserved = 0, array = {0}},
      d = 0xc58780 <QString::shared_null>, static codecForCStrings = 0x0},
exposureMode = {static null = {<No data fields>},
      static shared_null = {ref = {_q_value = 114120}, alloc = 0, size = 0,
data = 0xc5879a <QString::shared_null+26>, clean = 0,
        simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved
= 0, array = {0}}, static shared_empty = {ref = {
          _q_value = 339}, alloc = 0, size = 0, data = 0x7fffeb3dd8fa
<QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0,
        asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xc58780
<QString::shared_null>, static codecForCStrings = 0x0},
    exposureProgram = {static null = {<No data fields>}, static shared_null =
{ref = {_q_value = 114120}, alloc = 0, size = 0,
        data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
        array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
        clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity =
0, reserved = 0, array = {0}},
      d = 0xc58780 <QString::shared_null>, static codecForCStrings = 0x0},
aperture = {static null = {<No data fields>},
      static shared_null = {ref = {_q_value = 114120}, alloc = 0, size = 0,
data = 0xc5879a <QString::shared_null+26>, clean = 0,
        simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved
= 0, array = {0}}, static shared_empty = {ref = {
          _q_value = 339}, alloc = 0, size = 0, data = 0x7fffeb3dd8fa
<QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0,
        asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xc58780
<QString::shared_null>, static codecForCStrings = 0x0},
    focalLength = {static null = {<No data fields>}, static shared_null = {ref
= {_q_value = 114120}, alloc = 0, size = 0,
        data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
        array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
        clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity =
0, reserved = 0, array = {0}},
      d = 0xc58780 <QString::shared_null>, static codecForCStrings = 0x0},
focalLength35mm = {static null = {<No data fields>},
      static shared_null = {ref = {_q_value = 114120}, alloc = 0, size = 0,
data = 0xc5879a <QString::shared_null+26>, clean = 0,
        simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved
= 0, array = {0}}, static shared_empty = {ref = {
          _q_value = 339}, alloc = 0, size = 0, data = 0x7fffeb3dd8fa
<QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0,
        asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xc58780
<QString::shared_null>, static codecForCStrings = 0x0},
    sensitivity = {static null = {<No data fields>}, static shared_null = {ref
= {_q_value = 114120}, alloc = 0, size = 0,
        data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
        array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
        clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity =
0, reserved = 0, array = {0}},
      d = 0xc58780 <QString::shared_null>, static codecForCStrings = 0x0},
flash = {static null = {<No data fields>}, static shared_null = {
        ref = {_q_value = 114120}, alloc = 0, size = 0, data = 0xc5879a
<QString::shared_null+26>, clean = 0, simpletext = 0,
        righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array =
{0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
        size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>, clean = 0,
simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
        reserved = 0, array = {0}}, d = 0xc58780 <QString::shared_null>, static
codecForCStrings = 0x0}, whiteBalance = {
      static null = {<No data fields>}, static shared_null = {ref = {_q_value =
114120}, alloc = 0, size = 0,
        data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
        array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
        clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity =
0, reserved = 0, array = {0}},
      d = 0xc58780 <QString::shared_null>, static codecForCStrings = 0x0},
dateTime = {d = {d = 0x92c0680}}}, downloaded = -1,
  downloadName = {static null = {<No data fields>}, static shared_null = {ref =
{_q_value = 114120}, alloc = 0, size = 0,
      data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
      array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
      clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
reserved = 0, array = {0}},
    d = 0xc58780 <QString::shared_null>, static codecForCStrings = 0x0}, id =
-1, rating = 0, pickLabel = 0, colorLabel = 0, tagIds = {{p = {
        static shared_null = {ref = {_q_value = 79920}, alloc = 0, begin = 0,
end = 0, sharable = 1, array = {0x0}},
        d = 0xc55420 <QListData::shared_null>}, d = 0xc55420
<QListData::shared_null>}}}
useMetadata = true

(gdb) print info
$1 = (Digikam::CamItemInfo &) @0x7fff68662e80: {size = -1, width = -1, height =
-1, readPermissions = -1, writePermissions = -1, name = {
    static null = {<No data fields>}, static shared_null = {ref = {_q_value =
114120}, alloc = 0, size = 0,
      data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
      array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
      clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
reserved = 0, array = {0}}, d = 0x9804720,
    static codecForCStrings = 0x0}, folder = {static null = {<No data fields>},
static shared_null = {ref = {_q_value = 114120}, alloc = 0,
      size = 0, data = 0xc5879a <QString::shared_null+26>, clean = 0,
simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
      reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value =
339}, alloc = 0, size = 0,
      data = 0x7fffeb3dd8fa <QString::shared_empty+26>, clean = 0, simpletext =
0, righttoleft = 0, asciiCache = 0, capacity = 0,
      reserved = 0, array = {0}}, d = 0x937dd10, static codecForCStrings =
0x0}, mime = {static null = {<No data fields>},
    static shared_null = {ref = {_q_value = 114120}, alloc = 0, size = 0, data
= 0xc5879a <QString::shared_null+26>, clean = 0,
      simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved =
0, array = {0}}, static shared_empty = {ref = {
        _q_value = 339}, alloc = 0, size = 0, data = 0x7fffeb3dd8fa
<QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0,
      asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xc58780
<QString::shared_null>, static codecForCStrings = 0x0}, ctime = {
    d = {d = 0x92f13b0}}, photoInfo = {make = {static null = {<No data
fields>}, static shared_null = {ref = {_q_value = 114120}, alloc = 0,
        size = 0, data = 0xc5879a <QString::shared_null+26>, clean = 0,
simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
        reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value =
339}, alloc = 0, size = 0,
        data = 0x7fffeb3dd8fa <QString::shared_empty+26>, clean = 0, simpletext
= 0, righttoleft = 0, asciiCache = 0, capacity = 0,
        reserved = 0, array = {0}}, d = 0xc58780 <QString::shared_null>, static
codecForCStrings = 0x0}, model = {
      static null = {<No data fields>}, static shared_null = {ref = {_q_value =
114120}, alloc = 0, size = 0,
        data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
        array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
        clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity =
0, reserved = 0, array = {0}},
      d = 0xc58780 <QString::shared_null>, static codecForCStrings = 0x0}, lens
= {static null = {<No data fields>}, static shared_null = {
        ref = {_q_value = 114120}, alloc = 0, size = 0, data = 0xc5879a
<QString::shared_null+26>, clean = 0, simpletext = 0,
        righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array =
{0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
        size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>, clean = 0,
simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
        reserved = 0, array = {0}}, d = 0xc58780 <QString::shared_null>, static
codecForCStrings = 0x0}, exposureTime = {
      static null = {<No data fields>}, static shared_null = {ref = {_q_value =
114120}, alloc = 0, size = 0,
        data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
        array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
        clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity =
0, reserved = 0, array = {0}},
      d = 0xc58780 <QString::shared_null>, static codecForCStrings = 0x0},
exposureMode = {static null = {<No data fields>},
      static shared_null = {ref = {_q_value = 114120}, alloc = 0, size = 0,
data = 0xc5879a <QString::shared_null+26>, clean = 0,
        simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved
= 0, array = {0}}, static shared_empty = {ref = {
          _q_value = 339}, alloc = 0, size = 0, data = 0x7fffeb3dd8fa
<QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0,
        asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xc58780
<QString::shared_null>, static codecForCStrings = 0x0},
    exposureProgram = {static null = {<No data fields>}, static shared_null =
{ref = {_q_value = 114120}, alloc = 0, size = 0,
        data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
        array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
        clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity =
0, reserved = 0, array = {0}},
      d = 0xc58780 <QString::shared_null>, static codecForCStrings = 0x0},
aperture = {static null = {<No data fields>},
      static shared_null = {ref = {_q_value = 114120}, alloc = 0, size = 0,
data = 0xc5879a <QString::shared_null+26>, clean = 0,
        simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved
= 0, array = {0}}, static shared_empty = {ref = {
          _q_value = 339}, alloc = 0, size = 0, data = 0x7fffeb3dd8fa
<QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0,
        asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xc58780
<QString::shared_null>, static codecForCStrings = 0x0},
    focalLength = {static null = {<No data fields>}, static shared_null = {ref
= {_q_value = 114120}, alloc = 0, size = 0,
        data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
        array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
        clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity =
0, reserved = 0, array = {0}},
      d = 0xc58780 <QString::shared_null>, static codecForCStrings = 0x0},
focalLength35mm = {static null = {<No data fields>},
      static shared_null = {ref = {_q_value = 114120}, alloc = 0, size = 0,
data = 0xc5879a <QString::shared_null+26>, clean = 0,
        simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved
= 0, array = {0}}, static shared_empty = {ref = {
          _q_value = 339}, alloc = 0, size = 0, data = 0x7fffeb3dd8fa
<QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0,
        asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xc58780
<QString::shared_null>, static codecForCStrings = 0x0},
    sensitivity = {static null = {<No data fields>}, static shared_null = {ref
= {_q_value = 114120}, alloc = 0, size = 0,
        data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
        array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
        clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity =
0, reserved = 0, array = {0}},
      d = 0xc58780 <QString::shared_null>, static codecForCStrings = 0x0},
flash = {static null = {<No data fields>}, static shared_null = {
        ref = {_q_value = 114120}, alloc = 0, size = 0, data = 0xc5879a
<QString::shared_null+26>, clean = 0, simpletext = 0,
        righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array =
{0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
        size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>, clean = 0,
simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
        reserved = 0, array = {0}}, d = 0xc58780 <QString::shared_null>, static
codecForCStrings = 0x0}, whiteBalance = {
      static null = {<No data fields>}, static shared_null = {ref = {_q_value =
114120}, alloc = 0, size = 0,
        data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
        array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
        clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity =
0, reserved = 0, array = {0}},
      d = 0xc58780 <QString::shared_null>, static codecForCStrings = 0x0},
dateTime = {d = {d = 0x92c0680}}}, downloaded = -1,
  downloadName = {static null = {<No data fields>}, static shared_null = {ref =
{_q_value = 114120}, alloc = 0, size = 0,
      data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
      array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
      clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
reserved = 0, array = {0}},
    d = 0xc58780 <QString::shared_null>, static codecForCStrings = 0x0}, id =
-1, rating = 0, pickLabel = 0, colorLabel = 0, tagIds = {{p = {
        static shared_null = {ref = {_q_value = 79920}, alloc = 0, begin = 0,
end = 0, sharable = 1, array = {0x0}},
        d = 0xc55420 <QListData::shared_null>}, d = 0xc55420
<QListData::shared_null>}}}

(gdb) print info.name
$2 = {static null = {<No data fields>}, static shared_null = {ref = {_q_value =
114120}, alloc = 0, size = 0,
    data = 0xc5879a <QString::shared_null+26>, clean = 0, simpletext = 0,
righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
    array = {0}}, static shared_empty = {ref = {_q_value = 339}, alloc = 0,
size = 0, data = 0x7fffeb3dd8fa <QString::shared_empty+26>,
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
reserved = 0, array = {0}}, d = 0x9804720,
  static codecForCStrings = 0x0}

(gdb) print d->status
$3 = (Digikam::GPStatus *) 0x0

(gdb) print d->status->context
Cannot access memory at address 0x0

quit

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

Gilles Caulier-4
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

--- Comment #17 from Gilles Caulier <[hidden email]> ---
The status handle given by Gphoto library is null. it's abnormal.

Sound like a test case about status is missing to prevent crash, but it sound
like a gphoto2 problem...

More investigation are needs...

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

SinClaus
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

--- Comment #18 from SinClaus <[hidden email]> ---
"gphoto2 -P" successfully import all images from the camera.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 322652] Crashes on camera import

Teemu Rytilahti
In reply to this post by SinClaus
https://bugs.kde.org/show_bug.cgi?id=322652

Teemu Rytilahti <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |4.0.0
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/097f59ea4ba185c55c12c27
                   |                            |203c868b006a611f3

--- Comment #19 from Teemu Rytilahti <[hidden email]> ---
Git commit 097f59ea4ba185c55c12c27203c868b006a611f3 by Teemu Rytilahti.
Committed on 07/12/2013 at 19:47.
Pushed by rytilahti into branch 'master'.

Simplify gphoto2 interface by using a shared gpcontext wherever it's possible,
fixes hopefully #322652 as a side-effect.
FIXED-IN: 4.0.0

M  +24   -172  utilities/importui/backend/gpcamera.cpp

http://commits.kde.org/digikam/097f59ea4ba185c55c12c27203c868b006a611f3

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
12