El mar, 11 feb 2025 a las 13:47, Dmitry Shachnev
(<mity...@debian.org>) escribió:

> It looks like it crashes when trying to allocate memory for a large string:
> it says len = 2147483626, which is almost 2 GB.
>
> I found a similar issue described here [1], and the reporter solved it by
> removing ~/.config/QtProject.conf file which was too large. Maybe it’s the
> same in your case?


   $ du -h QtProject.conf
530M    QtProject.conf

Wow. I think you hit the nail on the head. :)


> Can you try to remove or move it?
> If you decide to remove, maybe first look at its content and check which
> field is so long, it may shed more light on this issue.

   This is the content of QtProject.conf and the cause of the unusual size:

--
[FileDialog]
history=@Invalid()
lastVisited=file:///home/fenix/Dibujo/daily_drawing_challenges/2022_10_17_1283_D/
qtVersion=6.7.2
shortcuts=file:, file:///home/fenix, file:///home/fenix/Escritorio,
file:///home/fenix/Descargas, file:///home/fenix/MÃ<U+0083>Â<U+0083>Ã
<U+0082>Â<U+0083>[this is repeated lot, lot... lot of
times]Ã<U+0082>Â<U+0083>sica
sidebarWidth=230
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x3\xf9\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x2\xa0\0\0\0\x1\0\0\0\0\0\0\0\xa9\0\0\0\x1\0\0\0\0\0\0\0\x42\0\0\0\x1\0\0\0\0\0\0\0n\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff)
viewMode=Detail
--

That line has 141,065 characters! The incorrect part of the line
should simply be: file:///home/fenix/Música.

It seems something went wrong with the encoding of the Spanish 'ú'
character in 'Música,'
which is the KDE standard directory for 'Music.' If I'm not mistaken,
this folder is created the first
time KDE runs and is locale-based. However, I don't know how to
determine when this issue
occurs or what caused it.

After moving QtProject.conf (I also had a lock file
QtProject.conf.lock reamining of the last crash), I opened VLC, and
this is the content it was recreated with:

--
[FileDialog]
history=@Invalid()
lastVisited=/home/fenix
qtVersion=5.15.15
viewMode=Detail
--

And it works flawlessly. Krita also runs fine as expected.

If I open a Qt6 app, such as Kate, qtVersion displays the correct
latest version:

--
[FileDialog]
history=@Invalid()
lastVisited=file:///tmp/
qtVersion=6.7.2
viewMode=Detail
--

I don't know which app created the shortcuts tag so I can't try to
replicate it. I'm not sure
if this provides any useful information to you or if it can be
considered a bug. I keep
this bug report open in case you need more details. However, if you
believe this isn't a
potential bug, please feel free to close it.



Thank you very much!

Reply via email to