Bug 326728 - Panorama Stitching crashes upon start.
Summary: Panorama Stitching crashes upon start.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-Panorama (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi, regression, reproducible
Depends on:
Blocks:
 
Reported: 2013-10-27 11:57 UTC by Alexander
Modified: 2017-01-09 13:50 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.0.0


Attachments
New crash information added by DrKonqi (2.76 KB, text/plain)
2013-12-26 21:02 UTC, thomas
Details
New crash information added by DrKonqi (2.88 KB, text/plain)
2013-12-28 19:58 UTC, Fabricio
Details
New crash information added by DrKonqi (3.08 KB, text/plain)
2014-02-23 09:51 UTC, ezio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2013-10-27 11:57:37 UTC
Application: panoramagui (3.5.0)
KDE Platform Version: 4.11.2
Qt Version: 4.8.5
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Whenever i start "Panorama Stitching" the application crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Panorama Stitching (panoramagui), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fedc2ff7800 (LWP 23392))]

Thread 3 (Thread 0x7fedb1e13700 (LWP 23402)):
#0  0x00007fedc157802a in testAndSetOrdered (newValue=0, expectedValue=1, this=0xdc38f0) at ../../src/corelib/arch/qatomic_x86_64.h:145
#1  testAndSetRelease (newValue=0, this=0xdc38f0, expectedValue=1) at ../../src/corelib/arch/qatomic_x86_64.h:272
#2  unlockInline (this=0xdc38c8) at ../../src/corelib/thread/qmutex.h:171
#3  unlock (this=<synthetic pointer>) at ../../src/corelib/thread/qmutex.h:121
#4  ~QMutexLocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../src/corelib/thread/qmutex.h:115
#5  canWaitLocked (this=0xdc3880) at ../../src/corelib/thread/qthread_p.h:228
#6  postEventSourcePrepare (s=0x7feda40012d0, timeout=0x7fedb1e12b94) at kernel/qeventdispatcher_glib.cpp:263
#7  0x00007fedbae24338 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fedbae249cb in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fedbae24bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fedc15785d6 in QEventDispatcherGlib::processEvents (this=0x7feda40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#11 0x00007fedc1548bef in QEventLoop::processEvents (this=this@entry=0x7fedb1e12d50, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007fedc1548e78 in QEventLoop::exec (this=0x7fedb1e12d50, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007fedc144b110 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#14 0x00007fedc15293af in QInotifyFileSystemWatcherEngine::run (this=0xdc35b0) at io/qfilesystemwatcher_inotify.cpp:256
#15 0x00007fedc144e0ec in QThreadPrivate::start (arg=0xdc35b0) at thread/qthread_unix.cpp:338
#16 0x00007fedc11b7e0f in start_thread () from /lib64/libpthread.so.0
#17 0x00007fedbfc2e44d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fedb14bd700 (LWP 23403)):
#0  0x00007fedc11bb964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fedc144e64b in wait (time=18446744073709551615, this=0xf9c9d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xfbfd78, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fedc261d9c6 in KIPIPlugins::KPRawThumbThread::run() () from /usr/lib64/libkipiplugins.so.3
#4  0x00007fedc144e0ec in QThreadPrivate::start (arg=0xfc0200) at thread/qthread_unix.cpp:338
#5  0x00007fedc11b7e0f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fedbfc2e44d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fedc2ff7800 (LWP 23392)):
[KCrash Handler]
#6  QUrl::scheme (this=0x5f1) at io/qurl.cpp:4533
#7  0x00007fedc19cc706 in hasSubUrl (url=...) at /usr/src/debug/kdelibs-4.11.2/kdecore/io/kurl.cpp:987
#8  KUrl::hasSubUrl (this=this@entry=0x5f1) at /usr/src/debug/kdelibs-4.11.2/kdecore/io/kurl.cpp:1032
#9  0x00007fedc19d0cfa in KUrl::fileName (this=0x5f1, options=...) at /usr/src/debug/kdelibs-4.11.2/kdecore/io/kurl.cpp:1286
#10 0x0000000000419008 in _start ()

Reported using DrKonqi
Comment 1 Benjamin Girault 2013-10-28 18:54:40 UTC
This trace does not contain enough information to investigate, however, I'm pretty sure what is the problem.

Can you confirm that when opening the plugin with the files (by either selecting the files before starting the plugin, or passing them as arguments to the executable panoramagui) then the plugin doesn't crash?

If this is the case, it's already fixed in the repository.
Comment 2 Jekyll Wu 2013-10-29 02:23:32 UTC
can confirm the crash doesn't happen when a file is given as argument.
Comment 3 Alexander 2013-10-29 14:39:41 UTC
I also can confirm that it doesn't crash when a file is given as argument.
Comment 4 Benjamin Girault 2013-11-01 09:43:14 UTC
The relevant commit is 3d1a27f97906dace0ef8ab33cf7642109088926a

The bugfix will appear in the next release.
Comment 5 Jekyll Wu 2013-11-04 00:42:05 UTC
*** Bug 327107 has been marked as a duplicate of this bug. ***
Comment 6 thomas 2013-12-26 21:02:52 UTC
Created attachment 84283 [details]
New crash information added by DrKonqi

panoramagui (3.5.0) on KDE Platform 4.11.3 using Qt 4.8.5

Panorama Stitching crashes upon start

-- Backtrace (Reduced):
#5  QUrl::scheme (this=this@entry=0x3e1) at io/qurl.cpp:4533
#6  0x00007f3d3d05b0ad in hasSubUrl (url=...) at /usr/src/debug/kdelibs-4.11.3/kdecore/io/kurl.cpp:987
#7  KUrl::hasSubUrl (this=this@entry=0x3e1) at /usr/src/debug/kdelibs-4.11.3/kdecore/io/kurl.cpp:1032
#8  0x00007f3d3d05fe4c in KUrl::fileName (this=0x3e1, options=...) at /usr/src/debug/kdelibs-4.11.3/kdecore/io/kurl.cpp:1286
#9  0x0000000000417b7b in _start ()
Comment 7 Fabricio 2013-12-28 19:58:11 UTC
Created attachment 84311 [details]
New crash information added by DrKonqi

panoramagui (3.5.0) on KDE Platform 4.12.0 using Qt 4.8.5

- What I was doing when the application crashed:

Hi, the problem occour when I try to open the application.
I use KDE 4.12;

Thanks.

-- Backtrace (Reduced):
#5  QUrl::scheme (this=this@entry=0x3681) at io/qurl.cpp:4533
#6  0x00007f53b71d47ed in hasSubUrl (url=...) at /usr/src/debug/kdelibs-4.12.0/kdecore/io/kurl.cpp:987
#7  KUrl::hasSubUrl (this=this@entry=0x3681) at /usr/src/debug/kdelibs-4.12.0/kdecore/io/kurl.cpp:1032
#8  0x00007f53b71d958c in KUrl::fileName (this=0x3681, options=...) at /usr/src/debug/kdelibs-4.12.0/kdecore/io/kurl.cpp:1286
#9  0x0000000000417b7b in _start ()
Comment 8 Benjamin Girault 2014-01-04 11:58:05 UTC
*** Bug 329050 has been marked as a duplicate of this bug. ***
Comment 9 Jekyll Wu 2014-01-25 01:37:15 UTC
*** Bug 330373 has been marked as a duplicate of this bug. ***
Comment 10 ezio 2014-02-23 09:51:46 UTC
Created attachment 85282 [details]
New crash information added by DrKonqi

panoramagui (3.5.0) on KDE Platform 4.11.5 using Qt 4.8.5

- Unusual behavior I noticed:
If i run panoramagui from terminal with a .jpg file as parameter, it starts without issues.
Opensuse 13.1 updated at 23 Feb 2014.

-- Backtrace (Reduced):
#5  QUrl::scheme (this=this@entry=0xa21) at io/qurl.cpp:4533
#6  0x00007fa4282046fd in hasSubUrl (url=...) at /usr/src/debug/kdelibs-4.11.5/kdecore/io/kurl.cpp:987
#7  KUrl::hasSubUrl (this=this@entry=0xa21) at /usr/src/debug/kdelibs-4.11.5/kdecore/io/kurl.cpp:1032
#8  0x00007fa42820949c in KUrl::fileName (this=0xa21, options=...) at /usr/src/debug/kdelibs-4.11.5/kdecore/io/kurl.cpp:1286
#9  0x0000000000417b7b in _start ()