BUG REPORT: About Util.arrayFillNonAtomic in jcwde.jar

Hi, I think i get a bug about Util.arrayFillNonAtomic,
for example:
offset = 0;
offset = Util.arrayFillNonAtomic(myData,offset,(short)5,(byte)0);
offset must return 5, but in PC simulator(like used eclipse+junit+jcwde.jar+api21.jar) return is 4 ?�Idownload the applet into java card , return is 5.
here is why error:
the code Util.arrayFillNonAtomic in jcwde.jar is :
public static final short arrayFillNonAtomic(byte bArray[], short bOff, short bLen, byte bValue)
throws ArrayIndexOutOfBoundsException, NullPointerException
byte tester = bArray[bOff];
if(bLen < 0)
throw new ArrayIndexOutOfBoundsException();
while(bLen-- > 0)
bArray[bOff++] = bValue;
return (short)(bOff + bLen);//error. must return bOff,not bOff+bLen!! here bLen = -1.
rgds

bouye wrote:
Thanks for the suggestion and let's hop they put some process to prevent similar issues from hapening again in the future.False hope. Programming is hard, release management is hard, testing is hard, people make mistakes, budget restrictions cause mistakes to slip through, etc. etc.
The most important factor in all this really is us and more specifically our willingness to properly report problems.

Similar Messages

  • Bug report about Erase Application from disk

    Hi,
    Steps to reproduce this problem :
    - only jdev11tp2 opened in Windows
    - create a new Application Workspace
    - from the 'Application Menu' icon, choose 'Erase Application from disk'
    ==> the Application directory is remove from IDE but not erased from disk.
    If you attempt to delete the workspace directory from windows, you get an error message (as if there are opened files) : "Cannot delete applicationXXX : access is denied. Make sure the disk is not full or write-protected and that the file is not currently in use"
    ==> You must leave Jdev for deleting the workspace directory thanks to windows.
    Other problem :
    if the workspace is created via a checkout (for a given revision) from a subversion's repository, if you try to erase this workspace with 'Erase Application from disk', you can't (like above) but moreover even if you leave Jdev !
    ==> you must close the windows session
    Regards,
    Christophe,

    Hi,
    don't know for the second issue, but the first is well known and a bug is filed already. I would assume that the outcome of this bug resolution also resolves your second issue
    thanks for reporting
    Frank

  • BUG report about Spry.Effect.Highlight

    When the Spry.Effect.Highlight effect is not accomplished,
    and click the trigger link, will report the error "startColor
    undefined".

    Can you please elaborate? Which "trigger link" do you mean?
    Are you using the Spry 1.4 release?

  • Bug report about create new footprint with Rounded rectangle in 3D info Bottom

    I create new footprint with rounded rectangle in 3D info Bottom,the rounded rectangle must be in bottom,but In fact,the rounded rectangle
    created in top layer.i think it's wrong.
    I used ultiboard 10.1.357.

    Hi,
    Thank you for reporting this. This has been a long standing issue with Ultiboard and we are looking into resolving this.
    There is a work around although a very inconvenient one. You can set the height to what you require and use a negative offset to move the shape to the other side of the board. The 3D shape will appear on the other side, but in reality is just shifted, not mirrored.
    Hope that helps. We apologize for the inconvenience.
    Yi
    Software Developer
    National Instruments - Electronics Workbench Group

  • JDeveloper 10.1.3 EA1 bug reports?

    Is there any place to file bug reports about JDeveloper EA1? Or just start a thread here?
    Anyway, the JDev JSF designer says f:facet cannot be inserted into h:panelGrid, but actually that's how to add header and footer elements into a panelGrid.

    If f:facet is added to f:subview an error does not get generated.
    <f:view>
    <h:panelGrid>
    <f:subview>
    <f:facet name="facetPanelGrid"/>
    </f:subview>
    </h:panelGrid>
    </f:view>
    f:facet in h:panelGrid is also valid, the component palette generates an error:
    <facet/> may not be added.
    <f:view>
    <h:panelGrid>
    <f:facet name="facetPanelGrid"/>
    </h:panelGrid>
    </f:view>
    Also <:subview/> id does not get set; an error :String index out of range:0 gets generated.

  • FAQ: How do I submit a bug report or feature request or otherwise give feedback about Premiere Pro?

    The best way to submit a bug report or feature request is to use the bug-report/feature-request form.
    The Premiere Pro team doesn’t  necessarily see and record every post on every forum and social network, but we do see, record, and track every entry  through the the official feature-request/bug-report form.
    It also helps a lot if you opt into the Product Improvement Program.
    Also, be sure to use the crash reporter.
    We really do read all of the bug reports and feature  requests, and the software really does get a lot of benefit from  detailed crash reports.
    Don’t forget about contacting Adobe Technical Support or Customer  Service, too. For information on how to contact Adobe Technical Support,  see this page. (Note that you must register your product before you can open a technical support case for it.)
    If you have tried to get help from our support staff, but the service  was inadequate, I can help you to escalate your issue if you send me  your case number at kopriva at adobe dot com. You must provide me  a case number. I am not offering to solve your problem myself; rather, I  am willing to forward your information to someone if you have already  hit a dead end with our Technical Support or Customer Service.
    If you have feedback about the content of the Premiere Pro Help document,  then please add a comment at the bottom of the relevant page. You can  add comments to add information, to add links, to make corrections, or  to ask for clarification.
    If you want to keep up with the Premiere Pro team, then you can follow our blogs, Facebook page, and Twitter feed and so on.
    Oh, and I can’t resist this opportunity to remind you to update to  the most recent version of the application. Don’t be surprised when the  first thing that you hear back from us is that you need to install the  latest updates. We fix a lot of things in updates, and we don’t want to go chasing bugs that we’ve already fixed. We’ll keep you posted on our blogs, Facebook page, and Twitter feed about updates as they become available.

    Hi qwerty,
    Dun tink that creative customer support sucks cos I had been dealing with them in the past and I can say that their service are quite gd and fast. If you wanted a refund, I tink you need to contact the store that sells you the product. Dun tink creative will refund you though.

  • What about a bug reporting mechanism?

    Dear SONY developers an users,
    the overview of the forum indicates that the software of our phones has some bugs. This is normal - no software is bug-free.
    The best known solution in such cases is to introduce some bug reporting and tracking mechanism.
    What do you think about it?
    B.r.
    Glorifyday
    Solved!
    Go to Solution.

    I think this idea has been posted before and it was forwarded internally. I haven't heard anything about it since so I don't know anything about what happened but I'll send it again
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • How do I send a bug report to Apple about iPhoto?

    1) Okay this is probably very basic but I'm trying to find a way to send a bug report to Apple about the problems I'm having with iPhoto and PE since downloading Quicktime 7.1.3.
    Can anyone help?
    2) Is there any way of finding out if Apple are onto this problem with Quicktime 7.1.3?
    3) I've also asked on another thread how I can uninstall Quicktime 7.1.3 and re-install 7.1.2. (the reinstaller for 7.0.4 doesn't work on my computer) but so far I haven't got a reply.

    (1) While running iPhoto, click on the "iPhoto" menu and select "Provide iPhoto Feedback".

  • Bug report and question about 2.0

    ok I have 2 things I need to post about. First is a bug report.
    Under settings, brightness category the slider does not function correctly. It refuses to slide like it did in 1.1.4.
    Second the capacity has dropped from 14.84GB to 14.6GB. What is taking up 240 MB of space?

    thanks for info. Sorry I didn't post this earlier but the slider has corrected itself. Also the is probably being used by the os

  • Did you know that Google toolbar doesn't work properly in FF rc1? I have filed a bug report to Google about this

    The Google toolbar doesn't recognize a left mouse click when selecting a 'suggestion'. It's OK using the keyboard, however. I have filed a bug report with Google, but as this is an important extension thought you should know.

    See also:  http://forums.adobe.com/message/4662367#4662367
    -Noel

  • How about fixing the bug report submission page ?

    I've been trying for I think the 11 time to submit a bugreport to bugreport.sun.com and each time,
    the submission FAIL. And of course you loose everything you entered in the page.
    Email to the address specified when it fail also FAIL.
    rejected by the server for the recipient domain sun.comby userp1020.oracle.com. [156.151.31.79].
    The error that the other server returned was:
    550 5.1.1 <[email protected]>... User unknown
    Please Fix, a bug report page that can't even submit simple text its ridiculous.
    This is not the first time I have difficulties getting your site to work.

    You're complaining to the wrong people.
    Re: bug database does not work?
    OTN forum admin are not responsible for the java bug reporting.  They cannot fix what isn't theirs.
    Locking this thread

  • Sending a bug report on the OS and a sleep mode problem.

    I find the bug button in Safari really convenient for sending Apple bug reports. And when other applications crash, you usually get an error dialog with a button to send a bug report. But sometimes problems arise that require reporting, but which don't fall in either of these categories. It would be very handy to have a bug "button" for the OS, or perhaps just a menu selection in the Finder menu bar that invokes a bug report dialog box. I know you can dig around and find the URL for Apple's bug report web page, but I am always forgetting it -- I suppose I could just bookmark it, but then I'd just have to dig around in all the bookmarks to find it. Better would be a utility built-in to the OS for sending bug reports (like Safari's). It could also automatically transfer necessary info about the OS rev and such.
    The problem I had was this. I have a script that puts my iMac to sleep. I put the script alias on the task bar and a single click puts the computer to sleep (easier than using the menu). Unfortunately, I sometimes click it by mistake when I am trying to click an adjacent icon in the task bar, and the Mac starts going through its cycle to enter sleep mode and is impervious to anything I do to try and cancel it. I tried pressing the space bar continuously to prevent it from going to sleep, but that did not work. Worse, when it went to sleep and I woke it up again, the task bar would not appear, clicking on app windows did not activate them, Finder menus could not be selected, etc. The cursor would move, but I could not do anything else. (I wish now I had noted if the clock in the menu bar was still advancing, but I didn't think to do that.) I powered down the iMac from the power key and rebooted. Things are working fine now.
    I wanted to send a bug report on this, but realized that unlike Safari, there was no button or menu selection for doing that. So here I am.
    Any suggestions are welcome.
    TIA,
    Drake

    [email protected]
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • BUG REPORT: new 10g Driver throws SQLExcpetion

    So far, i just replaced my old ORACLE JDBC driver jar file with a new version. Of course, i use the classes12.jar to be used by JDK 1.3. This worked for all the 9.xxx Drivers. Now, i tried to use the classes12.jar from the new "10g" Driver (10.1.0.2.0) but it doesn't work anymore. The first simple SELECT statement throws this error:
    java.sql.SQLException: Typlänge größer als Höchstwert
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:161)
         at oracle.jdbc.driver.DatabaseError.check_error(DatabaseError.java:884)
         at oracle.jdbc.driver.T4CMAREngine.buffer2Value(T4CMAREngine.java:2230)
         at oracle.jdbc.driver.T4CMAREngine.unmarshalUB2(T4CMAREngine.java:1047)
         at oracle.jdbc.driver.T4CTTIdcb.receiveCommon(T4CTTIdcb.java:111)
         at oracle.jdbc.driver.T4CTTIdcb.receive(T4CTTIdcb.java:94)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:590)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:111)
         at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:350)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:895)
         at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:382)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:985)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1124)
    For the simple select statement:
    select REF_CLASS, REF_CODE, REF_TEXT_DE from refset order by REF_CLASS,REF_CODE
    so, nothing special. Going back to the last 9.x driver, it works again. Is the 10g driver knwon to be buggy?
    Is there an official bug report web page on the ORACLE site (similar to the sun Java bug database)?

    Hi all,
    I am seeing following exception while using Oracle 10.2.0.3 base release with WebSphere 6.1.0.9.
    ------Start of DE processing------ = [2/3/08 12:59:14:698 CST] , key = java.sql.SQLException com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.pmiExecuteQuery 1315
    Exception = java.sql.SQLException
    Source = com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.pmiExecuteQuery
    probeid = 1315
    Stack Dump = java.sql.SQLException: ORA-00942: table or view does not exist
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
         at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:801)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
         at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:841)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1274)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.pmiExecuteQuery(WSJdbcStatement.java:1381)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.executeQuery(WSJdbcStatement.java:754)
         at com.filenet.engine.dbpersist.DBContext.determineDatabaseType(DBContext.java:418)
         at com.filenet.engine.context.ServerCallContext._getDBContext(ServerCallContext.java:611)
         at com.filenet.engine.context.ServerCallContext.getDBContextFromJNDIValues(ServerCallContext.java:783)
         at com.filenet.engine.dbpersist.DBContext.determineDatabaseType(DBContext.java:380)
         at com.filenet.engine.gcd.GCDDBPersistence.<init>(GCDDBPersistence.java:135)
         at com.filenet.engine.gcd.GCDPersistence.getGCDPersistence(GCDPersistence.java:171)
         at com.filenet.engine.gcd.GCD.initialize(GCD.java:226)
         at com.filenet.engine.gcd.GCD.domainAvailable(GCD.java:183)
         at com.filenet.engine.gcd.GCD.isDomainAvailable(GCD.java:119)
         at com.filenet.engine.gcd.GCD.getContextInfo(GCD.java:142)
         at com.filenet.engine.init.StartupUtility.start(StartupUtility.java:136)
         at com.filenet.engine.init.StartupUtility.access$000(StartupUtility.java:39)
         at com.filenet.engine.init.StartupUtility$1.run(StartupUtility.java:68)
         at java.security.AccessController.doPrivileged(AccessController.java:274)
         at javax.security.auth.Subject.doAs(Subject.java:573)
         at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:168)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:615)
         at com.filenet.apiimpl.util.J2EEUtilWS.doAs(J2EEUtilWS.java:207)
         at com.filenet.engine.context.CallState.doAsSystem(CallState.java:385)
         at com.filenet.engine.init.StartupUtility.startASSystem(StartupUtility.java:63)
         at com.filenet.engine.jca.impl.ConnectionFactoryImpl.start(ConnectionFactoryImpl.java:120)
         at engine.EngineInit._init(EngineInit.java:60)
         at engine.EngineInit.init(EngineInit.java:132)
         at javax.servlet.GenericServlet.init(GenericServlet.java:256)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:190)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:317)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1142)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:150)
         at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:99)
         at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:787)
         at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:467)
         at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:304)
         at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:285)
         at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
         at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
         at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:655)
         at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:608)
         at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)
         at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1312)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:965)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2131)
         at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:341)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    Dump of callerThis =
    Object type = com.ibm.ws.rsadapter.jdbc.WSJdbcStatement
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.jdbc.WSJdbcStatement@53385338
    Displaying FFDC information for wrapper hierarchy,
    beginning from the Connection...
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.jdbc.WSJdbcConnection@7c9e7c9e
    com.ibm.ws.rsadapter.jdbc.WSJdbcConnection@7c9e7c9e
    Transaction Manager global transaction status is
    STATUS NO TRANSACTION (6)
    Underlying Connection: oracle.jdbc.driver.LogicalConnection@3dfc3dfc
    oracle.jdbc.driver.LogicalConnection@3dfc3dfc
    Key Object:
    [B@14f414f4
    DataStoreHelper:
    com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper@3ebc3ebc
    Connection Manager:
    [ConnectionManager]@4ee24ee2
    JNDI Name <FNGCDDS>
    shareable <true>
    ConnectionManager supports lazy association?
    true
    ConnectionManager supports lazy enlistment?
    true
    Handle is reserved? false
    AutoCommit value tracked by handle: true
    Detection of multithreaded access is:
    DISABLED
    Thread id:
    null
    Wrapper State:
    ACTIVE
    Parent wrapper:
    null
    Child wrapper:
    null
    # of Child Wrappers 1
    Child wrappers:
    com.ibm.ws.rsadapter.jdbc.WSJdbcStatement@53385338
    ConnectionRequestInfo:
    null
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl@63666366
    Detection of multithreaded access is
    DISABLED
    Resource Adapter:
    null
    Hash Code:
    -1131425938 (0xbc8fcf6e)
    DataSource properties:
    {enable2Phase=false, serverName=localhost, statementCacheSize=10, user=gcduser, dataStoreHelperClass=com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper, URL=jdbc:oracle:thin:@localhost:1521:orcl, databaseName=orcl, selectMethod=direct, dataSourceClass=oracle.jdbc.pool.OracleConnectionPoolDataSource, password=******, portNumber=1521}
    Database Type:
    null
    DataStoreHelper:
    com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper@3ebc3ebc
    Description:
    null
    InternalDataStoreHelper:
    [email protected]8
    Log Writer:
    null
    Performance Monitoring Instrumentation:
    com.ibm.ws.pmi.server.modules.J2CModule@46cc46cc
    Statement Cache Size (maximum):
    10
    Transaction Branches are set to be Loosely Coupled:
    false
    Counter of fatal connection errors on ManagedConnections created by this MCF:
    0
    Validate existing connections on cleanup after a fatal connection error is detected?
    true
    ResetConnectionByBackendDatabase:
    false
    Backend id checking is:
    true
    JMSOnePhaseOptimization:
    false
    Reauthentication:
    false
    newDBConnectionValidationEnabled:
    false
    connectionRetriesDuringDBFailover:
    100
    connRetryDurationDuringDBFailover:
    3000
    Connection Factory Type:
    com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource
    Listing PropertyChangeListeners:
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.spi.WSRdbDataSource@34003400
    DataSource Implementation Class Name:
    oracle.jdbc.pool.OracleConnectionPoolDataSource
    DataSource Name:
    null
    DataStoreHelper:
    com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper@3ebc3ebc
    DataSource properties:
    {enable2Phase=false, serverName=localhost, statementCacheSize=10, user=gcduser, dataStoreHelperClass=com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper, URL=jdbc:oracle:thin:@localhost:1521:orcl, databaseName=orcl, selectMethod=direct, dataSourceClass=oracle.jdbc.pool.OracleConnectionPoolDataSource, password=******, portNumber=1521}
    ONE PHASE ENABLED
    Underlying DataSource Object: oracle.jdbc.pool.OracleConnectionPoolDataSource@39703970
    oracle.jdbc.pool.OracleConnectionPoolDataSource@39703970
    Counter of unique, modified DataSource configurations: 0
    DynamicDSConfigManager
    null
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl@3f023f02
    ONE PHASE ENABLED
    Database Type:
    null
    Transaction State:
    NO_TRANSACTION_ACTIVE
    Statement Cache Size (maximum):
    10
    Key:
    [B@14f414f4
    Performance Monitoring Instrumentation:
    com.ibm.ws.pmi.server.modules.J2CModule@46cc46cc
    Log Writer:
    null
    Subject:
    null
    ManagedConnection:
    WSRdbManagedConnectionImpl@3f023f02
    Counter of fatal connection errors for the ManagedConnectionFactory as of the most recent getConnection on this ManagedConnection:
    0
    Default AutoCommit:
    true
    Current AutoCommit:
    true
    AutoCommit reported by the JDBC driver:
    true
    Current Isolation:
    READ COMMITTED (2)
    Isolation level has changed? :
    false
    Support isolation level switching:
    false
    Isolation reported by the JDBC driver:
    READ COMMITTED (2)
    Catalog, IsReadOnly, or TypeMap has changed? :
    false
    Default Holdability:
    DEFAULT CURSOR HOLDABILITY VALUE (0)
    Current Holdability:
    DEFAULT CURSOR HOLDABILITY VALUE (0)
    Holdability value has changed? :
    false
    Holdability reported by the JDBC driver:
    DEFAULT CURSOR HOLDABILITY VALUE (0)
    Thread ID:
    null
    Lazily enlisted in the current transaction? :
    false
    Underlying Connection Object: oracle.jdbc.driver.LogicalConnection@3dfc3dfc
    oracle.jdbc.driver.LogicalConnection@3dfc3dfc
    Underlying PooledConnection Object: oracle.jdbc.pool.OraclePooledConnection@64ec64ec
    oracle.jdbc.pool.OraclePooledConnection@64ec64ec
    SQLJ Default Context: null
    null
    Is statement caching enabled? :
    true
    Fatal connection error was detected? :
    false
    Currently cleaning up handles? :
    false
    Last ConnectionEvent sent for this ManagedConnection:
    com.ibm.ws.rsadapter.spi.WSConnectionEvent@3f583f58
    Connection Handle: null
    Event ID: UNKNOWN CONNECTION EVENT CONSTANT (0)
    Exception: null
    Driver version:
    10.2.0.3.0
    Database version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Connection Event Listeners:
    com.ibm.ejs.j2c.ConnectionEventListener@6f306f30
    Interaction Metrics:
    com.ibm.ejs.j2c.ConnectionEventListener@6f306f30
    Maximum Handle List Size: 15
    Handle Count: 1
    Handles:
    com.ibm.ws.rsadapter.jdbc.WSJdbcConnection@7c9e7c9e
    null
    null
    null
    null
    null
    null
    null
    null
    null
    null
    null
    null
    null
    null
    State Manager:
    com.ibm.ws.rsadapter.spi.WSStateManager@6ec46ec4
    XA Resource:
    null
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.spi.WSRdbSpiLocalTransactionImpl@7c827c82
    Connection:
    oracle.jdbc.driver.LogicalConnection@3dfc3dfc
    ManagedConnection:
    WSRdbManagedConnectionImpl@3f023f02
    Detection of multithreaded access is:
    DISABLED
    ManagedConnectionMetaData:
    null
    Statement Cache:
    com.ibm.ws.rsadapter.spi.CacheMap@6d486d48
    Number of entries: 0
    Maximum entries: 10
    Number of buckets: 13
    Maximum bucket size: 5
    Number of discards: 0
    BUCKET SIZE PREV NEXT
    000 000 013 013
    001 000 013 013
    002 000 013 013
    003 000 013 013
    004 000 013 013
    005 000 013 013
    006 000 013 013
    007 000 013 013
    008 000 013 013
    009 000 013 013
    010 000 013 013
    011 000 013 013
    012 000 013 013
    013 LRU 014
    014 MRU 013
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.spi.WSConnectionRequestInfoImpl@345e345e
    extention DS properties =
    null
    extention DS properties key =
    0
    useHetrogeneous =
    false
    changable CRI =
    false
    optimizeForGetUseCloseUsage =
    false
    User Name:
    null
    Password:
    null
    Isolation Level:
    READ COMMITTED (2)
    Catalog:
    null
    Is Read Only?
    null
    Type Map:
    null
    Cursor Holdability:
    DEFAULT CURSOR HOLDABILITY VALUE (0)
    Config ID: 0
    Hash Code:
    0
    Support isolation switching on connection:
    false
    NoEnlistment:
    false
    ShareWithCMPOnly:
    false
    Handle type:
    java.sql.Connection
    TrustedContext_name:
    null
    TrustedContext_realm:
    null
    TrustedContext_userSecToken:
    null
    TrustedContext_originalUser:
    null
    trustedContextIdentityAttributesAreSet =
    false
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl@63666366
    Detection of multithreaded access is
    DISABLED
    Resource Adapter:
    null
    Hash Code:
    -1131425938 (0xbc8fcf6e)
    DataSource properties:
    {enable2Phase=false, serverName=localhost, statementCacheSize=10, user=gcduser, dataStoreHelperClass=com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper, URL=jdbc:oracle:thin:@localhost:1521:orcl, databaseName=orcl, selectMethod=direct, dataSourceClass=oracle.jdbc.pool.OracleConnectionPoolDataSource, password=******, portNumber=1521}
    Database Type:
    null
    DataStoreHelper:
    com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper@3ebc3ebc
    Description:
    null
    InternalDataStoreHelper:
    [email protected]8
    Log Writer:
    null
    Performance Monitoring Instrumentation:
    com.ibm.ws.pmi.server.modules.J2CModule@46cc46cc
    Statement Cache Size (maximum):
    10
    Transaction Branches are set to be Loosely Coupled:
    false
    Counter of fatal connection errors on ManagedConnections created by this MCF:
    0
    Validate existing connections on cleanup after a fatal connection error is detected?
    true
    ResetConnectionByBackendDatabase:
    false
    Backend id checking is:
    true
    JMSOnePhaseOptimization:
    false
    Reauthentication:
    false
    newDBConnectionValidationEnabled:
    false
    connectionRetriesDuringDBFailover:
    100
    connRetryDurationDuringDBFailover:
    3000
    Connection Factory Type:
    com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource
    Listing PropertyChangeListeners:
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.spi.WSRdbDataSource@34003400
    DataSource Implementation Class Name:
    oracle.jdbc.pool.OracleConnectionPoolDataSource
    DataSource Name:
    null
    DataStoreHelper:
    com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper@3ebc3ebc
    DataSource properties:
    {enable2Phase=false, serverName=localhost, statementCacheSize=10, user=gcduser, dataStoreHelperClass=com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper, URL=jdbc:oracle:thin:@localhost:1521:orcl, databaseName=orcl, selectMethod=direct, dataSourceClass=oracle.jdbc.pool.OracleConnectionPoolDataSource, password=******, portNumber=1521}
    ONE PHASE ENABLED
    Underlying DataSource Object: oracle.jdbc.pool.OracleConnectionPoolDataSource@39703970
    oracle.jdbc.pool.OracleConnectionPoolDataSource@39703970
    Counter of unique, modified DataSource configurations: 0
    DynamicDSConfigManager
    null
    ==> Performing default dump from com.ibm.ws.rsadapter.DiagnosticModuleForAdapter = Sun Feb 03 12:59:15 CST 2008
    This is a FFDC log generated for the Default Resource Adapter from source = com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.pmiExecuteQuery
    The exception caught = java.sql.SQLException: ORA-00942: table or view does not exist
    SQL Error Code is 942 SQL State is = 42000
    Operating System = Windows Server 2003 5.2 build 3790 Service Pack 2 x86
    Classpath = C:\Program Files\IBM\WebSphere\AppServ\profiles\AppSrv02/properties;C:/Program Files/IBM/WebSphere/AppServ/properties;C:/Program Files/IBM/WebSphere/AppServ/lib/startup.jar;C:/Program Files/IBM/WebSphere/AppServ/lib/bootstrap.jar;C:/Program Files/IBM/WebSphere/AppServ/lib/j2ee.jar;C:/Program Files/IBM/WebSphere/AppServ/lib/lmproxy.jar;C:/Program Files/IBM/WebSphere/AppServ/lib/urlprotocols.jar;C:/Program Files/IBM/WebSphere/AppServ/deploytool/itp/batchboot.jar;C:/Program Files/IBM/WebSphere/AppServ/deploytool/itp/batch2.jar;C:/Program Files/IBM/WebSphere/AppServ/java/lib/tools.jar
    Ext dirs = C:\Program Files\IBM\WebSphere\AppServ\java\jre\lib\ext
    Other related data. If null, nothing was passed in =
    null
    The Objects' instance variables are printed below recursively 2 levels deep =
    Object type = com.ibm.ws.rsadapter.jdbc.WSJdbcStatement
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.jdbc.WSJdbcStatement@53385338
    Displaying FFDC information for wrapper hierarchy,
    beginning from the Connection...
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.jdbc.WSJdbcConnection@7c9e7c9e
    com.ibm.ws.rsadapter.jdbc.WSJdbcConnection@7c9e7c9e
    Transaction Manager global transaction status is
    STATUS NO TRANSACTION (6)
    Underlying Connection: oracle.jdbc.driver.LogicalConnection@3dfc3dfc
    oracle.jdbc.driver.LogicalConnection@3dfc3dfc
    Key Object:
    [B@14f414f4
    DataStoreHelper:
    com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper@3ebc3ebc
    Connection Manager:
    [ConnectionManager]@4ee24ee2
    JNDI Name <FNGCDDS>
    shareable <true>
    ConnectionManager supports lazy association?
    true
    ConnectionManager supports lazy enlistment?
    true
    Handle is reserved? false
    AutoCommit value tracked by handle: true
    Detection of multithreaded access is:
    DISABLED
    Thread id:
    null
    Wrapper State:
    ACTIVE
    Parent wrapper:
    null
    Child wrapper:
    null
    # of Child Wrappers 1
    Child wrappers:
    com.ibm.ws.rsadapter.jdbc.WSJdbcStatement@53385338
    ConnectionRequestInfo:
    null
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl@63666366
    Detection of multithreaded access is
    DISABLED
    Resource Adapter:
    null
    Hash Code:
    -1131425938 (0xbc8fcf6e)
    DataSource properties:
    {enable2Phase=false, serverName=localhost, statementCacheSize=10, user=gcduser, dataStoreHelperClass=com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper, URL=jdbc:oracle:thin:@localhost:1521:orcl, databaseName=orcl, selectMethod=direct, dataSourceClass=oracle.jdbc.pool.OracleConnectionPoolDataSource, password=******, portNumber=1521}
    Database Type:
    null
    DataStoreHelper:
    com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper@3ebc3ebc
    Description:
    null
    InternalDataStoreHelper:
    [email protected]8
    Log Writer:
    null
    Performance Monitoring Instrumentation:
    com.ibm.ws.pmi.server.modules.J2CModule@46cc46cc
    Statement Cache Size (maximum):
    10
    Transaction Branches are set to be Loosely Coupled:
    false
    Counter of fatal connection errors on ManagedConnections created by this MCF:
    0
    Validate existing connections on cleanup after a fatal connection error is detected?
    true
    ResetConnectionByBackendDatabase:
    false
    Backend id checking is:
    true
    JMSOnePhaseOptimization:
    false
    Reauthentication:
    false
    newDBConnectionValidationEnabled:
    false
    connectionRetriesDuringDBFailover:
    100
    connRetryDurationDuringDBFailover:
    3000
    Connection Factory Type:
    com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource
    Listing PropertyChangeListeners:
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.spi.WSRdbDataSource@34003400
    DataSource Implementation Class Name:
    oracle.jdbc.pool.OracleConnectionPoolDataSource
    DataSource Name:
    null
    DataStoreHelper:
    com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper@3ebc3ebc
    DataSource properties:
    {enable2Phase=false, serverName=localhost, statementCacheSize=10, user=gcduser, dataStoreHelperClass=com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper, URL=jdbc:oracle:thin:@localhost:1521:orcl, databaseName=orcl, selectMethod=direct, dataSourceClass=oracle.jdbc.pool.OracleConnectionPoolDataSource, password=******, portNumber=1521}
    ONE PHASE ENABLED
    Underlying DataSource Object: oracle.jdbc.pool.OracleConnectionPoolDataSource@39703970
    oracle.jdbc.pool.OracleConnectionPoolDataSource@39703970
    Counter of unique, modified DataSource configurations: 0
    DynamicDSConfigManager
    null
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl@3f023f02
    ONE PHASE ENABLED
    Database Type:
    null
    Transaction State:
    NO_TRANSACTION_ACTIVE
    Statement Cache Size (maximum):
    10
    Key:
    [B@14f414f4
    Performance Monitoring Instrumentation:
    com.ibm.ws.pmi.server.modules.J2CModule@46cc46cc
    Log Writer:
    null
    Subject:
    null
    ManagedConnection:
    WSRdbManagedConnectionImpl@3f023f02
    Counter of fatal connection errors for the ManagedConnectionFactory as of the most recent getConnection on this ManagedConnection:
    0
    Default AutoCommit:
    true
    Current AutoCommit:
    true
    AutoCommit reported by the JDBC driver:
    true
    Current Isolation:
    READ COMMITTED (2)
    Isolation level has changed? :
    false
    Support isolation level switching:
    false
    Isolation reported by the JDBC driver:
    READ COMMITTED (2)
    Catalog, IsReadOnly, or TypeMap has changed? :
    false
    Default Holdability:
    DEFAULT CURSOR HOLDABILITY VALUE (0)
    Current Holdability:
    DEFAULT CURSOR HOLDABILITY VALUE (0)
    Holdability value has changed? :
    false
    Holdability reported by the JDBC driver:
    DEFAULT CURSOR HOLDABILITY VALUE (0)
    Thread ID:
    null
    Lazily enlisted in the current transaction? :
    false
    Underlying Connection Object: oracle.jdbc.driver.LogicalConnection@3dfc3dfc
    oracle.jdbc.driver.LogicalConnection@3dfc3dfc
    Underlying PooledConnection Object: oracle.jdbc.pool.OraclePooledConnection@64ec64ec
    oracle.jdbc.pool.OraclePooledConnection@64ec64ec
    SQLJ Default Context: null
    null
    Is statement caching enabled? :
    true
    Fatal connection error was detected? :
    false
    Currently cleaning up handles? :
    false
    Last ConnectionEvent sent for this ManagedConnection:
    com.ibm.ws.rsadapter.spi.WSConnectionEvent@3f583f58
    Connection Handle: null
    Event ID: UNKNOWN CONNECTION EVENT CONSTANT (0)
    Exception: null
    Driver version:
    10.2.0.3.0
    Database version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Connection Event Listeners:
    com.ibm.ejs.j2c.ConnectionEventListener@6f306f30
    Interaction Metrics:
    com.ibm.ejs.j2c.ConnectionEventListener@6f306f30
    Maximum Handle List Size: 15
    Handle Count: 1
    Handles:
    com.ibm.ws.rsadapter.jdbc.WSJdbcConnection@7c9e7c9e
    null
    null
    null
    null
    null
    null
    null
    null
    null
    null
    null
    null
    null
    null
    State Manager:
    com.ibm.ws.rsadapter.spi.WSStateManager@6ec46ec4
    XA Resource:
    null
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.spi.WSRdbSpiLocalTransactionImpl@7c827c82
    Connection:
    oracle.jdbc.driver.LogicalConnection@3dfc3dfc
    ManagedConnection:
    WSRdbManagedConnectionImpl@3f023f02
    Detection of multithreaded access is:
    DISABLED
    ManagedConnectionMetaData:
    null
    Statement Cache:
    com.ibm.ws.rsadapter.spi.CacheMap@6d486d48
    Number of entries: 0
    Maximum entries: 10
    Number of buckets: 13
    Maximum bucket size: 5
    Number of discards: 0
    BUCKET SIZE PREV NEXT
    000 000 013 013
    001 000 013 013
    002 000 013 013
    003 000 013 013
    004 000 013 013
    005 000 013 013
    006 000 013 013
    007 000 013 013
    008 000 013 013
    009 000 013 013
    010 000 013 013
    011 000 013 013
    012 000 013 013
    013 LRU 014
    014 MRU 013
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.spi.WSConnectionRequestInfoImpl@345e345e
    extention DS properties =
    null
    extention DS properties key =
    0
    useHetrogeneous =
    false
    changable CRI =
    false
    optimizeForGetUseCloseUsage =
    false
    User Name:
    null
    Password:
    null
    Isolation Level:
    READ COMMITTED (2)
    Catalog:
    null
    Is Read Only?
    null
    Type Map:
    null
    Cursor Holdability:
    DEFAULT CURSOR HOLDABILITY VALUE (0)
    Config ID: 0
    Hash Code:
    0
    Support isolation switching on connection:
    false
    NoEnlistment:
    false
    ShareWithCMPOnly:
    false
    Handle type:
    java.sql.Connection
    TrustedContext_name:
    null
    TrustedContext_realm:
    null
    TrustedContext_userSecToken:
    null
    TrustedContext_originalUser:
    null
    trustedContextIdentityAttributesAreSet =
    false
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl@63666366
    Detection of multithreaded access is
    DISABLED
    Resource Adapter:
    null
    Hash Code:
    -1131425938 (0xbc8fcf6e)
    DataSource properties:
    {enable2Phase=false, serverName=localhost, statementCacheSize=10, user=gcduser, dataStoreHelperClass=com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper, URL=jdbc:oracle:thin:@localhost:1521:orcl, databaseName=orcl, selectMethod=direct, dataSourceClass=oracle.jdbc.pool.OracleConnectionPoolDataSource, password=******, portNumber=1521}
    Database Type:
    null
    DataStoreHelper:
    com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper@3ebc3ebc
    Description:
    null
    InternalDataStoreHelper:
    [email protected]8
    Log Writer:
    null
    Performance Monitoring Instrumentation:
    com.ibm.ws.pmi.server.modules.J2CModule@46cc46cc
    Statement Cache Size (maximum):
    10
    Transaction Branches are set to be Loosely Coupled:
    false
    Counter of fatal connection errors on ManagedConnections created by this MCF:
    0
    Validate existing connections on cleanup after a fatal connection error is detected?
    true
    ResetConnectionByBackendDatabase:
    false
    Backend id checking is:
    true
    JMSOnePhaseOptimization:
    false
    Reauthentication:
    false
    newDBConnectionValidationEnabled:
    false
    connectionRetriesDuringDBFailover:
    100
    connRetryDurationDuringDBFailover:
    3000
    Connection Factory Type:
    com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource
    Listing PropertyChangeListeners:
    First Failure Data Capture information for
    com.ibm.ws.rsadapter.spi.WSRdbDataSource@34003400
    DataSource Implementation Class Name:
    oracle.jdbc.pool.OracleConnectionPoolDataSource
    DataSource Name:
    null
    DataStoreHelper:
    com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper@3ebc3ebc
    DataSource properties:
    {enable2Phase=false, serverName=localhost, statementCacheSize=10, user=gcduser, dataStoreHelperClass=com.ibm.websphere.rsadapter.Oracle10gDataStoreHelper, URL=jdbc:oracle:thin:@localhost:1521:orcl, databaseName=orcl, selectMethod=direct, dataSourceClass=oracle.jdbc.pool.OracleConnectionPoolDataSource, password=******, portNumber=1521}
    ONE PHASE ENABLED
    Underlying DataSource Object: oracle.jdbc.pool.OracleConnectionPoolDataSource@39703970
    oracle.jdbc.pool.OracleConnectionPoolDataSource@39703970
    Counter of unique, modified DataSource configurations: 0
    DynamicDSConfigManager
    null
    +Data for directive [defaultadapter] obtained. =
    ==> Dump complete for com.ibm.ws.rsadapter.DiagnosticModuleForAdapter = Sun Feb 03 12:59:15 CST 2008
    Any Ideas?
    Thanks in advance.
    Regards,
    Rajan

  • Solaris8 and 9 (possibly 7) /dev/poll driver bug report.

    Hello,
    I'd like to report a bug in the solaris 8 and 9 /dev/poll driver (poll(7d)).
    As i do not have a support account with sun or anything like that, there
    seems to be no other way to do that here (which is of course a very sad
    thing).
    Bug details:
    The /dev/poll device provides an ioctl-request (DP_ISPOLLED) for checking
    if a particular filedescriptor is currently in the set of monitored
    filedescriptors for that particular /dev/poll fd set (open /dev/poll fd).
    A quote from the documentation of the poll(7d) manual page taken from
    Solaris9:
    "DP_ISPOLLED ioctl allows you to query if a file descriptor is already in
    the monitored set represented by fd. The fd field of the pollfd structure
    indicates the file descriptor of interest. The DP_ISPOLLED ioctl returns 1
    if the file descriptor is in the set. The events field contains the
    currently polled events. The revents field contains 0. The ioctl returns 0
    if the file descriptor is not in the set. The pollfd structure pointed by
    pfd is not modified. The ioctl returns a -1 if the call fails."
    It says that when you query for an filedescriptor which is currently being
    monitored in the set, that it would return 1, and change the events field of
    the pollfd structure to the events it's currently monitoring that fd for.
    The revents field would be set to zero.
    However the only thing which actually happens here, is that FD_ISPOLLED
    returns 1 when the fd is in the set and 0 if not. When the fd is in the
    set, when FD_ISPOLLED returns 1, the events field remains unmodified, but
    the revents field gets changed.
    A small sample code to illustrate:
    #include <stdio.h>
    #include <unistd.h>
    #include <sys/types.h>
    #include <sys/stat.h>
    #include <fcntl.h>
    #include <sys/devpoll.h>
    main() {
    struct pollfd a;
    int dp_fd = open("/dev/poll", O_WRONLY);
    a.fd = 0; /* stdin */
    a.events = POLLIN; /* we monitor for readability, POLLIN=1 */
    a.revents = 0;
    write(dp_fd, &a, sizeof(a));
    a.fd = 0;
    a.events = 34; /* filled in with bogus number to show malfunctioning */
    a.revents = 0;
    printf("DP_ISPOLLED returns: %d\n", ioctl(dp_fd, DP_ISPOLLED, &a));
    printf("a.fd=%d, a.events=%hd, a.revents=%hd\n", a.fd, a.events,
    a.revents);
    According to the documentation of /dev/poll and namely DP_ISPOLLED this
    program is supposed to print the following:
    DP_ISPOLLED returns: 1
    a.fd=0, a.events=1, a.revents=0
    However it prints the following:
    DP_ISPOLLED returns: 1
    a.fd=0, a.events=34, a.revents=1
    You can take any number instead of '34' and it will simply remain untouched
    after the DP_ISPOLLED ioctl-request.
    I hope it's clear now that the solaris8 and solaris9 (and probably solaris7
    with /dev/poll patch too) DP_ISPOLLED implementation is broken.
    This bug is also easily illustrated by looking at the solaris8 kernel sourcecode:
    <snippet osnet_volume/usr/src/uts/common/io/devpoll.c:dpioctl()>
    case DP_ISPOLLED:
    pollfd_t pollfd;
    polldat_t *pdp;
    if (pollfd.fd < 0) {
    mutex_exit(&pcp->pc_lock);
    break;
    pdp = pcache_lookup_fd(pcp, pollfd.fd);
    if ((pdp != NULL) && (pdp->pd_fd == pollfd.fd) &&
    (pdp->pd_fp != NULL)) {
    pollfd.revents = pdp->pd_events;
    if (copyout(&pollfd, (caddr_t)arg,
    sizeof(pollfd_t))) {
    mutex_exit(&pcp->pc_lock);
    DP_REFRELE(dpep);
    return (set_errno(EFAULT));
    *rvalp = 1;
    </snippet>
    its' clearly visible that the code writes the current monitored events to
    the revents field:
    'pollfd.revents = pdp->pd_events;'
    and that it doesnt set revents to zero.
    It's funny to see that this has been like this since Solaris8 (possibly 7). That means nobody ever used DP_ISPOLLED that way or people were simply to lazy to file a bug report.
    Another funny thing related to this. is that Hewlett-Packard did seem to know about this. Since HP-UX11i version 1.6 they also support /dev/poll. From their manual page i ll quote some sentences from their WARNING session:
    "The ioctl(DP_ISPOLLED) system call also returns its result in the revents member of the pollfd structure, in order to be compatible with the implementation of the /dev/poll driver by some other vendors."
    Hopefully this will get fixed.
    I also like to reexpress my very negative feelings towards the fact that you're not able to file bug reports when you do not have a support contract. Ridiculous.
    Thanks,
    bighawk

    Have I mentioned how much i love my playbook now Great job on os 2.0

  • Bug report: Naming a Bin after creating it with drag'n'drop

    There seems to be a small bug when giving a newly created bin a name after creating it by drag'n'drop of several clips onto the "New Bin" icon. 
    To reproduce:
    Select some clips in your project browser
    Drag them onto the New Bin button
    A new bin is created with the clips in it
    - the bin name for it appears to be selected, and editable - just as if you had created a new empty bin by clicking the New Bin button
    - type in a new name - it accepts the name fine, now press enter.
    - your new name disappears, and *now* you are really in the mode to edit the bin name
    - type your name again, and it works.
    Work around:
    When creating new bins by using drag'n'drop of clips onto the New Bin button, first press enter once to enter into the proper edit mode before giving the bin a new name.
    (is there a better place to file bug reports?)
    Version 6.0.1 (014 (MC: 264587))
    Hardware Overview:
      Model Name:          Mac Pro
      Model Identifier:          MacPro5,1
      Processor Name:          Quad-Core Intel Xeon
      Processor Speed:          2.8 GHz
      Number Of Processors:          1
      Total Number Of Cores:          4
      L2 Cache (per core):          256 KB
      L3 Cache:          8 MB
      Memory:          8 GB
      Processor Interconnect Speed:          4.8 GT/s
      Boot ROM Version:          MP51.007F.B03
      SMC Version (system):          1.39f11
      SMC Version (processor tray):          1.39f11
    OS X 10.6.8

    Er, just answered my question about bug reports by reading the "read this before posting" link above
    But I'll leave this here for the work-around in case anyone else needs it.

Maybe you are looking for

  • Error message when trying to connect to the itunes store

    I have a 4s, and this has just happened when I try to download some free apps.  The error says "this apple id cannot be used for the itunes store.  Please enter another apple ID.  As far as I know, I just have one apple id.  I used the 'find your id'

  • Too long time for editing BEx

    Deal all I have a problem with BEx. Whenever I edit BEx Query Designer for creating or modifing Query, it takes time too long. For instance, when I restrict value in Row or Columns, it need too much time. Is there Tcode for checking this problem? Or

  • Prevent interpretation of special characters in enter-query mode

    My problem goes as follows: - forms version: Forms [32 Bit] Version 6.0.8.10.3 (Production) - non-database item block.X, char - block.X is filled in post-query trigger. The post-query logic cannot be integrated in a view because it uses procedures, a

  • Can't open AppStore and Email app after installing the OSX Update 10.8.3

    Hi there, after I installed the OSX 10.8.3 update I can't open my Email and App Store apps. This is the popup message that appears when i try to open those apps. I tried to reinstall the app but I can't open my App Store. I also downloaded and instal

  • Ics 5.0p4, howto prevent user from unsubscribing from his default calendar ?

    according to the ics.conf, the parameter calstore.subscribed.remove.defaultcalendar should disallow a user the ability to unsubscribe from his default calendar, but even with this parameter set to "no", he can still remove his default calendar from t