Sun Studio Debugging problem

Hello
I need help configuring the Sun studio debugger to work in fedora 8. The project is loaded from a make file, compiles fine, and runs fine. However, I can not place break points, and when I start the visual debugger, it gives a message box titled progress, and hangs on saying: starting debugger: /lib/libc.so.6
Running from the command line gives me:
$dbx <my program>
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.6' in your .dbxrc
Reading <my program>
Reading ld-linux.so.2
Reading libm.so.6
Reading libmpich.so.1.1
Reading libpthread.so.0
Reading librt.so.1
Reading libc.so.6
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: panic: "ThreadAgent::setup_helper"(): Assertion (ta_td_agent) failed - "thread.cc":2674
I have another problem in debugging an mpi problem in another installation of Sun Studio on Solaris 10 on a Sun machine. The visual debugger is working fine there, however, I need to debug with mpirun
to decide the number of processors, because by default it loads the application on one processor. Iwill need to do this as well later on the linux machine I am using now, which doesn't even start the debugger on a sequential code so far.
I appreciate your help a lot.
Thank you very much in advance.
Manal

mhelal wrote:
Hi
Thank you for your reply. you said 2 problems,Yes, basically I meant these two:
1. dbx: warning: unknown location expression code (0xe0)
2. dbx: panic: "ThreadAgent::setup_helper"(): Assertion (ta_td_agent) failed - "thread.cc":2674
First one should be fixed in dbx itself, but the second looks like an incompatibility between Fedora's libc and dbx; unless distros in "supported" list upgrade to the same version of libc, dbx can't be changed to match it.
In other words, I'm sorry to say that you will probably not succeed in using dbx on Fedora 8 for the time being.

Similar Messages

  • Sun Studio newbie problems

    Health!
    I'm very excited to use Netbeans in our C/C++ project for linux because is my favourite IDE for java and I've evaluated other environments (kdevelop, codeblocks, anjuta, eclipse, etc) and i've found at the end that SunStudio fits my needs (autotools project, good symbol browsing ... I miss "Find usages..." ;-).
    Alls seems perfect, but I have an anoying problem debugging postgresql. I've downloaded the latest version and I created a project. I've compiled it with both SunStudio and GCC toolchains but my problem persists: I can't debug postgre's bin/initdb. When I try to debug this executable inside SunStudio dbx frozens after reading symbols (the little dialog with the progress bar stops) and no more errors are shown on dbx console (only warnings):
    - Dbx console -----------------------------------------------------------------------------------------
    Reading initdb
    Reading ld-linux.so.2
    dbx: internal warning: Mismatched checksum - file /lib/ld-2.4.so has 240df4c3, expecting 96bfbe8d
    Reading libpq.so.5
    Reading libz.so.1
    dbx: internal warning: Mismatched checksum - file /usr/lib/libz.so.1.2.3 has 860f4619, expecting 702c3ab4
    Reading libreadline.so.5
    Reading libcrypt.so.1
    dbx: internal warning: Mismatched checksum - file /lib/tls/i686/cmov/libcrypt-2.4.so has b425c94f, expecting fb5386b8
    Reading libdl.so.2
    dbx: internal warning: Mismatched checksum - file /lib/tls/i686/cmov/libdl-2.4.so has 37737ec1, expecting 5f878f92
    Reading libm.so.6
    dbx: internal warning: Mismatched checksum - file /lib/tls/i686/cmov/libm-2.4.so has 786b232d, expecting 6438b370
    Reading libc.so.6
    dbx: internal warning: Mismatched checksum - file /lib/tls/i686/cmov/libc-2.4.so has 64f71bbd, expecting c34120d0
    Reading libncurses.so.5------------------------------------------------------------------------------------------
    I've seen the error logs on ~/.sunstudio/.../var/log/messages.log and I see very strange exceptions, but I think that only those of "unsaved_sources" are relative to dbx:
    - message.log (i've edited these lines) ---------------------------------------------------------------------
    ConfigurationDescriptorProvider: I/O in EQ is not good idea
    java.lang.ClassNotFoundException: org.netbeans.modules.java.project.PackageViewSettings
         at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:165)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at org.netbeans.modules.options.general.GeneralOptionsPanel.update(GeneralOptionsPanel.java:246)
         at org.netbeans.modules.options.general.GeneralOptionsPanelController.update(GeneralOptionsPanelController.java:40)
         at org.netbeans.modules.options.OptionsPanel.<init>(OptionsPanel.java:312)
         at org.netbeans.modules.options.OptionsWindowAction.actionPerformed(OptionsWindowAction.java:89)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.ClassNotFoundException: org.netbeans.modules.java.project.PackageViewSettings
         at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:165)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at org.netbeans.modules.options.general.GeneralOptionsPanel.applyChanges(GeneralOptionsPanel.java:305)
         at org.netbeans.modules.options.general.GeneralOptionsPanelController.applyChanges(GeneralOptionsPanelController.java:44)
         at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:401)
         at org.netbeans.modules.options.OptionsWindowAction$OptionsPanelListener$1.run(OptionsWindowAction.java:187)
         at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
         at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
    java.lang.ClassNotFoundException: org.netbeans.modules.java.project.PackageViewSettings
         at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:165)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at org.netbeans.modules.options.general.GeneralOptionsPanel.update(GeneralOptionsPanel.java:246)
         at org.netbeans.modules.options.general.GeneralOptionsPanelController.update(GeneralOptionsPanelController.java:40)
         at org.netbeans.modules.options.OptionsPanel.update(OptionsPanel.java:392)
         at org.netbeans.modules.options.OptionsWindowAction.actionPerformed(OptionsWindowAction.java:116)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    *********** Exception occurred ************ at 2:29 PM on Jul 5, 2007
    java.util.EmptyStackException
         at java.util.Stack.peek(Stack.java:85)
         at java.util.Stack.pop(Stack.java:67)
         at org.netbeans.modules.cnd.execution.OutputWindowWriter$GCCErrorParser.handleLine(OutputWindowWriter.java:405)
         at org.netbeans.modules.cnd.execution.OutputWindowWriter.handleLine(OutputWindowWriter.java:157)
         at org.netbeans.modules.cnd.execution.OutputWindowWriter.write(OutputWindowWriter.java:81)
         at java.io.Writer.write(Writer.java:96)
         at java.io.PrintWriter.write(PrintWriter.java:361)
    [catch] at org.netbeans.modules.cnd.execution.NativeExecution$OutputReaderThread.run(NativeExecution.java:184)
    *********** Exception occurred ************ at 2:35 PM on Jul 5, 2007
    java.lang.NoSuchMethodError: java.lang.ThreadDeath: method <init>(Ljava/lang/String;)V not found
         at com.sun.tools.debugger.dbxgui.debugger.Executor$Tracker.print(Executor.java:105)
         at com.sun.tools.debugger.dbxgui.debugger.Executor$Tracker.run(Executor.java:135)
    [catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131)
    *********** Exception occurred ************ at 2:36 PM on Jul 5, 2007
    java.lang.NoSuchMethodError: java.lang.ThreadDeath: method <init>(Ljava/lang/String;)V not found
         at com.sun.tools.debugger.dbxgui.debugger.Executor$Tracker.print(Executor.java:105)
         at com.sun.tools.debugger.dbxgui.debugger.Executor$Tracker.run(Executor.java:135)
    [catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131)
    *********** Exception occurred ************ at 2:46 PM on Jul 5, 2007
    java.lang.NoSuchMethodError: java.lang.ThreadDeath: method <init>(Ljava/lang/String;)V not found
         at com.sun.tools.debugger.dbxgui.debugger.Executor$Tracker.print(Executor.java:105)
         at com.sun.tools.debugger.dbxgui.debugger.Executor$Tracker.run(Executor.java:135)
    [catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131)
    *********** Exception occurred ************ at 10:19 AM on Jul 6, 2007
    java.util.EmptyStackException
         at java.util.Stack.peek(Stack.java:79)
         at java.util.Stack.pop(Stack.java:61)
         at org.netbeans.modules.cnd.execution.OutputWindowWriter$GCCErrorParser.handleLine(OutputWindowWriter.java:405)
         at org.netbeans.modules.cnd.execution.OutputWindowWriter.handleLine(OutputWindowWriter.java:157)
         at org.netbeans.modules.cnd.execution.OutputWindowWriter.write(OutputWindowWriter.java:81)
         at java.io.Writer.write(Writer.java:92)
         at java.io.PrintWriter.write(PrintWriter.java:333)
    [catch] at org.netbeans.modules.cnd.execution.NativeExecution$OutputReaderThread.run(NativeExecution.java:184)
    ConfigurationDescriptorProvider: I/O in EQ is not good idea
    [org.netbeans.modules.javahelp] Warning: the JavaHelp topic ID org.openide.util.HelpCtx.DEFAULT_HELP was not found.
    [org.netbeans.modules.javahelp] Warning: the JavaHelp topic ID org.openide.util.HelpCtx.DEFAULT_HELP was not found.
    ConfigurationDescriptorProvider: I/O in EQ is not good idea
    java.lang.ClassNotFoundException: org.netbeans.modules.java.project.PackageViewSettings
         at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:165)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at org.netbeans.modules.options.general.GeneralOptionsPanel.update(GeneralOptionsPanel.java:246)
         at org.netbeans.modules.options.general.GeneralOptionsPanelController.update(GeneralOptionsPanelController.java:40)
         at org.netbeans.modules.options.OptionsPanel.<init>(OptionsPanel.java:312)
         at org.netbeans.modules.options.OptionsWindowAction.actionPerformed(OptionsWindowAction.java:89)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.ClassNotFoundException: org.netbeans.modules.java.project.PackageViewSettings
         at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:165)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at org.netbeans.modules.options.general.GeneralOptionsPanel.applyChanges(GeneralOptionsPanel.java:305)
         at org.netbeans.modules.options.general.GeneralOptionsPanelController.applyChanges(GeneralOptionsPanelController.java:44)
         at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:401)
         at org.netbeans.modules.options.OptionsWindowAction$OptionsPanelListener$1.run(OptionsWindowAction.java:187)
         at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
         at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
    java.lang.ClassNotFoundException: org.netbeans.modules.java.project.PackageViewSettings
         at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:165)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at org.netbeans.modules.options.general.GeneralOptionsPanel.update(GeneralOptionsPanel.java:246)
         at org.netbeans.modules.options.general.GeneralOptionsPanelController.update(GeneralOptionsPanelController.java:40)
         at org.netbeans.modules.options.OptionsPanel.update(OptionsPanel.java:392)
         at org.netbeans.modules.options.OptionsWindowAction.actionPerformed(OptionsWindowAction.java:116)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.ClassNotFoundException: org.netbeans.modules.java.project.PackageViewSettings
         at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:165)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at org.netbeans.modules.options.general.GeneralOptionsPanel.update(GeneralOptionsPanel.java:246)
         at org.netbeans.modules.options.general.GeneralOptionsPanelController.update(GeneralOptionsPanelController.java:40)
         at org.netbeans.modules.options.OptionsPanel.update(OptionsPanel.java:392)
         at org.netbeans.modules.options.OptionsWindowAction.actionPerformed(OptionsWindowAction.java:116)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.ClassNotFoundException: org.netbeans.modules.java.project.PackageViewSettings
         at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:165)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at org.netbeans.modules.options.general.GeneralOptionsPanel.update(GeneralOptionsPanel.java:246)
         at org.netbeans.modules.options.general.GeneralOptionsPanelController.update(GeneralOptionsPanelController.java:40)
         at org.netbeans.modules.options.OptionsPanel.update(OptionsPanel.java:392)
         at org.netbeans.modules.options.OptionsWindowAction.actionPerformed(OptionsWindowAction.java:116)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.ClassNotFoundException: org.netbeans.modules.java.project.PackageViewSettings
         at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:165)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at org.netbeans.modules.options.general.GeneralOptionsPanel.applyChanges(GeneralOptionsPanel.java:305)
         at org.netbeans.modules.options.general.GeneralOptionsPanelController.applyChanges(GeneralOptionsPanelController.java:44)
         at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:401)
         at org.netbeans.modules.options.OptionsWindowAction$OptionsPanelListener$1.run(OptionsWindowAction.java:187)
         at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
         at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
    Warning - org.netbeans.modules.cnd.actions.MakeCleanAction should override CallableSystemAction.asynchronous() to return false
    Warning - com.sun.tools.swdev.sunstudio.actions.UpdateCheckResultsAction should override CallableSystemAction.asynchronous() to return false
    *********** Exception occurred ************ at 12:31 PM on Jun 14, 2007
    java.util.EmptyStackException
         at java.util.Stack.peek(Stack.java:85)
         at java.util.Stack.pop(Stack.java:67)
         at org.netbeans.modules.cnd.execution.OutputWindowWriter$GCCErrorParser.handleLine(OutputWindowWriter.java:405)
         at org.netbeans.modules.cnd.execution.OutputWindowWriter.handleLine(OutputWindowWriter.java:157)
         at org.netbeans.modules.cnd.execution.OutputWindowWriter.write(OutputWindowWriter.java:81)
         at java.io.Writer.write(Writer.java:96)
         at java.io.PrintWriter.write(PrintWriter.java:361)
    [catch] at org.netbeans.modules.cnd.execution.NativeExecution$OutputReaderThread.run(NativeExecution.java:184)
    *********** Exception occurred ************ at 12:44 PM on Jun 14, 2007
    java.util.EmptyStackException
         at java.util.Stack.peek(Stack.java:85)
         at java.util.Stack.pop(Stack.java:67)
         at org.netbeans.modules.cnd.execution.OutputWindowWriter$GCCErrorParser.handleLine(OutputWindowWriter.java:405)
         at org.netbeans.modules.cnd.execution.OutputWindowWriter.handleLine(OutputWindowWriter.java:157)
         at org.netbeans.modules.cnd.execution.OutputWindowWriter.write(OutputWindowWriter.java:81)
         at java.io.Writer.write(Writer.java:96)
         at java.io.PrintWriter.write(PrintWriter.java:361)
    Serializable class org.netbeans.modules.cnd.editor.fortran.FIndentEngine does not declare serialVersionUID field. Encountered while storing: [] See also http://www.netbeans.org/issues/show_bug.cgi?id=19915
    Serializable class org.netbeans.modules.xml.text.indent.DTDIndentEngine does not declare serialVersionUID field. Encountered while storing: [] See also http://www.netbeans.org/issues/show_bug.cgi?id=19915
    Warning - com.sun.tools.debugger.dbxgui.customactions.NewDbxButtonAction should override CallableSystemAction.asynchronous() to return false
    java.lang.Exception: MsgSnd.snd_via(): socket write failed -- msg 'dbx_unsaved_files incomplete
    [catch] at com.sun.tools.debugger.dbxgui.DbxGuiModule$1.warn(DbxGuiModule.java:67)
         at com.sun.tools.swdev.glue.GErr.warn(GErr.java:18)
         at com.sun.tools.swdev.glue.MsgSnd.snd_via(MsgSnd.java:218)
         at com.sun.tools.swdev.glue.Messenger.send(Messenger.java:70)
         at com.sun.tools.swdev.glue.dbx.GPDbxSurrogate.unsaved_files(GPDbxSurrogate.java:1941)
         at com.sun.tools.debugger.dbxgui.debugger.DbxDebuggerImpl.notifyUnsavedFiles(DbxDebuggerImpl.java:3034)
         at com.sun.tools.debugger.dbxgui.debugger.DbxDebuggerManager.notifyUnsavedFiles(DbxDebuggerManager.java:267)
         at com.sun.tools.debugger.dbxgui.debugger.DbxDebuggerManager.notifyUnsavedFiles(DbxDebuggerManager.java:299)
         at com.sun.tools.debugger.dbxgui.debugger.DbxDebuggerManager.initialUnsavedFiles(DbxDebuggerManager.java:309)
         at com.sun.tools.debugger.dbxgui.debugger.DbxDebuggerImpl.initializeDbx(DbxDebuggerImpl.java:578)
         at com.sun.tools.debugger.dbxgui.debugger.Dbx.initializeDbx(Dbx.java:75)
         at com.sun.tools.debugger.dbxgui.debugger.CommonDbx$Factory$1.run(CommonDbx.java:253)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    This issue is not critical because I can debug it with kdbg or sunstudio's dbx at command line, but it would be nice to debug inside the IDE is'nt it?.
    Thanks for all this good piece of work and your support.
    Life to nb!!

    Sorry for the delay (in holidays and other projects):
    A note: I am running Ubuntu ;-) (our developer's platform)
    Thanks in advance.
    dbx stack (dbx latest patch: dbx124874-01), dumped with pstack:
    $ pstack 18686
    18686: /mnt/local/rootopt/ss12/sunstudio12/prod/bin/dbx -g sync stdio -xexec32
    (No symbols found)
    0xffffe410: ???? (84fa5e4, 84fa5e0)
    0xb7efebe6: ???? (84fa5e4, bf85d380, bf85e3f8, 81fe93c, b7f462ba, b7f06ea0)
    0x082a3359: ???? (84fa5e0, b7f56120, bf85c3d0, bf85c398, 65742f2e, 4) + 2870
    0x082a2cc0: ???? (84fa5e0, bf85ec38, b7f06eaa, 0, 1, 0) + 30
    0x08231418: ???? (b7f06ea0, bf85ec68, 8361a3a, bf85ec64, 84f9b60, b7f06ea0) + 10
    0x0814929c: ???? (84c7bf8, 84f9be8, 83617ec, 8361a3a, 84f9ee0, 1) + 20
    0x081494ad: ???? (84f9b60, 8356ef8, 84f9b60, 82e41ca, b7f54ff4, 84f9888) + 20
    0x081c4594: ???? (84f9b60, 843d0c0, 84f9820, bf85ed28, 8356ef8, 84f9b60)
    0x081c4704: ???? (84f9b60, 84f97f0, 0, 0, 84d7600, 0) + 20
    0x081c3256: ???? (84f9b60, 84f97f0, bf85ed60, 8341538, 843d108, 843d710) + 60
    0x0817fa6b: ???? (84f97f0, 84384c8, 1, 8158da8, 84f9720, 84f98a0) + 20
    0x08178f81: ???? (84f9720, 8356ef8, bf85ee58, 817c3ef, bf85ee30, 8437638) + 20
    0x0817c3ff: ???? (84c7bf8, 1, bf85eea8, 81beaa7, bf85ee70, 84493b8) + 30
    0x081bebfb: ???? (8356ef8, 1, 0, 0, 59, 84ab724) + 20
    0x081f4055: ???? (8356ef8, bf85efd0, bf85ef48, 0, 8356ef8, bf85efd0) + 40
    0x081f43b2: ???? (8356ef8, bf85efd0, bf85ef88, 0, 0, 8356ef8)
    0x081f3a33: ???? (8356ef8, bf85efd0, bf85efd0, 0, 0, 0)
    0x080eade9: ???? (8356ef8, 84493b8, bf85efd0, 80ed0ca, bf85f00c, b7e8bb91) + 80
    0x080ece4e: ???? (84493b8, 84ab520, 0, 0, 0, 836f7bc) + 40
    0x08184bc1: ???? (84493b8, 2, 84ab268, 0, 84493b8, 84ab2e8) + 40
    0x08275350: ???? (84493b8, 8459a78, 84ab080, 84ab268, 0, 84599f8) + 40
    0x08274c66: ???? (84493b8, 8459a78, 0, 28, 0, 847fd48) + 40
    0x08264524: ???? (84493b8, 8459b08, bf85f1d8, 82ca673, 836a80c, bf85f204) + 30
    0x08263ff1: ???? (84493b8, 84ab0c4, bf85f238, 60, bf85f2e0, 8341538) + 20
    0x0816fcd5: ???? (847ffb8, 0, 0, 84ab0c4, 847ffb8, 8341538)
    0x0828759f: ???? (847ffb8, bf85f2e0, bf85f274, 829f454, 0, 8480268) + 10
    0x0829f50b: ???? (84800c0, 847ffb8, bf85f2e0, 829b825, bf85f2e0, 847fe88) + 10
    0x0829b8bc: ???? (847ffb8, 0, bf85f2e0, 829b512, 8471720, 8471720) + 50
    0x0829b5fb: ???? (847ffb8, 0, bf85f398, 828fa3e, b, 8341538)
    0x0828fadf: ???? (b, 1, 847ffb8, 828ad1a, bf85f4a8, bf85f378) + 10
    0x0828adbe: ???? (847fd48, b, 1, bf85f424, bf85f420, b7f54ff4)
    0x0828b1c5: ???? (8471610, b, 1, 847fd48, 4, 8341538)
    0x0828b922: ???? (8471610, b, 1, 847fd48, bf85f66f, 4) + 230
    0x0828bf8b: ???? (8471610, bf85f66f, b7f56120, 828b9ee, 7f, 844c2a8) + 20
    0x0828ba75: ???? (8471610, bf85f66f, 0, 826b4d0, a, 5407) + 10
    0x0816d7ba: ???? (84493b8, bf85f69c, 58, 826a963, 0, 1) + 20
    0x0826aa3d: ???? (84493b8, 845983c, bf85f6e8, b7e52830, 845cfd8, 8449550) + c0
    0x08268bd0: ???? (84493b8, c, bf85f7c8, 811f7d9, 8437758, 84597f8)
    0x08266ca6: ???? (84493b8, 84597f8, bf85f7e8, 814cafc, 8357470, 84597f8)
    0x08268a19: ???? (84493b8, 84597f8, bf85f838, 8264225, b7f54ff4, 4) + 40
    0x08264326: ???? (84493b8, 84597f8, bf85f868, 81cd63e, 4, 1) + 20
    0x080edf66: ???? (84493b8, 1, bf85f8e8, 80eeab9, bf85f890, 84493b8) + 50
    0x080eead2: ???? (4, bf85f974, bf85f988, b7fba878, 0, 1) + 40
    0xb7e3a8cc: ???? (80ee418, 4, bf85f974, 80e3c44, 82e5e78, b7fad290) + 407a0698
    Java heap
    2007-09-17 09:11:32
    Full thread dump Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode, sharing):
    "Glue Notifier" daemon prio=10 tid=0x08350000 nid=0x4903 in Object.wait() [0xb3a5c000..0xb3a5ce60]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x4b200138> (a com.sun.tools.swdev.glue.EventQueue)
    at java.lang.Object.wait(Object.java:485)
    at com.sun.tools.swdev.glue.EventQueue.iget(EventQueue.java:22)
    - locked <0x4b200138> (a com.sun.tools.swdev.glue.EventQueue)
    at com.sun.tools.swdev.glue.NotifierPoll.dispatch(NotifierPoll.java:109)
    at com.sun.tools.swdev.glue.NotifierPoll.loop(NotifierPoll.java:154)
    at com.sun.tools.debugger.dbxgui.debugger.GlueNotifierThread.run(GlueNotifierThread.java:49)
    "Waiter number 0" prio=10 tid=0x08270400 nid=0x4902 runnable [0xb3aad000..0xb3aadee0]
    java.lang.Thread.State: RUNNABLE
    at java.io.FileInputStream.readBytes(Native Method)
    at java.io.FileInputStream.read(FileInputStream.java:199)
    at com.sun.tools.swdev.glue.WaitableInputStream.waitForInput(WaitableInputStream.java:54)
    - locked <0x4b200220> (a com.sun.tools.swdev.glue.WaitableInputStream)
    at com.sun.tools.swdev.glue.CBInfo$Waiter.run(CBInfo.java:35)
    - locked <0x4b200220> (a com.sun.tools.swdev.glue.WaitableInputStream)
    "StreamTerm.OutputMonitor" prio=10 tid=0x0826f800 nid=0x4901 runnable [0xb479e000..0xb479f160]
    java.lang.Thread.State: RUNNABLE
    at com.sun.tools.swdev.toolscommon.base.PacketInputStream.read_work_native(Native Method)
    at com.sun.tools.swdev.toolscommon.base.PacketInputStream.read_work(PacketInputStream.java:83)
    at com.sun.tools.swdev.toolscommon.base.PacketInputStream.read(PacketInputStream.java:54)
    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
    - locked <0x4b202340> (a java.io.InputStreamReader)
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at org.netbeans.lib.terminalemulator.StreamTerm$OutputMonitor.run(StreamTerm.java:173)
    "exec_Dbx_1" prio=10 tid=0x0834d800 nid=0x4900 in Object.wait() [0xb3c85000..0xb3c861e0]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x4b2023f0> (a java.lang.UNIXProcess)
    at java.lang.Object.wait(Object.java:485)
    at java.lang.UNIXProcess.waitFor(UNIXProcess.java:165)
    - locked <0x4b2023f0> (a java.lang.UNIXProcess)
    at com.sun.tools.swdev.toolscommon.base.UnixChildProcess.waitFor(UnixChildProcess.java:99)
    at com.sun.tools.debugger.dbxgui.debugger.ExecutorUnix.waitForEngine(ExecutorUnix.java:260)
    at com.sun.tools.debugger.dbxgui.debugger.Executor$Tracker.run(Executor.java:120)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131)
    "StreamTerm.OutputMonitor" prio=10 tid=0x08409c00 nid=0x48ff runnable [0xb3afe000..0xb3aff060]
    java.lang.Thread.State: RUNNABLE
    at java.io.FileInputStream.readBytes(Native Method)
    at java.io.FileInputStream.read(FileInputStream.java:199)
    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
    - locked <0x4b204608> (a java.io.InputStreamReader)
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at org.netbeans.lib.terminalemulator.StreamTerm$OutputMonitor.run(StreamTerm.java:173)
    "process reaper" daemon prio=10 tid=0x08138400 nid=0x48fd runnable [0xb3efe000..0xb3eff0e0]
    java.lang.Thread.State: RUNNABLE
    at java.lang.UNIXProcess.waitForProcessExit(Native Method)
    at java.lang.UNIXProcess.access$900(UNIXProcess.java:20)
    at java.lang.UNIXProcess$1$1.run(UNIXProcess.java:132)
    "Class View Updater" prio=10 tid=0xb3f4d000 nid=0x460b in Object.wait() [0xb4c00000..0xb4c010e0]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x514a0fa0> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at org.netbeans.modules.cnd.classview.ClassViewUpdater$BlockingQueue.get(ClassViewUpdater.java:43)
    - locked <0x514a0fa0> (a java.lang.Object)
    at org.netbeans.modules.cnd.classview.ClassViewUpdater.run(ClassViewUpdater.java:121)
    "DestroyJavaVM" prio=10 tid=0x08063400 nid=0x45bb waiting on condition [0x00000000..0xb7d9d130]
    java.lang.Thread.State: RUNNABLE
    "AWT-EventQueue-1" prio=10 tid=0x081c8000 nid=0x45f2 runnable [0xb46f4000..0xb46f4f60]
    java.lang.Thread.State: RUNNABLE
    at org.openide.util.SharedClassObject.findObject(SharedClassObject.java:515)
    - waiting to lock <0x8a5b3150> (a java.lang.String)
    at org.netbeans.modules.cnd.settings.CppSettings.getDefault(CppSettings.java:86)
    at org.netbeans.modules.cnd.qnavigator.NavigationView.checkCursor(NavigationView.java:215)
    at org.netbeans.modules.cnd.qnavigator.NavigationView.access$300(NavigationView.java:84)
    at org.netbeans.modules.cnd.qnavigator.NavigationView$2.actionPerformed(NavigationView.java:154)
    at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    "TimerQueue" daemon prio=10 tid=0x08191c00 nid=0x45ed in Object.wait() [0xb3ead000..0xb3eade60]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at javax.swing.TimerQueue.postExpiredTimers(TimerQueue.java:218)
    - locked <0x4fbe8760> (a javax.swing.TimerQueue)
    at javax.swing.TimerQueue.run(TimerQueue.java:234)
    - locked <0x4fbe8760> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:619)
    "Repository writer 0" daemon prio=10 tid=0xb4dc2000 nid=0x45ea in Object.wait() [0xb41ad000..0xb41ae1e0]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x4fa3dd80> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at org.netbeans.modules.cnd.repository.queue.KeyValueQueue._waitReady(KeyValueQueue.java:158)
    at org.netbeans.modules.cnd.repository.queue.KeyValueQueue.waitReady(KeyValueQueue.java:151)
    - locked <0x4fa3dd80> (a java.lang.Object)
    at org.netbeans.modules.cnd.repository.queue.RepositoryWritingThread.waitReady(RepositoryWritingThread.java:64)
    at org.netbeans.modules.cnd.repository.queue.RepositoryWritingThread.run(RepositoryWritingThread.java:79)
    at org.netbeans.modules.cnd.repository.queue.RepositoryThreadManager$Wrapper.run(RepositoryThreadManager.java:62)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
    at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
    "Code Model Parser 1" daemon prio=10 tid=0x08394400 nid=0x45d3 in Object.wait() [0xb41fe000..0xb41ff060]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x4f338d98> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at org.netbeans.modules.cnd.modelimpl.csm.core.ParserQueue.waitReady(ParserQueue.java:335)
    - locked <0x4f338d98> (a java.lang.Object)
    at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:46)
    at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:60)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
    at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
    "Code Model Parser 0" daemon prio=10 tid=0x08318c00 nid=0x45d2 in Object.wait() [0xb435f000..0xb43600e0]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x4f338d98> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at org.netbeans.modules.cnd.modelimpl.csm.core.ParserQueue.waitReady(ParserQueue.java:335)
    - locked <0x4f338d98> (a java.lang.Object)
    at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:46)
    at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:60)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
    at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
    "AWT-Shutdown" prio=10 tid=0x08287000 nid=0x45cd in Object.wait() [0xb4745000..0xb4745fe0]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x4ef43910> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:485)
    at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
    - locked <0x4ef43910> (a java.lang.Object)
    at java.lang.Thread.run(Thread.java:619)
    "AWT-XAWT" daemon prio=10 tid=0x08253c00 nid=0x45cb runnable [0xb47ef000..0xb47efee0]
    java.lang.Thread.State: RUNNABLE
    at sun.awt.X11.XToolkit.waitForEvents(Native Method)
    at sun.awt.X11.XToolkit.run(XToolkit.java:585)
    at sun.awt.X11.XToolkit.run(XToolkit.java:560)
    at java.lang.Thread.run(Thread.java:619)
    "Java2D Disposer" daemon prio=10 tid=0x08238800 nid=0x45ca in Object.wait() [0xb4840000..0xb4841160]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x4ef43b20> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x4ef43b20> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at sun.java2d.Disposer.run(Disposer.java:125)
    at java.lang.Thread.run(Thread.java:619)
    "Timer-0" daemon prio=10 tid=0x08234000 nid=0x45c6 in Object.wait() [0xb4bb0000..0xb4bb01e0]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.util.TimerThread.mainLoop(Timer.java:509)
    - locked <0x4ef43bc0> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "CLI Requests Server" daemon prio=10 tid=0x08227000 nid=0x45c4 runnable [0xb4c51000..0xb4c520e0]
    java.lang.Thread.State: RUNNABLE
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
    - locked <0x4ef43e98> (a java.net.SocksSocketImpl)
    at java.net.ServerSocket.implAccept(ServerSocket.java:450)
    at java.net.ServerSocket.accept(ServerSocket.java:421)
    at org.netbeans.CLIHandler$Server.run(CLIHandler.java:867)
    "Active Reference Queue Daemon" daemon prio=10 tid=0xb4d30400 nid=0x45c3 in Object.wait() [0xb4cfe000..0xb4cfef60]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x4ef44028> (a java.lang.ref.ReferenceQueue$Lock)
    at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:3002)
    at java.lang.Thread.run(Thread.java:619)
    "Low Memory Detector" daemon prio=10 tid=0x080a1c00 nid=0x45c1 runnable [0x00000000..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "CompilerThread0" daemon prio=10 tid=0x080a0000 nid=0x45c0 waiting on condition [0x00000000..0xb4fb7978]
    java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=10 tid=0x0809ec00 nid=0x45bf runnable [0x00000000..0x00000000]
    java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=10 tid=0x0808d000 nid=0x45be in Object.wait() [0xb5238000..0xb52381e0]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x4ef44210> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=10 tid=0x0808c000 nid=0x45bd in Object.wait() [0xb5288000..0xb5289060]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x4ef43c78> (a java.lang.ref.Reference$Lock)
    at java.lang.Object.wait(Object.java:485)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    - locked <0x4ef43c78> (a java.lang.ref.Reference$Lock)
    "VM Thread" prio=10 tid=0x08082800 nid=0x45bc runnable
    "VM Periodic Task Thread" prio=10 tid=0x080a3400 nid=0x45c2 waiting on condition
    JNI global references: 1492
    Heap
    def new generation total 18240K, used 2661K [0x4a030000, 0x4b3f0000, 0x4eef0000)
    eden space 16256K, 7% used [0x4a030000, 0x4a165e28, 0x4b010000)
    from space 1984K, 71% used [0x4b200000, 0x4b363998, 0x4b3f0000)
    to space 1984K, 0% used [0x4b010000, 0x4b010000, 0x4b200000)
    tenured generation total 241984K, used 226846K [0x4eef0000, 0x5db40000, 0x8a030000)
    the space 241984K, 93% used [0x4eef0000, 0x5cc77ba0, 0x5cc77c00, 0x5db40000)
    compacting perm gen total 32768K, used 23438K [0x8a030000, 0x8c030000, 0x94030000)
    the space 32768K, 71% used [0x8a030000, 0x8b713898, 0x8b713a00, 0x8c030000)
    ro space 8192K, 73% used [0x94030000, 0x9460fff8, 0x94610000, 0x94830000)
    rw space 12288K, 57% used [0x94830000, 0x94f22750, 0x94f22800, 0x95430000)

  • NetWeaver Develop Studio debug problem

    Hi all.
    I am new to using NetWeaver Develop Studio. My team have 4 persons, so we use one remote WAS server as debug and running server.
    I always use webdynpro debug method to debug the webdynpro application. But sometimes when I start the debug, it always returns me ' cannot connect to remote vm '. Sometimes I have to restart the remote server to solve this problem.
    My question is
    1. Whats can be the reason for this ' cannot connect to remote vm' ? How to solve it forever.
    2. Is there any easy way to debug ? Because for remote server, my System.out.println() cannot works.
    I just want to see whether some  if {} else {} code have reach .
    Thanks a lot.

    Hi,
    For starting ur debugging session on just follow this steps:
    1)Go to j2ee engine tab-->Right-click the server node and then choose the appropriate function from the context menu.
    <b>Enable debugging of process</b> in a Single Server Configuration.
    2)Insert a break point in ur code where u want to c the result.
    3)go to the debug menu>give a new webdynpro configuration>and give the name of the appln.
    4)give debug to start debugging.this automatically switches to ur debug perspective.
    5)There u can c the expected outcome.
    Also check on to this link.This provides u step by step procedure.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/849170e3-0601-0010-d59e-ddfce735fac5
    Hope this solves ur problem,
    Regards,
    Nagarajan.

  • Problems with sun studio 12 in suse linux 11

    Hi.
    I installed Sun Studio 12 suse linux with no problems. However, the debugging modules (DBX) are not working any more. When I started Sun Studio, it gave a message about modules that could not be loaded in tha moment. I did not pay attention. But I noticed that all debugging options were disabled.
    Using the module manager, I saw the DBX module was not checked, and I could not change it. I was marked with a red X. So I thought to reinstall the application. However, the uninstall utility doesn't work either.
    According with the documentation, running ./uninstaller does it, but I get the following error message instead
    Exception in thread "main" java.lang.NoClassDefFoundError: uninstall_Sun_Studio_12/class
    Caused by: java.lang.ClassNotFoundException: uninstall_Sun_Studio_12.class
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    I tried to uninstall manually, and then execute installer, by using first the software manager in linux and deleting the producregistry file manually. It worked because I executed the installer. However, in Sun Studio IDE, debugging options are still not available despite I "reinstalled" the application. I checked the log files and they say the file uninstall_Sun_Studio_12.class could not be written.
    So my questions are:
    1. Is there any other way to repair Sun Studio? What could be the possible for this module to stop working?
    2. Does anyone have an idea of why the installer cannot write the uninstaller class?
    I found that perhaps problems regarding Java / Netbeans versions could be the problem, but the ones I have installed are those packages that were installed along with Sun Studio, and both are valid.
    Thank you very much.

    Perhaps you can simply delete the Sun Studio 12 installation tree, because it will not work on SUSE Linux 11.
    This OS is not supported, so any problems you see with SS12 on SUSE 11 will not be fixed.
    But we have a newer version, that should work better.
    You can try to download and install Sun Studio Express 2008/11 (extract pre-installed image from tar.bz2 file).
    Here is a pointer to the web page:
    http://developers.sun.com/sunstudio/downloads/express
    All you need is to provide a email address, and press "Download Now" button.
    You will see a page, that gives you 2 options to download Sun Studio Express 2008/11.
    Use "Option 2": Download Tarfile Installer
    Thanks,
    Nik

  • Volunteer needed to help debug a Boost library in Sun Studio

    Hello,
    I've recently added a new Boost library called Boost.Flyweight to this project's
    internal repository
    [http://svn.boost.org/svn/boost/trunk/libs/flyweight/doc/index.html]
    and found out that Sun Studio (versions 5.7 thru 5.9) have runtime problems with
    a particular library test, as described in
    [http://lists.boost.org/boost-testing/2008/12/6048.php]
    My requests for help at the Boost mailing lists have met no response, so I'm
    looking here for volunteers to help debug this problem. Basically I need someone
    with access to Sun Studio and some C++ fluency (and familiarity with
    Boost is a plus, too). I'd be trying to provide as much support as possible
    during the process. In return the kind volunteer will receive my eternal gratitude
    and an entry in the lib's acknowledgements section.
    If you're interested please drop me an email to joaquin at tid.es
    Thank you very much,
    Joaquín M López Muñoz
    Telefónica, Investigación y Desarrollo

    The problem has been identified as a compiler bug, and bug number 6782987 has been filed for it.
    The bug report will be visible at bugs.sun.com in a day or two.
    Compiler versions earlier than 5.9 (Sun Studio 12) are not very good a compiling BOOST, but this particular bug exists in the latest development compiler. One of our engineers is looking for a workaround, and he will post something here if he finds one.
    A fix for this bug should show up in a future patch to Sun Studio 12. If you have a service contract with Sun, you can escalate this bug for faster service, and get a pre-release version of the compiler patch.

  • Sun Studio Express Feb 2007, lingering dialog box upon Debug

    When I try to debug a project (say the Freeway sample application) in Sun Studio Express Feb 2007 on Solaris x86, Ultra 20, the following dialog box lingers. I am able to close it manually and debug normally however:
    Loading library
    /usr/lib/liblayout.so.1

    Yes, I've also seen this a number of times. I don't remember what was the problem exactly (dbx <-> IDE miscommunication?), but I believe it's gone now. Please wait for stable release , it should be available soon.

  • Problem with setting Source Level in Sun Studio 2

    I've got problem with setting Source Level to 1.5 in Sun Studio 2. When I try to set it to 1.5 in Project properties and click Ok everything seem to go well, but when I open Project Properties again Source Level is set to 1.4. I need this to work cause I started to lear Java recently and I want to use foreach loop.
    Please help

    I'm just citing an example using Date().
    In fact, whether I use DateFormat or Calendar, it shows the same result.
    When I set the date to 1 Jan 1950 0 hours 0 minutes 0 seconds,
    jdk1.4.2 will always return me 1 Jan 1950 0 hours 10 minutes 0 seconds.
    It works correctly under jdk1.3.1

  • Can't see 'Local Variables' while debugging in Sun Studio 11

    I am debugging a C/C++ application built with Sun Studio 11 running on Solaris 10. I load the application as always, set a breakpoint and run. The debugger stops at the assigned breakpoint as expected.
    The issue is that at this point there are no local variables displayed in the local variables pane.
    I have tried restarting SS11, rebuilding, etc...
    This is the first time I have seen this happen.
    Does anyone else have an idea what is wrong?

    Does adding a particular variable to Watch view help? (it can be done by typing "display <variable>" in dbx command line).
    You can also try erasing (or better moving to a temporary location) all Sun Studio settings like this:
    mv -f ~/.sunstudio /tmpand start debugging session again.

  • Sun Studio Compilers for Linux: Problems with undefined variables using CC

    I am experiencing the following errors below while trying to compile C++ programs using Sun C++ from the latest release of Sun Studio Compilers for Linux Alpha, on Red Hat Enterprise Linux 4 with kernel 2.6.9-34.EL and Ubuntu Breezy Badger 5.10 with kernel 2.6.12-10-686. I get the same exact errors on both OS's and on two different machines.
    root@ubuntu:/home/jc/cs225/Machine Problems/cs225/mp1/cs225_mp1# make
    CC -c -g string.cpp
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 74: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 75: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 191: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 194: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 261: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 265: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 299: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 302: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 410: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 414: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 506: Error: The function "strstr" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 523: Error: The function "strcspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 529: Error: The function "strspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 214: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 221: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 277: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 335: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 392: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 443: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 504: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 558: Error: Template declarations cannot have extern "C" linkage.
    Compilation aborted, too many Error messages.
    make: *** [string.o] Error 1
    Except on ubuntu, it has one more error
    "/usr/include/wctype.h", line 47: Error: A declaration was expected instead of "}".
    and what is on line 47 is below
    __END_NAMESPACE_C99
    When I comment this line out, that particular error does not show up but still the other errors above still show up.
    From the testing I did, it appears to have these problems for most of the C++ programs I have written, especially the ones that involve object oriented programming. All programs that I wrote do not have these problems with g++ or Sun CC for Solaris. It does however work fine only for small fraction of the programs I have written. I dont quite understand why it works in some cases and others it doesnt, but I know for sure, that it should be working for all cases when Sun CC from Sun Studio 10 on Solaris 10 for X86 has no problems compiling the same programs.

    I tried workaround number 2 from the 3 choices that were listed by horsh. That fixes the mathcalls.h problem but still I have the following errors.
    jcurran2@ubuntu:~/cs225/Machine Problems/cs225/mp1/cs225_mp1$ make
    CC -c -g string.cpp
    "/usr/include/wctype.h", line 47: Error: A declaration was expected instead of "}".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 74: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 75: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 191: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 194: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 261: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 265: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 299: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 302: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 410: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 414: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 506: Error: The function "strstr" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 523: Error: The function "strcspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 529: Error: The function "strspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 55: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 55: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 61: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 63: Error: Use ";" to terminate declarations.
    Error: Cannot continue processing because of prior errors.
    Compilation aborted.
    make: *** [string.o] Error 1
    jcurran2@ubuntu:~/cs225/Machine Problems/cs225/mp1/cs225_mp1$
    Can someone please respond? There is more to the problem. Perhaps
    there are more glibc headers that have problems. In addition, if Sun wants to port the Sun Studio Compilers for linux to be stable on all linux distributions I suggest using VM ware and installing several linux distrobutions as virtual machines and testing this software on each virtual machine to see the problems that occur on each distribution. That way you might be able to uncover more problems to find a solution that will work best for portability on all linux distributions.

  • Problem in compilation using Sun Studio 11

    Hello,
    We are migrating from a Solaris 8 to a Solaris 10 OS. At the same ttime we are also migrating from Ingres 2.6 to Ingres 2006. As a part of the creation of teh development environment, we are recompiling all the codes on teh new OS. WE have installed teh Sun Studio 11 compiler for this purpose. When compiling some C codes, we are getting the following error:
    "am_xxxxxxxx.c", line 2596: warning: statement not reached
    "am_xxxxxxxx.c", line 2778: undefined symbol: i8
    "am_xxxxxxxx.c", line 2778: syntax error before or at: )
    "am_xxxxxxxx.c", line 2858: undefined symbol: i8
    "am_xxxxxxxx.c", line 2858: syntax error before or at: )
    "am_xxxxxxxx.c", line 2889: warning: implicit function declaration: IIresnext
    "am_xxxxxxxx.c", line 2891: warning: statement not reached
    "am_xxxxxxxx.c", line 2920: warning: statement not reached
    "am_xxxxxxxx.c", line 2931: undefined label: IIfdF1
    "am_xxxxxxxx.c", line 2931: undefined label: IIosl9139
    "am_xxxxxxxx.c", line 2931: undefined label: IIfdE1
    "am_xxxxxxxx.c", line 2931: cannot recover from previous errors
    cc: acomp failed for am_xxxxxxxx.c
    The command used for compiling is :
    cc -xarch=generic64 am_xxxxxxxx.c
    We have exported teh following:
    LD_LIBRARY_PATH_64=/usr/sfw/lib/sparcv9:/usr/local/lib/sparcv9:/usr/lib/sparcv9:/usr/openwin/lib/sparcv9:/usr/dt/lib/sparcv9:/opt/SUNWspro/lib/v9:/opt/SUNWspro/lib/v9:/eu/ingad/ingres/lib:/opt/oracle/lib:/usr/lib:/usr/ucblib:/usr/openwin/lib:/opt/SUNWspro/lib/:/opt/lib/cobol/coblib
    LD_LIBRARY_PATH=/opt/SUNWspro/lib/v9:/eu/ingad/ingres/lib:/eu/ingad/ingres/lib:/opt/oracle/lib:/usr/lib:/usr/ucblib:/usr/openwin/lib:/opt/SUNWspro/lib/:/opt/lib/cobol/coblib
    CXXFLAGS=-fast -xarch=v9b
    CFLAGS=-fast -xarch=v9b
    LDFLAGS=-L/usr/sfw/lib/sparcv9 -L/usr/lib/sparcv9 -R/usr/sfw/lib/sparcv9 -R/usr/lib/sparcv9
    We are struggling with this issue for the last one week. Can someone please help me with this issue?
    Could this be because the 64 bit library files are not installed? Please help.
    Aneesha

    The LD_LIBRARY_PATH environment variables determine where the runtime loader looks for shared libraries when you run an application. It is unlikely to be the source of compile-time errors.
    I suspect that doing two major changes at the same time has resulted in undefined names and other problems, probably due to missing or incorrect header inclusion. If possible, make one change at a time, either compile the old code on the new OS, or the new code on the old OS, and get that to work first.
    Check the Ingress documentation to see if you need to make source code changes when upgrading, and follow any recommendations there. You might also need to take up this problem with Ingress tech support.
    Regarding LD_LIBRARY_PATH, the best advice is usually "don't set it at all". For more on this topic, see this article:
    http://blogs.sun.com/rie/entry/tt_ld_library_path_tt
    Just to eliminate this as a possible build problem, try removing LD_LIBRARY_PATH and LD_LIBRARY_PATH_64 from your environment when building the program. Then modify the build process to set the executable runpath (-R option) to include the Ingress or Oracle libraries that need to be searched. You don't normally want to point into /usr/lib or into the compiler installation area.

  • How to fix the problem of Sun Studio 11 carshed at startup

    I used Sun Studio 11 to develop my program for year,
    but Sun Studio 11 carshed when I run it this morning.
    Even I uninstalled it and reinstalled it again, the
    result is the same.
    Have anyone can help me to resolve this problem?
    Following is the error messages in popup window:
    An unexpected exception has occurred.
    If the problem persists, please contact
    Sun Technical Support at:
    "http://developers.sun.com/prodtech/cc/support_index.html"
    detail information is:
    java.security.AccessControlException: access denied (java.long.RuntimePermission getClassLoader)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
    at java.security.AccessController.checkPermission(AccessController.java:427)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at org.netbeans.TopSecurityManager.checkPermission(TopSecurityManager.java:270)
    at java.lang.Class.getClassLoader(Class.java:588)
    at org.openide.util.NbBundle.getBundle(NbBundle.java:317)
    at org.netbeans.modules.cpp.actions.MakeMostRecentAction.getString(MakeMostRecentAction.java:111)
    at org.netbeans.modules.cpp.actions.MakeMostRecentAction.getName(MakeMostRecentAction.java:43)
    at org.openide.util.actions.SystemAction.getValue(SystemAction.java:135)
    at org.openide.awt.Actions$ButtonBridge.updateState(Actions.java:320)
    at org.openide.awt.Actions.connect(Actions.java:114)
    at org.openide.awt.Actions.connect(Actions.java:104)
    at org.openide.awt.Actions$ToolbarButton.<init>(Actions.java:745)
    at org.openide.util.actions.CallableSystemAction.getToolbarPresenter(CallableSystemAction.java:51)
    at org.netbeans.modules.cpp.actions.MakeMostRecentAction.getToolbarPresenter(MakeMostRecentAction.java:65)
    at org.openide.awt.Actions$Folder.createInstance(Toolbar.java:393)
    at org.openide.loaders.FolderInstance.defaultProcessObjects(FolderInstance.java:705)
    at org.openide.loaders.FolderInstance.access$000(FolderInstance.java:69)
    at org.openide.loaders.FolderInstance$2.run(FolderInstance.java:592)
    at org.openide.util.Task.run(Task.java:136)
    [catch] at org.openide.awt.AWTTask.run(AWTTask.java:29)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent)EventQueue.java:461)
    at org.GNOME.Accessibility.JavaBridge$AccessQueue.dispatchEvent(JavaBridge.java:1086)
    at java.awt.eventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.eventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.eventDispatchThread.pumpEvents(EventDisplatchThread.java:157)
    at java.awt.eventDispatchThread.pumpEvents(EventDisplatchThread.java:149)
    at java.awt.eventDispatchThread.run(EventDispatchThread.java:110)

    A wild guess: try cleaning (with a back up, of course) Sun Studio caches: ~/.sunstudio/ and .nbattrs in startup (or project?) directory.

  • Class path problem in Sun Studio Creator

    dear,
    I have Sun Studio Creator 30 days Trail. i can't compile the EJB Classes. Is there any class path setting in the IDE?. Help me to solve the problem. the EJB class javax.ejb.* package is not found. I am using the deployment server (Sun Application Server 8.0 this could deployed the example files written for EJB. i don't guess what is the major problem.

    http://en.wikipedia.org/wiki/Classpath_(Java)#Setting_the_path_in_a_Manifest_file explains it well.

  • Huge debugging binaries after switching from C++ Sun Studio 11 to 12u1

    Hello
    I changed the compiler in our C++ project from Sun Studio 11 to Sun Studio 12u1 (12u3 is currently not available).
    The only change on the command line I had to do was replacing -xarch=v9 with -m64.
    The command line now is "CC -c -g -features=rtti -mt -KPIC -w -staticlib=Cstd,Crun -m64  ...".
    Our static libraries are now 50% bigger, the executables are 10x bigger (200 MB to now 2 GB!!!).
    This also affected the debugger sessions, they are slow and the print statement only produces internal errors.
    I think this is due to the size of the binaries.
    Please help to reduce the binary size.
    Best regards
    Hans

    The debug data format changed between Studio 11 and 12u1 from Sun stabs to the industry-standard dwarf format. (The Studio 12u1 C++ Users Guide is incorrect where it says stabs is the default format.)
    The change in debug format has two consequences:
    1. Debug data is typically 10-15% larger, due to increased information about the program being available (a major reason for the change).
    2. Whereas stabs data resides in the .o files with only index information in the executable program, all the dwarf data is copied into the executable. With dwarf, you can fully debug the program without access to the .o files that make up the program.
    To verify this reason for the larger binaries, try building your program using Studio 11, adding the -xs option. This option causes the stabs to be copied into the executable program. You should find the binaries are similar in size compared to building with Studio 12u1. If this is not the case, we'll need to dig deeper.
    You can revert to using stabs by adding the option -xdebugformat=stabs to every compile and link command (CC or cc).
    In a future version of Studio, we plan to provide an option to leave dwarf data in the .o files with only index information in the executable, so that you can have a smaller executable when you don't mind requiring access to the .o files in order to debug.
    By the way, we do not recommend static linking of libCstd and libCrun. Unless you have a particular reason for linking the static libraries, we recommend the default dynamic linking.

  • Remote compile and debug on Sun Studio

    I am currently working with sun studio on my linux station.
    is there a way to compile the source code that I edit on the Solaris server using solaris compiler (not Gnu compiler).
    Is there a way to debug this program while I'm running the Sun studio session on the Linux.
    Currently I have to logon to my server, start studio on it (set DISPLAY to my Linux) and work from the server.
    Tnx, Avikosan

    I think your question has two parts:
    Q: Can I compile on Solaris and generate code that will run on Linux?
    A: No. Sun compilers do not support cross-compilation. You must build on a platform compatible with the target. To generate code to be used on Linux, you must build on Linux. Current releases of Sun compilers do not run on or generate code for Linux.
    We have "technology previews" of Linux compilers on the Sun Studio web page. These compilers are not released, and are not fully functional. Go to
    http://developers.sun.com/sunstudio
    click the "downloads" tab, then the "technology preview" menu item.
    Q: Can I run the debugger and GUI on Linux?
    A: Yes, if you are using Sun Studio 10 or later. The debugger and GUI are available in Linux versions. The Sun Studio 11 version is free. You can get it from the Sun Studio page listed above.

  • Binary compatibility problems using Sun Studio 12

    I'm working in a project that uses Orbix [1] third-party libraries. I have installed the Sun Studio 12 on Solaris 10 SPARC but I have got some strange segfault problems (the exactly same code works fine in a Linux box - using g++). I read the 1.4 section of Sun Studio 12 C++ Userguide [2] but I have a doubt:
    Is there no way to compile my code using Sun Studio 12 using shared libraries compiled against earlier Sun Studio C++ compiler versions (like Sun Studio 8 or some version before Sun Studio 11)?
    I think my problem is related to the fact that Orbix team used Sun Studio 8 as some notes found in their headers indicate:
    "IONA Technologies ART IDL Compiler POA C++ Generator asp 6.3.3 SunOS 5.8 CC_5.5 2008/06/13 21:04:37 EDT"
    A secondary question: Is CC 5.5 present in Sun Studio 8, right?
    Can anyone help me? Every tips are welcome :) Thanks in advance!
    [1] http://web.progress.com/en/orbix/orbix_standard.html
    [2] http://docs.sun.com/app/docs/doc/820-7599/6nirkt6f7?a=view

    AmadeuBarbosa wrote:
    I'm working in a project that uses Orbix [1] third-party libraries. I have installed the Sun Studio 12 on Solaris 10 SPARC but I have got some strange segfault problems (the exactly same code works fine in a Linux box - using g++). I read the 1.4 section of Sun Studio 12 C++ Userguide [2] but I have a doubt:I don't think 1.4 Binary Compatibility Verification applies in your case. It's referring to processor capability to execute certain (new) instructions; if your third-party libraries were compiled a while ago, it's highly unlikely they use instructions not implemented by the processor you have.
    Is there no way to compile my code using Sun Studio 12 using shared libraries compiled against earlier Sun Studio C++ compiler versions (like Sun Studio 8 or some version before Sun Studio 11)?Generally speaking, any library compiled with older Sun Studio C++ compiler is supposed to be compatible with any library or executable compiled with newer version provided that all parties did everything right. For example, that third-party libraries should not be statically linked with C++ run-time support libraries; your executable should be linked with latest compiler driver (CC) so that it records correct dependencies on support libraries.
    Of course, there could be (and actually are) compiler bugs standing in the way of compatibility. Some of them can be fixed, some - like demangler issue described in http://docs.sun.com/source/820-4155/c++.html - can't. There is no easy way to tell if you hit a compiler bug or bulding/linking issue, or bug in the code that was previously unseen.
    I think my problem is related to the fact that Orbix team used Sun Studio 8 as some notes found in their headers indicate:
    "IONA Technologies ART IDL Compiler POA C++ Generator asp 6.3.3 SunOS 5.8 CC_5.5 2008/06/13 21:04:37 EDT"Yes, looks like it was compiled by 5.5, which is part of Sun Studio 8
    >
    A secondary question: Is CC 5.5 present in Sun Studio 8, right?That's correct.

Maybe you are looking for

  • Error in PT60 realted to period

    When we run PT60 , we are getting an error - "Check entries in T549Q". When I look at this table with period parameter '01', the entries exists only up to 06/2011 which is the reason for the error. However, we only use period parameter '04' (T549A).

  • "Replace with Precomp" Script

    A new addition to AE CC is "Replace With Precomp" which you can access with the context menu in the project panel. Is there a method that was added to After Effects so that we can access this feature via scripting?

  • Reg: DIFFERENT CONFIRMAYION TYPES IN C011N

    Hi Friends, In CO11N,  we can observe there are three confirmation type, 1.Automatic Final Confirmation, 2.Final Confirmation, 3.Partial Confirmation. And how to carry out partial release..

  • Printing problem for wedding invites

    I am unable to print to 115mm x 115mm paper for wedding invites please help

  • DVD Burner Error 0x8002006D

    I've been having troubles with my PB for a while now. It freezes for no reason and I have to use the Power button to restart it. It doesn't discriminate when freezing, it will freeze when I turn it on, when I'm in Safari checking mail and when I'm ru