OpenSolaris

Printable Version Enter a New Search
Bug ID 6542161
Synopsis UNIX03: fdatasync() should be a cancellation point
State 10-Fix Delivered (Fix available in build)
Category:Subcategory library:libc
Keywords pthread_cancel | unix03 | vsth
Responsible Engineer Roger Faulkner
Reported Against s10u6_01
Duplicate Of
Introduced In
Commit to Fix snv_71
Fixed In snv_71
Release Fixed solaris_nevada(snv_71)
Related Bugs
Submit Date 3-April-2007
Last Update Date 15-August-2007
Description
The following failure is seen starting with VSTH 5.4.6:

        ****************************************************************************************************************
        /tset/PTHR.os/cancel/pthread_cancel/T.pthread_cancel 6  Failed

                Test Description:
        For PSE52 test mode:
                Not in use.
        For POSIX96 and UNIX98 test modes:
            A cancellation point shall occur when a thread is executing
            any one of the following functions:
                aio_suspend(), close(), creat(),
                fcntl() (when the cmd argument is F_SETLKW),
                fsync(), mq_receive(), mq_send(), msync(), nanosleep(),
                open(), pause(), pthread_cond_timedwait(),
                pthread_cond_wait(), pthread_join(), pthread_testcancel(),
                read(), sem_wait(), sigsuspend(), sigtimedwait(), sigwait(),
                sigwaitinfo(), sleep(), system(), tcdrain(), wait(),
                waitpid(), write().
        For other test modes:
            A cancellation point shall occur when a thread is executing
            any one of the following functions:
                accept(), aio_suspend(), clock_nanosleep(), close(), connect(),
                creat(), fcntl() (when the cmd argument is F_SETLKW), fdatasync(),
                fsync(), getmsg(), getpmsg(), lockf(), mq_receive(), mq_send(),
                mq_timedreceive(), mq_timedsend(), msgrcv(), msgsnd(), msync(),
                nanosleep(), open(), pause(), poll(), pread(), pselect(),
                pthread_cond_timedwait(), pthread_cond_wait(), pthread_join(),
                pthread_testcancel(), putmsg(), putpmsg(), pwrite(), read(),
                readv(), recv(), recvfrom(), recvmsg(), select(), sem_timedwait(),
                sem_wait(), send(), sendmsg(), sendto(), sigpause(), sigsuspend(),
                sigtimedwait(), sigwait(), sigwaitinfo(), sleep(), system(),
                tcdrain(), usleep(), wait(), waitid(), waitpid(), write(), writev().

                Test Information:
        fdatasync() did not handle the cancellation request

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

VSTH 5.4.6 ChangeLog:

MAN/tset/PTHR.os/cancel/pthread_cancel/L.pthread_cancel_t
MAN/tset/PTHR.os/cancel/pthread_cancel/T.pthread_cancel
    Updated test 6 function list to match SUSv3.
Work Around
N/A
Comments
N/A