You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2005/12/17 22:53:36 UTC
[jira] Created: (STDCXX-87) [SunPro 5.7] RUI in std::set::insert()
[SunPro 5.7] RUI in std::set::insert()
--------------------------------------
Key: STDCXX-87
URL: http://issues.apache.org/jira/browse/STDCXX-87
Project: STDCXX
Type: Bug
Components: 23. Containers
Versions: 4.1.2
Environment: SunPro 5.7/Solaris 10
Reporter: Martin Sebor
Assigned to: Martin Sebor
Fix For: 4.1.3
This test case was distilled from the one posted in this thread:
http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200512.mbox/%3c4FA4B7B3231C5D459E7BAD020213A94201F5F481@bco-exchange.bco.roguewave.com%3e
$ cat t.cpp && nice gmake t && dbx -q t
#include <set>
int main()
{
std::set<int>().insert (0);
}
generating dependencies for t.cpp
CC -c -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I/build/sebor/sunpro-5.7.j4-11s/include -I/build/sebor/dev/stdlib/include -I/build/sebor/dev/stdlib/examples/include -library=%none -g +w t.cpp
CC t.o -o t -library=%none -L/build/sebor/sunpro-5.7.j4-11s/lib -L/build/sebor/sunpro-5.7.j4-11s/lib -lstd11s -lm
^C^Chave seen 2 interrupts
dbx: warning: wait for process 24188 failed -- Interrupted system call
dbx: dbx interrupted!
(dbx) check -all
access checking - ON
memuse checking - ON
(dbx) run
Running: t
(process id 24234)
RTC: Enabling Error Checking...
RTC: Running program...
Read from uninitialized (rui):
Attempting to read 3 bytes at address 0xffbff821
which is 265 bytes above the current stack pointer
stopped in std::pair<__rw::__rw_debug_iter<__rw::__rb_tree<int,int,__rw::__ident<int,int>,std::less<int>,std::allocator<int> >,__rw::__rw_tree_iter<int,int,int*,int&,__rw::__rw_rb_tree_node<std::allocator<int>,int,int,__rw::__ident<int,int> > >,__rw::__rw_tree_iter<int,int,int*,int&,__rw::__rw_rb_tree_node<std::allocator<int>,int,int,__rw::__ident<int,int> > > >,bool>::operator= at 0x0001cd3c
0x0001cd3c: operator=+0x0024: ba,a 0x00049b3c ! 0x49b3c
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (STDCXX-87) [SunPro 5.7] RUI in std::set::insert()
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-87?page=all ]
Martin Sebor updated STDCXX-87:
-------------------------------
Fix Version: 4.1.4
(was: 4.1.3)
> [SunPro 5.7] RUI in std::set::insert()
> --------------------------------------
>
> Key: STDCXX-87
> URL: http://issues.apache.org/jira/browse/STDCXX-87
> Project: STDCXX
> Type: Bug
> Components: 23. Containers
> Versions: 4.1.2
> Environment: SunPro 5.7/Solaris 10
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.1.4
>
> This test case was distilled from the one posted in this thread:
> http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200512.mbox/%3c4FA4B7B3231C5D459E7BAD020213A94201F5F481@bco-exchange.bco.roguewave.com%3e
> $ cat t.cpp && nice gmake t && dbx -q t
> #include <set>
> int main()
> {
> std::set<int>().insert (0);
> }
> generating dependencies for t.cpp
> CC -c -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I/build/sebor/sunpro-5.7.j4-11s/include -I/build/sebor/dev/stdlib/include -I/build/sebor/dev/stdlib/examples/include -library=%none -g +w t.cpp
> CC t.o -o t -library=%none -L/build/sebor/sunpro-5.7.j4-11s/lib -L/build/sebor/sunpro-5.7.j4-11s/lib -lstd11s -lm
> ^C^Chave seen 2 interrupts
> dbx: warning: wait for process 24188 failed -- Interrupted system call
> dbx: dbx interrupted!
> (dbx) check -all
> access checking - ON
> memuse checking - ON
> (dbx) run
> Running: t
> (process id 24234)
> RTC: Enabling Error Checking...
> RTC: Running program...
> Read from uninitialized (rui):
> Attempting to read 3 bytes at address 0xffbff821
> which is 265 bytes above the current stack pointer
> stopped in std::pair<__rw::__rw_debug_iter<__rw::__rb_tree<int,int,__rw::__ident<int,int>,std::less<int>,std::allocator<int> >,__rw::__rw_tree_iter<int,int,int*,int&,__rw::__rw_rb_tree_node<std::allocator<int>,int,int,__rw::__ident<int,int> > >,__rw::__rw_tree_iter<int,int,int*,int&,__rw::__rw_rb_tree_node<std::allocator<int>,int,int,__rw::__ident<int,int> > > >,bool>::operator= at 0x0001cd3c
> 0x0001cd3c: operator=+0x0024: ba,a 0x00049b3c ! 0x49b3c
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (STDCXX-87) [Sun C++ 5.9] RUI in std::set::insert()
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor updated STDCXX-87:
-------------------------------
Environment: SunPro 5.7, 5.9/Solaris 10 (was: SunPro 5.7/Solaris 10)
Affects Version/s: 4.1.3
4.1.4
Fix Version/s: (was: 4.2)
4.2.1
Summary: [Sun C++ 5.9] RUI in std::set::insert() (was: [SunPro 5.7] RUI in std::set::insert())
Still a problem, even with Sun C++ 5.10. Deferred for 4.2.1.
$ uname -sr && CC -V && gmake t && dbx -q t
SunOS 5.10
CC: Sun C++ 5.9 SunOS_sparc 2007/05/03
CC -c -D_RWSTDDEBUG -mt -I/amd/devco/sebor/stdcxx/include -I/build/sebor/stdcxx-suncc-5.9-15D/include -I/amd/devco/sebor/stdcxx/examples/include -library=%none -g -m64 +w t.cpp
CC t.o -o t -library=%none -mt -m64 -L/build/sebor/stdcxx-suncc-5.9-15D/lib -R/build/sebor/stdcxx-suncc-5.9-15D/lib -lstd15D -lm
(dbx) check -all
access checking - ON
memuse checking - ON
(dbx) run
Running: t
(process id 19323)
RTC: Enabling Error Checking...
RTC: Running program...
Read from uninitialized (rui) on thread 1:
Attempting to read 7 bytes at address 0xffffffff7ffff479
which is 505 bytes above the current stack pointer
t@1 (l@1) stopped in std::pair<__rw::__rw_debug_iter<__rw::__rb_tree<int,int,__rw::__ident<int,int>,std::less<int>,std::allocator<int> >,__rw::__rw_tree_iter<int,long,int*,int&,__rw::__rw_rb_tree_node<std::allocator<int>,int,int,__rw::__ident<int,int> > >,__rw::__rw_tree_iter<int,long,int*,int&,__rw::__rw_rb_tree_node<std::allocator<int>,int,int,__rw::__ident<int,int> > > >,bool>::operator= at 0x00000001000051bc
0x00000001000051bc: operator=+0x0024: ba,a 0x000000010010a550 ! 0x10010a550
> [Sun C++ 5.9] RUI in std::set::insert()
> ---------------------------------------
>
> Key: STDCXX-87
> URL: https://issues.apache.org/jira/browse/STDCXX-87
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 23. Containers
> Affects Versions: 4.1.2, 4.1.3, 4.1.4
> Environment: SunPro 5.7, 5.9/Solaris 10
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.2.1
>
>
> This test case was distilled from the one posted in this thread:
> http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200512.mbox/%3c4FA4B7B3231C5D459E7BAD020213A94201F5F481@bco-exchange.bco.roguewave.com%3e
> $ cat t.cpp && nice gmake t && dbx -q t
> #include <set>
> int main()
> {
> std::set<int>().insert (0);
> }
> generating dependencies for t.cpp
> CC -c -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I/build/sebor/sunpro-5.7.j4-11s/include -I/build/sebor/dev/stdlib/include -I/build/sebor/dev/stdlib/examples/include -library=%none -g +w t.cpp
> CC t.o -o t -library=%none -L/build/sebor/sunpro-5.7.j4-11s/lib -L/build/sebor/sunpro-5.7.j4-11s/lib -lstd11s -lm
> ^C^Chave seen 2 interrupts
> dbx: warning: wait for process 24188 failed -- Interrupted system call
> dbx: dbx interrupted!
> (dbx) check -all
> access checking - ON
> memuse checking - ON
> (dbx) run
> Running: t
> (process id 24234)
> RTC: Enabling Error Checking...
> RTC: Running program...
> Read from uninitialized (rui):
> Attempting to read 3 bytes at address 0xffbff821
> which is 265 bytes above the current stack pointer
> stopped in std::pair<__rw::__rw_debug_iter<__rw::__rb_tree<int,int,__rw::__ident<int,int>,std::less<int>,std::allocator<int> >,__rw::__rw_tree_iter<int,int,int*,int&,__rw::__rw_rb_tree_node<std::allocator<int>,int,int,__rw::__ident<int,int> > >,__rw::__rw_tree_iter<int,int,int*,int&,__rw::__rw_rb_tree_node<std::allocator<int>,int,int,__rw::__ident<int,int> > > >,bool>::operator= at 0x0001cd3c
> 0x0001cd3c: operator=+0x0024: ba,a 0x00049b3c ! 0x49b3c
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (STDCXX-87) [SunPro 5.7] RUI in std::set::insert()
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-87?page=all ]
Martin Sebor updated STDCXX-87:
-------------------------------
Fix Version: 4.2
(was: 4.1.4)
> [SunPro 5.7] RUI in std::set::insert()
> --------------------------------------
>
> Key: STDCXX-87
> URL: http://issues.apache.org/jira/browse/STDCXX-87
> Project: C++ Standard Library
> Type: Bug
> Components: 23. Containers
> Versions: 4.1.2
> Environment: SunPro 5.7/Solaris 10
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.2
>
> This test case was distilled from the one posted in this thread:
> http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200512.mbox/%3c4FA4B7B3231C5D459E7BAD020213A94201F5F481@bco-exchange.bco.roguewave.com%3e
> $ cat t.cpp && nice gmake t && dbx -q t
> #include <set>
> int main()
> {
> std::set<int>().insert (0);
> }
> generating dependencies for t.cpp
> CC -c -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I/build/sebor/sunpro-5.7.j4-11s/include -I/build/sebor/dev/stdlib/include -I/build/sebor/dev/stdlib/examples/include -library=%none -g +w t.cpp
> CC t.o -o t -library=%none -L/build/sebor/sunpro-5.7.j4-11s/lib -L/build/sebor/sunpro-5.7.j4-11s/lib -lstd11s -lm
> ^C^Chave seen 2 interrupts
> dbx: warning: wait for process 24188 failed -- Interrupted system call
> dbx: dbx interrupted!
> (dbx) check -all
> access checking - ON
> memuse checking - ON
> (dbx) run
> Running: t
> (process id 24234)
> RTC: Enabling Error Checking...
> RTC: Running program...
> Read from uninitialized (rui):
> Attempting to read 3 bytes at address 0xffbff821
> which is 265 bytes above the current stack pointer
> stopped in std::pair<__rw::__rw_debug_iter<__rw::__rb_tree<int,int,__rw::__ident<int,int>,std::less<int>,std::allocator<int> >,__rw::__rw_tree_iter<int,int,int*,int&,__rw::__rw_rb_tree_node<std::allocator<int>,int,int,__rw::__ident<int,int> > >,__rw::__rw_tree_iter<int,int,int*,int&,__rw::__rw_rb_tree_node<std::allocator<int>,int,int,__rw::__ident<int,int> > > >,bool>::operator= at 0x0001cd3c
> 0x0001cd3c: operator=+0x0024: ba,a 0x00049b3c ! 0x49b3c
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (STDCXX-87) [SunPro 5.7] RUI in std::set::insert()
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-87?page=comments#action_12360687 ]
Martin Sebor commented on STDCXX-87:
------------------------------------
Here's dbx output and stack trace for the same program compiled with -D_RWSTD_NO_DEBUG_ITER
(dbx) run
Running: t
(process id 24396)
RTC: Enabling Error Checking...
RTC: Running program...
Read from uninitialized (rui):
Attempting to read 3 bytes at address 0xffbff849
which is 241 bytes above the current stack pointer
stopped in std::pair<__rw::__rw_tree_iter<int,int,int*,int&,__rw::__rw_rb_tree_node<std::allocator<int>,int,int,__rw::__ident<int,int> > >,bool>::operator= at 0x0001b4cc
0x0001b4cc: operator=+0x001c: ba,a 0x00047964 ! 0x47964
(dbx) where
=>[1] std::pair<__rw::__rw_tree_iter<int,int,int*,int&,__rw::__rw_rb_tree_node<std::allocator<int>,int,int,__rw::__ident<int,int> > >,bool>::operator=(0xffbff8f0, 0xffbff844, 0xffbff83f, 0x6bf38, 0xffbff9d0, 0x0), at 0x1b4cc
[2] __rw::__rb_tree<int,int,__rw::__ident<int,int>,std::less<int>,std::allocator<int> >::_C_insert(this = 0xffbff9d8, __v = 0, __ret = STRUCT, __dup = false), line 309 in "_tree.cc"
[3] __rw::__rb_tree<int,int,__rw::__ident<int,int>,std::less<int>,std::allocator<int> >::insert(this = 0xffbff9d8, __val = 0, __dup = false), line 608 in "_tree.h"
[4] std::set<int,std::less<int>,std::allocator<int> >::insert(this = 0xffbff9d8, __x = 0), line 174 in "set"
[5] main(), line 5 in "t.cpp"
> [SunPro 5.7] RUI in std::set::insert()
> --------------------------------------
>
> Key: STDCXX-87
> URL: http://issues.apache.org/jira/browse/STDCXX-87
> Project: STDCXX
> Type: Bug
> Components: 23. Containers
> Versions: 4.1.2
> Environment: SunPro 5.7/Solaris 10
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Fix For: 4.1.3
>
> This test case was distilled from the one posted in this thread:
> http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200512.mbox/%3c4FA4B7B3231C5D459E7BAD020213A94201F5F481@bco-exchange.bco.roguewave.com%3e
> $ cat t.cpp && nice gmake t && dbx -q t
> #include <set>
> int main()
> {
> std::set<int>().insert (0);
> }
> generating dependencies for t.cpp
> CC -c -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I/build/sebor/sunpro-5.7.j4-11s/include -I/build/sebor/dev/stdlib/include -I/build/sebor/dev/stdlib/examples/include -library=%none -g +w t.cpp
> CC t.o -o t -library=%none -L/build/sebor/sunpro-5.7.j4-11s/lib -L/build/sebor/sunpro-5.7.j4-11s/lib -lstd11s -lm
> ^C^Chave seen 2 interrupts
> dbx: warning: wait for process 24188 failed -- Interrupted system call
> dbx: dbx interrupted!
> (dbx) check -all
> access checking - ON
> memuse checking - ON
> (dbx) run
> Running: t
> (process id 24234)
> RTC: Enabling Error Checking...
> RTC: Running program...
> Read from uninitialized (rui):
> Attempting to read 3 bytes at address 0xffbff821
> which is 265 bytes above the current stack pointer
> stopped in std::pair<__rw::__rw_debug_iter<__rw::__rb_tree<int,int,__rw::__ident<int,int>,std::less<int>,std::allocator<int> >,__rw::__rw_tree_iter<int,int,int*,int&,__rw::__rw_rb_tree_node<std::allocator<int>,int,int,__rw::__ident<int,int> > >,__rw::__rw_tree_iter<int,int,int*,int&,__rw::__rw_rb_tree_node<std::allocator<int>,int,int,__rw::__ident<int,int> > > >,bool>::operator= at 0x0001cd3c
> 0x0001cd3c: operator=+0x0024: ba,a 0x00049b3c ! 0x49b3c
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira