How to backtrace an assertion failure?

If an assert() fails during the execution of the program, there doesn't seem to be any way of backtracing the function call stack up to that point. If I open the console from the 'Run' menu and try to write 'bt', it doesn't let me. gdb seems to be in a strange state where you can write just one character and then it's stuck until you press return, after which nothing happens. Backtracing works ok if eg. the program crashes with a segmentation fault, but it doesn't work if it crashes with an assertion failure.
This is extremely irritating. I have a bug in my program which is causing an assertion failure very, very rarely (making it extremely hard to reproduce), and in the very rare occasions where it's happening, I can't find the exact chain of function calls leading to that failure because xcode won't let me backtrace. (And no, the file/line where the assertion failure is happening, which xcode is reporting, is not helpful in this particular case because it's being called from many different places.)

Is it even possible to do any other type of programming for the iPhone than Cocoa Touch?
Anyways, I cannot control all instances of assert() being called because some of them may be coming from the gcc C++ standard library implementation (mainly when GLIBCXXDEBUG has been defined). Rather obviously, when that happens, a backtrace would be really useful to see exactly which line caused the assert() inside the library to fail, especially if it happens inside a library function not directly called from my code (but by other library code) and/or when it's called from very many different locations in my code.
But it's not just a problem with an assert() failing inside the C++ libraries. Any assert() in my own code causes the exact same behavior, and sometimes it's rather irritating not being able to get a backtrace, especially if it happens extremely rarely and thus is very hard to replicate. This even when building in debug mode.

Similar Messages

  • Mail attachment assertion failure Yosemite - Mail app bug

    Hi,
    I am facing a very annoying issue with Mail app. Since the upgrade to Yosemite, I am unable to save attachments with the "save all" button and the drag and drop is not working properly (sometime freezing the mail app for a minute). I am using Yosemite 10.10.2
    I tried every fix I have read online, such as :
    - rebuild mailboxes
    - repair permissions
    - remove 3 enveloppe index files in .../V2/MailData
    - reindex spotlight
    - run the command to repair permissions & reset home directory permissions and ACL (from this post : Mavericks Mail "Save Attachement..." doesn't work)
    - onyx automations...
    Nothing presented above fixed the problem.
    Here are the console logs related to the issue :
    20/02/2015 03:38:49,690 mdwrite[4655]: -[MDKeyRing initWithService:label:comment:] (/SourceCache/Spotlight/Spotlight-917.1/xpc-services/mdwrite/MDKeyRing.m:294) failed assertion -- Couldn't add Spotlight Metadata Privacy password to keychain! [osErr:-25295]
    20/02/2015 03:38:49,973 Mail[4088]: Metadata.framework [Error]: error Connection interrupted
    20/02/2015 03:38:49,973 Mail[4088]: *** Assertion failure in -[MailWebAttachment _addPrivateAttributes:], /SourceCache/Mail/Mail-2070.6/Mail/MessageDisplay/MessageView/DocumentModel/Mai lWebAttachment.m:331
    20/02/2015 03:38:49,973 Mail[4088]: [QL] Exception raised while try to get launch url for preview item: Failure in _MDItemSetPrivateAttributes: 3
    There is apparently a problem with the privacy attributes. Any idea of how to solve it?
    Thanks for your help,
    Best,
    Laurent

    Hi,
    I am facing a very annoying issue with Mail app. Since the upgrade to Yosemite, I am unable to save attachments with the "save all" button and the drag and drop is not working properly (sometime freezing the mail app for a minute). I am using Yosemite 10.10.2
    I tried every fix I have read online, such as :
    - rebuild mailboxes
    - repair permissions
    - remove 3 enveloppe index files in .../V2/MailData
    - reindex spotlight
    - run the command to repair permissions & reset home directory permissions and ACL (from this post : Mavericks Mail "Save Attachement..." doesn't work)
    - onyx automations...
    Nothing presented above fixed the problem.
    Here are the console logs related to the issue :
    20/02/2015 03:38:49,690 mdwrite[4655]: -[MDKeyRing initWithService:label:comment:] (/SourceCache/Spotlight/Spotlight-917.1/xpc-services/mdwrite/MDKeyRing.m:294) failed assertion -- Couldn't add Spotlight Metadata Privacy password to keychain! [osErr:-25295]
    20/02/2015 03:38:49,973 Mail[4088]: Metadata.framework [Error]: error Connection interrupted
    20/02/2015 03:38:49,973 Mail[4088]: *** Assertion failure in -[MailWebAttachment _addPrivateAttributes:], /SourceCache/Mail/Mail-2070.6/Mail/MessageDisplay/MessageView/DocumentModel/Mai lWebAttachment.m:331
    20/02/2015 03:38:49,973 Mail[4088]: [QL] Exception raised while try to get launch url for preview item: Failure in _MDItemSetPrivateAttributes: 3
    There is apparently a problem with the privacy attributes. Any idea of how to solve it?
    Thanks for your help,
    Best,
    Laurent

  • ORA-29516: Ausführung von Aurora .. Assertion failure at eox.c:232

    I am trying to use developer-depoly an to load/deploy some java class to oracle 9.2.0.1.0 on Suse-Linux 8 Java 1.3 platform
    However I got the following error, what am I missing here? (On Windows 2000 is no problem).
    I have the same Problem with Oracle Enterprise Manager Console too!
    What kind of permissions are needed? And, how
    to grant these permissions?
    Invoking loadjava on connection 'Connection1' with arguments:
    -order -resolve -noverify -debug -definer -force -thin -synonym -verbose
    creating : resource connections.xml
    loading : resource connections.xml
    Error while creating resource connections.xml
    ORA-29516: Ausf�hrung von Aurora nicht erfolgreich: Assertion failure at eox.c:232
    Uncaught exception Root of all Java exceptions: java.lang.NullPointerException
    java.sql.SQLException: ORA-29516: Ausf�hrung von Aurora nicht erfolgreich: Assertion failure at eox.c:232
    Uncaught exception Root of all Java exceptions: java.lang.NullPointerException
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
              DBError.java:187
         void oracle.jdbc.ttc7.TTIoer.processError()
              TTIoer.java:241
         void oracle.jdbc.ttc7.Oall7.receive()
              Oall7.java:543
         void oracle.jdbc.ttc7.TTC7Protocol.doOall7(byte, byte, int, byte[], oracle.jdbc.dbaccess.DBType[], oracle.jdbc.dbaccess.DBData[], int, oracle.jdbc.dbaccess.DBType[], oracle.jdbc.dbaccess.DBData[], int)
              TTC7Protocol.java:1477
         int oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(oracle.jdbc.dbaccess.DBStatement, byte, byte[], oracle.jdbc.dbaccess.DBDataSet, int, oracle.jdbc.dbaccess.DBDataSet, int)
              TTC7Protocol.java:890
         void oracle.jdbc.driver.OracleStatement.executeNonQuery(boolean)
              OracleStatement.java:2004
         void oracle.jdbc.driver.OracleStatement.doExecuteOther(boolean)
              OracleStatement.java:1924
         void oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout()
              OracleStatement.java:2562
         boolean oracle.jdbc.driver.OracleStatement.execute(java.lang.String)
              OracleStatement.java:1038
         void oracle.aurora.server.tools.loadjava.JdbcOperations.executeDDL(java.lang.String)
              JdbcOperations.java:373
         boolean oracle.aurora.server.tools.loadjava.JdbcOperations.executeDDL(java.lang.String, java.lang.String)
              JdbcOperations.java:358
         boolean oracle.aurora.server.tools.loadjava.SchemaObject.executeDDL(java.lang.String, java.lang.String)
              SchemaObject.java:598
         boolean oracle.aurora.server.tools.loadjava.ClientResourceObject.create()
              ClientResourceObject.java:28
         boolean oracle.aurora.server.tools.loadjava.SchemaObject.process1()
              SchemaObject.java:161
         void oracle.aurora.server.tools.loadjava.LoadJava.add(oracle.aurora.server.tools.loadjava.SchemaObject)
              LoadJava.java:488
         void oracle.aurora.server.tools.loadjava.LoadJava.addObject(int, java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:474
         void oracle.aurora.server.tools.loadjava.LoadJava.add(int, java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:425
         void oracle.aurora.server.tools.loadjava.LoadJava.add(java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:356
         void oracle.aurora.server.tools.loadjava.LoadJava.addJar(java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:633
         void oracle.aurora.server.tools.loadjava.LoadJava.add(int, java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:407
         void oracle.aurora.server.tools.loadjava.LoadJava.add(java.io.InputStream, java.lang.String, oracle.aurora.server.tools.loadjava.LoadJavaOptions)
              LoadJava.java:356
         void oracle.aurora.server.tools.loadjava.LoadJava.add(java.io.InputStream, java.lang.String)
              LoadJava.java:325
         void oracle.aurora.server.tools.loadjava.LoadJava.add(java.io.File)
              LoadJava.java:590
         void oracle.aurora.server.tools.loadjava.LoadJava.processDeferredFiles()
              LoadJava.java:562
         void oracle.aurora.server.tools.loadjava.LoadJava.process()
              LoadJava.java:674
         void oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(java.lang.String, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.lang.String, java.io.PrintWriter)
              OracleLoadjava.java:116
         void oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(java.lang.String, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.net.URL, java.io.PrintWriter)
              OracleLoadjava.java:46
         void oracle.jdevimpl.deploy.OracleDeployer.deploy(java.net.URL, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.lang.String[], java.lang.String, java.io.PrintWriter)
              OracleDeployer.java:97
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.jdeveloper.deploy.sp.StoredProcProfile, java.lang.String, oracle.jdeveloper.model.JProject, java.net.URL, java.io.PrintWriter)
              StoredProcHandler.java:428
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.ide.addin.Context, java.lang.String, java.io.PrintWriter)
              StoredProcHandler.java:315
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.ide.addin.Context, java.lang.String)
              StoredProcHandler.java:257
         void oracle.jdevimpl.deploy.StoredProcProfileDt$3.run()
              StoredProcProfileDt.java:370
    The following operations failed
    resource connections.xml: creation
    oracle.aurora.server.tools.loadjava.ToolsException: Failures occurred during processing
         void oracle.aurora.server.tools.loadjava.LoadJava.process()
              LoadJava.java:700
         void oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(java.lang.String, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.lang.String, java.io.PrintWriter)
              OracleLoadjava.java:116
         void oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(java.lang.String, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.net.URL, java.io.PrintWriter)
              OracleLoadjava.java:46
         void oracle.jdevimpl.deploy.OracleDeployer.deploy(java.net.URL, oracle.jdeveloper.deploy.tools.LoadjavaOptions, java.lang.String[], java.lang.String, java.io.PrintWriter)
              OracleDeployer.java:97
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.jdeveloper.deploy.sp.StoredProcProfile, java.lang.String, oracle.jdeveloper.model.JProject, java.net.URL, java.io.PrintWriter)
              StoredProcHandler.java:428
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.ide.addin.Context, java.lang.String, java.io.PrintWriter)
              StoredProcHandler.java:315
         void oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(oracle.ide.addin.Context, java.lang.String)
              StoredProcHandler.java:257
         void oracle.jdevimpl.deploy.StoredProcProfileDt$3.run()
              StoredProcProfileDt.java:370
    #### Deployment incomplete. #### 01.12.2003 16:52:19

    I have Oracle-DB Server on Linux and Windows-2000.
    I try to deploy the Java-Function to Oracle-DB with JDevelopr.
    My Email: [email protected]
    Here are my deploy-Preview:
    -user
    <connect string>
    -order
    -resolve
    -noverify
    -debug
    -definer
    -force
    -synonym
    -verbose
    thanks
    MZ

  • FlexUnit 4 assert failures have "explosive" stack traces

    With FlexUnit 4 in Flash Builder 4 Plugin Beta, I created 1 suite with 1 class with 1 default failing test method. When I ran it, the assert failure had a call stack 60 methods high. Is this a bug?
    The stack trace has several "async" methods, e.g. applyExplosivelyAsync(). This seems strange because  I'm not using async at all. Is this intended behavior?
    Robert
    Test method Not yet implemented
           at flexunit.framework::Assert$/
    fail()[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\fluint\FlexU nit1Lib\src\flexunit\framework\Assert.as:370]
            at WidgetTest/testWidget()[C:\Users\robert.penner\Adobe Flash Builder
    Plug-in Beta 2\TestProject\src\WidgetTest.as:20]
            at Function/http://adobe.com/AS3/2006/builtin::apply()
            at flex.lang.reflect::Method/apply()[C:\Users\mlabriola\Documents\workspaces\net\digitalprim ates\opensource\flexunit\FlexUnit4\src\flex\lang\reflect\Method.as:124]
            at ReflectiveCallable/run()[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\open source\flexunit\FlexUnit4\src\org\flexunit\runners\model\FrameworkMethod.as:214]
            at org.flexunit.runners.model::FrameworkMethod/applyExplosivelyAsync()[C:\Users\mlabriola\Do cuments\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runn ers\model\FrameworkMethod.as:121]
            at org.flexunit.runners.model::FrameworkMethod/invokeExplosivelyAsync()[C:\Users\mlabriola\D ocuments\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\run ners\model\FrameworkMethod.as:132]
            at org.flexunit.internals.runners.statements::InvokeMethod/evaluate()[C:\Users\mlabriola\Doc uments\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\inter nals\runners\statements\InvokeMethod.as:52]
            at org.flexunit.internals.runners.statements::StackAndFrameManagement/evaluate()[C:\Users\ml abriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\fle xunit\internals\runners\statements\StackAndFrameManagement.as:94]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.token::AsyncTestToken/sendResult()[C:\Users\mlabriola\Documents\workspaces\n et\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\token\AsyncTestToken.as: 70]
            at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\AsyncStatementBase.as:44]
            at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\StatementSequencer.as:103]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:86]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.runners::BlockFlexUnit4ClassRunner/runChild()[C:\Users\mlabriola\Documents\w orkspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runners\Block FlexUnit4ClassRunner.as:104]
            at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()[C:\Users\mlabriola\Doc uments\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\inter nals\runners\ChildRunnerSequencer.as:49]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.token::AsyncTestToken/sendResult()[C:\Users\mlabriola\Documents\workspaces\n et\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\token\AsyncTestToken.as: 70]
            at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\AsyncStatementBase.as:44]
            at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\StatementSequencer.as:103]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:86]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.runners::ParentRunner/run()[C:\Users\mlabriola\Documents\workspaces\net\digi talprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runners\ParentRunner.as:315]
            at org.flexunit.runners::Suite/runChild()[C:\Users\mlabriola\Documents\workspaces\net\digita lprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runners\Suite.as:59]
            at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()[C:\Users\mlabriola\Doc uments\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\inter nals\runners\ChildRunnerSequencer.as:49]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.token::AsyncTestToken/sendResult()[C:\Users\mlabriola\Documents\workspaces\n et\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\token\AsyncTestToken.as: 70]
            at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\AsyncStatementBase.as:44]
            at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete()[C:\Users\mla briola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flex unit\internals\runners\statements\StatementSequencer.as:103]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:86]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.internals.runners.statements::StatementSequencer/executeStep()[C:\Users\mlab riola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexu nit\internals\runners\statements\StatementSequencer.as:62]
            at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )[C:\Users\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit 4\src\org\flexunit\internals\runners\statements\StatementSequencer.as:82]
            at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()[C:\Users\mlabrio la\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit \internals\runners\statements\StatementSequencer.as:68]
            at org.flexunit.runners::ParentRunner/run()[C:\Users\mlabriola\Documents\workspaces\net\digi talprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runners\ParentRunner.as:315]
            at org.flexunit.runner::FlexUnitCore/beginRunnerExecution()[C:\Users\mlabriola\Documents\wor kspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\runner\FlexUnit Core.as:177]
            at org.flexunit.token::AsyncListenersToken/sendReady()[C:\Users\mlabriola\Documents\workspac es\net\digitalprimates\opensource\flexunit\FlexUnit4\src\org\flexunit\token\AsyncListeners Token.as:59]
            at org.flexunit.runner.notification.async::AsyncListenerWatcher/sendReadyNotification()[C:\U sers\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\ org\flexunit\runner\notification\async\AsyncListenerWatcher.as:87]
            at org.flexunit.runner.notification.async::AsyncListenerWatcher/handleListenerReady()[C:\Use rs\mlabriola\Documents\workspaces\net\digitalprimates\opensource\flexunit\FlexUnit4\src\or g\flexunit\runner\notification\async\AsyncListenerWatcher.as:97]
            at flash.events::EventDispatcher/dispatchEventFunction()
            at flash.events::EventDispatcher/dispatchEvent()
            at flexunit.flexui::FlexUnit4TestRunner/handleConnect()[C:\work\flex\ide_builder\com.adobe.f lexbuilder.flexunit\flexunitframework\src\flexunit\flexui\FlexUnit4TestRunner.as:296]
            at flash.events::EventDispatcher/dispatchEventFunction()
            at flash.events::EventDispatcher/dispatchEvent()
            at flash.net::XMLSocket/reflectEvent()

    Not a bug and fully expected behavior.
    FlexUnit 4 is really just a collection of runners that can handle just about anything that is thrown at it as well as handle any pluggable runners that others write. The level of extensibility comes with some complexity. So, by the time that single method of yours is executed, there are actually probably a hundreds methods in the framework for getting everything setup, inspected and ready to go.
    The stacktrace always looks up the stack from your failure to the last point where a particular chunk of code execution began, so the 60 is basically just that number of methods. There isn't a whole lot that can be done about it save for eventually provinding filtering to eliminate showing some of our stuff and making the track more legible.
    Regarding the async thing, your method isn't async but FlexUnit4 is. Inside of the Flash Player we are operating on frames. We don't have the luxury of threads and the like that Java has, so we have to handle the possibility that something might be async on a much deeper level. We also do something called green threading where we actually watch how much time we take in execution. Once we have taken 90% ish of the time available in a given frame, we wait until the next one before we begin executing again. This allows us to run long and compelx test suites without getting a timeout from the flash player (which happens if any single frame takes longer than 15 seconds to execute). So, even though your method isn't doing anything async, all of these other pieces have to account for the chance that something will be. Hence the reason that you see async pieces in the stack trace.
    Hope that helps,
    Mike

  • Loadjava gives ORA-29516: Assertion failure at eox.c:232

    I was trying to test on the loadjava and Java Stored Procedure capabilities on Oracle 9i Release 2.
    I ran into the following error when I tried to load a number of Oracle jar library files into the database (in order to resolve my class using org.apache.soap packages).
    Error while computing shortname of org/apache/soap/Utils
    ORA-29516: Aurora assertion failure: Assertion failure at eox.c:232
    Uncaught exception Root of all Java exceptions: java.lang.NullPointerException
    ORA-06512: at "SYS.DBMS_JAVA", line 213
    ORA-06512: at line 1
    I ran the following command:
    loadjava -thin -user system/manager@<host>:1521:local -resolve -synonym -verbose -grant public
    D:/jdev9i/soap/lib/soap.jar D:/jdev9i/lib/dms.jar D:/jdev9i/jlib/javax-ssl-1_1.jar
    C:/ora81/lib/servlet.jar D:/jdev9i/jdk/jre/lib/ext/mail.jar
    Does anyone has any idea how I can resolve this problem? Response is appreciated. Thanks!

    I have Oracle-DB Server on Linux and Windows-2000.
    I try to deploy the Java-Function to Oracle-DB with JDevelopr.
    My Email: [email protected]
    Here are my deploy-Preview:
    -user
    <connect string>
    -order
    -resolve
    -noverify
    -debug
    -definer
    -force
    -synonym
    -verbose
    thanks
    MZ

  • Assertion Failure with Forte CC 5.3 on Sol8

    Hi,
    I am getting the following assertion failure on Sol8. I am using Sun Forte 6.2 (C++ Compiler 5.3)
    =========================
    Assertion failure in prep_dot
    >> Assertion: (../links/prepexpression.cc, line 560)
    while processing Component.C at line 468.
    ==========================
    Can anyone suggest how may be this error be rectified
    Thanks and regards,
    Bhaskar

    I have found the patch for this problem
    (Patch Id: 109490-01), but, it requries you to upgrade to Forte 6.0. If you found a patch for Workshop 5.0 then please let me know. I don't want to do an upgrade just because of one bug.

  • EthChnl assert failure on 3850 switch

    Any Idea What is this error message all about.  
    M2-CCTV-DS(config)#int port-channel 10
    int port-channel 10
                     ^
    % Invalid input detected at '^' marker.
    M2-CCTV-DS(config)#
    May 23 13:06:13: EthChnl assert failure: ag == NULL: ../switch/pagp/pagp_switch.c: 1137
    May 23 13:06:13: -Traceback= 1#830db5fd318976b0280defe233875463  :10000000+1540BE8 :100000
    00+F65FF8 :10000000+F67DA8 :10000000+146C060 :10000000+144D1DC :10000000+156604C :10000000
    +1451160 :10000000+D351B0 :10000000+146839C :10000000+27AC29C
    May 23 13:06:13: EthChnl assert failure: ag == NULL: ../switch/pagp/pagp_switch.c: 1137
    May 23 13:06:13: -Traceback= 1#830db5fd318976b0280defe233875463  :10000000+1540BE8 :100000
    00+F65FF8 :10000000+F67DA8 :10000000+146C060 :10000000+144D1DC :10000000+145131C :10000000
    +D351B0 :10000000+146839C :10000000+27AC29C
    M2-CCTV-DS(config)#
    M2-CCTV-DS#sh version
    Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.02.02.SE RELEASE SOFTWARE (fc2)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2013 by Cisco Systems, Inc.
    Compiled Fri 14-Jun-13 19:24 by prod_rel_team
    Cisco IOS-XE software, Copyright (c) 2005-2013 by cisco Systems, Inc.
    All rights reserved.  Certain components of Cisco IOS-XE software are
    licensed under the GNU General Public License ("GPL") Version 2.0.  The
    software code licensed under GPL Version 2.0 is free software that comes
    with ABSOLUTELY NO WARRANTY.  You can redistribute and/or modify such
    GPL code under the terms of GPL Version 2.0.
    (http://www.gnu.org/licenses/gpl-2.0.html) For more details, see the
    documentation or "License Notice" file accompanying the IOS-XE software,
    or the applicable URL provided on the flyer accompanying the IOS-XE
    software.
    ROM: IOS-XE ROMMON
    BOOTLDR: C3850 Boot Loader (C3850-HBOOT-M) Version 1.1, RELEASE SOFTWARE (P)
     --More--         M2-CCTV-DS uptime is 11 weeks, 4 hours, 23 minutes
    Uptime for this control processor is 11 weeks, 4 hours, 25 minutes
    System returned to ROM by reload
    System restarted at 10:51:15 SG Wed Dec 4 2013
    System image file is "flash:packages.conf"
    Last reload reason: Reload command
    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.
    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
    If you require further assistance please contact us by sending email to
    [email protected].
     --More--         License Level: Ipbase
    License Type: Permanent
    Next reload license Level: Ipbase
    cisco WS-C3850-24T (MIPS) processor with 4194304K bytes of physical memory.
    Processor board ID FOC1739X037
    3 Virtual Ethernet interfaces
    56 Gigabit Ethernet interfaces
    8 Ten Gigabit Ethernet interfaces
    2048K bytes of non-volatile configuration memory.
    4194304K bytes of physical memory.
    250456K bytes of Crash Files at crashinfo:.
    1609272K bytes of Flash at flash:.
    0K bytes of Dummy USB Flash at usbflash0:.
    0K bytes of  at webui:.
    250456K bytes of Crash Files at crashinfo-2:.
    1609272K bytes of Flash at flash-2:.
    0K bytes of Dummy USB Flash at usbflash0-2:.
    Base Ethernet MAC Address          : 34:db:fd:a0:23:80
    Motherboard Assembly Number        : 73-12238-06
    Model Revision Number              : F0
    Motherboard Revision Number        : D0
     --More--         Model Number                       : WS-C3850-24T
    System Serial Number               : FOC1739X037
    Switch Ports Model              SW Version        SW Image              Mode   
         1 32    WS-C3850-24T       03.02.02.SE       cat3k_caa-universalk9 INSTALL
         2 32    WS-C3850-24T       03.02.02.SE       cat3k_caa-universalk9 INSTALL
    Switch 02
    Switch uptime                      : 7 minutes
    Base Ethernet MAC Address          : 50:17:ff:d6:8f:00
    Motherboard Assembly Number        : 73-12238-06
    Model Revision Number              : F0
    Motherboard Revision Number        : D0
    Model Number                       : WS-C3850-24T
    Configuration register is 0x102

    Hi friend,
    Our campus core switches (6509) are installed in VSS 1440 architecture. On 'logging console', we get similar messages.
    *Jan 16 11:15:00.945: SW1_SP: EthChnl assert failure: swidb2: ../switch/pagp/pagp_switch_util.c: 837
    *Jan 16 11:15:00.945: SW1_SP: -Traceback= 416A8CA0 416B5130 416B7020 416B7CAC 416B49B4 416ADCA8 408A2DDC 408A2DC8
    *Jan 16 11:15:00.945: SW1_SP: EthChnl assert failure: swidb2: ../switch/pagp/pagp_switch_util.c: 837
    *Jan 16 11:15:00.945: SW1_SP: -Traceback= 416A8CA0 416B5130 416B7020 416B7CAC 416B49B4 416ADCA8 408A2DDC 408A2DC8
    The IOS Version is 12.2(33)SXI4a  on our VS-S720-10G 5 ports Supervisor Engine 720 10GE. We are running almost latest IOS. The switches are in production now. Any idea on what really causing this message to appear? How can I resolve this? If a software upgrade helps, then what is the best way to upgrade two VSS switches with in a short downtime?
    Please assist,
    Best regards,

  • Assertion failure at sjonio.c:92

    I created a java stored procedure that sends snmp traps. I use an API from westhawk. So, I had to load all the classes in Oracle 8.1.6. Everything works find but the call never returns the control to the client.
    Then I realized that there was an unclosed threat so i closed it.
    But now a new error appears:
    ORA-29516: Aurora Assertion failure: Assertion failure at sjonio.c:92
    WaitForMultipleObjects failed: errno = 6
    And i don4t know how to solve it.
    Thanks in advance,

    Pedro,
    Sounds like an interesting problem (never seen this before). Can you post some sample code? I'll try debugging through it.
    Regards,
    -Dan
    http://www.compuware.com/products/numega/dbpartner/dbpordebug.htm
    Debug PL/SQL and Java in the Oracle Database

  • Getting assert failure from xcodebuild, need help.

    HI all, I've just started using xcode build to build a static library project. Inside xcode the project builds and runs fine. But when I build at the command line using xcode build I get the following error. Does anyone have any ideas what could be wrong?
    2010-06-06 23:33:11.908 xcodebuild\[10808:80b\] \[MT\] ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1648/pbxcore/Target.subproj/PBXTarget.m: 597
    Details: Assertion failed: (nil == _buildContext) || (nil == \[_buildContext target\])
    Object: <PBXLegacyTarget:0x104962a00>
    Method: -dealloc
    Thread: <NSThread: 0x100b14190>{name = (null), num = 1}
    Backtrace:
    0 0x000000010035feaf -\[XCAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:\] (in DevToolsCore)
    1 0x000000010035fc1a _XCAssertionFailureHandler (in DevToolsCore)
    2 0x00000001002790d1 -\[PBXTarget dealloc\] (in DevToolsCore)
    3 0x00000001002911e8 -\[PBXLegacyTarget dealloc\] (in DevToolsCore)
    4 0x00000001002c5b16 -\[PBXTargetBookmark dealloc\] (in DevToolsCore)
    5 0x00007fff8224ff71 __CFBasicHashStandardCallback (in CoreFoundation)
    6 0x00007fff82250931 __CFBasicHashDrain (in CoreFoundation)
    7 0x00007fff822396b3 _CFRelease (in CoreFoundation)
    8 0x0000000100254171 -\[PBXProject dealloc\] (in DevToolsCore)
    9 0x00007fff82262d56 _CFAutoreleasePoolPop (in CoreFoundation)
    10 0x00007fff841b530c -\[NSAutoreleasePool drain\] (in Foundation)
    11 0x000000010000c60d
    12 0x00000001000014f4
    13 0x0000000000000007
    ** INTERNAL ERROR: Uncaught Exception **
    Exception: ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1648/pbxcore/Target.subproj/PBXTarget.m: 597
    Details: Assertion failed: (nil == _buildContext) || (nil == \[_buildContext target\])
    Object: <PBXLegacyTarget:0x104962a00>
    Method: -dealloc
    Thread: <NSThread: 0x100b14190>{name = (null), num = 1}
    Backtrace:
    0 0x000000010035feaf -\[XCAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:\] (in DevToolsCore)
    1 0x000000010035fc1a _XCAssertionFailureHandler (in DevToolsCore)
    2 0x00000001002790d1 -\[PBXTarget dealloc\] (in DevToolsCore)
    3 0x00000001002911e8 -\[PBXLegacyTarget dealloc\] (in DevToolsCore)
    4 0x00000001002c5b16 -\[PBXTargetBookmark dealloc\] (in DevToolsCore)
    5 0x00007fff8224ff71 __CFBasicHashStandardCallback (in CoreFoundation)
    6 0x00007fff82250931 __CFBasicHashDrain (in CoreFoundation)
    7 0x00007fff822396b3 _CFRelease (in CoreFoundation)
    8 0x0000000100254171 -\[PBXProject dealloc\] (in DevToolsCore)
    9 0x00007fff82262d56 _CFAutoreleasePoolPop (in CoreFoundation)
    10 0x00007fff841b530c -\[NSAutoreleasePool drain\] (in Foundation)
    11 0x000000010000c60d
    12 0x00000001000014f4
    13 0x0000000000000007
    Stack:
    0 0x00007fff822ded06 __exceptionPreprocess (in CoreFoundation)
    1 0x00007fff832470f3 objcexceptionthrow (in libobjc.A.dylib)
    2 0x00007fff823369b9 -\[NSException raise\] (in CoreFoundation)
    3 0x000000010035ff6a -\[XCAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:\] (in DevToolsCore)
    4 0x000000010035fc1a _XCAssertionFailureHandler (in DevToolsCore)
    5 0x00000001002790d1 -\[PBXTarget dealloc\] (in DevToolsCore)
    6 0x00000001002911e8 -\[PBXLegacyTarget dealloc\] (in DevToolsCore)
    7 0x00000001002c5b16 -\[PBXTargetBookmark dealloc\] (in DevToolsCore)
    8 0x00007fff8224ff71 __CFBasicHashStandardCallback (in CoreFoundation)
    9 0x00007fff82250931 __CFBasicHashDrain (in CoreFoundation)
    10 0x00007fff822396b3 _CFRelease (in CoreFoundation)
    11 0x0000000100254171 -\[PBXProject dealloc\] (in DevToolsCore)
    12 0x00007fff82262d56 _CFAutoreleasePoolPop (in CoreFoundation)
    13 0x00007fff841b530c -\[NSAutoreleasePool drain\] (in Foundation)
    14 0x000000010000c60d
    15 0x00000001000014f4
    16 0x0000000000000007
    [code]

    Ok trash your pbxuser and persperctivev3 files
    http://stackoverflow.com/questions/2983847/xcodebuild-throws-assert-failures-aft er-successful-build

  • Locking assertion failure on libxcb-xlib

    Hi everyone.
    As i'm trying to setup my Ubuntu, i'm encountering some issues with sql developer.
    When i'm trying to launch the application, i'm having a grey ad empty screen with hinting me towards a java problem.
    I've installed Eclipse and have no problem runing it.
    Here is the logtrace i'm having after starting sql developer :
    Locking assertion failure. Backtrace:
    #0 /usr/lib/libxcb-xlib.so.0 [0xb078c7c7]
    #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb078c891]
    #2 /usr/lib/libX11.so.6(_XReply+0x254) [0xb07d1494]
    #3 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/xawt/libmawt.so [0xb08cbd3e]
    #4 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/xawt/libmawt.so [0xb08b5d47]
    #5 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/xawt/libmawt.so [0xb08b5ec3]
    #6 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0xb08b6106]
    #7 [0xb2496c4b]
    #8 [0xb2490b3b]
    #9 [0xb2490b3b]
    #10 [0xb248e217]
    #11 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/client/libjvm.so [0xb78fad8c]
    #12 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/client/libjvm.so [0xb7a0efd8]
    #13 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/client/libjvm.so [0xb78fabbf]
    #14 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x32d) [0xb795834d]
    #15 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb74292cd]
    #16 [0xb24964eb]
    #17 [0xb2490a64]
    #18 [0xb248e217]
    #19 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/client/libjvm.so [0xb78fad8c]
    Locking assertion failure. Backtrace:
    #0 /usr/lib/libxcb-xlib.so.0 [0xb078c7c7]
    #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb078c96e]
    #2 /usr/lib/libX11.so.6 [0xb07d0619]
    #3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xb07c6666]
    #4 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/xawt/libmawt.so [0xb08b5089]
    #5 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/xawt/libmawt.so [0xb08b52d3]
    #6 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/xawt/libmawt.so [0xb08b5f71]
    #7 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0xb08b6106]
    #8 [0xb2496c4b]
    #9 [0xb2490b3b]
    #10 [0xb2490b3b]
    #11 [0xb248e217]
    #12 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/client/libjvm.so [0xb78fad8c]
    #13 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/client/libjvm.so [0xb7a0efd8]
    #14 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/client/libjvm.so [0xb78fabbf]
    #15 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x32d) [0xb795834d]
    #16 /home/clmas/Apps/java/jdk1.5.0_11/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb74292cd]
    #17 [0xb24964eb]
    #18 [0xb2490a64]
    #19 [0xb248e217]
    THANKS FOR THE HELP !

    Believe it or not, but I'm actually unable to start Opera 9.25 at all. Latest version should in many cases work with Java though. See here: http://my.opera.com/Jada0007/blog/2008/ … t#comments
    I guess it might be some problem with KDEmod?
    EDIT: I got it working. Posted in Opera forums.
    Last edited by Ub1476 (2008-02-19 12:05:29)

  • Locking assertion failure

    I'm on Fedora 9.
    $ java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build 1.6.0-b105)
    Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)
    Every java project that I run that has Swing components in it always starts with some kind of "Locking assertion failure", but seems to run fine anyways. Is there some way to make that go away?
    $ java mySwing
    Locking assertion failure.  Backtrace:
    #0 /usr/lib/libxcb-xlib.so.0 [0xc33767]
    #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xc33831]
    #2 /usr/lib/libX11.so.6(_XReply+0x244) [0xb54f64]
    #3 /usr/lib/jdk1.6.0/jre/lib/i386/xawt/libmawt.so [0xad61522e]
    #4 /usr/lib/jdk1.6.0/jre/lib/i386/xawt/libmawt.so [0xad5f3ed7]
    #5 /usr/lib/jdk1.6.0/jre/lib/i386/xawt/libmawt.so [0xad5f4188]
    #6 /usr/lib/jdk1.6.0/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xad5f448f]
    #7 [0xb5ff467e]
    #8 [0xb5fece9d]
    #9 [0xb5fece9d]
    #10 [0xb5fea207]
    #11 /usr/lib/jdk1.6.0/jre/lib/i386/client/libjvm.so [0x620967d]
    #12 /usr/lib/jdk1.6.0/jre/lib/i386/client/libjvm.so [0x63057d8]
    #13 /usr/lib/jdk1.6.0/jre/lib/i386/client/libjvm.so [0x6209510]
    #14 /usr/lib/jdk1.6.0/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b) [0x625f38b]
    #15 /usr/lib/jdk1.6.0/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb800596d]
    #16 [0xb5ff467e]
    #17 [0xb5fecd37]
    #18 [0xb5fea207]
    #19 /usr/lib/jdk1.6.0/jre/lib/i386/client/libjvm.so [0x620967d]
    Locking assertion failure.  Backtrace:
    #0 /usr/lib/libxcb-xlib.so.0 [0xc33767]
    #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xc3390e]
    #2 /usr/lib/libX11.so.6 [0xb54109]
    #3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xb4a1f6]
    #4 /usr/lib/jdk1.6.0/jre/lib/i386/xawt/libmawt.so [0xad5f3189]
    #5 /usr/lib/jdk1.6.0/jre/lib/i386/xawt/libmawt.so [0xad5f33d5]
    #6 /usr/lib/jdk1.6.0/jre/lib/i386/xawt/libmawt.so [0xad5f4239]
    #7 /usr/lib/jdk1.6.0/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xad5f448f]
    #8 [0xb5ff467e]
    #9 [0xb5fece9d]
    #10 [0xb5fece9d]
    #11 [0xb5fea207]
    #12 /usr/lib/jdk1.6.0/jre/lib/i386/client/libjvm.so [0x620967d]
    #13 /usr/lib/jdk1.6.0/jre/lib/i386/client/libjvm.so [0x63057d8]
    #14 /usr/lib/jdk1.6.0/jre/lib/i386/client/libjvm.so [0x6209510]
    #15 /usr/lib/jdk1.6.0/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b) [0x625f38b]
    #16 /usr/lib/jdk1.6.0/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb800596d]
    #17 [0xb5ff467e]
    #18 [0xb5fecd37]
    #19 [0xb5fea207]

    Actually yes, I had done a search before, but none of the ones that came up had a solution that worked for me.
    The proposed 'hack' solution is:
    sed -i 's/XINERAMA/FAKEEXTN/g' /opt/java/jre/lib/<something>/libmawt.so
    which doesn't help me because I don't have a /opt/java directory.
    $ which java
    /usr/bin/java
    but that's not a directory, and there's no jre directory in /usr/bin
    $ find / -name "libmawt.so"
    /home/cb2317/java/src/jdk1.6.0_10/jre/lib/i386/xawt/libmawt.so
    /home/cb2317/java/src/jdk1.6.0_10/jre/lib/i386/headless/libmawt.so
    /home/cb2317/java/src/jdk1.6.0_10/jre/lib/i386/motif21/libmawt.so
    $ sed -i 's/XINERAMA/FAKEEXTN/g' /home/cb2317/java/src/jdk1.6.0_10/jre/lib/i386/xawt/libmawt.so
    $ java -jar lateralgm.jar
    Locking assertion failure. Backtrace:
    #0 /usr/lib/libxcb-xlib.so.0 [0xc33767]
    #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xc33831]
    #2 /usr/lib/libX11.so.6(_XReply+0x244) [0xb54f64]
    So the problem persists.
    Edited by: IsmAvatar on Aug 4, 2008 10:24 AM

  • How to monitor OSD TS failure and get alert or report?

    How to monitor OSD TS failure and get some alert or generate an report?
    We have SCCM 2012 R2 CU1 with MDT 2013.
    I have checked the OSD reports in SCCM and everyone is emty, where do SCCM get data to the what to activate?
    (I thinking of "Task Sequence - Deployment Status" reports)
    I am not sure people read report manually or lock at the MDT monitor view. So best I think that generate an email or incident in Service Manager when an TS fails.
    We do have SCOM, SCSM, SCO.
    Is there anyone that can point what way or what option I have?
    /SaiTech

    Specifically you could use this Status Message Query syntax to monitor your Task Sequences for errors:
    select stat.*, ins.*, att1.*, att1.AttributeTime from SMS_StatusMessage as stat left join SMS_StatMsgInsStrings as ins on stat.RecordID = ins.RecordID left join SMS_StatMsgAttributes as att1 on stat.RecordID = att1.RecordID inner join SMS_StatMsgAttributes
    as att2 on stat.RecordID = att2.RecordID where att2.AttributeID = 401 and att2.AttributeValue = "DOJ200A1" and stat.SiteCode = "DOJ" and att2.AttributeTime >= ##PRM:SMS_StatMsgAttributes.AttributeTime## order by att1.AttributeTime desc
    Just replace DOJ200A1 with the Deployment ID of your Task Sequence and DOJ with your SiteCode.
    If you want to generate an alert if the TS fails then you could run a script that calls a utility (or similar) which sends a pre-configured email to a specified address (as an alternative to Torten's response). This could be placed in the built in error
    logging section of the SCCM integrated MDT Task Sequence when it fails which I assume you are using (right at the bottom, called Gather Logs and StateStore on failure).
    There are heaps of ways of generating an email from a TS and controlling error logging just do a search - as you have Service Manager you could even use your instance of Orchestrator and call a run book in your TS which does the email?
    Cheers
    Damon

  • Apple Mail Assertion Failure

    Hi,
    My company uses Office 365 for hosted Exchange email. We have 1 user who uses Apple Mail on OSX 10.7 to connect to the server in Exchange mode (using EWS). This was working great until a few days ago where he has sporadic connection problems. Reproducable situation below:
    1) Select 100 emails in any given folder
    2) Drag/drop those emails into another folder to move them there
    3) They will start moving but it will fail at somepoint and give the message "Cannot execute move operation".
    4) After that message appears it is usually several minutes before he can try again or send any emails.
    5) Trying to send an email immediately after the error message results in the "Cannot send message using the server" dialog where you are prompted to select a different server to send the message. Choosing an SMTP server results in the message being sent but sometimes (and only sometimes) the message is resent a couple of hours later through the exchange system.
    We are getting a million of the following assertion failure messages in the console:
    06-06-2012 12:22:05.518  Mail: *** Assertion failure in -[EWSGetFolderResponseOperation handleResponseMessage:withObject:], /SourceCache/Message/Message-1278/MessageStores.subproj/EWSResponseOperation.m: 340
    EWS did something wrong: An internal server error occurred. The operation failed. on EWS response <EWSGetFolderResponseOperation: 0x7fb9cb1ae620> (EXECUTING)
    0   Message 0x00007fff8f712ef8 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 116
    1   Message 0x00007fff8f71308e -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 185
    2   Message 0x00007fff8f662c64 -[EWSResponseOperation handleResponseMessage:withObject:] + 556
    3   Message 0x00007fff8f656eb6 __-[EWSGetFolderResponseOperation executeOperation]_block_invoke_1 + 77
    4   CoreFoundation 0x00007fff87979cee __NSArrayEnumerate + 718
    5   Message 0x00007fff8f6572ae -[EWSGetFolderResponseOperation executeOperation] + 453
    6   Message 0x00007fff8f73397f -[MonitoredOperation main] + 228
    7   Foundation 0x00007fff9152e6b4 -[__NSOperationInternal start] + 705
    8   Foundation 0x00007fff91541912 ____NSOQSchedule_block_invoke_2 + 124
    9   libdispatch.dylib 0x00007fff8a798a86 _dispatch_call_block_and_release + 18
    10  libdispatch.dylib 0x00007fff8a799965 _dispatch_worker_thread2 + 255
    11  libsystem_c.dylib 0x00007fff8c83b3da _pthread_wqthread + 316
    12  libsystem_c.dylib 0x00007fff8c83cb85 start_wqthread + 13
    06-06-2012 12:22:05.518  Mail: Recieved EWS error: Error Domain=MFEWSErrorDomain Code=94 "An internal server error occurred. The operation failed." UserInfo=0x7fb9cecbb7c0 {NSLocalizedDescription=An internal server error occurred. The operation failed.}
    We have tried deleting the account and making a new one. As well as removing the mailbox folder (~/Library/Mail/V2/EWS-*) and the Apple Mail plist file. We have also setup the email on a different Mac (also OSX 10.7) but we still get the same assertion failure message.
    This user's email account works fine in Outlook on Windows and Mac (Outlook 2010 and 2011) and it also works fine through the online web portal. Outlook 2011 Mac uses EWS (the same protocol Apple Mail uses) and it's not throwing any errors and everything works properly so that is leading me to believe it's an issue with Apple Mail.
    Perhaps related, perhaps not, but the user's iPhone and iPad have also stopped working properly with the account. They will sometimes connect but a lot of the time they give an error message about not being able to connect to the server. This leads us to believe it's an exchange server problem, but then why does it work in Outlook and the online portal without any problems? It's only the Apple products that are falling apart.

    I ended up having to reproduce the problem in Outlook 2011 Mac before O365 support would help me. Apparently Apple Mail isn't one of the officially supported clients so they weren't going to figure it out for me. Once they ran out of ideas they just gave me the "Apple Mail is officially supported" excuse and stopped helping me.
    Although we weren't initially having the problem in Outlook 2011 Mac it did start giving tons of errors during certain operations (with a -19907 error code) after a while. Not sure why it started doing that ... but it did. This was only happening with one of our user's accounts so it had to be something server-side that was the problem. I eventually got a support ticket in their system (despite being a P1 plan holder) so that they could call me. We did some Wireshark capturing to try to diagnose the problem but by that time the problem had fixed itself.

  • Assertion failure error while using hierarchy column in 11.1.1.7.1

    Hi all,
    I have done In-place upgrade of OBIEE from 11.1.1.5 to 11.1.1.7. Afterthat installed 11.1.1.7.1 patchset also.
    Dashboard prompts were created by using hierarchy column. While applying hierarchy prompt i am getting below error
    Assertion failure: levels.size() > start_pos at line 843 of project/weblayoutbuilder/viewlayoutbuilderutil.cpp
      Error Details
    Error Codes: ACIOA5LN
    Some times presentation services will restarted automatically.
    Kindly give a solution regarding this.
    Thanks in advance

    This is occuring due to Bug 17334677 in 11.1.1.7.0. It has been fixed in future versions and backported to SOA BPM 11.1.1.7.0 Apply Patch 17334677

  • Assertion failure error after upgrading obiee 11.1.1.5 to 11.1.1.7

    Hi all,
    I have completed In place upgrade of obiee 11.1.1.5 to 11.1.1.7.
    While opening dashboards i am getting below error
    Assertion failure: nCodeValuesSize == nDisplayValueSize at line 929 of project/webreport/promptedconfiguration.cpp
    Error Codes: ACIOA5LN
    Guide me ASAP.
    Thanks in advance

    Thanks.
    While running configuration assistant web catalog will be upgraded automatically.

Maybe you are looking for