[digikam] [Bug 468639] Compiling 8.0.0 stop on 'make install'.

2023-05-01 Thread Bob Billson
https://bugs.kde.org/show_bug.cgi?id=468639

--- Comment #6 from Bob Billson  ---
(In reply to caulier.gilles from comment #5)
> In fact it breaks in unit-test rules. I don't know why. You don't needs
> unit-test in your build. Just disable it to append this configure option
> with cmake:
> 
> -DBUILD_TESTING=OFF
> 
> recompile all after configure and try make install.

After a clean recompile, make install work without any errors.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 447593] segfault when moving large number of photos between albums

2023-04-21 Thread Bob Billson
https://bugs.kde.org/show_bug.cgi?id=447593

--- Comment #5 from Bob Billson  ---
(In reply to caulier.gilles from comment #4)
> @Bob
> 
> digiKam 8.0.0 is out. Problem still reproducible ?
> 
> Best regards
> Gilles Caulier

No the problem cannot be reproduced on 8.0.0.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 468639] Compiling 8.0.0 stop on 'make install'.

2023-04-21 Thread Bob Billson
https://bugs.kde.org/show_bug.cgi?id=468639

--- Comment #4 from Bob Billson  ---
(In reply to caulier.gilles from comment #3)
> I just tried here with current code from git master (next 8.1.0), and
> problem is not reproducible. "sudo make install" work as expected, i'm use
> Kubuntu 22.04.
> 
> Tip : clean your "build" directory, recompile all and try again.
> 
> Gilles Caulier

I cleaned my "build" directory and recompiled. Same error with "sudo make
install".

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 468639] Compiling 8.0.0 stop on 'make install'.

2023-04-18 Thread Bob Billson
https://bugs.kde.org/show_bug.cgi?id=468639

--- Comment #2 from Bob Billson  ---
(In reply to caulier.gilles from comment #1)
> her i use "make install/fast" and it works...

"make install/fast" also worked for me

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 468639] New: compiling 8.0.0 crashes on 'make install'

2023-04-17 Thread Bob Billson
https://bugs.kde.org/show_bug.cgi?id=468639

Bug ID: 468639
   Summary: compiling 8.0.0 crashes on 'make install'
Classification: Applications
   Product: digikam
   Version: 8.0.0
  Platform: Debian testing
OS: Linux
Status: REPORTED
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: digikam-bugs-n...@kde.org
  Reporter: r...@nodot.org
  Target Milestone: ---

SUMMARY
***
Compiling 8.0.0 from source doing 'sudo make install' crashes with error
complaining test-data directory already exists and is not empty.
***

STEPS TO REPRODUCE
1. cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr/local .
2. make -j`nproc`
3. sudo make install

OBSERVED RESULT

reb@grue:~/src/digikam/digikam-8.0.0$ sudo make install
[sudo] password for reb:
[  0%] Generating mo...
[  0%] Built target pofiles-651a6d3373c8feb286ebdb52b95b3370
[  0%] Generating ts...
[  0%] Built target tsfiles-651a6d3373c8feb286ebdb52b95b3370
make[2]: Circular CMakeFiles/test-data <- test-data dependency dropped.
make[2]: Circular test-data <- test-data dependency dropped.
[  0%] Checkout unit-test data repository. Please wait...
fatal: destination path '/home/reb/src/digikam/digikam-8.0.0/test-data' already
exists and is not an empty directory.
make[2]: *** [CMakeFiles/test-data.dir/build.make:73: test-data] Error 128
make[1]: *** [CMakeFiles/Makefile2:7123: CMakeFiles/test-data.dir/all] Error 2
make: *** [Makefile:146: all] Error 2


SOFTWARE/OS VERSIONS

Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.2.11-grue (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-6500U CPU @ 2.50GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Manufacturer: Purism
Product Name: Librem 15 v3
System Version: 1.0

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 447593] New: segfault when moving large number of photos between albums

2021-12-27 Thread Bob Billson
https://bugs.kde.org/show_bug.cgi?id=447593

Bug ID: 447593
   Summary: segfault when moving large number of photos between
albums
   Product: digikam
   Version: 7.4.0
  Platform: Debian testing
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: digikam-bugs-n...@kde.org
  Reporter: r...@nodot.org
  Target Milestone: ---

Application: digikam (7.4.0)

Qt Version: 5.15.2
Frameworks Version: 5.88.0
Operating System: Linux 5.15.11-grue x86_64
Windowing System: X11
Distribution: Debian GNU/Linux bookworm/sid
DrKonqi: 5.23.4 [KCrashBackend]

-- Information about the crash:
Compiled v7.4.0 from sources.

Crash happens when trying to copy photos from laptop drive to an external USB
drive connected to the laptop. The drive is mounted, visible and has full
read/write permissions.

Selected a large group of photos (approximately 800) in an album by left
clicking on first photo.
 left click on last photo.
Left click and drag highlighted photos to new album.
Window opens asking whether to copy or move. Move is selected.
Seems to start moving then crashes with segfault.
Restart DigiKam.
Window open scanning for new photos.
As soon as this window closes DigiKam segfaults.
This second crash repeats everytime DigiKam is restarted. Had to resort to use
Appimage bundle to have a usable program. I did not attempt moving the photos
with the Appimage version.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault

[KCrash Handler]
#4  0x7f2f0d5e2e20 in QString::operator=(QString const&) () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x7f2f0ef05828 in
Digikam::DRawDecoderSettings::operator=(Digikam::DRawDecoderSettings const&)
(this=0x7f2ed00c1af8, o=...) at
/home/reb/src/digikam/digikam-7.4.0/core/libs/rawengine/drawdecodersettings.cpp:132
#6  0x7f2ed826ac5a in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/digikam/dimg/DImg_RAW_Plugin.so
#7  0x7f2ed826a456 in  () at
/usr/lib/x86_64-linux-gnu/qt5/plugins/digikam/dimg/DImg_RAW_Plugin.so
#8  0x7f2f0ed4df6d in Digikam::DImg::load(QString const&, int,
Digikam::DImgLoaderObserver*, Digikam::DRawDecoding const&)
(this=0x7f2ed0180c68, filePath=..., loadFlagsInt=1, observer=0x0,
rawDecodingSettings=...) at
/home/reb/src/digikam/digikam-7.4.0/core/libs/dimg/dimg_fileio.cpp:128
#9  0x7f2f0ed4ee16 in Digikam::DImg::loadItemInfo(QString const&, bool,
bool, bool, bool) (this=this@entry=0x7f2ed0180c68, filePath=...,
loadMetadata=loadMetadata@entry=false, loadICCData=loadICCData@entry=false,
loadUniqueHash=loadUniqueHash@entry=false,
loadImageHistory=loadImageHistory@entry=false) at
/home/reb/src/digikam/digikam-7.4.0/core/libs/dimg/dimg_fileio.cpp:55
#10 0x7f2f0f79a47d in Digikam::ItemScanner::loadFromDisk()
(this=this@entry=0x7f2eda3576d8) at
/home/reb/src/digikam/digikam-7.4.0/core/libs/database/item/scanner/itemscanner.cpp:132
#11 0x7f2f0f79d562 in Digikam::ItemScanner::newFile(int)
(this=this@entry=0x7f2eda3576d8, albumId=albumId@entry=837) at
/home/reb/src/digikam/digikam-7.4.0/core/libs/database/item/scanner/itemscanner_database.cpp:109
#12 0x7f2f0f6e3c42 in Digikam::CollectionScanner::scanNewFile(QFileInfo
const&, int) (this=0x7f2eda357a60, info=, albumId=837) at
/home/reb/src/digikam/digikam-7.4.0/core/libs/database/collection/collectionscanner_scan.cpp:1026
#13 0x7f2f0f6e6913 in
Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&,
QString const&, bool) (this=0x7f2eda357a60, location=..., album=...,
checkDate=false) at
/home/reb/src/digikam/digikam-7.4.0/core/libs/database/collection/collectionscanner_scan.cpp:793
#14 0x7f2f0f6e73ed in
Digikam::CollectionScanner::scanAlbumRoot(Digikam::CollectionLocation const&)
(this=0x7f2eda357a60, location=...) at
/home/reb/src/digikam/digikam-7.4.0/core/libs/database/collection/collectionscanner_scan.cpp:464
#15 0x7f2f0f6e831b in Digikam::CollectionScanner::completeScan()
(this=this@entry=0x7f2eda357a60) at
/home/reb/src/digikam/digikam-7.4.0/core/libs/database/collection/collectionscanner_scan.cpp:95
#16 0x7f2f0fc0b345 in Digikam::ScanController::run() (this=0x7f2f101329a0
) at
/home/reb/src/digikam/digikam-7.4.0/core/libs/database/utils/scan/scancontroller.cpp:248
#17 0x7f2f0d561961 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x7f2f0b6fad80 in start_thread (arg=0x7f2eda35a640) at
pthread_create.c:481
#19 0x7f2f0d1a1b6f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f2eeca2c640 (LWP 675437) "digikam:gdrv0"):
#1  0x7f2f0b70715b in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x5584cbaa2f50, expected=expected@entry=0,
clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at
../sysdeps/nptl/futex-internal.c:123
#2