Bug 355895

Summary: Baloo crash on Umlaut directory name
Product: [Unmaintained] Baloo Reporter: Fabian Stanke <me>
Component: GeneralAssignee: Vishesh Handa <me>
Status: RESOLVED WORKSFORME    
Severity: crash CC: pinak.ahuja
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 355923    

Description Fabian Stanke 2015-11-25 15:55:22 UTC
Application: baloo_file (5.16.0)

Qt Version: 5.5.1
Operating System: Linux 4.1.5-2.g83fbd4e-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I simply ran "balooctl enable" from the command line

In the terminal I see the error message:
org.kde.baloo: Failed to create watch for "/home/stanke/Dokumente/Muster/Miteigent�mer" Datei oder Verzeichnis nicht gefunden

Listing the directory works:
> ll /home/stanke/Dokumente/Muster/Miteigent$'\374'mer
insgesamt 76 [...]

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6f61f2d780 (LWP 13045))]

Thread 2 (Thread 0x7f6f57897700 (LWP 13046)):
[KCrash Handler]
#5  0x00007f6f5da40494 in mdb_txn_begin () at /usr/lib64/liblmdb-0.9.11.so
#6  0x000000000041cb0a in Baloo::FirstRunIndexer::run() (this=0x12f6850) at /usr/src/debug/baloo-5.16.0/src/file/firstrunindexer.cpp:46
#7  0x00007f6f60480332 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f6f604832cf in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f6f5ed530a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f6f5fb0d08d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f6f61f2d780 (LWP 13045)):
#0  0x00007f6f5fb04c5d in poll () at /lib64/libc.so.6
#1  0x00007f6f5c71fbe4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f6f5c71fcec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f6f606b677c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f6f6065d803 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f6f60665396 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x0000000000417d92 in main(int, char**) (argc=1, argv=<optimized out>) at /usr/src/debug/baloo-5.16.0/src/file/main.cpp:88

Reported using DrKonqi
Comment 1 Fabian Stanke 2015-11-26 08:51:04 UTC
After renaming the directory, baloo_file starts without problems.