HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 2065 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 2065.


Report 2065 Actions


    Problem Report Number 2065
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1036
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1998-03-20 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSTH version 5.1.2
    Test Identification PTHR.os/all/pthread_cancel 9
    Problem Summary TSD5TH.00033 The test is receiving a SIGSEGV because of the following code in routine getsubopt_ctf in SRC/common/vsthlib/vsth_cpg.c: L2100 char *opts; . L2108 opts = "a=b"; toks[0] = "x"; toks[1] = NULL; p = &opt...
    Problem Text

    The test is receiving a SIGSEGV because of the following code in
    routine getsubopt_ctf in SRC/common/vsthlib/vsth_cpg.c:

    L2100 char *opts;
    .
    L2108 opts = "a=b";
    toks[0] = "x";
    toks[1] = NULL;
    p = &opts;

    (void) getsubopt(p, &toks[0], &vp);

    A pointer is declared on L2100, but no space has been allocated for the
    assignment on L2108. Changing L2100 to the following and deleting L2108
    should correct this problem:

    char *opts[] = {"a","=","b",NULL} ;

    Test Output

    *** TCM/API Message: system 0: Abandoning testset: caught unexpected signal 11 (SIGSEGV) ***

    ************************************************************************
    /tset/PTHR.os/all/pthread_cancel/T.pthread_cancel 9 UNREPORTED

    Test Description:
    A cancellation point shall not occur in any XSH5 function
    other than the following:
    aio_suspend()
    catclose()
    catgets()
    catopen()
    close()
    closedir()
    closelog()
    creat()
    ctermid()
    dbm_close()
    dbm_delete()
    dbm_fetch()
    dbm_nextkey()
    dbm_open()
    dbm_store()
    dlclose()
    dlopen()
    endgrent()




    endpwent()
    endutxent()
    fclose()
    fcntl()
    fflush()
    fgetc()
    fgets()
    fgetwc()
    fgetws()
    fopen()
    fprintf()
    fputc()
    fputs()
    fputwc()
    fputws()
    fread()
    freopen()
    fscanf()
    fseek()
    fseeko()
    fsetpos()
    fsync()
    ftell()
    ftello()
    ftw()
    fwprintf()
    fwrite()
    fwscanf()
    getc()
    getc_unlocked()
    getchar()
    getchar_unlocked()
    getcwd()
    getgrent()
    getgrgid()
    getgrgid_r()
    getgrnam()
    getgrnam_r()
    getlogin()
    getlogin_r()
    getmsg()
    getpmsg()
    getpwent()
    getpwnam()
    getpwnam_r()
    getpwuid()
    getpwuid_r()
    gets()
    getutxent()
    getutxid()
    getutxline()
    getw()




    getwc()
    getwchar()
    iconv_close()
    iconv_open()
    ioctl()
    lockf()
    lseek()
    mkstemp()
    mq_receive()
    mq_send()
    msgrcv()
    msgsnd()
    msync()
    nanosleep()
    nftw()
    open()
    opendir()
    openlog()
    pause()
    pclose()
    perror()
    poll()
    popen()
    pread()
    printf()
    pthread_cond_timedwait()
    pthread_cond_wait()
    pthread_join()
    pthread_testcancel()
    putc()
    putc_unlocked()
    putmsg()
    putpmsg()
    puts()
    pututxline()
    putw()
    putwc()
    putwchar()
    pwrite()
    read()
    readdir()
    readdir_r()
    readv()
    remove()
    rename()
    rewind()
    rewinddir()
    scanf()
    seekdir()
    select()
    sem_wait()
    semop()




    setgrent()
    setpwent()
    setutxent()
    sigpause()
    sigsuspend()
    sigtimedwait()
    sigwait()
    sigwaitinfo()
    sleep()
    syslog()
    system()
    tcdrain()
    tmpfile()
    tmpnam()
    ttyname()
    ttyname_r()
    ungetc()
    ungetwc()
    unlink()
    usleep()
    vfprintf()
    vfwprintf()
    vprintf()
    vwprintf()
    wait()
    wait3()
    waitid()
    waitpid()
    wprintf()
    write()
    writev()
    wscanf()
    XCAE ref: Component PTHREAD_CANCEL Assertion 9(A)

    Test Information:
    A cancellation point shall not occur in the
    following XSH5 functions
    FD_ISSET
    FD_SET
    FD_ZERO
    FD_CLR
    _longjmp
    _setjmp
    _tolower
    _toupper
    a64l
    acosh
    advance
    asinh
    atanh
    basename
    bcmp




    bcopy
    brk
    bsd_signal
    btowc
    bzero
    cbrt
    chroot
    compile
    confstr
    crypt
    cuserid
    dbm_clearerr
    dbm_error
    dbm_firstkey
    dirname
    dlerror
    dlsym
    drand48
    ecvt
    erand48
    erf
    erfc
    expm1
    fattach
    fchdir
    fchown
    fcvt
    fdetach
    ffs
    fmtmsg
    fnmatch
    fstatvfs
    ftime
    ftok
    fwide
    gamma
    gcvt
    getcontext
    getdate
    getdtablesize
    gethostid
    getitimer
    getopt
    getpagesize
    getpass
    getpgid
    getpriority
    getrlimit
    getrusage
    getsid
    getsubopt
    gettimeofday




    getwd
    glob
    grantpt
    hcreate
    hdestroy
    hsearch
    hypot
    iconv
    ilogb
    index
    initstate
    insque
    isastream
    isnan
    iswalnum
    iswalpha
    iswcntrl
    iswdigit
    iswgraph
    iswlower
    iswprint
    iswpunct
    iswspace
    iswupper
    iswwctype
    j0
    j1
    jn
    jrand48
    killpg
    l64a
    lchown
    lcong48
    lfind
    lgamma
    localconv
    log1p
    logb
    lrand48
    lsearch
    lstat
    makecontext
    mbrlen
    mbrtowc
    mbsinit
    mbsrtowcs
    mbstowcs
    memccpy
    mknod
    mktemp
    mrand48
    msgctl




    msgget
    nextafter
    nice
    nl_langinfo
    nrand48
    pthread_attr_getguardsize
    pthread_attr_setguardsize
    pthread_getconcurrency
    pthread_mutexattr_gettype
    pthread_mutexattr_settype
    pthread_rwlock_destroy
    pthread_rwlock_init
    pthread_rwlock_rdlock
    pthread_rwlock_tryrdlock
    pthread_rwlock_trywrlock
    pthread_rwlock_unlock
    pthread_rwlock_wrlock
    pthread_rwlockattr_destroy
    pthread_rwlockattr_getpshared
    pthread_rwlockattr_init
    pthread_rwlockattr_setpshared
    pthread_setconcurrency
    ptsname
    putenv
    random
    re_comp
    re_exec
    readlink
    realpath
    regcmp
    regcomp
    regerror
    regex
    regexec
    regfree
    remainder
    remque
    rindex
    rint
    sbrk
    scalb
    seed48
    semctl
    semget
    setcontext
    setitimer
    setlogmask
    setpgrp
    setpriority
    setregid
    setrlimit
    setstate




    shmat
    shmctl
    shmdt
    shmget
    sigaltstack
    sighold
    sigignore
    siginterrupt
    signgam
    sigrelse
    sigset
    sigstack
    snprintf
    srand48
    srandom
    statvfs
    step
    strcasecmp
    strdup
    strfmon
    strncasecmp
    strptime
    swab
    swapcontext
    swprintf
    swscanf
    symlink
    sync
    tcgetsid
    tdelete
    telldir
    tempnam
    tfind
    toascii
    towctrans
    towlower
    towupper
    truncate
    tsearch
    ttyslot
    twalk
    ualarm
    ulimit
    unlockpt
    utimes
    valloc
    vfork
    vsnprintf
    vswprintf
    wcrtomb
    wcscat
    wcschr




    wcscmp
    wcscoll
    wcscpy
    wcscspn
    wcsftime
    wcslen
    wcsncat
    wcsncmp
    wcsncpy
    wcspbrk
    wcsrchr
    wcsrtombs
    wcsspn
    wcsstr
    wcstod
    wcstok
    wcstol
    wcstoul
    wcswcs
    wcswidth
    wcsxfrm
    wctob
    wctrans
    wctype
    wcwidth
    wmemchr
    wmemcmp
    wmemcpy
    wmemmove
    wmemset
    wordexp
    y0
    y1
    yn
    XCAE ref: Component PTHREAD_CANCEL
    Assertion 9(A)
    _longjmp() untested
    _setjmp() untested
    _tolower() untested
    _toupper() untested
    Testing a64l()
    a64l() passed
    Testing acosh()
    acosh() passed
    advance() untested
    Testing asinh()
    asinh() passed
    Testing atanh()
    atanh() passed
    Testing basename()
    basename() passed
    Testing bcmp()




    bcmp() passed
    Testing bcopy()
    bcopy() passed
    brk() untested
    Testing bsd_signal()
    bsd_signal() passed
    Testing btowc()
    btowc() passed
    Testing bzero()
    bzero() passed
    Testing cbrt()
    cbrt() passed
    Testing chroot()
    chroot() passed
    compile() untested
    Testing confstr()
    confstr() passed
    Testing crypt()
    crypt() passed
    Testing cuserid()
    cuserid() passed
    Testing dbm_clearerr()
    dbm_clearerr() passed
    Testing dbm_close()
    dbm_close() passed
    Testing dbm_delete()
    dbm_delete() passed
    Testing dbm_error()
    dbm_error() passed
    Testing dbm_fetch()
    dbm_fetch() passed
    Testing dbm_firstkey()
    dbm_firstkey() passed
    Testing dbm_nextkey()
    dbm_nextkey() passed
    Testing dbm_open()
    dbm_open() passed
    Testing dbm_store()
    dbm_store() passed
    Testing dirname()
    dirname() passed
    Testing dlerror()
    dlerror() passed
    dlsym() untested
    Testing drand48()
    drand48() passed
    Testing ecvt()
    ecvt() passed
    Testing encrypt()
    encrypt() passed
    Testing erand48()
    erand48() passed




    Testing erf()
    erf() passed
    Testing erfc()
    erfc() passed
    Testing expm1()
    expm1() passed
    Testing fattach()
    fattach() passed
    Testing fchdir()
    fchdir() passed
    Testing fchown()
    fchown() passed
    Testing fcvt()
    fcvt() passed
    Testing fdetach()
    fdetach() passed
    Testing ffs()
    ffs() passed
    Testing fmtmsg()
    fmtmsg() passed
    Testing fnmatch()
    fnmatch() passed
    Testing fstatvfs()
    fstatvfs() passed
    Testing ftime()
    ftime() passed
    Testing ftok()
    ftok() passed
    Testing fwide()
    fwide() passed
    Testing gamma()
    gamma() passed
    Testing gcvt()
    gcvt() passed
    Testing getcontext()
    getcontext() passed
    Testing getdate()
    getdate() passed
    Testing getdtablesize()
    getdtablesize() passed
    Testing gethostid()
    gethostid() passed
    Testing getitimer()
    getitimer() passed
    Testing getopt()
    getopt() passed
    Testing getpagesize()
    getpagesize() passed
    Testing getpass()
    getpass() passed
    Testing getpgid()
    getpgid() passed




    Testing getpriority()
    getpriority() passed
    Testing getrlimit()
    getrlimit() passed
    Testing getrusage()
    getrusage() passed
    Testing getsid()
    getsid() passed
    Testing getsubopt()

    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree with the applicant and recommend that a waiver be granted
    on the basis of a test suite deficiency.


    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion


    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority