Re: LIBCLANG FATAL ERROR: IO failure on output stream: Bad file descriptor

Milian Wolff <[email protected]>
Newsgroups gmane.comp.kde.devel.kdevelop
Message-ID <3509542.kQq0lBPeGt@agathebauer>
On Donnerstag, 6. Februar 2020 11:09:38 CET René J.V. Bertin wrote:
> Hi,
> 
> I hadn't seen this kind of crash for a while now but got 2 almost in a row
> the last few days.
> 
> Both times I had launched a project-wide string search as soon as the UI
> allowed me to after starting the session. The session does have a few C++
> files open that are restored on load.
> 
> Could it be that the file search and the initial parse somehow interfere,
> somehow? Could the file search use a file-open method that queues the file
> for parsing under certain conditions, causing libclang to fail because the
> file has been closed before it's its turn, thus explaining the "bad file
> descriptor" error?

No, we do not share fd's with libclang. This cannot be it.

> I'm not getting a backtrace through DrKonqi and haven't been able to
> reproduce the issue with a debugger attached.

Please try again. Without, there's nothing for me to see here.
 
> FWIW, the project in question is Audacity, which has a new and rather
> innovative cmake build system. Open files restored on launch:
> lib-src/FileDialog/FileDialog.cpp
> src/effects/lv2/LoadLV2.cpp
> /opt/local/libexec/wxWidgets/3.1/include/wx-3.1/wx/chartype.h
> lib-src/lv2/suil/src/qt5_in_gtk.cpp
> CMakeLists.txt
> /opt/local/libexec/wxWidgets/3.1/include/wx-3.1/wx/string.h
> /opt/local/libexec/wxWidgets/3.1/include/wx-3.1/wx/strvararg.h
> src/CMakeLists.txt
> cmake-proxies/CMakeLists.txt
> src/AboutDialog.cpp
> src/export/ExportMP3.cpp
> 
> R.


-- 
Milian Wolff
[email protected]
http://milianw.de
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEezawi1aUvUGg3A1+8zYW/HGdOX8FAl48QY0ACgkQ8zYW/HGd
OX/1IxAAqeDtk1MUShgjhAFtv/fcrNixDno1rwu/9HHPXoWSAJq3QyDuN0WKSO1f
zcBJ751wP86eKhxK83s1iPFw+SrKu5CqYe0YDdAcYK20qPHDCPPGWveYd4+la8CL
DLBqfOtNQE0kPwWj6TmlI9dK3klOXSb6MhMJPja4hhurpQ9BHAI0AT0abBhsMqyf
Jusd/wUQm03pJgXJcnH63b1HX2qXX5zfVzqa4Ivk1HgkxbWdJE66AFTlnysHhOig
vbBF7sjnDXdaK4e5RtSltGh1DN13TcBfwGuEupcV7XtB71Hd0efTYI7NTnFPnMlw
iwm27vk+Sx/Za9AoP3/bPFwuYCl4teQePbipP/AqfdUr+9Wkm0jE6k8VFnMk3oB7
el/hDgzh5du7og7TOejdTZDMP+tvi7RW4mIEZg467H/OnzTdPD1iR3NZSZu4r6zt
6F3XrweLQa+u+E/YBsb5Jvn54Xxr1RuwJ8IBmSpaYBRT3SHbdlhm0Y8VOoA1QI/X
ZYEcgCGiEHbgsMvO62F6mybONDwhSfktPjIsuvx5d91YbdR89LJ4hhOeK6mAgWVY
M3ulI4jTpU/ulTr+m2K8tB/enNx/ikUtJW5VWXEmVoYNPiO51TX4r/a4gZC6NIEC
zM3Jh2RTSLZTtRUZ3xxO0sik/p/04jdbVaFoH3stsjJBOfjw20s=
=aNbC
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.