Bug#904998: libstdc++6: libtsdc++ with g++-8 hangs in std::local_Rb_tree_decrement

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#904998: libstdc++6: libtsdc++ with g++-8 hangs in std::local_Rb_tree_decrement

Alastair McKinstry-3
Package: libstdc++6
Version: 8.2.0-1
Severity: important

With a program I'm working on, its run
$ mpiexec -n 1 ./bin/server.exe : -n 1 ./bin/client.exe

both programs hang, with:

#0  std::local_Rb_tree_decrement (__x=0x55f54daac538) at ../../../../../src/libstdc++-v3/src/c++98/tree.cc:99
#1  0x000055f54d04eba8 in xios::CReorderDomain::registerTrans() ()
#2  0x000055f54cf5953f in _GLOBAL__sub_I__ZN4xios14CReorderDomainC2Ev ()

The MPI nature of the code should be irrelevant (they're independent processes, not interacting at this point but running the same piece of code)
This code works with  g++ 7.3, but fails with 8.1/ 8.2

thanks
Alastair



-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.9.0-6-686-pae (SMP w/1 CPU core)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_IE.UTF-8), LANGUAGE=en_IE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_IE.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libstdc++6 depends on:
ii  gcc-6-base  6.3.0-18+deb9u1
ii  libc6       2.24-11+deb9u3
ii  libgcc1     1:6.3.0-18+deb9u1

libstdc++6 recommends no packages.

libstdc++6 suggests no packages.

-- no debconf information

Reply | Threaded
Open this post in threaded view
|

Bug#904998: libstdc++6: libtsdc++ with g++-8 hangs in std::local_Rb_tree_decrement

Matthias Klose
On 30.07.2018 12:26, Alastair McKinstry wrote:

> Package: libstdc++6
> Version: 8.2.0-1
> Severity: important
>
> With a program I'm working on, its run
> $ mpiexec -n 1 ./bin/server.exe : -n 1 ./bin/client.exe
>
> both programs hang, with:
>
> #0  std::local_Rb_tree_decrement (__x=0x55f54daac538) at ../../../../../src/libstdc++-v3/src/c++98/tree.cc:99
> #1  0x000055f54d04eba8 in xios::CReorderDomain::registerTrans() ()
> #2  0x000055f54cf5953f in _GLOBAL__sub_I__ZN4xios14CReorderDomainC2Ev ()
>
> The MPI nature of the code should be irrelevant (they're independent processes, not interacting at this point but running the same piece of code)
> This code works with  g++ 7.3, but fails with 8.1/ 8.2

there are no changes in this area, afaics.  Does openmpi already build with
C++11?  But maybe not all it's reverse dependencies.

Reply | Threaded
Open this post in threaded view
|

Bug#904998: libstdc++6: libtsdc++ with g++-8 hangs in std::local_Rb_tree_decrement

Alastair McKinstry-3


On 02/08/2018 01:22, Matthias Klose wrote:

> On 30.07.2018 12:26, Alastair McKinstry wrote:
>> Package: libstdc++6
>> Version: 8.2.0-1
>> Severity: important
>>
>> With a program I'm working on, its run
>> $ mpiexec -n 1 ./bin/server.exe : -n 1 ./bin/client.exe
>>
>> both programs hang, with:
>>
>> #0  std::local_Rb_tree_decrement (__x=0x55f54daac538) at ../../../../../src/libstdc++-v3/src/c++98/tree.cc:99
>> #1  0x000055f54d04eba8 in xios::CReorderDomain::registerTrans() ()
>> #2  0x000055f54cf5953f in _GLOBAL__sub_I__ZN4xios14CReorderDomainC2Ev ()
>>
>> The MPI nature of the code should be irrelevant (they're independent processes, not interacting at this point but running the same piece of code)
>> This code works with  g++ 7.3, but fails with 8.1/ 8.2
> there are no changes in this area, afaics.  Does openmpi already build with
> C++11?  But maybe not all it's reverse dependencies.
Yes, I don't understand it.
The program (XIOS, open source but not packaged in Debian) compiles fine
under both g++ 7.3  and 8.1, but hangs when the 8.* version is run.
(The libstdc++ is the same in both cases). No (new or relevant) warnings
are given when compiling; the 7.3 code works ok against the 8.* version
of libstdc++.
No -stdc= flags are used; just -g -O2 / -O3 -D__NONE__
(I don't know why __NONE__ is defined; it might be a boost/blitz thing
as these are included).

--
Alastair McKinstry, <[hidden email]>, <[hidden email]>, https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered.

Reply | Threaded
Open this post in threaded view
|

Bug#904998: closed by Matthias Klose <doko@debian.org> (Bug#904998: fixed in gcc-8 8.2.0-2)

Alastair McKinstry-3
In reply to this post by Alastair McKinstry-3
Just confirming the bug is still present in 8.2.0-2



On 02/08/2018 05:36, Debian Bug Tracking System wrote:

> This is an automatic notification regarding your Bug report
> which was filed against the libstdc++6 package:
>
> #904998: libstdc++6: libtsdc++ with g++-8 hangs in std::local_Rb_tree_decrement
>
> It has been closed by Matthias Klose <[hidden email]>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Matthias Klose <[hidden email]> by
> replying to this email.
>
>

--
Alastair McKinstry, <[hidden email]>, <[hidden email]>, https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered.

Reply | Threaded
Open this post in threaded view
|

Bug#904998: closed by Matthias Klose <doko@debian.org> (Bug#904998: fixed in gcc-8 8.2.0-2)

Matthias Klose
reopened, I pasted the wrong bug number ...

On 03.08.2018 10:18, Alastair McKinstry wrote:

> Just confirming the bug is still present in 8.2.0-2
>
>
>
> On 02/08/2018 05:36, Debian Bug Tracking System wrote:
>> This is an automatic notification regarding your Bug report
>> which was filed against the libstdc++6 package:
>>
>> #904998: libstdc++6: libtsdc++ with g++-8 hangs in std::local_Rb_tree_decrement
>>
>> It has been closed by Matthias Klose <[hidden email]>.
>>
>> Their explanation is attached below along with your original report.
>> If this explanation is unsatisfactory and you have not received a
>> better one in a separate message then please contact Matthias Klose
>> <[hidden email]> by
>> replying to this email.
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Bug#904998: libstdc++6: libtsdc++ with g++-8 hangs in std::local_Rb_tree_decrement

Alastair McKinstry-3
In reply to this post by Alastair McKinstry-3
close 904998

thanks


Confirming that this bug is fixed in 8.3.0

regards

Alastair




On 30/07/2018 11:26, Alastair McKinstry wrote:

> Package: libstdc++6
> Version: 8.2.0-1
> Severity: important
>
> With a program I'm working on, its run
> $ mpiexec -n 1 ./bin/server.exe : -n 1 ./bin/client.exe
>
> both programs hang, with:
>
> #0  std::local_Rb_tree_decrement (__x=0x55f54daac538) at ../../../../../src/libstdc++-v3/src/c++98/tree.cc:99
> #1  0x000055f54d04eba8 in xios::CReorderDomain::registerTrans() ()
> #2  0x000055f54cf5953f in _GLOBAL__sub_I__ZN4xios14CReorderDomainC2Ev ()
>
> The MPI nature of the code should be irrelevant (they're independent processes, not interacting at this point but running the same piece of code)
> This code works with  g++ 7.3, but fails with 8.1/ 8.2
>
> thanks
> Alastair
>
>
>
> -- System Information:
> Debian Release: 9.4
>    APT prefers stable-updates
>    APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: i386 (i686)
>
> Kernel: Linux 4.9.0-6-686-pae (SMP w/1 CPU core)
> Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_IE.UTF-8), LANGUAGE=en_IE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_IE.UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages libstdc++6 depends on:
> ii  gcc-6-base  6.3.0-18+deb9u1
> ii  libc6       2.24-11+deb9u3
> ii  libgcc1     1:6.3.0-18+deb9u1
>
> libstdc++6 recommends no packages.
>
> libstdc++6 suggests no packages.
>
> -- no debconf information
>
--
Alastair McKinstry, <[hidden email]>, <[hidden email]>, https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered.

Reply | Threaded
Open this post in threaded view
|

Bug#904998: closing GCC issue

Matthias Klose
In reply to this post by Alastair McKinstry-3
Version: 8.3.0-1

> Confirming that this bug is fixed in 8.3.0

closing.