Core in __Cimpl::cplus_fini()

My multi-threaded application crashed once. The call stack is shown below.
t@null (l@1) terminated by signal SEGV (no mapping at the fault address) 0xfedd4810: getusa+0x0068: ba getusa+0x80
==============================================
[1] getusa(0x1fa49d8, 0x5f5344e9, 0x93ac8, 0x31ab50, 0x0, 0x1fa49c8), at 0xfed4810
[2] posixgetdst(0x1fa4980, 0x5f534540, 0x1fa4978, 0x1fa4980, 0x0, 0x2), at 0xfdd4380
[3] posixgetdst(0x50, 0x1, 0x941c4, 0xf3d74, 0xfee68284, 0xfee709b0), at 0xfed4104
[4] __Cimpl::cplus_fini(0x50, 0x4e2380, 0x45f0e6, 0x13798, 0xfeeea780, 0x1f1e10), at 0xfeed7010
[5] MyString::MyString(0xffbfe67c, 0x4900f9, 0x0, 0x22, 0x0, 0x1a711c), at *0x272ae4*
==============================================
The assembly in *0x272ae4* is:
==============================================
0x00272ae4: MyString+0x0030: call operator new[] [PLT]
==============================================
My class looks like this:
==============================================
MyString::MyString()
     : area(0), capacity(default), _count(0)
     _area = new char [ default ];
     _area[_count] = '\0';
=============================================
$pmap core
FEA7A000 8K read/write/exec
FEB7A000 8K read/write/exec
FEBB0000 64K read/write/exec
FEBD0000 8K read/write/exec
FEBE0000 64K read/write
FEC00000 64K read/write
FEC20000 64K read/write/exec
FEC40000 112K read/exec /usr/lib/cpu/sparcv8plus/libCstd_isa.so.1
FEC6A000 16K read/write/exec /usr/lib/cpu/sparcv8plus/libCstd_isa.so.1
FEC80000 680K read/exec
FED38000 32K read/write/exec
FED50000 8K read/exec
FED60000 24K read/write/exec
FED70000 8K read/write/exec
FED80000 864K read/exec /usr/lib/libc.so.1
FEE68000 32K read/write/exec
FEE70000 8K read/write/exec
FEE80000 8K read/exec /usr/lib/libmd5.so.1
FEE92000 8K read/write/exec /usr/lib/libmd5.so.1
FEEA0000 32K read/exec /usr/lib/libaio.so.1
FEEB8000 8K read/write/exec /usr/lib/libaio.so.1
FEEC0000 8K read/write/exec
FEED0000 48K read/exec /usr/lib/libCrun.so.1
FEEEA000 8K read/write/exec /usr/lib/libCrun.so.1
FEEEC000 16K read/write/exec /usr/lib/libCrun.so.1
FEF00000 1440K read/exec /usr/lib/libCstd.so.1
FF076000 40K read/write/exec
FF090000 48K read/exec /usr/lib/libsocket.so.1
FF0AC000 8K read/write/exec
FF0C0000 24K read/exec /usr/lib/libgen.so.1
FF0D6000 8K read/write/exec /usr/lib/libgen.so.1
FF0E0000 16K read/exec /usr/lib/libm.so.1
FF0F2000 8K read/write/exec
FF100000 584K read/exec /usr/lib/libnsl.so.1
FF1A2000 40K read/write/exec
FF1AC000 24K read/write/exec
FF1B8000 16K read/exec /usr/lib/libthread.so.1
FF1C8000 16K read/exec /usr/lib/libpthread.so.1
FF1D0000 8K read/exec /usr/lib/libkstat.so.1
FF1E2000 8K read/write/exec /usr/lib/libkstat.so.1
FF1F0000 8K read/write/exec
FF200000 712K read/exec
FF2C0000 240K read/write/exec
FF2FC000 464K read/write/exec
FF380000 24K read/exec /usr/lib/librt.so.1
FF396000 8K read/write/exec /usr/lib/librt.so.1
FF3A0000 8K read/exec /usr/lib/libdl.so.1
FF3B0000 184K read/exec /usr/lib/ld.so.1
FF3EE000 8K read/write/exec /usr/lib/ld.so.1
FF3F0000 8K read/write/exec /usr/lib/ld.so.1
FFBE0000 128K read/write/exec [ stack ]
===============================================
Could someone please give me an idea why the application crashed in new operator? And why __Cimpl::cplus_fini() is called?
Thanks in advance

You might be seeing a bug in the compiler or in system libraries, or it
might be a bug in the user code. Among the kinds of program errors that
can lead to crashes like these are
- using an invalid pointer
  - uninitialized
  - dangling (points to object that no longer exists)
  - incremented or decremented outside object bounds
  - points other than to an object start address
- deleting an object more than once
- reading or writing outside object bounds
- failing to guard shared object in multi-threaded code
- race condition in multi-threaded codeThe program failure usually occurs far away in space and time from the
actual error condition.
These errors do not always lead to a program crash. An invalid pointer
might sometimes by accident point to a harmless location. A race
condition can go millions of cycles without causing a problem. Access to
a deleted object can succeed by accident if the memory was not re-used.
Any change in program code or compiler options can turn one of these
programming errors into an actual failure, or the other way around.
Of course, a compiler or system library bug might be the cause, but you
can't tell from a core dump and stack trace. The core file present a
static picture after things have gone wrong. You need to trace the
dynamic sequence of events to find where the first thing went wrong.
Try running the program under dbx with Run-Time Checking enabled.
RTC will find some of these errors.
% dbx myprog
(dbx) check -all
(dbx) run

Similar Messages

  • Application crashing with error *** libthread failure: _thread_setschedpar

    On Solaris9 my application is crashing with this error message.
    *** libthread failure: threadsetschedparam_main() fails
    Application is running fine on Solaris10.
    Program Stack trace at this crash is
    =>[1] __lwp_kill(0x0, 0x6, 0x0, 0xfffffffffffffff8, 0x0, 0xffffffff7fffe1f9), at 0xffffffff7a9a8ebc
    [2] Abort(0xffffffff7fffe2a0, 0x0, 0x3a, 0x7efefeff, 0x81010100, 0xff00), at 0xffffffff7ac094a0
    [3] panic(0xffffffff7ac18768, 0xffffffff77d00000, 0x0, 0x1, 0x0, 0xffffffff7fffe519), at 0xffffffff7ac0959c
    [4] ceilprio_inherit(0xff, 0x0, 0x0, 0x10533c, 0xffffffff7ac13b04, 0x0), at 0xffffffff7ac126a8
    [5] mutex_lock_internal(0x0, 0x0, 0xffffffff77d00000, 0x17a50, 0xffffffff77c40400, 0x0), at 0xffffffff7ac13c5c
    [6] std::basic_streambuf<char,std::char_traits<char> >::getloc(0x1005d6590, 0xffffffff7b2ceaa0, 0x1005d6580, 0x1fbf44, 0xffffffff77c40700, 0xffffffff7fffebac), at 0xffffffff7b11d49c
    [7] std::basic_filebuf<char,std::char_traits<char> >::overflow(0xffffffff7b2ceaa0, 0xffffffffffffffff, 0xffffffff7b2c0608, 0x400, 0xffffffff7b2ceaa0, 0x2), at 0xffffffff7b0c47d8
    [8] std::basic_filebuf<char,std::char_traits<char> >::sync(0xffffffff7b2ceaa0, 0x0, 0xffffffff77d00000, 0x1041fc, 0xffffffff7b0c46b0, 0x8), at 0xffffffff7b0c62d0
    [9] std::basic_ostream<char,std::char_traits<char> >::flush(0xffffffff7b2cc920, 0xffffffff7b2cc930, 0xd338, 0xffffffff7b0c62a0, 0xffffffff7b2c0608, 0xffffffff7b2c8528), at 0xffffffff7b080e9c
    [10] std::ios_base::Init::~Init(0x1, 0xffffffff7b2ced30, 0xffffffff7b2c0608, 0x790, 0x1a6914, 0x400), at 0xffffffff7b119d40
    [11] __SUNW_fini_iostreams(0xff000000, 0xff000000, 0xffffffff77c00000, 0x2a640, 0xffffffff77c40180, 0x10c800), at 0xffffffff7b11a7dc
    [12] __Cimpl::cplus_fini(0xffffffff7af0dc60, 0x0, 0x1, 0x104344, 0xffffffff7df47e38, 0xffffffff7b2cd288), at 0xffffffff7ae086ac
    [13] __cplus_fini_at_exit(0x0, 0x0, 0xffffffff77d00000, 0x50, 0x24ff98, 0x0), at 0xffffffff7b133f30
    [14] _exithandle(0x28000, 0x1004bbd38, 0x24fb10, 0x1001188e4, 0xffffffff7ffff028, 0xffffffff7aab6f78), at 0xffffffff7a926e5c
    [15] exit(0x3, 0xffffffff7ffff1f8, 0xffffffff7ffff210, 0x0, 0x0, 0x100000000), at 0xffffffff7a9a9518
    Can somebody tell me why this issue is occurring on Solaris9.
    What could be the possible fix.
    Thanks in advance.
    Chaitanya Srikar

    On Solaris9 my application is crashing with this error message.
    *** libthread failure: threadsetschedparam_main() fails
    Application is running fine on Solaris10.
    Program Stack trace at this crash is
    =>[1] __lwp_kill(0x0, 0x6, 0x0, 0xfffffffffffffff8, 0x0, 0xffffffff7fffe1f9), at 0xffffffff7a9a8ebc
    [2] Abort(0xffffffff7fffe2a0, 0x0, 0x3a, 0x7efefeff, 0x81010100, 0xff00), at 0xffffffff7ac094a0
    [3] panic(0xffffffff7ac18768, 0xffffffff77d00000, 0x0, 0x1, 0x0, 0xffffffff7fffe519), at 0xffffffff7ac0959c
    [4] ceilprio_inherit(0xff, 0x0, 0x0, 0x10533c, 0xffffffff7ac13b04, 0x0), at 0xffffffff7ac126a8
    [5] mutex_lock_internal(0x0, 0x0, 0xffffffff77d00000, 0x17a50, 0xffffffff77c40400, 0x0), at 0xffffffff7ac13c5c
    [6] std::basic_streambuf<char,std::char_traits<char> >::getloc(0x1005d6590, 0xffffffff7b2ceaa0, 0x1005d6580, 0x1fbf44, 0xffffffff77c40700, 0xffffffff7fffebac), at 0xffffffff7b11d49c
    [7] std::basic_filebuf<char,std::char_traits<char> >::overflow(0xffffffff7b2ceaa0, 0xffffffffffffffff, 0xffffffff7b2c0608, 0x400, 0xffffffff7b2ceaa0, 0x2), at 0xffffffff7b0c47d8
    [8] std::basic_filebuf<char,std::char_traits<char> >::sync(0xffffffff7b2ceaa0, 0x0, 0xffffffff77d00000, 0x1041fc, 0xffffffff7b0c46b0, 0x8), at 0xffffffff7b0c62d0
    [9] std::basic_ostream<char,std::char_traits<char> >::flush(0xffffffff7b2cc920, 0xffffffff7b2cc930, 0xd338, 0xffffffff7b0c62a0, 0xffffffff7b2c0608, 0xffffffff7b2c8528), at 0xffffffff7b080e9c
    [10] std::ios_base::Init::~Init(0x1, 0xffffffff7b2ced30, 0xffffffff7b2c0608, 0x790, 0x1a6914, 0x400), at 0xffffffff7b119d40
    [11] __SUNW_fini_iostreams(0xff000000, 0xff000000, 0xffffffff77c00000, 0x2a640, 0xffffffff77c40180, 0x10c800), at 0xffffffff7b11a7dc
    [12] __Cimpl::cplus_fini(0xffffffff7af0dc60, 0x0, 0x1, 0x104344, 0xffffffff7df47e38, 0xffffffff7b2cd288), at 0xffffffff7ae086ac
    [13] __cplus_fini_at_exit(0x0, 0x0, 0xffffffff77d00000, 0x50, 0x24ff98, 0x0), at 0xffffffff7b133f30
    [14] _exithandle(0x28000, 0x1004bbd38, 0x24fb10, 0x1001188e4, 0xffffffff7ffff028, 0xffffffff7aab6f78), at 0xffffffff7a926e5c
    [15] exit(0x3, 0xffffffff7ffff1f8, 0xffffffff7ffff210, 0x0, 0x0, 0x100000000), at 0xffffffff7a9a9518
    Can somebody tell me why this issue is occurring on Solaris9.
    What could be the possible fix.
    Thanks in advance.
    Chaitanya Srikar

  • Core dump before entering main in Solaris 5.7 using SunWS 5.3 compiler

    Hi ..
    I have a test program which links with one of our libraries. Both have been built using SunWS 5.3 compiler on Solaris 5.7 machine.
    CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-19 2003/12/18
    This test application cores even before it enters main(). The gdb stack trace is as follows :
    #0 0xfeff9e94 in __sigprocmask ()
    #1 0xfefef3f4 in _resetsig ()
    #2 0xfefeebb0 in _sigon ()
    #3 0xfeff19a0 in thrpkill ()
    #4 0xff1b95a8 in abort ()
    #5 0xff2741e8 in void __Cimpl::ex_terminate() ()
    #6 0xff274c28 in exthrow_body ()
    #7 0xff358478 in void std::locale::init() ()
    #8 0x4363c in std::basic_streambuf<wchar_t,std::char_traits<wchar_t> >::basic_streambuf #Nvariant 1() ()
    #9 0x416c8 in std::basic_filebuf<wchar_t,std::char_traits<wchar_t> >::basic_filebuf(int) ()
    #10 0x3ae48 in std::__Wide_Init::__Wide_Init() ()
    #11 0x3b044 in __SUNW_init_wiostreams ()
    #12 0xff276364 in void __Cimpl::cplus_init() ()
    #13 0xff277e18 in __cplus_fini_at_exit ()
    #14 0xff3bcff0 in ?? ()
    #15 0xff3bc764 in ?? ()
    #16 0xff3c80c4 in ?? ()
    #17 0xff3b2bf4 in ?? ()
    The dbx stack trace is :
    current thread: t@1
    =>[1] __sigprocmask(0x0, 0xffbef098, 0x0, 0xffffffff, 0xffffffff, 0x0), at 0xfeff9e94
    [2] _resetsig(0xff00cb24, 0x0, 0x0, 0x0, 0x8ac14, 0x8ac18), at 0xfefef3ec
    [3] _sigon(0xff014458, 0xff014438, 0x8ac10, 0xffbef16c, 0x6, 0xff1ce178), at 0xfefeeba8
    [4] thrpkill(0x0, 0x1, 0x6, 0xff00cb24, 0x8ab98, 0xff274818), at 0xfeff1998
    [5] abort(0xff235f84, 0x0, 0xff3b2c28, 0x15888, 0x14620, 0xff2743b8), at 0xff1b95a0
    [6] __Cimpl::ex_terminate(0x0, 0xff358538, 0xff28a940, 0xff3939a0, 0x3760c, 0x1), at 0xff2741e0
    ---- hidden frames, use 'where -h' to see them all ----
    [8] std::locale::init(0x0, 0x0, 0xff00cb24, 0x0, 0x0, 0x2a8), at 0xff358470
    [9] std::basic_streambuf<wchar_t,std::char_traits<wchar_t> >::basic_streambuf(0x86a60, 0x42b7c, 0x0, 0x0, 0x7c, 0x84218), at 0x43634
    [10] std::basic_filebuf<wchar_t,std::char_traits<wchar_t> >::basic_filebuf(0x86a60, 0x0, 0x0, 0x4943c, 0x0, 0x0), at 0x416c0
    [11] std::__Wide_Init::__Wide_Init(0x86ba8, 0x1, 0x0, 0x0, 0x0, 0x0), at 0x3ae40
    [12] __SUNW_init_wiostreams(0xff394214, 0x3b030, 0xffffffff, 0xff394210, 0xff28a08c, 0xff28a820), at 0x3b03c
    [13] __Cimpl::cplus_init(0x0, 0x0, 0x15bb8, 0xfeff68f8, 0xff28a748, 0xfffed858), at 0xff27635c
    [14] 0xff277e10(0x0, 0xff3e6a8c, 0xff3e7004, 0xff3e7004, 0xff3e7004, 0xff3bcfe0), at 0xff277e0f
    [15] call_init(0xff3e86c8, 0xff3e6aa8, 0xff3e6b7c, 0x200000, 0xfefd154c, 0xfefd1548), at 0xff3bcfe8
    [16] setup(0xff3e8a70, 0xff3e6a10, 0x0, 0xff3e6aa8, 0x84890, 0x10074), at 0xff3bc75c
    [17] _setup(0xff3b2774, 0x202, 0x300, 0xffffffff, 0xffffffff, 0xff3b0000), at 0xff3c80bc
    [18] rtboot(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff3b2bec
    Interestingly, if I compile the same code on a Sun 5.6 machine with the same 5.3 compiler (CC: Sun WorkShop 6 update 2 C++ 5.3 2001/05/15), there is no core.
    Looks like some global object is creating a problem since it is coring before entering main itself.
    Does anybody have an idea of what is the problem ? Do I have to install any patch for this ?
    Thanks in advance.
    Ganesh

    Hi Stephen ..
    Thanks for your reply. I will definitely try what you suggested. But why does this work correctly when I build the library (.so) in Sun 5.6 and build the executable in 5.7 ??
    Here are the ldd outputs for the library after being built on 5.6 and 5.7 respectively.
    On 5.6 :
    libc.so.1 => /usr/lib/libc.so.1
    libposix4.so.1 => /usr/lib/libposix4.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libaio.so.1 => /usr/lib/libaio.so.1
    /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
    On 5.7 :
    libc.so.1 => /usr/lib/libc.so.1
    librt.so.1 => /usr/lib/librt.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libaio.so.1 => /usr/lib/libaio.so.1
    libw.so.1 => /usr/lib/libw.so.1
    /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
    As you can see, there are slight differences, notable among them being libCrun ad libposix4. Could they be creating any problems ?
    I saw a similar issue in this thread : http://forum.sun.com/thread.jspa?threadID=19986&tstart=150
    It talks about patches which can solve this issue. Do you have an idea which patch can solve this issue ? (if it can :) )
    Your reply is highly appreciated.
    Thanks,
    Ganesh

  • Value type exception causes core dump

    Hi,
    Here is the situation: Session EJB (SynchronousAdapterBean) running on WebLogic
    7.0 is being called by C++ client using Tuxedo 8.1 Solaris 8. The SynchronousAdapterBean
    has a find method which throws a user defined exception (SynchronousAdapterException)
    resulting in a core dump.
    I have read through much documentation on the newsgroups, edocs.bea.com, and
    the examples coming with WebLogic.
    Here some of the things I did:
    1.
    When using the 'idl' command to generate the C++ code, I did not forget to use
    a '-i' to generate the implementation files: SynchronousAdapterException_i.cpp
    and SynchronousAdapterException_i.h.
    In my "play with it to make it work" phase, I also did this for: SynchronousAdapterEx_i.cpp
    and SynchronousAdapterEx_i.h.
    2.
    In my C++ client, I did not forget to register the factory as such:
    orb->register_value_factory
    ((char* const)com::trs::cv::comm::cnja::synchadapter::_tc_SynchronousAdapterException->id(),
    (CORBA::ValueFactory)
    new com_trs_cv_comm_cnja_synchadapter_SynchronousAdapterException_factory());
    This seemed to work because I actually put debug cout statements in the 'com_trs_cv_comm_cnja_synchadapter_SynchronousAdapterException_factory'
    in the file SynchronousAdapterEx_i.cpp and it confirmed that it was constructed
    and the reference count was incremented.
    3.
    I know for sure that it is a 'SynchronousAdapterException' being thrown on the
    server side because all the find method does it this point is:
    throw new SynchronousAdapterException("test1");
    Questions:
    1. I read at a few places that one only has to register the "most derived" class
    being thrown (in my case 'SynchronousAdapterException'). What does one do with
    all the other exceptions generated:
    EJBException_c.h
    EJBException_c.cpp
    EJBEx_c.h
    EJBEx_c.cpp
    CreateEx_c.h
    CreateEx_c.cpp
    CreateException_c.h
    CreateException_c.cpp
    RemoveEx_c.h
    RemoveEx_c.cpp
    RemoveException_c.h
    RemoveException_c.cpp
    RuntimeEx_c.h
    RuntimeEx_c.cpp
    RuntimeException_c.cpp
    RuntimeException_c.h
    SynchronousAdapterEx_c.cpp
    SynchronousAdapterEx_c.h
    SynchronousAdapterEx_i.cpp
    SynchronousAdapterEx_i.h
    Exc.cpp
    Exc.h
    Exceptionc.cpp
    Exceptionc.h
    2. What step could I have missed?
    Alex

    Hi Andy,
    1.
    Well no new member classes in SynchronousAdapterException it just looks like this:
    public class SynchronousAdapterException extends Exception {
    public SynchronousAdapterException() {
    super();
    Not available in 1.3.1, but is available in 1.4
    public SynchronousAdapterException(String message, Throwable ex) {
    super(message, ex);
    public SynchronousAdapterException(String message) {
    super(message);
    Not available in 1.3.1, but is available in 1.4
    public SynchronousAdapterException(Throwable ex) {
    super(ex);
    2.
    We are using:
    java version "1.3.1_03"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03)
    Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)
    3.
    dbx produces the following, anything ring a bell?
    Reading libdl.so.1
    Reading libaio.so.1
    Reading libmp.so.2
    Reading libc_psr.so.1
    Reading liborbiiop.so.71
    Reading liborbtcp.so.71
    detected a multithreaded program
    t@2 (l@2) terminated by signal ABRT (Abort)
    0xfec9bbd4: lwpkill+0x0008: bgeu,a lwpkill+0x1c
    Current function is operator>>
    218 mb.UnMarshalValue(::com::trs::cv::comm::cnja::synchadapter::_tc_SynchronousAdapterException,
    obj);
    (/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
    current thread: t@2
    [1] lwpkill(0x0, 0x2, 0x0, 0x6, 0x197f0, 0x4c6e0), at 0xfec9bbd4
    [2] raise(0x6, 0x0, 0xffffffff, 0xc00cc, 0x8, 0xfee355c0), at 0x4c6e8
    [3] abort(0xd2040, 0xbeaf8, 0xff3b2aac, 0xfee34684, 0x15398, 0xfee34874), at
    0x4c6a8
    [4] __Cimpl::ex_terminate(0x0, 0x0, 0xfee4a500, 0xff1edf90, 0xff09ecd0, 0x1),
    at 0xfee34684
    ---- hidden frames, use 'where -h' to see them all ----
    [6] OBB::MarshalBuf::UnMarshalValue(0xfeaf9a28, 0xc9dd8, 0xfeaf99b0, 0xff1edf90,
    0xff1edfd0, 0xfed2ebb8), at 0xff0a3980
    =>[7] operator>>(mb = CLASS, obj = CLASS), line 218 in "SynchronousAdapterExc.cpp"
    [8] _tcr_com_trs_cv_comm_cnja_synchadapter_SynchronousAdapterEx_unmarsh(mh =
    0xce520, obj = 0xfeaf9b7c, flags = 130U), line 259 in "SynchronousAdapterEx_c.cpp"
    [9] TCInterpreter::DecodeByTypeCode(0x16, 0xff1d674c, 0xfeaf9b7c, 0xce520, 0x82,
    0xfeaf9b07), at 0xff0f3aec
    [10] TCInterpreter::DecodeById(0xcbaa0, 0xcf230, 0xfeaf9b7c, 0xce520, 0x82,
    0xfeaf9f98), at 0xff0f3c94
    [11] ReplyMessage::DecodeMessageBody(0x18000, 0xcd820, 0xfeaf9f98, 0xbf358,
    0xfebcffb0, 0xfed2ebb8), at 0xff0e1938
    [12] GIOPMessage::DecodeBody(0xce240, 0xfeaf9f98, 0xff0dd494, 0xff0dd494, 0xffffffd0,
    0xfeb93e24), at 0xff0c23a0
    [13] IiopProtocol::Reply(0xd0958, 0xce240, 0xce148, 0xfeaf9f98, 0x100, 0xfebd0010),
    at 0xfeb94064
    [14] IiopMsgReceiver::MsgReceived(0xca5a0, 0xce240, 0xce148, 0xfeaf9f98, 0x0,
    0xfeaf9f98), at 0xfeb9bc74
    [15] GiopMessageProtocol::MsgReceived(0xcb358, 0xfeaf9dd8, 0xd1160, 0xfeaf9f98,
    0x0, 0xfeaf9f98), at 0xfebac6fc
    [16] MessageManager::RecvMsgFirstTime(0xcf8c0, 0xce240, 0xd1160, 0xcb358, 0xd11d0,
    0xfeaf9f98), at 0xfebab1b0
    [17] MessageManager::AvailableForRecvMsg(0xcf8c0, 0xd1160, 0xcb358, 0xfeaf9f98,
    0x3e8, 0xd1170), at 0xfebaa030
    [18] ChannelManager::DoReadWork(0xff1d674c, 0xfebd0038, 0xd1160, 0x0, 0x0, 0xcfd58),
    at 0xfeba54dc
    [19] ChannelManager::DoIt(0xcb3b0, 0xfeaf9f98, 0x0, 0xfebcffd0, 0xcfda0, 0xfebcffd0),
    at 0xfeba0750
    [20] WorkerManager::DoWorkerThread(0x0, 0xca648, 0xfeaf9f98, 0xcfda0, 0xfeba9924,
    0x0), at 0xfeba7894
    [21] WorkerThread(0xcfd98, 0xfeafa000, 0x0, 0x0, 0x0, 0x0), at 0xfeba9974
    (/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx)
    Thanks,
    Alex
    Andy Piper <[email protected]> wrote:
    "Alex" <[email protected]> writes:
    It sounds like you have done all the right steps. More comments in-line:
    1.
    When using the 'idl' command to generate the C++ code, I did not forgetto use
    a '-i' to generate the implementation files: SynchronousAdapterException_i.cpp
    and SynchronousAdapterException_i.h. Ok.
    In my "play with it to make it work" phase, I also did this for: SynchronousAdapterEx_i.cpp
    and SynchronousAdapterEx_i.h.This should not be necessary - XXXEx is an IDL exception.
    2.
    In my C++ client, I did not forget to register the factory as such:
    orb->register_value_factory
    ((char* const)com::trs::cv::comm::cnja::synchadapter::_tc_SynchronousAdapterException->id(),
    (CORBA::ValueFactory)
    new com_trs_cv_comm_cnja_synchadapter_SynchronousAdapterException_factory());Ok. What does the Exception actually look like in Java? (Incidentally
    the _i file creates a useful helper function called _register() which
    will do this step for you). Did you register all member classes? You
    are correct about most derived types being the important ones, but you
    need to also register member classes if they are not standard.
    This seemed to work because I actually put debug cout statements inthe 'com_trs_cv_comm_cnja_synchadapter_SynchronousAdapterException_factory'
    in the file SynchronousAdapterEx_i.cpp and it confirmed that it wasconstructed
    and the reference count was incremented.
    3.
    I know for sure that it is a 'SynchronousAdapterException' being thrownon the
    server side because all the find method does it this point is:
    throw new SynchronousAdapterException("test1");Ok (incidentally you are not running the server on JDK 1.4 are
    you. This would cause problems).
    Questions:
    1. I read at a few places that one only has to register the "most derived"class
    being thrown (in my case 'SynchronousAdapterException'). What doesone do with
    Yes.
    all the other exceptions generated:These are just needed at compile time so that you don't get undefined
    symbols.
    2. What step could I have missed?Its not clear. You should try running in a debugger and seeing where
    its falling over.
    andy

  • Intresting segv:studio12update1 core dump in stlport 4 startup:mixing C&C++

    Hi
    I am getting core dump below is the stack trace:
    (dbx) where
    current thread: t@1
    =>[1] std::basic_filebuf<wchar_t,std::char_traits<wchar_t> >::imbue(0xffffffff4b3d0bf0, 0xffffffff7fffe790, 0x4c8, 0xffffffff6971f128, 0x400, 0xffffffff69711e68), at 0xffffffff69592200
    [2] std::basic_streambuf<wchar_t,std::char_traits<wchar_t> >::pubimbue(0xffffffff695921a0, 0xffffffff4b3d0bf0, 0xffffffff7fffe790, 0xffffffff6971a938, 0x0, 0xffffffff7fffe6d0), at 0xffffffff6956d4e8
    [3] std::basic_ios<wchar_t,std::char_traits<wchar_t> >::imbue(0xffffffff7fffe798, 0xffffffff6971fbd0, 0xffffffff7fffe790, 0xffffffff69711e68, 0x13da94, 0x400), at 0xffffffff6957284c
    [4] std::basic_ios<wchar_t,std::char_traits<wchar_t> >::init(0xffffffff6971fbd0, 0xffffffff4b3d0bf0, 0x448, 0xffffffff69711e68, 0x19f4c4, 0x400), at 0xffffffff69572a0c
    [5] std::basic_ostream<wchar_t,std::char_traits<wchar_t> >::basic_ostream(0xffffffff6971fbc8, 0xffffffff4b3d0bf0, 0xc0, 0x185fec, 0x0, 0xffffffff69711e68), at 0xffffffff6958becc
    [6] std::__Wide_Init::__Wide_Init(0xffffffff4b3ceec0, 0xffffffff4b3d0bf0, 0xffffffff4b3d0c90, 0xffffffff4b3c27d0, 0xffffffff6971fd38, 0xe000), at 0xffffffff4b21444c
    ---- hidden frames, use 'where -h' to see them all ----
    [8] __Cimpl::cplus_init(0x1, 0xffffffff4de0dd60, 0xffffffff4de0dd68, 0x0, 0x1044a4, 0xffffffff4b3cf460), at 0xffffffff4dd08660
    [9] 0xffffffff4b235ae8(0x0, 0x0, 0xffffffff7f72cb18, 0xffffffff7f611ee8, 0x11e6a0, 0xffffffff7f402400), at 0xffffffff4b235ae8
    [10] call_init(0x1, 0x1, 0xffffffff4b235a10, 0xffffffff68a007b8, 0xffdfffff, 0xffffffff7f72cb18), at 0xffffffff7f611ef0
    [11] setup(0xc7, 0x28, 0xc10000, 0xa000000, 0xffffffff61a01b08, 0x100000), at 0xffffffff7f6113b4
    [12] _setup(0x6ffffff9, 0xb00, 0xffffffff7f62ae5c, 0x100000040, 0x0, 0xffffffff7ffff158), at 0xffffffff7f620554
    [13] rtboot(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7f60511c
    Some important notes I am mixing C & C++
    wrap is the C interface so when I link application I am explicitly linking libC & libstlport.so
    -L/opt/sunstudio12.1/lib/stlport4/v9 -lstlport
    -L/usr/lib/64
    -lstlport
    -lCrun
    I am compiling my application like this :
    CC -g0 -mt -compat=5 -I/opt/sunstudio12.1/prod/include/CC/stlport4 -D_POSIX_PTHREAD_SEMANTICS -DACE_HAS_KSTAT -DACE_HAS_SCTP -DACE_HAS_LKSCTP -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -DSUN_CC_HAS_PVFC_BUG -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -m64 -DXALTEDSUN64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -D_THREAD_SAFE -D_LARGE_FILES=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I/export/home/frtbld/3rdparty/include/bdb -I/export/home/frtbld/3rdparty/include -I/export/home/oracle/OraHome/precomp/public -I/export/home/oracle/OraHome/network/public -I/export/home/oracle/OraHome/rdbms/public -I/export/home/oracle/OraHome/plsql/public -I/export/home/oracle/OraHome/rdbms/demo -I/export/home/frtbld/libcinc -I/usr/local/include -c DBAbs.cpp -o /export/home/frtbld/TMPOBJ/DBAbs.o
    Generating MyDb.o file from MyDb.cpp file ...
    CC -g0 -mt -compat=5 -I/opt/sunstudio12.1/prod/include/CC/stlport4 -D_POSIX_PTHREAD_SEMANTICS -DACE_HAS_KSTAT -DACE_HAS_SCTP -DACE_HAS_LKSCTP -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -DSUN_CC_HAS_PVFC_BUG -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -m64 -DXALTEDSUN64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -D_THREAD_SAFE -D_LARGE_FILES=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I/export/home/frtbld/3rdparty/include/bdb -I/export/home/frtbld/3rdparty/include -I/export/home/oracle/OraHome/precomp/public -I/export/home/oracle/OraHome/network/public -I/export/home/oracle/OraHome/rdbms/public -I/export/home/oracle/OraHome/plsql/public -I/export/home/oracle/OraHome/rdbms/demo -I/export/home/frtbld/libcinc -I/usr/local/include -c MyDb.cpp -o /export/home/frtbld/TMPOBJ/MyDb.o
    Generating wrap.o file from wrap.cpp file ...
    CC -g0 -mt -compat=5 -I/opt/sunstudio12.1/prod/include/CC/stlport4 -D_POSIX_PTHREAD_SEMANTICS -DACE_HAS_KSTAT -DACE_HAS_SCTP -DACE_HAS_LKSCTP -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -DSUN_CC_HAS_PVFC_BUG -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -m64 -DXALTEDSUN64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -D_THREAD_SAFE -D_LARGE_FILES=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I/export/home/frtbld/3rdparty/include/bdb -I/export/home/frtbld/3rdparty/include -I/export/home/oracle/OraHome/precomp/public -I/export/home/oracle/OraHome/network/public -I/export/home/oracle/OraHome/rdbms/public -I/export/home/oracle/OraHome/plsql/public -I/export/home/oracle/OraHome/rdbms/demo -I/export/home/frtbld/libcinc -I/usr/local/include -c wrap.cpp -o /export/home/frtbld/TMPOBJ/wrap.o
    ar *.o -o /export/home/frtbld/libcbin/LIB_BDBManager.a
    /export/home/tuxedo/bea/tuxedo10gR3/bin/buildclient -o /export/home/frtbld/TMPBIN/CompilerPP -f-L/export/home/oracle/OraHome/lib -f-lclntsh \
    -f /export/home/frtbld/TMPOBJ/CompilerMainPP.o \
    -f /export/home/frtbld/TMPOBJ/CompilerDataBasePP1.o \
    -f /export/home/frtbld/TMPOBJ/CompilerDataBasePP2.o \
    -f /export/home/frtbld/TMPOBJ/utilityPP.o \
    -f "-L/opt/sunstudio12.1/lib/stlport4/v9 -lstlport -L/export/home/frtbld/3rdparty/lib/bdblib -L/export/home/frtbld/3rdparty/lib/acelib -ldb_cxx-4.7 -lACE /export/home/frtbld/libcbin/LIB_DataBase.a /export/home/frtbld/libcbin/LIB_FileManager.a /export/home/frtbld/libcbin/LIB_Log.a /export/home/frtbld/libcbin/LIB_SHMManager.a /export/home/frtbld/libcbin/LIB_Expression.a /export/home/frtbld/libcbin/LIB_Timing.a /export/home/frtbld/libcbin/LIB_MMFManager.a /export/home/frtbld/libcbin/LIB_LicManager.a /export/home/frtbld/libcbin/LIB_InterProcComm.a /export/home/frtbld/libcbin/LIB_BDBManager.a /export/home/frtbld/libcbin/LIB_RatingPPMMFManager.a -L/usr/lib/hpux32/ -L/usr/local/lib/hpux32 -L/lib/hpux32 -L/export/home/frtbld/3rdparty/lib/ssllib -lcrypto -lz -lm -L/usr/lib/64 -L/opt/sunstudio12.1/lib/stlport4/v9 -lCrun "
    Regards
    Anand Rathi

    Hi Thanks for your help
    I changed the linking process to use CC
    but still its same .....
    and i can also see that its invoking __Cimpl::cplus_init
    also i have an doubt about 64bit and std::__Wide_Init::__Wide_Init
    weather issue is with wide character 64 bit ?
    Now the command is
    CC -g0 -mt -compat=5 -I/opt/sunstudio12.1/prod/include/CC/stlport4 -D_POSIX_PTHREAD_SEMANTICS -DACE_HAS_KSTAT -DACE_HAS_SCTP -DACE_HAS_LKSCTP -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -DSUN_CC_HAS_PVFC_BUG -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -m64 -DXALTEDSUN64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -mt -I/export/home/tuxedo/bea/tuxedo10gR3/include -o /export/home/frtbld/TMPBIN/CompilerPP -L/export/home/tuxedo/bea/tuxedo10gR3/lib -xarch=v9 -L/export/home/oracle/OraHome/lib -lclntsh /export/home/frtbld/TMPOBJ/CompilerMainPP.o /export/home/frtbld/TMPOBJ/CompilerDataBasePP1.o /export/home/frtbld/TMPOBJ/CompilerDataBasePP2.o /export/home/frtbld/TMPOBJ/utilityPP.o -L/opt/sunstudio12.1/lib/stlport4/v9 -lstlport -L/export/home/frtbld/3rdparty/lib/bdblib -L/export/home/frtbld/3rdparty/lib/acelib -ldb_cxx-4.7 -lACE /export/home/frtbld/libcbin/LIB_DataBase.a /export/home/frtbld/libcbin/LIB_FileManager.a /export/home/frtbld/libcbin/LIB_Log.a /export/home/frtbld/libcbin/LIB_SHMManager.a /export/home/frtbld/libcbin/LIB_Expression.a /export/home/frtbld/libcbin/LIB_Timing.a /export/home/frtbld/libcbin/LIB_MMFManager.a /export/home/frtbld/libcbin/LIB_LicManager.a /export/home/frtbld/libcbin/LIB_InterProcComm.a /export/home/frtbld/libcbin/LIB_BDBManager.a /export/home/frtbld/libcbin/LIB_RatingPPMMFManager.a -L/usr/lib/hpux32/ -L/usr/local/lib/hpux32 -L/lib/hpux32 -L/export/home/frtbld/3rdparty/lib/ssllib -lcrypto -lz -lm -L/usr/lib/64 -L/opt/sunstudio12.1/lib/stlport4/v9 -lCrun -ltux -lbuft -lfml -lfml32 -lengine -R/usr/lib/lwp -lpthread -lposix4 -lsocket -lnsl -lm -lnsl -lsocket
    t@1 (l@1) program terminated by signal SEGV (no mapping at the fault address)
    0xffffffff7e192200: imbue+0x0060: ldx [%o0], %o1
    (dbx) where
    current thread: t@1
    =>[1] std::basic_filebuf<wchar_t,std::char_traits<wchar_t> >::imbue(0xffffffff7acd0bf0, 0xffffffff7fffe4d0, 0x4c8, 0xffffffff7e31f128, 0x400, 0xffffffff7e311e68), at 0xffffffff7e192200
    [2] std::basic_streambuf<wchar_t,std::char_traits<wchar_t> >::pubimbue(0xffffffff7e1921a0, 0xffffffff7acd0bf0, 0xffffffff7fffe4d0, 0xffffffff7e31a938, 0x13da94, 0xffffffff7fffe410), at 0xffffffff7e16d4e8
    [3] std::basic_ios<wchar_t,std::char_traits<wchar_t> >::imbue(0xffffffff7fffe4d8, 0xffffffff7e31fbd0, 0xffffffff7fffe4d0, 0xffffffff7e311e68, 0x13da94, 0x400), at 0xffffffff7e17284c
    [4] std::basic_ios<wchar_t,std::char_traits<wchar_t> >::init(0xffffffff7e31fbd0, 0xffffffff7acd0bf0, 0x448, 0xffffffff7e311e68, 0x19f4c4, 0x400), at 0xffffffff7e172a0c
    [5] std::basic_ostream<wchar_t,std::char_traits<wchar_t> >::basic_ostream(0xffffffff7e31fbc8, 0xffffffff7acd0bf0, 0xc0, 0x185fec, 0x0, 0xffffffff7e311e68), at 0xffffffff7e18becc
    [6] std::__Wide_Init::__Wide_Init(0xffffffff7acceec0, 0xffffffff7acd0bf0, 0xffffffff7acd0c90, 0xffffffff7acc27d0, 0xffffffff7e31fd38, 0xe000), at 0xffffffff7ab1444c
    ---- hidden frames, use 'where -h' to see them all ----
    [8] __Cimpl::cplus_init(0x1, 0xffffffff7d00dd60, 0xffffffff7d00dd68, 0x0, 0x1044a4, 0xffffffff7accf460), at 0xffffffff7cf08660
    [9] 0xffffffff7cf0a500(0x0, 0x0, 0xffffffff7f72cb18, 0xffffffff7f611ee8, 0x11e6a0, 0xffffffff79702000), at 0xffffffff7cf0a500
    [10] call_init(0x1, 0x3, 0xffffffff7cf0a428, 0xffffffff7f201530, 0xffdfffff, 0xffffffff7f72cb18), at 0xffffffff7f611ef0
    [11] elf_bndr(0xffffffff7f500718, 0xffffffff7cf016e0, 0xffffffff7ab35ab4, 0xffffffff7cf06610, 0xffffffff78d009e8, 0xffffffff7f72f6d8), at 0xffffffff7f61f060
    [12] elf_rtbndr(0x590000, 0x1001d3538, 0x0, 0xffffffff7ab35ab4, 0x0, 0x0), at 0xffffffff7f60514c
    [13] 0x0(0xffffffff7acc7e28, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x0
    [14] 0xffffffff7ab35ab4(0x0, 0x0, 0xffffffff7f72cb18, 0xffffffff7f611ee8, 0x11e6a0, 0xffffffff79702000), at 0xffffffff7ab35ab4
    [15] call_init(0x1, 0x1, 0xffffffff7ab35a10, 0xffffffff7a900030, 0xffdfffff, 0xffffffff7f72cb18), at 0xffffffff7f611ef0
    [16] setup(0x0, 0x27, 0xc10000, 0xa000000, 0xffffffff78d01780, 0x100000), at 0xffffffff7f6113b4
    [17] _setup(0x6ffffff9, 0xb00, 0xffffffff7f62ae5c, 0x100000040, 0x0, 0xffffffff7ffff288), at 0xffffffff7f620554
    [18] rtboot(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7f60511c
    Edited by: anandprathi on Aug 12, 2009 9:48 AM
    Edited by: anandprathi on Aug 12, 2009 9:52 AM

  • Core dump

    Hi,
    We are in the process of upgrading our code from C++ 4.2 to 5.4. and we can able to build binaries.
    When we run the executable, it crashes and generates 'core' file (Segment vialation). Below are the trace info from dbx debugger. can anyone know what is the reason for the core
    =>[1] mutexlock(0x8, 0x0, 0x5f390, 0xa, 0x784, 0xfd98e3a8), at 0xfd9eb9fc
    [2] std::basic_ios<char,std::char_traits<char> >::init(0xfd98e390, 0xfd98f7e0, 0x1277ec, 0x127f3c, 0x800, 0xfd98e3a0), at 0xfd8605ec
    [3] std::basic_istream<char,std::char_traits<char> >::basic_istream(0xfd98e388, 0xfd98f7e0, 0x9b4, 0x123e94, 0x0, 0x800), at 0xfd86469c
    [4] std::ios_base::Init::Init(0x800, 0xffbedaff, 0x604, 0xfd98f848, 0xfd9884d0, 0xfd98f7e0), at 0xfd909390
    [5] __SUNW_init_iostreams(0xfd98e9c4, 0xfd909fdc, 0xffffffff, 0xfd98e9c4, 0xfdbefdf8, 0xffbedaff), at 0xfd909ff4
    [6] __Cimpl::cplus_init(0xfd7be5b4, 0x178d0, 0x0, 0xfd9fe000, 0xfffe146c, 0xfffe146c), at 0xfdbd73a0
    [7] _init(0x0, 0x5ece8, 0xff3dc0bc, 0xff3dc890, 0x313fc, 0xff3ae714), at 0xfd79f9a0
    [8] call_init(0x0, 0x0, 0xff3dc240, 0xff3dc890, 0x200000, 0xfd7f07fc), at 0xff3ae71c
    [9] elf_bndr(0xfd7063ac, 0x6, 0xfe1c118c, 0xff3dc890, 0x0, 0x5), at 0xff3ba3b8
    [10] elfrtbndr(0xfdbd91cc, 0x0, 0x0, 0x0, 0xfdbebbc8, 0xfdbd9890), at 0xff3a3750
    [11] 0x4c734(0xfdbd9124, 0x0, 0x16388, 0xfdbd91ac, 0xfffedd88, 0x0), at 0x4c733
    [12] 0xfdbd91cc(0x0, 0x5ece8, 0xff3dc0bc, 0xff3dc890, 0x313fc, 0xff3ae714), at 0xfdbd91cb
    [13] call_init(0x0, 0x0, 0xff3dc240, 0xff3dc890, 0x200000, 0xfd7f078c), at 0xff3ae71c
    [14] elf_bndr(0xfdbd13e4, 0xf, 0xfe1c0410, 0xff3dc890, 0x0, 0x5), at 0xff3ba3b8
    [15] elfrtbndr(0xfddc2bac, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff3a3750
    [16] 0x4c734(0xfddd4280, 0x178d0, 0x0, 0xfd9fe000, 0x3144c, 0x0), at 0x4c733
    [17] _init(0x0, 0x5ece8, 0xff3dc0bc, 0xe, 0x313fc, 0xff3ae714), at 0xfddc2bac
    [18] call_init(0x0, 0x0, 0xff3dc240, 0xff3dc890, 0x200000, 0xfd7f06f8), at 0xff3ae71c
    [19] setup(0xff3dc890, 0xff3dc0c8, 0xff3de428, 0xff3dc0bc, 0x0, 0x0), at 0xff3adcc4
    [20] _setup(0x3021, 0x7, 0xb00, 0xffffffff, 0xffffffff, 0xff3a0000), at 0xff3bb450
    [21] rtboot(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff3a3714
    I would appreciate your help
    thanks
    MSP

    Your program is crashing during initialization of the C++ standard iostream library.
    This library was not available with C++ 4.2, so it's possible you have skipped a step in moving from ARM-style C++ to Standard C++. The C++ Migration Guide that comes with the compiler lists all the kinds of issues you might have to deal with, along with recommendations of how you should modify your code and build processes.
    But first, it's possible that you have run into a bug that is already fixed, or have failed to apply all necessary patches to your computer. Visit
    http://wwws.sun.com/software/products/studio/patches/index.html
    and click on your product, Sun ONE Studio 7 Compiler Collection.
    Download the C++ and backend patches, and also the Solaris patches for the Solaris version you are running on. The Solaris patches must be applied to the system where you build programs, and usually also to computers that run programs you create.
    If the patches don't fix the problem, I can give you some hints on porting your program from ARM-style to Standard-style C++.

  • I have a 2.2 GHz Intel Core i7 macbook pro that has lion installed when I recieved it, according to the support pages AHT is supposed to work over the internet if it wasn't installed, Mine wasn't and it doesn't work. Where can I download it from?

    I Have a 2.2 GHz Intel Core i7 macbook pro, I recieved it with OSx 7.2 lion installed, I need to us AHT (apple hardware test) according to the support page that I copy here
    Additional Information
    Apple Hardware Test is included on the DVDs that are shipped with some Macintosh computers. If the copy on your hard drive becomes unavailable, use the DVDs to run Apple Hardware Test.
    For Intel-based Apple computers that shipped with Mac OS X v10.5.4  or earlier, Apple Hardware Test is located on the Mac OS X Install Disc 1  and should be included with your computer.
    For Apple computers that shipped with Mac OS X v10.5.5 to 10.6.7, Apple Hardware Test is located on the Applications Install  Disc 2 and should be included with your computer.
    For some Apple computers that shipped with OS X Lion, if Apple Hardware Test cannot be found on the hard drive, an Internet-based version starts up instead.
    This doesn't work as the additional information statement says it should above.  Could someone at apple give me an idea of where to get it or what the "REAL" solution is, since it doesn't work on an internet version which was confirmed today at the Genius Bar in the Apple store.
    Please help me

    chrisfrommarion wrote:
    Thanks, while it worked on yours it doesn't work on mine, any other ideas?
    Are you holding down the "d" key, all by itself, just after the system shuts down for a restart?
    And how long did you hold it down?
    I held mine down for about 40-50 seconds. Then I lookat at my routers WAN light and it was flickering so I let up on the d key.
    If that does not work then maybe there is something wrong with your MBP. Is that the reason you want to run this test, something isn't right with your unit?

  • How do I use a Verizon PC Wireless card with my iMAC Intel Core desktop?

    Help! Bought a Kyocera KPC650 Wireless PC Card for Verizon wireless internet. Works fine w/ laptop because it has a slot. How do I configure my iMAC desktop to accept this card? Is there an external USB adapter? Or do I have to get one installed internally? Which adapter works with OX 10.4?
    I've seen the Quatech U132 online. Will that work? Its $192!! As is the Sewell adapter too. ($209)
    Any ideas? I want to get off SBCYahoo DSL and their router because our DSL line is damaged in our complex and no one is fixing it!
    Thanks in advance.
    tklines
    iMAC Intel Core Duo   Mac OS X (10.4.2)   All-in-one

    What protocol is Verizon using that is not compatible with the Airport Extreme built into your iMac? I have used Apple's Airport Extreme with a lot of different wireless routers with zero problems as all conform to either 802.11b or 802.11g standard both of which are supported by the built in Airport Extreme.

  • Error while installing Oracle 10g on Fedora Core 1

    Error while installing Oracle 10g on Fedora Core 1. After 40% of the Installation is thru, the progress bar is showing 40%, it gives error "Not connected to Oracle" and the installation has to be terminated.
    We have tried by using the on-line procedure and changing the required script to make believe it as said.

    Are you createing DB also???

  • Please to help rookie with quad core on P35 Neo 2 (MS-7345)

    I bought a home built computer (specs below) for my sons almost a year ago and have had nothing but trouble with it.  After I finally realized that the graphics card was over-heating it worked better for a bit after replacing Radeon 9600 with some crappy one.  Then I reinstalled XP and seem to have lost drivers for some of the functions of the MB like sound and networking.  Presently it is an impressive looking paperweight with fantastic specs.
    It does boot to XP and has internet connection now that I stuck in a NIC card.
    I was foolish enough to install and run microsoft genuine advantage and, because it didn't pass, have to read about it every boot and login.  So I'd like to reinstall XP again.
    I do have System info for Windows (SIW) installed. 
    I bought system so sons could play Call of Duty 4.  When I try to launch COD it gives message:
    "Error during initialization:
    Miles sound system initialization failed.
    Make sure you have your sound card's latest drivers and DirectX installed."
    I have installed latest DirectX but do not know what to do about sound card as it is function of MB, I think.
    Any help would be greatly appreciated as to next steps or what further info I would need to gather to solve.
    Thank you!
    Chip
    Specs:
    -Intel Quad Core CPU Q6600 clocked @ 3.0 GHz x 4, passed 24 hrs Prime95, 100% stable
    -Copper Heatpipe CPU Cooler for better cooling than stock heatsink
    -MSI P35 Neo 2 motherboard with Intel P35 Chipset w/ Intel ICH9R Chip, Copper Heat-pipes to keep both the chipset and power converter cool, Socket 775, FSB 1600/1333/1066/800-MHz, and,
    -Dual 16x PCI-Express video, (4) memory slots for up to 8 Gigs of Dual Channel DDR2-1066 memory, (5) SATA connectors, (2) external e'Sata ports, up to (12) USB ports, CrossFire Support
    -2-Gigs of CORSAIR XMS2 memory with with DHX Technology DDR2-6400 (800-MHz) for best Vista performance.
    -Seagate 1TB, 32-Meg Cache, 7200 RPM hard drive with perpendicular recording technology for great performance
    -HP 20x Dual Layer DVD / CD-RW Burner to handle all your burning needs
    -Gigabyte 10/100/1000 Fast Ethernet Port to connect to your High-Speed Internet
    -(8) 2.0-USB ports to connect digital cameras, printers, MP3 players, etc… (6) in the rear and two on the front
    -7.1 HD Surround Sound Audio
    -Dual boot of XP and Vista, along with Photoshop and Office included .
    -Sigma "La Vie", black gaming case that has a side window and Blue LED fans to show off the parts. Along with a 680W power supply 30-Amp 12V rails, 6-pin PCI-E power connector give this plenty of juice for any video card.

    Thank you again for that page.  I had looked (in vain) for this because I did not receive the MSI cd with this computer.
    http://www.msi.com/index.php?func=downloaddetail&type=driver&maincat_no=1&prod_no=1213
    I dl'd all of the files and began to install from the bottom up.  The "Intel INF Drivers for 3/4/5 Chipsets" went fine but in the 'read me' for "Intel Matrix Storage Manager Driver" it says that if none of the supported RAID or SCSI controllers are present in the Device Manager/IDE ATA/ATAPI controllers then your computer is not in RAID, SCSI or AHCI modes and these drivers are not applicable.  Does that makes sense considering the type of hard drive?  Do hard drives have drivers? (apologies if this does not make sense)
    Also, the "Realtek PCI-E Ethernet Drivers" only contains dll, system and a security catalog file.  I do not know what to do with these to install.

  • Crazy to install CS2 on Quad Core 64 bit Windows 7 notebook?

    I've been a video producer/director/editor since 1970 and have witnessed most all the progress and insanity of the "corporate wars" to dominate video production and later, video editing.  I no longer see any reason to differentiate between still photography, video production, editing, web authoring, print production, graphics, CGI, CAD etc...ad nauseum. My dream has long been to have one very powerful laptop that could do most everything that a creative person desired on location anywhere in the world.
    My new notebook is an ASUS Quad Core G71GX with 6 GB RAM - an Nvidia Geoforce GTX 260M - and 2 - 500 GB, 7200 rpm hard drives - Windows 7 Home Premium 64 bit OS. These days I shoot most video using a Canon SX1 IS at 1080 30p and the files are playing back beautifully on the 1920x1400 display at full frame rate. So for me that covers the basics. I will be upgrading from Windows 7 Home Premium to Ultimate shortly. Does anyone have issues/questions about the platform?
    As to the software . . . I have been using Adobe stuff for 20 years or so.but did not get into their video editing products until Premiere 6.5. Than I jumped in with both feet and became a beta tester for the CS2 video collection. I still have my complimentary Premiere Pro 2.0 and it still works on my older XP Pro notebooks.
    But now we are here in 2010 and all the major PC platforms are running 64 bit Operating Systems and I just figure that I should hold out for a true 64 bit Master Collection [which many people call CS5]. In the meantime I decided to install my CS2 Creative Suite and Premiere Pro 2.0 just so I could have the benefit of these programs while I am waiting for the 64 bit to release.
    I purchased my CS2 back in 2005 as a download and last night made the attempt to install it onto the ASUS. As expected the serial number did not work so I called Adobe Installation support and got started after they prompted me for the "challenge" code. When I entered it the installation began nicely UNTIL the first folder [CS_2.0_UE_Ret_D1] finished loading and UP POPPED a window saying "Please insert CD #2" with only an OK button. Well, I didn't have any CDs because the suite was delivered as a download way back when and there seems to be no way to get to Disk 2 folder.
    I finally decided to Quit the install when up pops a window that says [paraphrasing]. Your Photoshop program on Disc 1 has been verified and so try again to install. I said OK and up pops a window with all the various programs and the option to select Install. I selected each one [except GoLive because I now have Dreamweaver CS4] and proceeded. I sort of kluged my way through the transition from D1 to D2 to D3 to D4 folders and by all indications had a successfully installed, registered and activated CS2 suite on the ASUS notebook. Restarted the machine.
    Opened Photoshop and up comes an error message "Your Adobe Photoshop user name, organization or serial number is missing or invalid. The application cannot continue and must now exit" "OK", which I pressed and Photoshop closed. Checked the other CS2 programs and none of them would open.
    I would appreciate any pointers on how to get CS2 Creative Suite to install properly since Adobe Tech Support says such installation help is out of date and recommended this forum.
    BTW: I run Videography Lab and am the "seminal author of videography". OCT 1972 American Cinematographer. I have a different take on the meaning of videography than most folks. After 38 years of research and contemplation I believe "Videography means 'I know to write' or conversely 'writing my knowing'" The platform that I've been talking about is the technology tool that enables such communication in "the Age of Videography" [Miller Freeman Publishing - 1996].
    Call me crazy and than help me get this sorted out
    Bob Kiger - [url removed by host]
    PS: Does anyone beside me expect a sudden and dramatic shootout between Final Cut Studio & Adobe Creative Suite soon?

    Hi Michael--
    Upon continued research we found your statement "CS 2 isn't compatible with Windows 7 32-bit no less 64-bit." not quite true. We grant you that, in it's raw state, Windows 7 will not install, activate, register etc. CS2 programs. That's been the Adobe position for quite a while.
    Now that we have Windows 7 in hand and can play we found that if you have Windows 7 Professional or Ultimate edition you can acquire for $89.95 and download/install in an hour or so "Windows Virtual PC" and "Windows XP Mode".[Note: This feature is not available on Home editions].
    We purchased the platform and once it is installed we had a "Windows XP platform" on our Windows 7 machine. From that point forward the installation of CS2 and many other of our old favorite programs was a snap. We've opened and worked with Photoshop, Illustrator and InDesign etc. with no problems.
    And, by the way, Premiere Pro 2.0 intalled easily on Windows 7. We're testing it now with some sub-1080p projects.
    As to the long nagging problem of Adobe Installer not recognizing the downloaded CS2 CAB files during installation, we worked around by just saying OK when the installer asked for the next disc and immediately clicked on the desired disc in a seperate exlorer window which contained all the download files.
    So that's the workaround for us. Now we wait to see who wins the race to enchant users with 64 bit editing and imaging suites.
    Thanks for all your help.
    Bob Kiger - Videography Lab

  • How to install win 8.1 pro x64 on MBA mid 2013 (core i7)

    Please help me how to install win 8.1 pro x64 on MBA mid 2013 (core i7).
    Thank you very much for your help.
    Best regards.

    Everything you need to help you is located here: http://www.apple.com/support/bootcamp/

  • I have a Mac mini OSX 10.4.11 Intel Core Duo, 512mb, 1.83 GHz with iTunes 9.0.3. What steps do I need to take to get my music library to my iPad. I dont think I meet the requirements to just upgrad to snow leopard and/or lion. I want the music I paid for

    I have a Mac mini OS X 10.4.11, intel core duo processor (not core 2 duo), with 512 mb and 1.83 GHz processor.  I only have version 9.0.3 of iTunes because it hasn't let me go higher, which I believe is because of the operating system.  I want to get my purchased music from the Mac mini to a different computer (that has the latest version of iTunes) and also my iPad.  The Mac mini does not meet the requirements listed to simply upgrade to snow leopard or lion. As far as I can tell.  Forgive me if I am lacking here...this is new to me.  What can I do to get the music transferred.  I have invested alot of money over the past few years on all this music that I should be able to transfer.  Thank you in advance if you can help me.

    If you want to sync it to the iPad from that Mac, you need to upgrade it to at least 10.5.8.
    If you want to copy the music to another Mac, you don't. Move the iTunes folder of the item in the Finder's sidebar over as you would any other folder. If you put it somewhere other than the Music folder, launch iTunes with the Option key held down and point it to that location.
    (61713)

  • 10.6.8 Wifi Mac Mini Core Solo Problems

    Hi All,
    I have had my beloved Mac Mini core solo (1.5ghz) since 2007 and have had regular upgrades to keep it alive (upgraded hard drive, ram etc.).
    A couple of days ago I upgraded the airport card - it previously was only 802.11 a/b/g, but I now have the atheros 9280 802.11 a/b/g/n successfully installed into the machine.
    The main reason for doing this is that my previous airport card just never seemed to work at all; I have an iphone and ipad and they both successfully connect to my Orange livebox router with no problems whatsoever, yet my Mac Mini did not connect at all having tried everything I can. Therefore my final solution was to arrange an update of the airport card to the new atheros one suggested by my local Apple dealer.
    I brought the Mac home, and tried to attahc to my wifi router to immediate success. It had full signal strength and was working flawlessly. I then turned the machine off, went out for a while and then came home to find it was not working again and kept searching for the wifi router and asking for constant passwords. After a long time, it seemed to work again but after I turned the machine off it lost the settings (depsite me asking network settings to save via the locked button) and I am constantly repeating this process.
    I am therefore wondering if anyone can help. The atheros 9280 airport card information is as follows (from the system profiler):
    Software Versions:
    Menu Extra: 6.2.2 (622.2)
    configd plugin: 6.2.5 (625.6)
    System profiler: 6.0.1 (601.1)
    Network preference: 6.2.2 (622.2)
    Aiport Utility: 5.5.3 (553.20)
    IO80211 Family: 4.0 (400.40)
    Card Type: Airport Extreme (0x168C, 0x8F)
    Firmware version: Atheros 9280: 2.1.14.6
    Locale: FCC
    Country Code: DE
    Supported PHY Modes: 802.11 a/b/g/n
    Supported Channels: 1,2,3,4,5,6,7,8,9,10,11,12,13,36,40,44,48,52,56,60,64,100,104,108,112,116,120,1 24,128,132,136,140
    Wake on Wireless: Supported
    Status: Network Service Inactive
    Just to also add that its Snow Leopard 10.6.8, Intel Mac Mini core 1.5ghz solo, and my Orange Wifi router is quite old (around 2006) so supports a/b/g - I was thinking that this may be the fault but why would all my other apple systems have no problems with this connection?
    Any help would be really appreciated as I'm going a little nuts here!
    fdsbh

    Really? I thought Sno was supposed to be more efficient?
    I'd say that SL is more efficient on a machine it was made to run on. Apple didn't exclude the single core Intel processor, probably because they didn't have to change their code like they would have for a PPC processor but part of the efficiency is it's ability to split services to the separate cores in the CPU. You only have one, so that part of the improvement is of no use. All of the processes the OS handles and splits to multiple CPU cores are worthless and your programs will just have to wait until the CPU has time for you.
    Meanwhile, the programs you are running are more powerful and provide higher quality and really need the extra core. The speed of the ram, the buss, and the hard drive are not as fast as your MacBook either. All of this data has to be moved around quite a bit from the drive to ram and then back to the drive.
    Christmas is coming
    WinXP will run on a 600Mhz PII processor with 128MB's of PC100 ram, but you wouldn't want to. It's not a lot of fun to work with or work on.
    Unless there is some whiz bang program or technology that you need from SL, I'd take the machine back to Leopard or even Tiger, which it probably ran pretty well.

  • Can I install a Barracuda 7200.12 500 GB hard drive in a Mac Pro 2.26. GHz Quad Core Intel Xeon machine?

    Will it work?

    2.26 was an 8-core 2009
    2.66 was used in 2009 but more often found in 2006 model.
    Any you never taken out or installed or upgraded your Mac Pro's hard drive(s) and sled?
    http://www.apple.com/support/macpro
    Mac Pro 2006 Specifications
    Mac Pro 2009 Tech Specs
    Mac Pro 2009 User Guide
    They are 100% DIY with any standard 3.5" SATA drive, or a drive using an adapter that fits the drive sled - such as an SSD or 2.5" drive even.

Maybe you are looking for

  • Can't make a backup after changing directory structure

    Having finally seen the obvious light about restoring a backup I've found some of my directories to be messed up. Some a little and others a bunch. My first objective is to get a directory and its sub-directoried to agree as far as total file count i

  • Best practice for navigation menu

    I'm using the standard dropdown navigation widget in Muse. For example I have: Top level: Contact Dropdown: 'Fix-my-document' Dropdown: Book appointment My website has been up for about a month, and what I've found (using Google analytics) is that pe

  • Getting only latest packages from archlinux ftp site

    I want to only download the latest package versions from the archlinux ftp site. So when doing a listing I get something like: xfsprogs-2.6.25-1.pkg.tar.gz xfsprogs-2.6.36-1.pkg.tar.gz xfsprogs-2.6.36-2.pkg.tar.gz xine-lib-1.0-1.pkg.tar.gz xine-lib-1

  • Need to get a new 4 digit passcode to sign onto my IPAD2

    In order to put my music library in the Remote App it gave me a numeric code which now I cannot get on my IPAD at all without the forgotten code. What do I do?  Thank you.

  • I can't delete songs since I upgraded to IOS 7

    I tried the swipe right to get the delete button to get rid of some songs on my ipad, but it won't work.  I tried using manual sync on itunes to get rid of some songs, and that didn't work.  I tried using "only sync checked music and videos" and that