public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/98999] New: Random testsuite errors in 27_io/filesystem/operations/canonical.cc
@ 2021-02-08  9:48 clyon at gcc dot gnu.org
  2021-02-08  9:52 ` [Bug libstdc++/98999] " clyon at gcc dot gnu.org
  2021-02-08  9:56 ` clyon at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: clyon at gcc dot gnu.org @ 2021-02-08  9:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98999

            Bug ID: 98999
           Summary: Random testsuite errors in
                    27_io/filesystem/operations/canonical.cc
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
  Target Milestone: ---

I've noticed random testsuite failures in
27_io/filesystem/operations/canonical.cc

I'm targeting arm, executing under qemu.

As an example I can see this in my libstdc++.log:

terminate called after throwing an instance of
'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: cannot make canonical path: No such file or
directory [filesystem-test.Iwjpan-canonical]


terminate called after throwing an instance of
'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: comparing 'native' failed: Invalid argument []
[/aci-gcc-fsf/builds/gcc-fsf-gccsrc-thumb/obj-arm-none-linux-gnueabi/gcc3/arm-none-linux-gnueabi/libstdc++-v3/testsuite/normal3/filesystem-test.dJGwrB-canonical]

I'm not sure how to match this to a source line in the testcase?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libstdc++/98999] Random testsuite errors in 27_io/filesystem/operations/canonical.cc
  2021-02-08  9:48 [Bug libstdc++/98999] New: Random testsuite errors in 27_io/filesystem/operations/canonical.cc clyon at gcc dot gnu.org
@ 2021-02-08  9:52 ` clyon at gcc dot gnu.org
  2021-02-08  9:56 ` clyon at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: clyon at gcc dot gnu.org @ 2021-02-08  9:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98999

Christophe Lyon <clyon at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|11.0                        |10.0

--- Comment #1 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Seen also in the gcc-10 branch:

terminate called after throwing an instance of
'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: cannot make canonical path: No such file or
directory [filesystem-test.gXbbQl-canonical]

terminate called after throwing an instance of
'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: comparing 'native' failed: Invalid argument []
[/aci-gcc-fsf/builds/gcc-fsf-gccsrc-thumb/obj-arm-none-linux-gnueabihf/gcc3/arm-none-linux-gnueabihf/libstdc++-v3/testsuite/normal1/filesystem-test.daYZUN-canonical]

terminate called after throwing an instance of
'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: comparing 'native' failed: Invalid argument []
[/aci-gcc-fsf/builds/gcc-fsf-gccsrc-thumb/obj-armeb-none-linux-gnueabihf/gcc3/armeb-none-linux-gnueabihf/libstdc++-v3/testsuite/normal2/filesystem-test.84BdCk-canonical]

terminate called after throwing an instance of
'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: cannot make canonical path: No such file or
directory [filesystem-test.XD0ApR-canonical]

which look very similar.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libstdc++/98999] Random testsuite errors in 27_io/filesystem/operations/canonical.cc
  2021-02-08  9:48 [Bug libstdc++/98999] New: Random testsuite errors in 27_io/filesystem/operations/canonical.cc clyon at gcc dot gnu.org
  2021-02-08  9:52 ` [Bug libstdc++/98999] " clyon at gcc dot gnu.org
@ 2021-02-08  9:56 ` clyon at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: clyon at gcc dot gnu.org @ 2021-02-08  9:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98999

--- Comment #2 from Christophe Lyon <clyon at gcc dot gnu.org> ---
There might be similar problems in
experimental/filesystem/operations/current_path.cc, where I can see:

terminate called after throwing an instance of
'std::experimental::filesystem::v1::__cxx11::filesystem_error'
  what():  filesystem error: cannot canonicalize: No such file or directory
[/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-linux-gnueabihf/gcc3/arm-none-linux-gnueabihf/libstdc++-v3/testsuite/normal1]
[/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-linux-gnueabihf/gcc3/arm-none-linux-gnueabihf/libstdc++-v3/testsuite/normal1]


terminate called after throwing an instance of
'std::experimental::filesystem::v1::__cxx11::filesystem_error'
  what():  filesystem error: cannot canonicalize: No such file or directory
[/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-linux-gnueabihf/gcc3/arm-none-linux-gnueabihf/libstdc++-v3/testsuite/normal1]
[/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-linux-gnueabihf/gcc3/arm-none-linux-gnueabihf/libstdc++-v3/testsuite/normal1]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-08  9:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08  9:48 [Bug libstdc++/98999] New: Random testsuite errors in 27_io/filesystem/operations/canonical.cc clyon at gcc dot gnu.org
2021-02-08  9:52 ` [Bug libstdc++/98999] " clyon at gcc dot gnu.org
2021-02-08  9:56 ` clyon at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).