You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Riaj Mohammed (JIRA)" <xe...@xml.apache.org> on 2006/10/30 07:25:16 UTC

[jira] Created: (XERCESC-1645) ThreadTest case is hangging on Solaris 2.8

ThreadTest case is hangging on Solaris 2.8 
-------------------------------------------

                 Key: XERCESC-1645
                 URL: http://issues.apache.org/jira/browse/XERCESC-1645
             Project: Xerces-C++
          Issue Type: Bug
          Components: Samples/Tests
    Affects Versions: 2.7.0
         Environment: SunOS my_server 5.8 Generic_108528-24 sun4u sparc SUNW,Sun-Fire-V440 Solaris
CC: Sun C++ 5.5 Patch 113817-14 2005/07/19

            Reporter: Riaj Mohammed
            Priority: Critical


I have executed the the test case that is provided in "tests" directory of "xerces 2.7"
./ThreadTest -v=always ./doc/saxprint.xml

 it under gone to infinite loop with following error message

........ during parsing: ../doc/saxprint.xml
 Exception message is: .An exception occurred! Type:XMLPlatformException, Message:Could not close the file
.........+............. during parsing: .../doc/saxprint.xml
 Exception message is: An exception occurred! Type:XMLPlatformException, Message:Could not close the file
........... during parsing: ../doc/saxprint.xml
 Exception message is: .An exception occurred! Type:XMLPlatformException, Message:Could not close the file

....

For configuration I have used following option 
./runConfigure -psolaris -ccc -xCC -minmem -nsocket -tnative -rpthread -b64
 
dependents libraries of 
ldd libxerces-c.so.27
        libpthread.so.1 =>       /usr/lib/sparcv9/libpthread.so.1
        libnsl.so.1 =>   /usr/lib/sparcv9/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/sparcv9/libsocket.so.1
        libdl.so.1 =>    /usr/lib/64/libdl.so.1
        libc.so.1 =>     /usr/lib/64/libc.so.1
        libmp.so.2 =>    /usr/lib/64/libmp.so.2
        libthread.so.1 =>        /usr/lib/lwp/sparcv9/libthread.so.1
        /usr/platform/SUNW,Sun-Fire-V440/lib/sparcv9/libc_psr.so.1

Could you please let me know what's going wrong  .

Thanks in advance

-Riaj

here is the

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1645) ThreadTest case is hangging on Solaris 2.8

Posted by "David Bertoni (JIRA)" <xe...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XERCESC-1645?page=comments#action_12445672 ] 
            
David Bertoni commented on XERCESC-1645:
----------------------------------------

Actually, I misspoke -- it's fixed by revision 451433 of BinFileInputStream.cpp

> ThreadTest case is hangging on Solaris 2.8
> ------------------------------------------
>
>                 Key: XERCESC-1645
>                 URL: http://issues.apache.org/jira/browse/XERCESC-1645
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Samples/Tests
>    Affects Versions: 2.7.0
>         Environment: SunOS my_server 5.8 Generic_108528-24 sun4u sparc SUNW,Sun-Fire-V440 Solaris
> CC: Sun C++ 5.5 Patch 113817-14 2005/07/19
>            Reporter: Riaj Mohammed
>            Priority: Critical
>
> I have executed the the test case that is provided in "tests" directory of "xerces 2.7"
> ./ThreadTest -v=always ./doc/saxprint.xml
>  it under gone to infinite loop with following error message
> ........ during parsing: ../doc/saxprint.xml
>  Exception message is: .An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> .........+............. during parsing: .../doc/saxprint.xml
>  Exception message is: An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> ........... during parsing: ../doc/saxprint.xml
>  Exception message is: .An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> ....
> For configuration I have used following option 
> ./runConfigure -psolaris -ccc -xCC -minmem -nsocket -tnative -rpthread -b64
>  
> dependents libraries of 
> ldd libxerces-c.so.27
>         libpthread.so.1 =>       /usr/lib/sparcv9/libpthread.so.1
>         libnsl.so.1 =>   /usr/lib/sparcv9/libnsl.so.1
>         libsocket.so.1 =>        /usr/lib/sparcv9/libsocket.so.1
>         libdl.so.1 =>    /usr/lib/64/libdl.so.1
>         libc.so.1 =>     /usr/lib/64/libc.so.1
>         libmp.so.2 =>    /usr/lib/64/libmp.so.2
>         libthread.so.1 =>        /usr/lib/lwp/sparcv9/libthread.so.1
>         /usr/platform/SUNW,Sun-Fire-V440/lib/sparcv9/libc_psr.so.1
> Could you please let me know what's going wrong  .
> Thanks in advance
> -Riaj
> here is the

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1645) ThreadTest case is hangging on Solaris 2.8

Posted by "Riaj Mohammed (JIRA)" <xe...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XERCESC-1645?page=comments#action_12446208 ] 
            
Riaj Mohammed commented on XERCESC-1645:
----------------------------------------

Thanks it is working fine do you have any latest source code/patch available if so please send the URL
THANKS
-Riaj

> ThreadTest case is hangging on Solaris 2.8
> ------------------------------------------
>
>                 Key: XERCESC-1645
>                 URL: http://issues.apache.org/jira/browse/XERCESC-1645
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Samples/Tests
>    Affects Versions: 2.7.0
>         Environment: SunOS my_server 5.8 Generic_108528-24 sun4u sparc SUNW,Sun-Fire-V440 Solaris
> CC: Sun C++ 5.5 Patch 113817-14 2005/07/19
>            Reporter: Riaj Mohammed
>            Priority: Critical
>
> I have executed the the test case that is provided in "tests" directory of "xerces 2.7"
> ./ThreadTest -v=always ./doc/saxprint.xml
>  it under gone to infinite loop with following error message
> ........ during parsing: ../doc/saxprint.xml
>  Exception message is: .An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> .........+............. during parsing: .../doc/saxprint.xml
>  Exception message is: An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> ........... during parsing: ../doc/saxprint.xml
>  Exception message is: .An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> ....
> For configuration I have used following option 
> ./runConfigure -psolaris -ccc -xCC -minmem -nsocket -tnative -rpthread -b64
>  
> dependents libraries of 
> ldd libxerces-c.so.27
>         libpthread.so.1 =>       /usr/lib/sparcv9/libpthread.so.1
>         libnsl.so.1 =>   /usr/lib/sparcv9/libnsl.so.1
>         libsocket.so.1 =>        /usr/lib/sparcv9/libsocket.so.1
>         libdl.so.1 =>    /usr/lib/64/libdl.so.1
>         libc.so.1 =>     /usr/lib/64/libc.so.1
>         libmp.so.2 =>    /usr/lib/64/libmp.so.2
>         libthread.so.1 =>        /usr/lib/lwp/sparcv9/libthread.so.1
>         /usr/platform/SUNW,Sun-Fire-V440/lib/sparcv9/libc_psr.so.1
> Could you please let me know what's going wrong  .
> Thanks in advance
> -Riaj
> here is the

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1645) ThreadTest case is hangging on Solaris 2.8

Posted by "David Bertoni (JIRA)" <xe...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XERCESC-1645?page=comments#action_12446302 ] 
            
David Bertoni commented on XERCESC-1645:
----------------------------------------

You can get the latest source code from SVN, just like you got that version of BinFileInputStream.cpp

Please don't ask questions on Jira issues.  Instead, you can post them to the user list.

> ThreadTest case is hangging on Solaris 2.8
> ------------------------------------------
>
>                 Key: XERCESC-1645
>                 URL: http://issues.apache.org/jira/browse/XERCESC-1645
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Samples/Tests
>    Affects Versions: 2.7.0
>         Environment: SunOS my_server 5.8 Generic_108528-24 sun4u sparc SUNW,Sun-Fire-V440 Solaris
> CC: Sun C++ 5.5 Patch 113817-14 2005/07/19
>            Reporter: Riaj Mohammed
>            Priority: Critical
>
> I have executed the the test case that is provided in "tests" directory of "xerces 2.7"
> ./ThreadTest -v=always ./doc/saxprint.xml
>  it under gone to infinite loop with following error message
> ........ during parsing: ../doc/saxprint.xml
>  Exception message is: .An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> .........+............. during parsing: .../doc/saxprint.xml
>  Exception message is: An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> ........... during parsing: ../doc/saxprint.xml
>  Exception message is: .An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> ....
> For configuration I have used following option 
> ./runConfigure -psolaris -ccc -xCC -minmem -nsocket -tnative -rpthread -b64
>  
> dependents libraries of 
> ldd libxerces-c.so.27
>         libpthread.so.1 =>       /usr/lib/sparcv9/libpthread.so.1
>         libnsl.so.1 =>   /usr/lib/sparcv9/libnsl.so.1
>         libsocket.so.1 =>        /usr/lib/sparcv9/libsocket.so.1
>         libdl.so.1 =>    /usr/lib/64/libdl.so.1
>         libc.so.1 =>     /usr/lib/64/libc.so.1
>         libmp.so.2 =>    /usr/lib/64/libmp.so.2
>         libthread.so.1 =>        /usr/lib/lwp/sparcv9/libthread.so.1
>         /usr/platform/SUNW,Sun-Fire-V440/lib/sparcv9/libc_psr.so.1
> Could you please let me know what's going wrong  .
> Thanks in advance
> -Riaj
> here is the

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Closed: (XERCESC-1645) ThreadTest case is hangging on Solaris 2.8

Posted by "David Bertoni (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1645?page=all ]

David Bertoni closed XERCESC-1645.
----------------------------------


> ThreadTest case is hangging on Solaris 2.8
> ------------------------------------------
>
>                 Key: XERCESC-1645
>                 URL: http://issues.apache.org/jira/browse/XERCESC-1645
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Samples/Tests
>    Affects Versions: 2.7.0
>         Environment: SunOS my_server 5.8 Generic_108528-24 sun4u sparc SUNW,Sun-Fire-V440 Solaris
> CC: Sun C++ 5.5 Patch 113817-14 2005/07/19
>            Reporter: Riaj Mohammed
>            Priority: Critical
>
> I have executed the the test case that is provided in "tests" directory of "xerces 2.7"
> ./ThreadTest -v=always ./doc/saxprint.xml
>  it under gone to infinite loop with following error message
> ........ during parsing: ../doc/saxprint.xml
>  Exception message is: .An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> .........+............. during parsing: .../doc/saxprint.xml
>  Exception message is: An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> ........... during parsing: ../doc/saxprint.xml
>  Exception message is: .An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> ....
> For configuration I have used following option 
> ./runConfigure -psolaris -ccc -xCC -minmem -nsocket -tnative -rpthread -b64
>  
> dependents libraries of 
> ldd libxerces-c.so.27
>         libpthread.so.1 =>       /usr/lib/sparcv9/libpthread.so.1
>         libnsl.so.1 =>   /usr/lib/sparcv9/libnsl.so.1
>         libsocket.so.1 =>        /usr/lib/sparcv9/libsocket.so.1
>         libdl.so.1 =>    /usr/lib/64/libdl.so.1
>         libc.so.1 =>     /usr/lib/64/libc.so.1
>         libmp.so.2 =>    /usr/lib/64/libmp.so.2
>         libthread.so.1 =>        /usr/lib/lwp/sparcv9/libthread.so.1
>         /usr/platform/SUNW,Sun-Fire-V440/lib/sparcv9/libc_psr.so.1
> Could you please let me know what's going wrong  .
> Thanks in advance
> -Riaj
> here is the

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Commented: (XERCESC-1645) ThreadTest case is hangging on Solaris 2.8

Posted by "Riaj Mohammed (JIRA)" <xe...@xml.apache.org>.
    [ http://issues.apache.org/jira/browse/XERCESC-1645?page=comments#action_12445591 ] 
            
Riaj Mohammed commented on XERCESC-1645:
----------------------------------------

I have latest code which already contains these changes
inline bool BinFileInputStream::getIsOpen() const
{
    return (fSource != (FileHandle) XERCES_Invalid_File_Handle);
}

Still the problem is there.
Please let me know is there any other patches required apart from this.

Thanks in advance
-Riaj

> ThreadTest case is hangging on Solaris 2.8
> ------------------------------------------
>
>                 Key: XERCESC-1645
>                 URL: http://issues.apache.org/jira/browse/XERCESC-1645
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Samples/Tests
>    Affects Versions: 2.7.0
>         Environment: SunOS my_server 5.8 Generic_108528-24 sun4u sparc SUNW,Sun-Fire-V440 Solaris
> CC: Sun C++ 5.5 Patch 113817-14 2005/07/19
>            Reporter: Riaj Mohammed
>            Priority: Critical
>
> I have executed the the test case that is provided in "tests" directory of "xerces 2.7"
> ./ThreadTest -v=always ./doc/saxprint.xml
>  it under gone to infinite loop with following error message
> ........ during parsing: ../doc/saxprint.xml
>  Exception message is: .An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> .........+............. during parsing: .../doc/saxprint.xml
>  Exception message is: An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> ........... during parsing: ../doc/saxprint.xml
>  Exception message is: .An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> ....
> For configuration I have used following option 
> ./runConfigure -psolaris -ccc -xCC -minmem -nsocket -tnative -rpthread -b64
>  
> dependents libraries of 
> ldd libxerces-c.so.27
>         libpthread.so.1 =>       /usr/lib/sparcv9/libpthread.so.1
>         libnsl.so.1 =>   /usr/lib/sparcv9/libnsl.so.1
>         libsocket.so.1 =>        /usr/lib/sparcv9/libsocket.so.1
>         libdl.so.1 =>    /usr/lib/64/libdl.so.1
>         libc.so.1 =>     /usr/lib/64/libc.so.1
>         libmp.so.2 =>    /usr/lib/64/libmp.so.2
>         libthread.so.1 =>        /usr/lib/lwp/sparcv9/libthread.so.1
>         /usr/platform/SUNW,Sun-Fire-V440/lib/sparcv9/libc_psr.so.1
> Could you please let me know what's going wrong  .
> Thanks in advance
> -Riaj
> here is the

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Resolved: (XERCESC-1645) ThreadTest case is hangging on Solaris 2.8

Posted by "David Bertoni (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1645?page=all ]

David Bertoni resolved XERCESC-1645.
------------------------------------

    Resolution: Duplicate

This has already been fixed in revision 176395 of BinFileInputStream.hpp.

> ThreadTest case is hangging on Solaris 2.8
> ------------------------------------------
>
>                 Key: XERCESC-1645
>                 URL: http://issues.apache.org/jira/browse/XERCESC-1645
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Samples/Tests
>    Affects Versions: 2.7.0
>         Environment: SunOS my_server 5.8 Generic_108528-24 sun4u sparc SUNW,Sun-Fire-V440 Solaris
> CC: Sun C++ 5.5 Patch 113817-14 2005/07/19
>            Reporter: Riaj Mohammed
>            Priority: Critical
>
> I have executed the the test case that is provided in "tests" directory of "xerces 2.7"
> ./ThreadTest -v=always ./doc/saxprint.xml
>  it under gone to infinite loop with following error message
> ........ during parsing: ../doc/saxprint.xml
>  Exception message is: .An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> .........+............. during parsing: .../doc/saxprint.xml
>  Exception message is: An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> ........... during parsing: ../doc/saxprint.xml
>  Exception message is: .An exception occurred! Type:XMLPlatformException, Message:Could not close the file
> ....
> For configuration I have used following option 
> ./runConfigure -psolaris -ccc -xCC -minmem -nsocket -tnative -rpthread -b64
>  
> dependents libraries of 
> ldd libxerces-c.so.27
>         libpthread.so.1 =>       /usr/lib/sparcv9/libpthread.so.1
>         libnsl.so.1 =>   /usr/lib/sparcv9/libnsl.so.1
>         libsocket.so.1 =>        /usr/lib/sparcv9/libsocket.so.1
>         libdl.so.1 =>    /usr/lib/64/libdl.so.1
>         libc.so.1 =>     /usr/lib/64/libc.so.1
>         libmp.so.2 =>    /usr/lib/64/libmp.so.2
>         libthread.so.1 =>        /usr/lib/lwp/sparcv9/libthread.so.1
>         /usr/platform/SUNW,Sun-Fire-V440/lib/sparcv9/libc_psr.so.1
> Could you please let me know what's going wrong  .
> Thanks in advance
> -Riaj
> here is the

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org