stdcxx-issues 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-849) [EDG eccp/Linux] SIGSEGV in rw_test()
Date Wed, 09 Apr 2008 21:26:04 GMT
[EDG eccp/Linux] SIGSEGV in rw_test()
-------------------------------------

                 Key: STDCXX-849
                 URL: https://issues.apache.org/jira/browse/STDCXX-849
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Test Driver
    Affects Versions: 4.2.0
         Environment: EDG eccp 3.9/Linux/x86_64
            Reporter: Martin Sebor
            Assignee: Martin Sebor
            Priority: Critical
             Fix For: 4.2.1


The vast majority of tests compiled with EDG eccp on Linux crash with {{SIGSEGV}}. The program
below is a reduced test case reproducing the problem:
{noformat}
$ cat t.cpp && make t && gdb -q t
#include <driver.h>

static int run_test (int, char*[]) { return 0; }

int main (int argc, char *argv[])
{
    return rw_test (argc, argv, __FILE__, "", "", run_test, 0, (void*)0);
}

eccp -c -I/home/sebor/stdcxx/include/ansi -D_RWSTDDEBUG    -I/home/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.9-11s/include
-I/home/sebor/stdcxx/tests/include  -A -x --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib
-g   --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815
  t.cpp
eccp t.o -o t -L/build/sebor/stdcxx-eccp-3.9-11s/rwtest -lrwtest11s --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib
   -L/build/sebor/stdcxx-eccp-3.9-11s/lib  -lstd11s  -lm 
Using host libthread_db library "/lib64/libthread_db.so.1".
(gdb) run
Starting program: /build/sebor/stdcxx-eccp-3.9-11s/tests/t 

Program received signal SIGSEGV, Segmentation fault.
0x00902709 in vfprintf () from /lib/libc.so.6
Missing separate debuginfos, use: debuginfo-install gcc.i386 glibc.i686
(gdb) where
#0  0x00902709 in vfprintf () from /lib/libc.so.6
#1  0x0090b972 in fprintf () from /lib/libc.so.6
#2  0x08064bfe in _ZN4__rw16__rw_assert_failEPKcS1_iS1_ (
    __4279_31_expr=0x809e0b6 "0 != rw_stdout", 
    __4280_31_file=0x809dd84 "/home/sebor/stdcxx/tests/src/driver.cpp", 
    __4280_41_line=932, 
    __4280_59_func=0x809dfc0 "int rw_vtest(int, char **, const char *, const char *, const
char *, int (*)(int, char **), const char *, void *)")
    at /home/sebor/stdcxx/src/assert.cpp:94
#3  0x08052c36 in _Z8rw_vtestiPPcPKcS2_S2_PFiiS0_ES2_Pv (__10834_15_argc=1, 
    __10834_28_argv=0xfff75464, __10835_23_file_name=0x809d64d "t.cpp", 
    __10836_23_clause=0x809d64c "", __10837_23_comment=0x809d64c "", 
    __10838_17_fun=0x8051f64 <_Z8run_testiPPc>, __10839_23_optstr=0x0, 
    __10840_23_va=0xfff753bc "") at /home/sebor/stdcxx/tests/src/driver.cpp:932
#4  0x0805340b in _Z7rw_testiPPcPKcS2_S2_PFiiS0_ES2_z (__11038_14_argc=1, 
    __11038_27_argv=0xfff75464, __11039_22_fname=0x809d64d "t.cpp", 
    __11040_22_clause=0x809d64c "", __11041_22_comment=0x809d64c "", 
    __11042_16_testfun=0x8051f64 <_Z8run_testiPPc>, __11043_22_optstr=0x0)
    at /home/sebor/stdcxx/tests/src/driver.cpp:1137
#5  0x08051fc0 in main (__3399_15_argc=1, __3399_27_argv=0xfff75464) at t.cpp:7
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message