Compiled binary crashes during initialization on Solaris 10/x86 platform

Hi, I have a problem to run application built with Solaris Sun Studio compiler. It dumps a core which contains:
$c_init+0x19a(1, 804761c, 8047624, 8047610, 80dabfd, 80da64c)
_start+0x78(1, 8047744, 0, 804774c, 8047756, 8047829)
>
When application is run under "dbx" utility the output looks:
Reading ld.so.1
Reading libTAO_CosNaming.so.1.4.0
Reading libTAO_Svc_Utils.so.1.4.0
Reading libTAO_IORTable.so.1.4.0
Reading libTAO_PortableServer.so.1.4.0
Reading libTAO.so.1.4.0
Reading libACE.so.5.4.0
Reading libxerces-c.so.28.0
Reading libicuuc.so.3
Reading libfbclient.so.2.1.1
Reading libdl.so.1
Reading libpthread.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libxnet.so.1
Reading librt.so.1
Reading libCstd.so.1
Reading libCrun.so.1
Reading libm.so.2
Reading libthread.so.1
Reading libc.so.1
Reading libTAO_Messaging.so.1.4.0
Reading libgen.so.1
Reading libTAO_ObjRefTemplate.so.1.4.0
Reading libTAO_Valuetype.so.1.4.0
Reading libTAO_IORInterceptor.so.1.4.0
Reading libicudata.so.3
Reading libcurses.so.1
Reading libaio.so.1
Reading libmd.so.1
(dbx) run
Running: app
(process id 13240)
t@1 (l@1) signal SEGV (no mapping at the fault address) in __cplus_fini_at_exit at 0x8393ba5
0x08393ba5: __cplus_fini_at_exit+0x01c9: addb %al,(%eax)
(dbx) where
current thread: t@1
=>[1] __cplus_fini_at_exit(0x8047664, 0x8047770, 0x804769c, 0x81ca778, 0x1, 0x80476a8), at 0x8393ba5
As you can see the application uses some 3rd party libraries, like: ACE (v5.4.0)/TAO (v1.4.0), xerces (v2.8), ICU (v1.2) and Firebird2 (v2.1.1) libraries. The libs were compiled using the same compiler. The problem seems to be within runtime linker - the core was dumped before the code started execution.
I have reproduced the issue with two different versions of compiler:
1. Older
/usr/bin/CC -V
CC: Sun C++ 5.9 SunOS_i386 Patch 124864-01 2007/07/25
uname -a
SunOS XXX 5.10 Generic_139556-08 i86pc i386 i86pc
2. Newer
/usr/bin/CC -V
CC: Sun C++ 5.9 SunOS_i386 Patch 124864-17 2009/10/27
uname -a
SunOS YYY 5.10 Generic_141415-04 i86pc i386 i86pc
Interesting observation, suggesting there is some problem with either linker or runtime linker:
I have a version of the application which runs properly but when I add just one line - include of one of ACE headers to the class which did not contain ACE I end up with the problem described above but if I add any number of includes of ACE headers to the class which already contained (directly or indirectly) ACE code the application still works.
The same source code is compiled on Solaris 9/SPARC platform and it works:
CC -V
CC: Sun C++ 5.5 Patch 113817-19 2006/10/13
uname -a
SunOS ZZZ 5.9 Generic_118558-35 sun4u sparc SUNW,Sun-Fire-V240
Is it any known issue? Thanks in advance for any input.

Hi
Thanks for the answer. I have analyzed my code and found out that, indeed, some static singleton objects were incorrectly implemented. It has been fixed and the application started when compiled under C++ 5.9, but it does not seem to solve the problem. The application was recompiled using the the newest Sun Studio 12.1 9 (C++ 5.10), and then failed to start again. As per your suggestion regarding the place in the code where the crash occurs, I have compared "__cplus_fini_at_exit" functions for both working and broken applications, compiled under C++ 5.9. Here are parts of code (actually, few last lines of the function) from:
- working
0x0827b811: __cplus_fini_at_exit+0x01b5:        call     __STATIC_CONSTRUCTOR   [ 0x81c9dec, .-0xb1a25 ]
0x0827b816: __cplus_fini_at_exit+0x01ba:        call     __STATIC_CONSTRUCTOR   [ 0x81cfb18, .-0xabcfe ]
0x0827b81b: __cplus_fini_at_exit+0x01bf:        call     __STATIC_CONSTRUCTOR   [ 0x81d1004, .-0xaa817 ]
0x0827b820: __cplus_fini_at_exit+0x01c4:        call     OPENSSL_cpuid_setup    [ 0x81e88a0, .-0x92f80 ]
0x0827b825: __cplus_fini_at_exit+0x01c9:        jmp      __cplus_fini_at_exit+0x1d4     [ 0x827b830, .+0xb ]
0x0827b827: __cplus_fini_at_exit+0x01cb:        movl     %esi,%esi
0x0827b829: __cplus_fini_at_exit+0x01cd:        leal     0x00000000(%edi),%edi
0x0827b830: __cplus_fini_at_exit+0x01d4:        nop
0x0827b831: __cplus_fini_at_exit+0x01d5:        popl     %ebx
0x0827b832: __cplus_fini_at_exit+0x01d6:        popl     %esi
0x0827b833: __cplus_fini_at_exit+0x01d7:        popl     %edi
0x0827b834: __cplus_fini_at_exit+0x01d8:        leave
0x0827b835: __cplus_fini_at_exit+0x01d9:        ret      $0x00000000- broken
0x0827b307: __cplus_fini_at_exit+0x01ab:        call     __STATIC_CONSTRUCTOR   [ 0x81c86e8, .-0xb2c1f ]
0x0827b30c: __cplus_fini_at_exit+0x01b0:        call     __STATIC_CONSTRUCTOR   [ 0x81c8eb4, .-0xb2458 ]
0x0827b311: __cplus_fini_at_exit+0x01b5:        call     __STATIC_CONSTRUCTOR   [ 0x81c9b2c, .-0xb17e5 ]
0x0827b316: __cplus_fini_at_exit+0x01ba:        addb     %al,(%eax)  <=====
0x0827b318: __cplus_fini_at_exit+0x01bc:        addb     %al,(%eax)
0x0827b31a: __cplus_fini_at_exit+0x01be:        addb     %al,(%eax)
0x0827b31c: __cplus_fini_at_exit+0x01c0:        addb     %al,(%eax)
0x0827b31e: __cplus_fini_at_exit+0x01c2:        addb     %al,(%eax)
0x0827b320: __cplus_fini_at_exit+0x01c4:        call     OPENSSL_cpuid_setup    [ 0x81e83a0, .-0x92f80 ]
0x0827b325: __cplus_fini_at_exit+0x01c9:        jmp      __cplus_fini_at_exit+0x1d4     [ 0x827b330, .+0xb ]
0x0827b327: __cplus_fini_at_exit+0x01cb:        movl     %esi,%esi
0x0827b329: __cplus_fini_at_exit+0x01cd:        leal     0x00000000(%edi),%edi
0x0827b330: __cplus_fini_at_exit+0x01d4:        nop
0x0827b331: __cplus_fini_at_exit+0x01d5:        popl     %ebx
0x0827b332: __cplus_fini_at_exit+0x01d6:        popl     %esi
0x0827b333: __cplus_fini_at_exit+0x01d7:        popl     %edi
0x0827b334: __cplus_fini_at_exit+0x01d8:        leave
0x0827b335: __cplus_fini_at_exit+0x01d9:        ret      $0x00000000In the broken version, the crash occurs when executing addb     %al,(%eax) instruction at 0x0827b316 (marked above with an arrow). This is because %eax points to some read-only memory - the implementation of one of classes method in this case.
As you can see, in this address there are 5 2-byte long instructions addb     %al,(%eax). Their location in this place seems to make no sense from function logic point of view:
1. Why would we need to add %al register contents five times in a row, to the memory pointed by %eax, in this place?
2. The __cplus_fini_at_exit() function in the working application, that basically looks identical, does not have this sequence of instructions at all.
Looking at the memory dump in this place shows that these are physically 10 bytes of zeros ("e8 f4 ff 00 00 00 00 00 00 00 00 00 00 e8 7b d0") at 0x0827b316 (indeed, the instruction addb     %al,(%eax) is binary coded as 0x00 0x00). It seems, that for some reason, the block of 10 bytes with zero value was injected to the compiler generated code.
I would like to stress - this is not a result of program initialization as both listings presented above come from the applications loaded to "dbx" but not started so they only reflect how binaries look like. I have made one more test - I have edited broken binary and replaced these 10 bytes of zeros with ten "No Operation" instructions ("e8 f4 ff 90 90 90 90 90 90 90 90 90 90 e8 7b d0"). Here is output from "dbx", after the changes made:
0x0827b307: __cplus_fini_at_exit+0x01ab:        call     __STATIC_CONSTRUCTOR   [ 0x81c86e8, .-0xb2c1f ]
0x0827b30c: __cplus_fini_at_exit+0x01b0:        call     __STATIC_CONSTRUCTOR   [ 0x81c8eb4, .-0xb2458 ]
0x0827b311: __cplus_fini_at_exit+0x01b5:        call     __STATIC_CONSTRUCTOR   [ 0x81c9b2c, .-0xb17e5 ]
0x0827b316: __cplus_fini_at_exit+0x01ba:        nop
0x0827b317: __cplus_fini_at_exit+0x01bb:        nop
0x0827b318: __cplus_fini_at_exit+0x01bc:        nop
0x0827b319: __cplus_fini_at_exit+0x01bd:        nop
0x0827b31a: __cplus_fini_at_exit+0x01be:        nop
0x0827b31b: __cplus_fini_at_exit+0x01bf:        nop
0x0827b31c: __cplus_fini_at_exit+0x01c0:        nop
0x0827b31d: __cplus_fini_at_exit+0x01c1:        nop
0x0827b31e: __cplus_fini_at_exit+0x01c2:        nop
0x0827b31f: __cplus_fini_at_exit+0x01c3:        nop
0x0827b320: __cplus_fini_at_exit+0x01c4:        call     OPENSSL_cpuid_setup    [ 0x81e83a0, .-0x92f80 ]
0x0827b325: __cplus_fini_at_exit+0x01c9:        jmp      __cplus_fini_at_exit+0x1d4     [ 0x827b330, .+0xb ]
0x0827b327: __cplus_fini_at_exit+0x01cb:        movl     %esi,%esi
0x0827b329: __cplus_fini_at_exit+0x01cd:        leal     0x00000000(%edi),%edi
0x0827b330: __cplus_fini_at_exit+0x01d4:        nop
0x0827b331: __cplus_fini_at_exit+0x01d5:        popl     %ebx
0x0827b332: __cplus_fini_at_exit+0x01d6:        popl     %esi
0x0827b333: __cplus_fini_at_exit+0x01d7:        popl     %edi
0x0827b334: __cplus_fini_at_exit+0x01d8:        leave
0x0827b335: __cplus_fini_at_exit+0x01d9:        ret      $0x00000000This time the application has started. As everything occurs inside compiler-generated function it seems to me that this analysis strongly suggests that there is a problem with a compiler which puts 10 bytes of mess into __cplus_fini_at_exit.
The binaries used above were built using:
/usr/bin/CC -V
CC: Sun C++ 5.9 SunOS_i386 Patch 124864-01 2007/07/25
I have also checked Sun Studio 12.1 (C++ 5.10) compiler but the attempts to get working application failed (the same problem with zero bytes).
Have you ever encountered similar problem? Are you able to confirm/deny whether it is related to the compiler?
Thanks for further assistance

Similar Messages

  • Jspx page "Designer" crashes during initialization

    Hi JDev team,
    I'm using JDeveloper 11.1.1.2 and have migrated an application from Jdev version 11.1.1.0. When I open any jspx file,
    the "Designer" crashes during initialization.
    Please give me suggestions on fixing this problem.
    Here's an example jsp file:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document binding="#{backingBeanScope.backing_app_part_developerNotes.document1}"
    id="document1">
    <af:form binding="#{backingBeanScope.backing_app_part_developerNotes.form1}"
    id="form1">
    <af:panelStretchLayout binding="#{backingBeanScope.backing_app_part_developerNotes.panelStretchLayout1}"
    id="panelStretchLayout1">
    <f:facet name="bottom">
    <af:panelGroupLayout binding="#{backingBeanScope.backing_app_part_developerNotes.panelGroupLayout3}"
    id="panelGroupLayout3" layout="horizontal"
    halign="center">
    <af:commandButton text="Close"
    binding="#{backingBeanScope.backing_app_part_developerNotes.commandButton1}"
    id="commandButton1">
    <af:returnActionListener/>
    </af:commandButton>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="center">
    <af:panelGroupLayout binding="#{backingBeanScope.backing_app_part_developerNotes.panelGroupLayout2}"
    id="panelGroupLayout2" layout="vertical"
    halign="center">
    <af:commandButton text="Check notes"
    binding="#{backingBeanScope.backing_app_part_developerNotes.commandButton2}"
    id="commandButton2"
    actionListener="#{backingBeanScope.backing_app_part_developerNotes.displayNotes}"/>
    <af:panelGroupLayout binding="#{backingBeanScope.backing_app_part_developerNotes.panelGroupLayout4}"
    id="panelGroupLayout4" layout="horizontal"
    halign="left">
    <af:outputFormatted binding="#{backingBeanScope.backing_app_part_developerNotes.outputFormatted1}"
    id="outputFormatted1"/>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="start"/>
    <f:facet name="end"/>
    <f:facet name="top">
    <af:panelGroupLayout binding="#{backingBeanScope.backing_app_part_developerNotes.panelGroupLayout1}"
    id="panelGroupLayout1" layout="horizontal"
    halign="center">
    <af:outputLabel value="Developer Notes"
    binding="#{backingBeanScope.backing_app_part_developerNotes.outputLabel1}"
    id="outputLabel1"
    inlineStyle="font-size:medium; font-weight:bold;"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelStretchLayout>
    </af:form>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_app_part_developerNotes-->
    </jsp:root>
    And here's the stacktrace:
    Mar 18, 2010 11:17:37 AM facelets.compiler
    SEVERE: Compiler Initialization Error
    java.io.FileNotFoundException: JAR entry META-INF/ not found in C:\oracle\Middleware\oracle_common\modules\oracle.adf.model_11.1.1\adfm.jar
         at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
         at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:71)
         at com.sun.facelets.util.Classpath.search(Classpath.java:65)
         at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:428)
         at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:91)
         at com.sun.facelets.compiler.Compiler.compile(Compiler.java:108)
         at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:197)
         at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:144)
         at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:95)
         at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:533)
         at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:583)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo._service(DesignTimeServletInfo.java:287)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo.service(DesignTimeServletInfo.java:191)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:587)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeFilterInfo._doFilter(DesignTimeFilterInfo.java:458)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeFilterInfo.doFilter(DesignTimeFilterInfo.java:340)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:547)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.service(DesignTimeRequestDispatcher.java:521)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.dispatch(DesignTimeRequestDispatcher.java:327)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.request(DesignTimeRequestDispatcher.java:112)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext._service(DesignTimeServletContainerContext.java:845)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext.service(DesignTimeServletContainerContext.java:786)
         at oracle.jdevimpl.webapp.design.DesignTimeWebApp._renderViewDocument(DesignTimeWebApp.java:1361)
         at oracle.jdevimpl.webapp.design.DesignTimeWebApp.access$400(DesignTimeWebApp.java:106)
         at oracle.jdevimpl.webapp.design.DesignTimeWebApp$5.run(DesignTimeWebApp.java:1300)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)
    Mar 18, 2010 11:17:37 AM com.sun.facelets.FaceletViewHandler handleRenderException
    SEVERE: Error Rendering View[app/part/developerNotes.jspx]
    java.lang.NullPointerException
         at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
         at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
         at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
         at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:540)
         at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:583)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo._service(DesignTimeServletInfo.java:287)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo.service(DesignTimeServletInfo.java:191)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:587)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeFilterInfo._doFilter(DesignTimeFilterInfo.java:458)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeFilterInfo.doFilter(DesignTimeFilterInfo.java:340)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:547)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.service(DesignTimeRequestDispatcher.java:521)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.dispatch(DesignTimeRequestDispatcher.java:327)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.request(DesignTimeRequestDispatcher.java:112)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext._service(DesignTimeServletContainerContext.java:845)
         at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext.service(DesignTimeServletContainerContext.java:786)
         at oracle.jdevimpl.webapp.design.DesignTimeWebApp._renderViewDocument(DesignTimeWebApp.java:1361)
         at oracle.jdevimpl.webapp.design.DesignTimeWebApp.access$400(DesignTimeWebApp.java:106)
         at oracle.jdevimpl.webapp.design.DesignTimeWebApp$5.run(DesignTimeWebApp.java:1300)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)

    Thanks Pedja
    I've tried the given solution and it works.
    I don't want to use an external jdk, because i could have some jdk version problems.
    On 3 other computers Jdeveloper 11g works fine.
    Just download form oracle.com unzip,run jdeveloper.exe and start working working.
    No need to change the JDK.

  • Compiling ant 1.6.2 for Solaris 10 x86

    Hi,
    I need to compile Ant 1.6.2 on Solaris 10 x86 edition (S10 x86 comes with ant 1.5.4 but some of the newer ant syntaxes are not supported in 1.5.4). When I tried doing the compile using Ant 1.6.2 sources from ant.apache.org, I get the following error:
    src/main/org/apache/tools/ant/types/AbstractFileSet.java:48: cannot resolve symbol
    symbol : class ModifiedSelector
    location: package modifiedselector
    import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
    src/main/org/apache/tools/ant/taskdefs/Delete.java:420: cannot resolve symbol
    symbol : class ModifiedSelector
    location: class org.apache.tools.ant.taskdefs.Delete
    public void addModified(ModifiedSelector selector) {
    ^
    ------->(The caret is under M of the word ModifiedSelector)
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -deprecation for details.
    10 errors
    ... Failed compiling Ant classes !
    Bootstrap FAILED
    ModifiedSelector class has some unresolved symbols. And this is present at many places.
    Any idea what I should do to get over this error ?
    Thanks,
    Murthy

    I had the same problem on Solaris 10 sparc. The problem seems to relate to symbolic links with
    long names not being extracted correctly from the tar file (resulting in @LongLink files popping
    up around the place). If you use the .zip source file then the build goes fine.
    Philip.

  • Solaris 9 x86 platform update 4 8/03 can not start Management Console

    smc& but cannot start management console 2.1
    no problem on solaris 8 x86 platform.
    Error as below :
    I cannot start the Solaris Management Console in Solaris 9. The splash screen appears for a few seconds, then nothing else, core dumped.
    There is a error: "Assertion Fail: Offset < fFileSize ............../../../src....
    Any ideas ??????

    Java Bug 4838130:
    http://developer.java.sun.com/developer/bugParade/bugs/4838130.html
    suggests to trace the problem by running the java application with JAVA2D_DEBUGFONTS defined, so try
    env JAVA2D_DEBUGFONTS=1 smc
    The bug report also documents a workaround: Set the environment variable JAVA_FONTS to
    /usr/openwin/lib/X11/fonts/TrueType, i.e.
    env JAVA_FONTS=/usr/openwin/lib/X11/fonts/TrueType smc

  • OCS 10.1.2 on Solaris 10 x86 Platform

    Can any one tell me whether OCS 10.1.2 supports Solaris 10 x86 Platform?
    On the download page it says;
    Oracle Collaboration Suite 10g Release 1 (10.1.2) for Solaris Operating System (SPARC 32-bit)
    But we all know SPARC is 64-bit. Can someone clarify this.
    Thanks!
    Ravin

    Hi,
    Yes - that's a little confusing; Oracle Collaboration Suite 10g is certified on a 64b Solaris SPARC. (The story behind the 32b is a long one, but it's related to client libraries vs. database servers and how 32b/64b liibraries are distinguished).
    To answer your real question, though, No - it's not supported on Solaris x86.
    richard

  • Statically linking libstdc++  on Solaris 10 x86 platform

    hi,
    Using g++, how do i statically link libstdc++ on Solaris 10 x86 platform?
    What are the necessary linker options?
    -Thanks and Regards,
    Ameya

    Questions about using g++ are more likely to get a helpful answer in a g++ forum.
    Try http://gcc.gnu.org/

  • Dynamic binary core dumped on solaris 10 x86 platform !!!!

    Hi,
    I have problem with dynamic binary compiled on solaris 10 x86 with sun studio 10, when i tryed to start this binary i have "illegal instruction (core dumped)".
    But when i generate a static binary, there is NO PROBLEM! the binary start normally!
    also when i compiled the binary, there is no problem, the compilation is normally terminated in both case (static and dynamic)!
    I would be most grateful for any response.
    Best Regards,
    Skander

    Hi,
    Yes - that's a little confusing; Oracle Collaboration Suite 10g is certified on a 64b Solaris SPARC. (The story behind the 32b is a long one, but it's related to client libraries vs. database servers and how 32b/64b liibraries are distinguished).
    To answer your real question, though, No - it's not supported on Solaris x86.
    richard

  • Error compiling GCC 4.3.1 on Solaris 10 x86 (Update 5)

    I am getting error when building GCC 4.3.1 on Solaris 10 x86.
    Have any of you built GCC 4.3.1 on Sol 10 x86?
    Here's the background:
    $ cat /etc/release
    Solaris 10 5/08 s10x_u5wos_10 X86
    Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 24 March 2008
    $ isainfo -x
    amd64: cx16 mon sse3 sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu
    i386: cx16 mon sse3 sse2 sse fxsr mmx cmov sep cx8 tsc fpu
    $ isalist
    amd64 pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
    $ echo $PATH
    /usr/sfw/bin:/usr/local/bin:/usr/X/bin:/etc:/sbin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/usr/bin
    $ ../gcc-4.3.1/configure program-suffix=-4.3.1 enable-languages=c,c++
    with-mpfr=/usr/local with-gmp=/usr/local
    with-gnu-as with-as=/usr/sfw/bin/gas
    without-gnu-ld with-ld=/usr/ccs/bin/ld
    And here's the failure:
    /usr/local/src/gcc-4.3.1/s10i/./gcc/xgcc
    -B/usr/local/src/gcc-4.3.1/s10i/./gcc/
    -B/usr/local/i386-pc-solaris2.10/bin/
    -B/usr/local/i386-pc-solaris2.10/lib/
    -isystem /usr/local/i386-pc-solaris2.10/include
    -isystem /usr/local/i386-pc-solaris2.10/sys-include
    -O2 -O2 -g -g -O2 -DIN_GCC -W -Wall
    -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
    -Wold-style-definition -isystem ./include -fPIC -g
    -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
    -D__GCC_FLOAT_NOT_NEEDED -shared
    -nodefaultlibs -Wl,-h,libgcc_s.so.1
    -Wl,-z,text -Wl,-z,defs -Wl,-M,libgcc.map
    -o amd64/libgcc_s.so.1.tmp -g -fkeep-inline-functions
    -m64 -B./ muldi3s.o negdi2s.o lshrdi3s.o ashldi3s.o
    ashrdi3s.o
    cmpdi2s.o ucmpdi2s.o clearcache_s.o enableexecute_stack_s.o
    trampolines.o __main_s.o absvsi2s.o absvdi2s.o addvsi3s.o
    addvdi3s.o subvsi3s.o subvdi3s.o mulvsi3s.o mulvdi3s.o negvsi2s.o
    negvdi2s.o ctorss.o ffssi2s.o ffsdi2s.o clzs.o clzsi2s.o clzdi2s.o
    ctzsi2s.o ctzdi2s.o popcounttab_s.o popcountsi2s.o popcountdi2s.o
    paritysi2s.o paritydi2s.o powisf2s.o powidf2s.o powixf2s.o powitf2s.o
    mulsc3s.o muldc3s.o mulxc3s.o multc3s.o divsc3s.o divdc3s.o
    divxc3s.o divtc3s.o bswapsi2s.o bswapdi2s.o fixunssfsis.o
    fixunsdfsis.o fixunsxfsis.o fixsfdis.o fixdfdis.o fixxfdis.o fixtfdis.o
    fixunssfdis.o fixunsdfdis.o fixunsxfdis.o fixunstfdis.o floatdisfs.o
    floatdidfs.o floatdixfs.o floatditfs.o floatundisfs.o floatundidfs.o
    floatundixfs.o floatunditfs.o divdi3s.o moddi3s.o udivdi3s.o umoddi3s.o
    udivw_sdiv_s.o udivmoddi4s.o unwind-dw2_s.o unwind-dw2-fde_s.o unwind-sjlj_s.o
    gthr-gnat_s.o unwind-c_s.o emutls_s.o -lc && rm -f amd64/libgcc_s.so
    && if [ -f amd64/libgcc_s.so.1 ]; then mv -f amd64/libgcc_s.so.1 amd64/libgcc_s.so.1.backup; else true; fi
    && mv amd64/libgcc_s.so.1.tmp amd64/libgcc_s.so.1
    && ln -s libgcc_s.so.1 amd64/libgcc_s.so
    ld: fatal: unwind table: file /usr/local/src/gcc-4.3.1/s10i/./gcc/amd64/crtend.o: section .eh_frame:
    bad cie version 0: offset 0xfffffd7fffdfb700
    How do I build GCC 4.3.1 on Solaris x86?
    Thanks

    The bootstrap compiler is GCC 3.4.3.
    I tried Sun's assembler (/usr/ccs/bin/as) too and got another error (below)
    I also tried bootstrapping with Sun's Studio 12 compiler but that too failed.
    *$ pkginfo -x SUNWbinutils SMCbinut*
    SMCbinut binutils
    (x86) 2.17
    SUNWbinutils binutils - GNU binutils
    (i386) 11.10.0,REV=2005.01.08.01.09
    *$ whence gcc*
    /usr/sfw/bin/gcc
    *$ gcc -v*
    Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
    Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure prefix=/usr/sfw with-as=/usr/sfw/bin/gas with-gnu-as with-ld=/usr/ccs/bin/ld without-gnu-ld enable-languages=c,c++ --enable-shared
    Thread model: posix
    gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
    The error this time is:
    /big1/usr.local.src/gcc-4.3.1/s10i/./gcc/xgcc -B/big1/usr.local.src/gcc-4.3.1/s10i/./gcc/ -B/usr/local/i386-pc-solaris2.10/bin/ -B/usr/local/i386-pc-solaris2.10/lib/ -isystem /usr/local/i386-pc-solaris2.10/include -isystem /usr/local/i386-pc-solaris2.10/sys-include -g -fkeep-inline-functions -m64 -O2 -O2 -g -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../.././gcc -I../../../../gcc-4.3.1/libgcc -I../../../../gcc-4.3.1/libgcc/. -I../../../../gcc-4.3.1/libgcc/../gcc -I../../../../gcc-4.3.1/libgcc/../include -DHAVE_CC_TLS -o gcov.o -MT gcov.o -MD -MP -MF gcov.dep -DLgcov -c ../../../../gcc-4.3.1/libgcc/../gcc/libgcov.c
    Assembler: libgcov.c
    "/var/tmp//ccYcw90K.s", line 1936 : Syntax error
    Near line: " repz cmpsb"

  • Installation of Solaris 8 (x86 Platform Edition

    Hi guys,
    I have downloaded the Solaris 8 for intel version and burnt them into CDs. (3 CDs). I tried to download the Solaris (x86 Platform Edition) Device Configuration Assistant Boot Diskette, but instead of downloading, it opens in another Internet explorer window. I tried pressing shift while downloading, that doesn't work. And also I tried to boot using the Solaris installation CD for installing, it says cannot boot from CDROM. Please help me. How can I proceed with installation?
    With regards,
    Amin

    Well I had undergone the same problem, what I did was then use Netscape Enterprise Browser, and there is worked just fine, and was able to save the file onto my pc, without it being opening in an another window, so if possible use Netscape Browser and try and see what happens. Hope this helps you.
    Samir Patel

  • Plugin crashing during initialization on ID CC 2014

    Hello everybody,
    I ported a plugin from Mac OS 10.8 to Windows 8.
    It compiles correctly but at boot InDesign CC 2014 gets an exception in CrtIsValidHeapPointer.
    The plugin uses std::string a lot. Is that a problem on Windows?
    Thank you for any help!
    Luca Severini

    Hey Luca,
    Long time no see!
    If that happened to one of my plug-ins I'd suspect some memory overwrite, double deallocation, using non-allocated memory, wrong pointer dereference, index overrun, that kind of stuff.
    I always compile my plug-ins on Mac and on Windows, and I always find that some bugs can go largely unnoticed on one platform, but are detectable on the other; I frequently alternate from Mac to Windows and back during development as a means of catching more issues.
    This seems to be such a case.
    Make sure to test with the debug version of InDesign - that will catch a lot of bad behavior. If you are already doing that, or the issue does not show up, you might need to look into the various low-level memory management debugging tools.
    Without the debug version, all kinds of bad stuff can happen without you noticing. The debug version has an extensive safety net to catch many, but not all, such issues.
    In my experience, such warnings indicate nearly always a real problem and warrant investigation and need to be fixed. Often, you might see them 'go away' by themselves as the code is being worked on, but that normally just means that the memory overwrite has moved to a different area where it is not being detected any more.
    My recommendation: don't let this 'slip away'. I've often seen developers poke around aimlessly until the issue suddenly goes away, and assume they've 'fixed it'. That's dangerous. Unless you gain complete understanding of what is happening and why you get the error, you'd be sitting on a time bomb.
    Having a repeatable crash is worth a lot: that can help you diagnose where it is coming from.
    If you're interested, I am going to PePcon, and we're having a little developer get-together there:
    Creative Developers Summit - PePcon

  • Flash Crashes during Initialization. (Unable to load polystar.jsfl)

    This is a new issue that just cropped up for me that I did not used to have. It seems to have occurred roughly the same time as I began having some issues with Reader X, if that helps shed any light. Anyway, what happens is I start flash pro, and it goes to "Building Workspace" right before a pop-up comes and sayts "An error occurred opening file'C:\Users\*My username*\AppData\Local\Flash CS5\en_US\Tools\Polystar.jsfl." I click ok and I get a Visual C++ Runtime Library runtime error. If I try to reinstall Flash it says it couldn't install fully. I am so confused, I don't know whats going on. Can anyone shed any light on my problem?

    I had the same error while trying to load resource modules from a remote domain.  If you had the same problem as I, it boils down to a problem with the security features of Flex.
    I was able to solve it by always running and debuggging from localhost.  As long as you follow the steps listed here: http://www.flexafterdark.com/docs/Flex-Modules  Look at the section titled: "Loading Modules across domain"
    But if you don't want to always load from localhost, there is another way to get around this error.  See the blog post I made on this subject. http://blog.mediarain.com/2009/08/flex-loading-remote-modules-throws-the-following-error-u nable-to-load-resource-module-from/
    Either of these approaches should hopefully solve your problem.

  • Install oracle10g at solaris 10 x86 platform ORA-07445 error occured

    I meet a problem when install oracle10g at solaris 10.when create database, the dbca display infomation:
    ora-03113 "end-of-file on communication channel"
    ora-03114 ORACLE not available
    Perhaps someone can give me some advices ?
    Its very urgent
    Thanks and Best Regards
    Dillon.xu
    OS: solaris10g
    # showrev
    Hostname: v40-1
    Hostid: 24ea10ed
    Release: 5.10
    Kernel architecture: i86pc
    Application architecture: i386
    Hardware provider:
    Domain: test.com
    Kernel version: SunOS 5.10 s10_74
    v40-1# prtconf |grep Mem
    Memory size: 2048 Megabytes
    database: oracle10g 10.1.0.3
    Oracle trace file info:
    export/home/oracle/product/10.0/rdbms/log/ora10g_ora_1759.trc
    Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /export/home/oracle/product/10.0
    System name: SunOS
    Node name: v40-1
    Release: 5.10
    Version: s10_74
    Machine: i86pc
    Instance name: ora10g
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 0
    1759
    kstwlb: SGA is no longer mapped
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0x
    59fffff4
    *** 2005-02-22 14:20:07.861
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [SIGSEGV] [Address not mapped to obj
    ect] [1509949428] [] [] []
    Current SQL information unavailable - no session.
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)

    10g on Solaris 10 isn't yet supported. It is announced for March 2005.

  • Sun one 7 update 3 + solaris 8 -x86 setup crashes..!

    Hi
    I'm having a wierd problem setting up sun one app server update 3 on solaris 8 x86 platform.
    The issue is that when i try running the setup it crashes
    ======================================
    ./setup -console
    ld.so.1: ./setup: fatal: libCstd.so.1: open failed: No such file or Directory
    Killed
    ======================================
    I guess the app server is not fiding some shared object.. so i edited /etc/default/init and added
    LD_LIBRARY_PATH=/usr/lib:/usr/local/lib.. but no luck ! I could not find any patch @ sunsolve that addresses this issue ...
    The app server was supposed to be for solaris 9-x86. Is it causing the problem ? is there any workaround for this ?
    Also does any one know how to remove all the windowing packages from a solaris machine ? I want the machie to be a server with no GUI stuff on it ..

    Try collecting and looking into the sequence of all system calls taking place during setup execution with truss:
    # truss -o truss.out -feald ./setup -console
    There is a good chance that you might notice the reason why the ld is failing on trying to load the libCstd.so.

  • Solaris 10  x86 mod_jk for Apache to Tomcat compilation error

    Hi,
    I try to figure it out how to compile the sources of mod_jk under Solaris 10 x86 on v20z server. The configuration goes right. But when I try to use make. This error appears. The version of mod_jk is 1.1.14. Can anybody help with this probleme?
    Here is the result of the make:
    gcc: .libs/mod_jk.o: No such file or directory
    gcc: ../common/.libs/jk_ajp12_worker.o: No such file or directory
    gcc: ../common/.libs/jk_connect.o: No such file or directory
    gcc: ../common/.libs/jk_msg_buff.o: No such file or directory
    gcc: ../common/.libs/jk_util.o: No such file or directory
    gcc: ../common/.libs/jk_ajp13.o: No such file or directory
    gcc: ../common/.libs/jk_pool.o: No such file or directory
    gcc: ../common/.libs/jk_worker.o: No such file or directory
    gcc: ../common/.libs/jk_ajp13_worker.o: No such file or directory
    gcc: ../common/.libs/jk_lb_worker.o: No such file or directory
    gcc: ../common/.libs/jk_sockbuf.o: No such file or directory
    gcc: ../common/.libs/jk_map.o: No such file or directory
    gcc: ../common/.libs/jk_uri_worker_map.o: No such file or directory
    gcc: ../common/.libs/jk_ajp14.o: No such file or directory
    gcc: ../common/.libs/jk_ajp14_worker.o: No such file or directory
    gcc: ../common/.libs/jk_md5.o: No such file or directory
    gcc: ../common/.libs/jk_shm.o: No such file or directory
    gcc: ../common/.libs/jk_ajp_common.o: No such file or directory
    gcc: ../common/.libs/jk_context.o: No such file or directory
    gcc: ../common/.libs/jk_status.o: No such file or directory
    make[1]: *** [mod_jk.la] Error 1
    make[1]: Leaving directory `/install/jakarta-tomcat-connectors-1.2.14.1-src/jk/native/apache-1.3'
    make: *** [all-recursive] Error 1
    Anybody can help???

    You have to run "make clean" and then make.
    Probably the files could not be compiled because of errors in the first place.
    Try to download the source for apache and compile it for the current platform, otherwise you could get wrong settings.

  • Install EM 10g Grid Control on  Solaris 10 x86

    Hi all
    I need to install Enterprise Manager 10g Grid Control Release 2 on Solaris 10 x86 platform.
    I found out the following link where I can download the software:
    http://www.oracle.com/technology/software/products/oem/index.html
    Howerver it seems that there isn't any download for my platform. Does anybody know where can I find the software?
    How can I configure EM Grid Control on that platform if I don't have the software. Does anybody know a manual installation and configuration method?
    King regard and thank you
    Aron

    That means it is not yet available for 10.2, but it is for 10.1

Maybe you are looking for

  • ICloud is a game :)

    iCloud control Panel 2.x is still not ready for professional use, only for games With iCloud control Panel 2.x you cannot choose which Outlook folder to sync ! Hoping some Apple developer reading this thread: A professional Outlook user, has normally

  • Receiving Transaction Processor Usage

    How to create DELIVER transaction for a receipt in RECEIVE status manually? What is the usage of rcv_shipment_interface and rcv_transactions_interface tables? Are these similar to the ap and gl interface tables? Is it that the records get deleted for

  • HR administrator in RPTARQEMAIL

    The documentation for RPTARQEMAIL ( Leave Request Email ) says that HR adminstrator is determined through the Badi PT_GEN_REQ. Yesterday some errors in the posting happened and the program RPTARQEMAIL send out the email to few people in the organisat

  • Had a computer worm, think iPod was affected... Many questions...

    Hi Folks, Crazy week here - long story and long posting, but bottom line installed some new virus protection software and in the process stepped in my firewall and my machine got a couple of bugs - 1 virus, 1 worm. Had to reformat and start over, but

  • My serial number is used

    I can not register my  series number! Because she has someone else already registered. What can I run now?