Bug 255830

Summary: Crash while renaming files using German Umlauts
Product: [Applications] digikam Reporter: eiapopeia13
Component: AdvancedRename-engineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 1.4.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.2.0
Sentry Crash Report:
Attachments: the crash report

Description eiapopeia13 2010-11-01 19:08:52 UTC
Version:           1.4.0 (using KDE 4.5.1) 
OS:                Linux

When renaming Files and using Umlauts like ä ö ü, digikam crashes immediately.

Reproducible: Always

Steps to Reproduce:
1. Select Files
2. Hit F2
3. Fill in a new name containing umlauts like "HändeMitNahaufnahmenDerFinger##"
4. Start Renaming

Actual Results:  
a sudden crash

Expected Results:  
new 

I tried it several times. It worked only one time with a very short name, but after that it crashed in the second try
Comment 1 Johannes Wienke 2010-11-01 19:11:06 UTC
Please attach the backtrace generated by crash report tool (developer information).
Comment 2 eiapopeia13 2010-11-01 21:23:28 UTC
Created attachment 53049 [details]
the crash report

This is the crash report made by the assistant.
Comment 3 Johannes Wienke 2010-11-01 21:26:22 UTC
Andi, any idea?

Thread 1 (Thread 0x7fdf992037c0 (LWP 9187)):
[KCrash Handler]
#6  ref (this=0x7a9a0b0, settings=...) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QList (this=0x7a9a0b0, settings=...) at /usr/include/qt4/QtCore/qlist.h:118
#8  QForeachContainer (this=0x7a9a0b0, settings=...) at /usr/include/qt4/QtCore/qglobal.h:2243
#9  Digikam::Parser::parse (this=0x7a9a0b0, settings=...) at /build/buildd/digikam-1.4.0/utilities/advancedrename/common/parser.cpp:219
#10 0x000000000074a874 in Digikam::Parser::invalidModifiers (this=0x0, settings=...) at /build/buildd/digikam-1.4.0/utilities/advancedrename/common/parser.cpp:201
#11 0x00000000007433ea in Digikam::Highlighter::highlightBlock (this=0x930eb80, text=<value optimized out>) at /build/buildd/digikam-1.4.0/utilities/advancedrename/common/highlighter.cpp:9
5
#12 0x00007fdf931f7e99 in QSyntaxHighlighterPrivate::reformatBlock (this=0x930ec20, block=...) at text/qsyntaxhighlighter.cpp:225
#13 0x00007fdf931f801e in QSyntaxHighlighterPrivate::reformatBlocks (this=0x930ec20, from=<value optimized out>, charsRemoved=<value optimized out>, charsAdded=0) at text/qsyntaxhighlighte
r.cpp:206
#14 0x00007fdf931f8422 in QSyntaxHighlighter::qt_metacall (this=0x930eb80, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff9d022470) at .moc/release-shared/moc_qsyntaxhighlig
hter.cpp:81
Comment 4 Andi Clemens 2010-11-04 22:38:37 UTC
No, actually I don't know why yet. I will take a look at this tomorrow...

Andi
Comment 5 Andi Clemens 2010-11-07 08:38:11 UTC
Hmm right now I can not confirm this, I never had any crashes with AdvancedRename, and all reports about crashes seem to be related to QList. Maybe there is a bug in some Qt installations?

I just can't figure out what should be wrong here?
Comment 6 caulier.gilles 2010-11-24 09:13:23 UTC
digiKam 1.6.0 is out:

http://www.digikam.org/drupal/node/550

Please update and check if this entry still valid.

Thanks in advance

Gilles Caulier
Comment 7 Andi Clemens 2010-11-27 18:02:27 UTC
It seems to be related to the syntax highlighter when using "spell checking". It should be fixed in SVN.

*** This bug has been marked as a duplicate of bug 237642 ***
Comment 8 caulier.gilles 2020-09-12 10:46:20 UTC
Fixed with #237642