# \[F\] sfile.cpp / Line 584 / hFile != INVALID\_HANDLE\_VALUE

**URL:** <https://community.mp3tag.de/t/f-sfile-cpp-line-584-hfile-invalid-handle-value/15864>\
**Category:** Fehlermeldungen\
**Created:** [June 30, 2014, 10:14am UTC](https://community.mp3tag.de/t/f-sfile-cpp-line-584-hfile-invalid-handle-value/15864 "2014-06-30T10:14:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [June 30, 2014, 10:14am UTC](https://community.mp3tag.de/t/f-sfile-cpp-line-584-hfile-invalid-handle-value/15864/1 "2014-06-30T10:14:42Z")

</div>

Endlich habe ich rausgefunden, was die Ursache für gaaaaanz seltene Abstürze von Mp3tag ist (schon schon seit ewigen Versionen):

Schritte zum Reproduzieren:  
1.) Einem beliebigen mp3 Track den id3tag ARTIST mit dem Inhalt "CONWAY TWITTY" abfüllen (Gross-/Kleinschreibung spielt keine Rolle)

2.) Aktionsgruppe erstellen mit zwei Aktionen:  
a ) ERSETZEN von id3tag ARTIST. Original NWA, ersetzen durch N.W.A.  
b ) Album-Cover exportieren, Formatstring: $validate(C:\Temp$trim(%ARTIST%) ($trim(%ALBUM%)),'\_')

3.) Ein beliebiges Bild als Front-Cover in diesem Track speichern (ohne Bild stürzt mp3tag nicht ab!)

4.) Eben erstellte Aktionsgruppe auf Track mit Artist "Conway Twitty" anwenden

Kabooom!! ![:ph34r:](https://community.mp3tag.de/uploads/default/original/1X/d9d21e0e122fbe04cbaaa509828a996924771538.gif ":ph34r:") -\> "Schwerer Ausnahmefehler"

Meine Vermutung:

> [@](#):
>
> Windows forbids the use of the MS-DOS device names AUX, CLOCK$, COM1, …, COM9, CON, LPT1, …, LPT9, NUL and PRN, as well as these names with any extension (for example, AUX.txt),

Quelle: [http://en.wikipedia.org/wiki/Filename#Comp...ame\_limitations](http://en.wikipedia.org/wiki/Filename#Comparison_of_filename_limitations) -\> NTFS -\> Comments

Wenn nun aufgrund der ersten Aktion aus CONWAY -\> CON.W.A.Y wird, scheint die darauf folgende $validate-Funktion und/oder der Export selber ein Problem mit CON. zu haben.

P.S. Falls es jemanden interessiert: [Conway Twitty](http://en.wikipedia.org/wiki/Conway_Twitty)  
und  
[N.W.A](http://en.wikipedia.org/wiki/N.W.A) (an abbreviation of **N** iggaz **W** it **A** ttitudes)

---

<div class="post-metadata">

**Author:** ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)\
**Post date:** [July 13, 2014, 2:43pm UTC](https://community.mp3tag.de/t/f-sfile-cpp-line-584-hfile-invalid-handle-value/15864/2 "2014-07-13T14:43:47Z")

</div>

Danke für die ausführliche und hilfreiche Beschreibung! Ich hab den Fehler mit Mp3tag v2.61b behoben.

Viele Grüße  
Florian
