incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Created: (STDCXX-181) gcc 4.1/Solaris 9 SIGSEGV in printstack()
Date Tue, 16 May 2006 17:58:06 GMT
gcc 4.1/Solaris 9 SIGSEGV in printstack()
-----------------------------------------

         Key: STDCXX-181
         URL: http://issues.apache.org/jira/browse/STDCXX-181
     Project: C++ Standard Library
        Type: Bug

  Components: External  
 Environment: gcc 4.1 (but not 4.0.2) on Solaris 9
    Reporter: Martin Sebor


-------- Original Message --------
Subject: [Bug c/27629]  New: SIGSEGV in printstack() on Solaris 9
Date: 16 May 2006 17:27:29 -0000
From: sebor at roguewave dot com <gcc-bugzilla@gcc.gnu.org>
Reply-To: gcc-bugzilla@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org

C and C++ programs compiled with gcc 4.1 die with a SIGSEGV in Solaris 9
printstack(). The same programs run successfully when compiled with 4.0.2 and
prior. If this is due to a Solaris bug it would be great if gcc could work
around it.

$ cat t.c && gcc -g t.c && ./a.out || gdb -q a.out
int printstack (int);

int main ()
{
    printstack (1);
}
Segmentation Fault (core dumped)
(gdb) run
Starting program: /tmp/a.out 

Program received signal SIGSEGV, Segmentation fault.
0xff2d6f24 in display_stack_info () from /usr/lib/libc.so.1
(gdb) where
#0  0xff2d6f24 in display_stack_info () from /usr/lib/libc.so.1
#1  0xff2d6a84 in walkcontext () from /usr/lib/libc.so.1
#2  0xff2d6fb4 in printstack () from /usr/lib/libc.so.1
#3  0x000105b4 in main () at t.c:5


-- 
           Summary: SIGSEGV in printstack() on Solaris 9
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sebor at roguewave dot com
 GCC build triplet: sparc-sun-solaris2.9
  GCC host triplet: sparc-sun-solaris2.9
GCC target triplet: sparc-sun-solaris2.9


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27629


-- 
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


Mime
View raw message