[digikam] [Bug 378587] New: Geolocation hangs when opened twice

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

[digikam] [Bug 378587] New: Geolocation hangs when opened twice

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=378587

            Bug ID: 378587
           Summary: Geolocation hangs when opened twice
           Product: digikam
           Version: 5.5.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Geolocation-Editor
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

Steps to reproduce:
1. Open Geolocation. Geotag (drag 'n drop) one image on the map.
2. Click Apply and close geolocation screen
3. Open Geolocation again.
4. Drag a picture to the map -> mouse cursor changes to 'forbidden to change'
and digikam becomes unresponsive

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 378587] Geolocation hangs when opened twice

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=378587

Simon <[hidden email]> changed:

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

--- Comment #1 from Simon <[hidden email]> ---
Created attachment 104931
  --> https://bugs.kde.org/attachment.cgi?id=104931&action=edit
Backtrace of geolocation freeze

I can reproduce this with a locally compiled digiKam but not with the Appimage.
The attached backtrace suggest a problem somewhere in libqgtk3/libgdk/libglib
or its configuration. That is at least for my system very sound argument, as
gtk2/3 handling is a bit messy/outdated on xfce.

What system do you use and where do you install digiKam from?

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 378587] Geolocation hangs when opened twice

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

--- Comment #2 from Simon <[hidden email]> ---
Actually I did something else that resulted in a freeze as well so I assumed it
is the same: I opened a gpx file, then closed the dialog, and tried to open a
gpx file again. However I can't reproduce the problem with drag 'n dropping
images to the map as you described.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 378587] Geolocation hangs when opened twice

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

Gabriel Burca <[hidden email]> changed:

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

--- Comment #3 from Gabriel Burca <[hidden email]> ---
I have the exact same problem as original problem report. It always works the
first time around, and always freezes the second time I open the geolocation
dialog and try to drag a picture to the map.

I did some more experimenting and here's what I see:

- If I open the dialog box (for the 1st time) and drag pictures to the map one
by one, it works fine. So it doesn't seem to be tied to the first drag.

- If I drag a picture and then close the dialog without clicking Apply, but
answer "Yes" or "No" to the dialog prompting me to save changes, it still
happens the next time I open the dialog. So it's not tied to the "Apply"
button.

- If I open the dialog box, and close it back up without dragging anything, it
seems to be fine (i.e. I can open it again the 2nd time and drag a picture to
the map).

What's weird is that it freezes the whole desktop, so I can't switch to another
app by using the mouse, almost like having a modular window open that has
captured the mouse. I have to use the keyboard to switch to a terminal and send
digiKam a SIGTERM.

I'm using Kubuntu 16.04 with DigiKam 5.5 from
https://launchpad.net/~philip5/+archive/ubuntu/extra/ and the map provider is
Google (but it's no different if I switch to Marble).

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 378587] Geolocation hangs when opened twice

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

Simon <[hidden email]> changed:

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

--- Comment #4 from Simon <[hidden email]> ---
Can you create a backtrace during the freeze?
There apparently is some automatic crash handler in Ubuntu, so if that does its
magic to get you a backtrace, please attach it. If it doesn, here you have
information on getting debug symbols on ubuntu:
https://wiki.ubuntu.com/DebuggingProgramCrash
And creating a backtrace:
https://wiki.ubuntu.com/Backtrace

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 378587] Geolocation hangs when opened twice

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

--- Comment #5 from Gabriel Burca <[hidden email]> ---
Created attachment 104970
  --> https://bugs.kde.org/attachment.cgi?id=104970&action=edit
Backtrace of geolocation drag freezing

I ran digikam5 in gdb, reproduced the issue, switched back to gdb while it was
frozen, Ctrl-C to get to gdb prompt (line 566), and did a backtrace (line 569)
along with a few other useful dumps (lines 706, 731, and 748).

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 378587] Geolocation hangs when opened twice

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

[hidden email] changed:

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

--- Comment #6 from [hidden email] ---
And where is the digiKam code relevant of the problem in the backtrace... ??? I
see nothing especially.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 378587] Geolocation hangs when opened twice

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

Gabriel Burca <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #104970|0                           |1
        is obsolete|                            |

--- Comment #7 from Gabriel Burca <[hidden email]> ---
Created attachment 104972
  --> https://bugs.kde.org/attachment.cgi?id=104972&action=edit
Backtrace of geolocation drag freezing - with debug symbols

The first attempt at installing digikam5-dbg failed, but I now have it
installed so this backtrace should be more informative.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 378587] Geolocation hangs when opened twice

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

--- Comment #8 from [hidden email] ---
Sound like the place of the crash :

#8  0x00007ffff6c05a44 in Digikam::GPSImageList::startDrag (this=0x4a64690,
supportedActions=...) at
/build/digikam5-AYcouh/digikam5-5.5.0/core/utilities/geolocation/editor/items/gpsimagelist.cpp:122
        selectedIndicesFromModel = {<QListSpecialMethods<QModelIndex>> = {<No
data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}},
alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x1ba97a0}, d = 0x1ba97a0}}
        selectedIndices = {<QListSpecialMethods<QPersistentModelIndex>> = {<No
data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = -1}},
alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x4b0bf20}, d = 0x4b0bf20}}
        dragMimeData = 0x4b08fb0
        drag = 0x4934d40

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 378587] Geolocation hangs when opened twice

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

--- Comment #9 from Gabriel Burca <[hidden email]> ---
That line changed ~5m ago from drag->start(...) to drag->exec(...).

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 378587] Geolocation hangs when opened twice

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

Maik Qualmann <[hidden email]> changed:

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

--- Comment #10 from Maik Qualmann <[hidden email]> ---
drag->start() ist obsolete in Qt-5.x. We use overall in digiKam drag->exec().

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 378587] Geolocation hangs when opened twice

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

--- Comment #11 from Maik Qualmann <[hidden email]> ---
The problem is here not to reproduce under openSUSE. We could try using a
Qt::MoveAction instead of Qt::CopyAction. I also think that it crashed later.

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 378587] Geolocation hangs when opened twice

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

--- Comment #12 from [hidden email] ---
digiKam 5.6.0 is now release and available as bundle for Linux, MacOS and
Windows.

Can you check if problem still exists with this version ?

Thanks in advance

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.