Coredump under Purify

I wrote a C++ application that uses the OCI to run queries and print the fetched data. It works fine, but when I try to run it under Purify, I get a ZPR followed by a core dump on the call to OCIDescriptorAlloc().
Because I couldn't be sure whether the problem was something in my program, I simplified the code down to the line that seems to be triggering the core dump, plus an OCIEnvCreate (since OCIDecriptorAlloc() needs an environment handle) along with a few informational printf()s, and it still dumps core.
I'm running on Solaris 2.8 using PurifyPlus-2003a.06.00 with gcc/g++ 3.3.1 and Oracle 10g client (32-bit libs). In this program, I need a timestamp descriptor, but I tried the same code with other types of descriptors. Snapshop, LOB, and RowID descriptors run fine under Purify, but Date, Timestamp, Interval, and ComplexObjectComp ones all coredump.
Without Purify, everything is fine; no crashes or other problems. But as I need to incorporate this into a multithreaded application, being able to use Purify is essential.
The simplified program is short, so I'll paste it here:
#include <stdio.h>
#include <oci.h>
#include <orl.h>
main()
sword rc;
OCIEnv *env = NULL;
OCIDateTime *dtval = NULL;
rc = OCIEnvCreate(&env, OCI_OBJECT, (void *) 0, 0, 0, 0, (size_t) 0, (void **) 0);
if (rc != OCI_SUCCESS && rc != OCI_SUCCESS_WITH_INFO)
fprintf(stderr, "Error creating environment\n");
else printf("Env created: %ld\n", env);
rc = OCIDescriptorAlloc((void *) env, (void **) &dtval, OCI_DTYPE_TIMESTAMP, 0, NULL);
if (rc != OCI_SUCCESS && rc != OCI_SUCCESS_WITH_INFO)
fprintf(stderr, "Error allocating descriptor\n");
else printf("Descriptor allocated\n");
rc = OCIDescriptorFree((void *) dtval, OCI_DTYPE_TIMESTAMP); // This is where it coredumps.
if (rc != OCI_SUCCESS && rc != OCI_SUCCESS_WITH_INFO)
fprintf(stderr, "Error freeing descriptor\n");
else printf("Descriptor freed\n");
Compile lines:
purify g++ -g -Wall -I/export/home/oracle/product/10.1.0/db_1/rdbms/public -I/export/home/oracle/product/10.1.0/db_1/plsql/public -I/cm/tools/paks/PurifyPlus-2003a.06.00/releases/purify.sol.2003a.06.00 -I../../include -c otest.cpp
otest.cpp:6: warning: ISO C++ forbids declaration of `main' with no type
purify g++ -g -Wall -o otest otest.o -lclntsh -L/export/home/oracle/product/10.1.0/db_1/lib32 -L/export/home/oracle/product/10.1.0/db_1/rdbms/lib32 -L/cm/tools/paks/PurifyPlus-2003a.06.00/releases/purify.sol.2003a.06.00/lib32 -lm
Purify output:
**** Purify instrumented otest (pid 4992 at Tue Apr 26 14:50:17 2005)
* Purify 2003a.06.00 Solaris 2 (32-bit) Copyright (C) 1992-2003 Rational Software Corp. All rights reserved.
* For contact information type: "purify -help"
* For Purify Viewer output, set the DISPLAY environment variable.
* Options settings: -max_threads=200 \
-cache-dir=/export/home/tmancuso/harvester/src/.purify.cache -best-effort \
-g++=yes -purify \
-purify-home=/cm/tools/paks/PurifyPlus-2003a.06.00/releases/purify.sol.2003a.06.00 \
-gcc3_path=/cm/tools/apps/bin/../../paks/gcc-3.3.1/bin/g++ \
-cache-dir=/export/home/tmancuso/harvester/src/.purify.cache \
-demangle_program=/cm/tools/apps/bin/../../paks/gcc-3.3.1/bin/c++filt \
-threads=yes -use-internal-locks=yes -thread_stack_change=0x4000 \
-mt_safe_malloc=yes
* License successfully checked out.
* Command-line: otest
**** Purify instrumented otest (pid 4992) ****
UMR: Uninitialized memory read:
* This is occurring while in:
kouogini [kouo.c]
kouoini [kouo.c]
kpuinit0 [kpuini.c]
kpuenvcr [kpuini.c]
OCIEnvCreate [oci8.c]
main [otest.cpp:11]
* Reading 4 bytes from 0xffbee34c on the stack.
* Address 0xffbee34c is 308 bytes below frame pointer in function kouogini.
**** Purify instrumented otest (pid 4992) ****
UMR: Uninitialized memory read:
* This is occurring while in:
kpminit [kpm.c]
kpuinit0 [kpuini.c]
kpuenvcr [kpuini.c]
OCIEnvCreate [oci8.c]
main [otest.cpp:11]
_start         [crt1.o]
* Reading 4 bytes from 0xffbee46c on the stack.
* Address 0xffbee46c is 132 bytes below frame pointer in function kpminit.
Env created: 1290920
**** Purify instrumented otest (pid 4992) ****
ZPR: Zero page read:
* This is occurring while in:
kpugdesc [kpuini.c]
main [otest.cpp:16]
_start         [crt1.o]
* Reading 4 bytes from 0x26c4
**** Purify instrumented otest (pid 4992) ****
COR: Fatal core dump:
* This is occurring while in:
kpugdesc [kpuini.c]
main [otest.cpp:16]
_start         [crt1.o]
* Received signal 11 (SIGSEGV - Segmentation Fault)
* Faulting address = 0x26c4
* Signal mask: (SIGSEGV)
* Pending signals:
Segmentation Fault(coredump)
Thanks,
--Tina                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Have you had any luck so far?
Nope. The best I could manage was a workaround -- I used #ifndefs to make the sections of code dealing with timestamps not compile if Purify is being used. It's dangerous to do that and it makes your output come out wrong (all timestamps will just be blank fields), but I couldn't think of any other way to deal with it.
(Sorry for the late reply; I only just saw this now.)

Similar Messages

  • Solaris 8 - Motif, Xbae apps ZPR with purify or Bus error

    The application runs under 5.6 but after compiling and running on 5.8, I receive a Bus Error or when running purify receive a ZPR & COR. The c program is receiving the error during widget creation:
    tbl = XtVaCreateManagedWidget
    ("tbl",
    xbaeMatrixWidgetClass, parent, ...... etc.)
    Purify outputs this message:
    ZPR: This is occurring while in:
    _XtCompileCallbackList [Callback.c]
    CompileCallbacks [Create.c]
    xtCreate [Create.c]
    _XtVaCreateWidget [VarCreate.c]
    XtVaCreateManagedWidget [VarCreate.c]
    Reading 4 bytes from 0x12
    I have tended to think I have a versioning problem with Solaris 8 but I need some help.
    Thank you very much, Joanne

    The application runs under 5.6 but after compilingand
    running on 5.8, I receive a Bus Error or whenrunning
    purify receive a ZPR & COR. The c program is
    receiving the error during widget creation:
    tbl = XtVaCreateManagedWidget
    ("tbl",
    xbaeMatrixWidgetClass, parent, ......
    , parent, ...... etc.)
    Purify outputs this message:
    ZPR: This is occurring while in:
    _XtCompileCallbackList[Callback.c]
    CompileCallbacks [Create.c]
    xtCreate [Create.c]
    _XtVaCreateWidget [VarCreate.c]
    XtVaCreateManagedWidget
    ateManagedWidget [VarCreate.c]
    Reading 4 bytes from 0x12
    I have tended to think I have a versioning problem
    with Solaris 8 but I need some help.
    Thank you very much, Joanne

  • Coredumpctl coredumps on its own coredump :~-(

    Please excuse this stupid question but "almighty google" has problems to find links to sentences with recurrent structure.
    My systeminfo is:
    Linux GarAus 3.17.4-1-ARCH #1 SMP PREEMPT Fri Nov 21 21:14:42 CET 2014 x86_64 GNU/Linux
    and my systemd folder looks actually like this:
    [134] yousry@GarAus> ls -lt /var/lib/systemd/coredump
    insgesamt 472460
    -rw-r-----+ 1 root root 73211 28. Nov 17:05 core.coredumpctl.1000.41e5176f889441929a1e6f2140a9fb88.6889.1417190748000000.lz4
    -rw-r-----+ 1 root root 73317 28. Nov 17:05 core.coredumpctl.1000.41e5176f889441929a1e6f2140a9fb88.6887.1417190748000000.lz4
    -rw-r-----+ 1 root root 73390 28. Nov 17:05 core.coredumpctl.1000.41e5176f889441929a1e6f2140a9fb88.6885.1417190747000000.lz4
    -rw-r-----+ 1 root root 73323 28. Nov 17:03 core.coredumpctl.1000.41e5176f889441929a1e6f2140a9fb88.6855.1417190618000000.lz4
    if I try to debug the last coredump with
    coredumpctl gdb
    I get an ugly stack smashing:
    yousry@GarAus> coredumpctl gdb
    PID: 7299 (coredumpctl)
    UID: 1000 (yousry)
    GID: 100 (users)
    Signal: 6 (ABRT)
    Timestamp: Fr 2014-11-28 17:22:46 CET (11s ago)
    Command Line: coredumpctl gdb
    Executable: /usr/bin/coredumpctl
    Control Group: /user.slice/user-1000.slice/session-c2.scope
    Unit: session-c2.scope
    Slice: user-1000.slice
    Session: c2
    Owner UID: 1000 (yousry)
    Boot ID: 41e5176f889441929a1e6f2140a9fb88
    Machine ID: fd7c3d7a1dc2498e882c12e8c25400e1
    Hostname: GarAus
    Coredump: /var/lib/systemd/coredump/core.coredumpctl.1000.41e5176f889441929a1e6f2140a9fb88.7299.1417191766000000.lz4
    Message: Process 7299 (coredumpctl) of user 1000 dumped core.
    *** stack smashing detected ***: coredumpctl terminated
    ======= Backtrace: =========
    /usr/lib64/libc.so.6(+0x7361e)[0x7f80655dd61e]
    /usr/lib64/libc.so.6(__fortify_fail+0x37)[0x7f8065662c77]
    /usr/lib64/libc.so.6(__fortify_fail+0x0)[0x7f8065662c40]
    coredumpctl(+0xc340)[0x7f8066670340]
    coredumpctl(+0x52b8)[0x7f80666692b8]
    /usr/lib64/libc.so.6(__libc_start_main+0xf0)[0x7f806558a040]
    coredumpctl(+0x567c)[0x7f806666967c]
    ======= Memory map: ========
    7f8060bfd000-7f8060c13000 r-xp 00000000 08:05 35419847 /usr/lib/libgcc_s.so.1
    7f8060c13000-7f8060e12000 ---p 00016000 08:05 35419847 /usr/lib/libgcc_s.so.1
    7f8060e12000-7f8060e13000 rw-p 00015000 08:05 35419847 /usr/lib/libgcc_s.so.1
    7f8060e13000-7f8060e1e000 r-xp 00000000 08:05 35392811 /usr/lib/libnss_files-2.20.so
    7f8060e1e000-7f806101e000 ---p 0000b000 08:05 35392811 /usr/lib/libnss_files-2.20.so
    7f806101e000-7f806101f000 r--p 0000b000 08:05 35392811 /usr/lib/libnss_files-2.20.so
    7f806101f000-7f8061020000 rw-p 0000c000 08:05 35392811 /usr/lib/libnss_files-2.20.so
    7f8061020000-7f8061660000 r--s 00000000 08:05 46671573 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/[email protected]cc806c8b.journal
    7f8061660000-7f8061ca0000 r--s 00000000 08:05 46661884 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/[email protected]762dc2f0.journal
    7f8061ca0000-7f80624a0000 r--s 00000000 08:05 46662534 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/user-120.journal
    7f80624a0000-7f8062ae0000 r--s 00000000 08:05 46671405 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/[email protected]61688330.journal
    7f8062ae0000-7f8063120000 r--s 00000000 08:05 46671668 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/user-1000.journal
    7f8063120000-7f8063760000 r--s 00000000 08:05 46671571 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/[email protected]b6018306.journal
    7f8063760000-7f8063da0000 r--s 00000000 08:05 46671629 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/[email protected]d48a511b.journal
    7f8063da0000-7f80643e0000 r--s 00000000 08:05 46661665 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system.journal
    7f80643e0000-7f8064a20000 r--s 00000000 08:05 46671685 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/[email protected]8d6a109b0d7.journal
    7f8064a20000-7f8065060000 r--s 00000000 08:05 46671660 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/[email protected]e03c2a08.journal
    7f8065060000-7f8065358000 r--p 00000000 08:05 35422454 /usr/lib/locale/locale-archive
    7f8065358000-7f8065369000 r-xp 00000000 08:05 35443880 /usr/lib/libgpg-error.so.0.13.0
    7f8065369000-7f8065568000 ---p 00011000 08:05 35443880 /usr/lib/libgpg-error.so.0.13.0
    7f8065568000-7f8065569000 r--p 00010000 08:05 35443880 /usr/lib/libgpg-error.so.0.13.0
    7f8065569000-7f806556a000 rw-p 00011000 08:05 35443880 /usr/lib/libgpg-error.so.0.13.0
    7f806556a000-7f8065704000 r-xp 00000000 08:05 35392857 /usr/lib/libc-2.20.so
    7f8065704000-7f8065903000 ---p 0019a000 08:05 35392857 /usr/lib/libc-2.20.so
    7f8065903000-7f8065907000 r--p 00199000 08:05 35392857 /usr/lib/libc-2.20.so
    7f8065907000-7f8065909000 rw-p 0019d000 08:05 35392857 /usr/lib/libc-2.20.so
    7f8065909000-7f806590d000 rw-p 00000000 00:00 0
    7f806590d000-7f8065924000 r-xp 00000000 08:05 35392818 /usr/lib/libpthread-2.20.so
    7f8065924000-7f8065b23000 ---p 00017000 08:05 35392818 /usr/lib/libpthread-2.20.so
    7f8065b23000-7f8065b24000 r--p 00016000 08:05 35392818 /usr/lib/libpthread-2.20.so
    7f8065b24000-7f8065b25000 rw-p 00017000 08:05 35392818 /usr/lib/libpthread-2.20.so
    7f8065b25000-7f8065b29000 rw-p 00000000 00:00 0
    7f8065b29000-7f8065b30000 r-xp 00000000 08:05 35392870 /usr/lib/librt-2.20.so
    7f8065b30000-7f8065d2f000 ---p 00007000 08:05 35392870 /usr/lib/librt-2.20.so
    7f8065d2f000-7f8065d30000 r--p 00006000 08:05 35392870 /usr/lib/librt-2.20.so
    7f8065d30000-7f8065d31000 rw-p 00007000 08:05 35392870 /usr/lib/librt-2.20.so
    7f8065d31000-7f8065e08000 r-xp 00000000 08:05 35436468 /usr/lib/libgcrypt.so.20.0.2
    7f8065e08000-7f8066008000 ---p 000d7000 08:05 35436468 /usr/lib/libgcrypt.so.20.0.2
    7f8066008000-7f8066009000 r--p 000d7000 08:05 35436468 /usr/lib/libgcrypt.so.20.0.2
    7f8066009000-7f8066012000 rw-p 000d8000 08:05 35436468 /usr/lib/libgcrypt.so.20.0.2
    7f8066012000-7f806601c000 r-xp 00000000 08:05 35436178 /usr/lib/liblz4.so.1.4.0
    7f806601c000-7f806621b000 ---p 0000a000 08:05 35436178 /usr/lib/liblz4.so.1.4.0
    7f806621b000-7f806621c000 r--p 00009000 08:05 35436178 /usr/lib/liblz4.so.1.4.0
    7f806621c000-7f806621d000 rw-p 0000a000 08:05 35436178 /usr/lib/liblz4.so.1.4.0
    7f806621d000-7f806623f000 r-xp 00000000 08:05 35399308 /usr/lib/liblzma.so.5.0.7
    7f806623f000-7f806643e000 ---p 00022000 08:05 35399308 /usr/lib/liblzma.so.5.0.7
    7f806643e000-7f806643f000 r--p 00021000 08:05 35399308 /usr/lib/liblzma.so.5.0.7
    7f806643f000-7f8066440000 rw-p 00022000 08:05 35399308 /usr/lib/liblzma.so.5.0.7
    7f8066440000-7f8066462000 r-xp 00000000 08:05 35392813 /usr/lib/ld-2.20.so
    7f806664f000-7f8066651000 rw-p 00000000 00:00 0
    7f8066651000-7f8066652000 r--s 00000000 08:05 46671573 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/[email protected]cc806c8b.journal
    7f8066652000-7f8066653000 r--s 00000000 08:05 46661884 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/[email protected]762dc2f0.journal
    7f8066653000-7f8066654000 r--s 00000000 08:05 46662534 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/user-120.journal
    7f8066654000-7f8066655000 r--s 00000000 08:05 46671405 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/[email protected]61688330.journal
    7f8066655000-7f8066656000 r--s 00000000 08:05 46671668 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/user-1000.journal
    7f8066656000-7f8066657000 r--s 00000000 08:05 46671571 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/[email protected]b6018306.journal
    7f8066657000-7f8066658000 r--s 00000000 08:05 46671629 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/[email protected]d48a511b.journal
    7f8066658000-7f8066659000 r--s 00000000 08:05 46661665 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/system.journal
    7f8066659000-7f806665a000 r--s 00000000 08:05 46671685 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/[email protected]8d6a109b0d7.journal
    7f806665a000-7f806665b000 r--s 00000000 08:05 46671660 /var/log/journal/fd7c3d7a1dc2498e882c12e8c25400e1/[email protected]e03c2a08.journal
    7f806665b000-7f8066661000 rw-p 00000000 00:00 0
    7f8066661000-7f8066662000 r--p 00021000 08:05 35392813 /usr/lib/ld-2.20.so
    7f8066662000-7f8066663000 rw-p 00022000 08:05 35392813 /usr/lib/ld-2.20.so
    7f8066663000-7f8066664000 rw-p 00000000 00:00 0
    7f8066664000-7f806667e000 r-xp 00000000 08:05 35443628 /usr/bin/coredumpctl
    7f806667f000-7f8066680000 r--p 0001a000 08:05 35443628 /usr/bin/coredumpctl
    7f8066680000-7f8066681000 rw-p 0001b000 08:05 35443628 /usr/bin/coredumpctl
    7f8066caf000-7f8066cd0000 rw-p 00000000 00:00 0 [heap]
    7fff6be7b000-7fff6be9c000 rw-p 00000000 00:00 0 [stack]
    7fff6bffc000-7fff6bffe000 r--p 00000000 00:00 0 [vvar]
    7fff6bffe000-7fff6c000000 r-xp 00000000 00:00 0 [vdso]
    ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
    zsh: abort (core dumped) coredumpctl gdb
    Of curse the real reason is the crash of another small application. I'm using the default config of coredumpctl:   
    [134] yousry@GarAus> cat /etc/systemd/coredump.conf
    # This file is part of systemd.
    # systemd is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2.1 of the License, or
    # (at your option) any later version.
    # See coredump.conf(5) for details
    [Coredump]
    #Storage=external
    #Compress=yes
    #ProcessSizeMax=2G
    #ExternalSizeMax=2G
    #JournalSizeMax=767M
    #MaxUse=
    #KeepFree=
    Any help would be greatly appreciated!
    TIA

    hmm... I've experienced that as well, and from what I could tell it's related to lz4, specifically downgrading to lz4-123 fixed it for me. See https://bugs.archlinux.org/task/42944
    Edit:
    falconindy wrote:A backtrace would be useful. debug symbols can be grabbed from my repo
    Oh, that's what I've been looking for! Need to write that down. But there doesn't seem to be anything systemd-217-7 there, only up to 217-6?
    Last edited by jjacky (2014-11-28 18:18:40)

  • OCIServerAttach() coredump with Oracle10.2 64bit on X64 platform

    hi, i get a problem using OCI to connect to server. On X64 platform, Solaris10 system, and 64bit Oracle10.2 release, when i use OCIServerAttach() to attach a server, it will core dump. However, with the same code and same Oracle version, on a spark platform, it works well.My code is 32bit, so it depens on $ORACLE_HOME/lib32/libclntsh.so.10.1. Under Spark platform it works,but under x64 platform it will coredump. I copied a libclntsh.so.10.1 from a 32bit Oracle 10.2 client instance $ORACLE_HOME/lib on X86 platform to the X64 $ORACLE_HOME/lib32, the code then works. Why?
    My code:
    OCIEnv      *m_pEnvHandle;               
    OCIError      *m_pErrHandle;               
    OCIServer      *m_pSrvHandle;               
    OCISvcCtx      *m_pSvcHandle;               
    const char* i_pszSrv = "iccshis";
    OCIEnvCreate(&m_pEnvHandle, OCI_THREADED|OCI_OBJECT, (dvoid *)0,
                   0, 0, 0, (size_t) 0, (dvoid **)0);
    OCIHandleAlloc((dvoid*)m_pEnvHandle, (dvoid**)&m_pErrHandle,
                   OCI_HTYPE_ERROR, (size_t)0, (dvoid**)0);
    OCIHandleAlloc((dvoid*)m_pEnvHandle, (dvoid**)&m_pSrvHandle,
                   OCI_HTYPE_SERVER, (size_t)0, (dvoid**)0);
    OCIServerAttach(m_pSrvHandle, m_pErrHandle, (text*)i_pszSrv, strlen((char*)i_pszSrv), OCI_DEFAULT);
    The stack back trace when the programme core dumped:
    00000000 ???????? (fb1f3430, 0, 804068c, 822e1d8, b, 8040690)
    fa996a3f nnfgrne (fb1f3430, 8043058, 0, fb1b5e38, 0, 8040e00) + 25b
    faa0b30d nlolgobj (fb1f3430, 8043058, 16, 8040e64, 8040e68) + 669
    fa9951ab nnfun2a (fb1f3430, 8043058, ff, 8043034, 8040ef0, 1000) + 15b
    fa994e9e nnfsn2a (fb1f3430, 8043058, ff, 8043034, 8040ef0, 1000) + 36
    fa983f97 niqname (fb1f3430, 1001, 8043058, 7, c0e887c, 8046290) + 2fb
    fa8cfd38 kwfnran (9721ba8, 7, 804628c, 8046290, c0ee8bc, c0ee8c0) + 168
    fa8a7b33 kwfcinit (c0e475c, 9721ba8, 7, 804628c, 8046290, be896d0) + 1b7
    fa726f04 kpuatch (c0e475c, c0e41d0, 9721ba8, 7, 0, 0) + 7c0
    fa7e6f06 OCIServerAttach (c0e475c, c0e41d0, 9721ba8, 7, 0, 0) + 56
    f7574b07 bool COracleDBI::Open(const char*,const char*,const char*) (be7c998, 9721ba8, 89b6d90, 95f7170) + 12f;
    Can anybody tell me why? thanks.

    I'd hesitate to use SQL*Plus to determine a failure on this single OCI call.
    While I haven't checked lately, the last time I looked, SQL*Plus didn't use OCIServerAttach. Instead, it used UPI to perform most connection and session initialization and then converted its handles for use by OCI calls. Like I said, it may work, but this is a very basic call that should work.
    I know a couple people who worked at Oracle and based on their information, I believe it would be nearly impossible for this blatant of a bug to pass regression. I'd opt for trying one of the OCI demo programs to see if this same issue can be replicated.
    Just my 2 cents :)

  • Segmentation Fault(coredump) ...please  help me

    I have an application running under C / Pro C in Solaris and I have a program, it insertes rows automatically into a database (oracle) and generes a file in /tmp whith the information inserted, but whit some users the program sends an error message "Segmentation Fault(coredump)". what is the reason for this error messages...?
    the reason is user privileges or other reason?

    The problem could be a bug in your code or in our compiler. You will need to get a stack trace under dbx to see what caused the SEG-FAULT.

  • Purify problems...?

    We had used purify 4.5 previously on Solaris 2.5 and 2.6 with excellent results. We're not trying to use purify 5.1 and 5.2 on solaris 2.6 or 2.7 and having terrible results. Lots of flaky error reporting on things that near as any of us can tell are indeed not errors. Same code under 4.5 on solaris 2.6 has no problems.
    Is anyone else having luck with purify 5.x??
    Matt

    I should have mentioned, we're using Sun's C++ 5.0.

  • SSO to partner application running under IIS

    Hi,
    We have a complete set-up for 9iAS Release2 where some applications are running. In parallell we have an application running under IIS, and would now like to enable the IIS application as a partner application to 9iAS letting the 9iAS SSO server handle the authentication.
    In the documentation of Oracle Proxy Plug-in I read that this proxy plug-in can be used to proxy requests from IIS to Oracle http server (OHS) and also in this way enable SSO.
    My question is if this can be done only for applications running under 9iAS but having IIS as web server, or if it is also possible like in our case to enable SSO via the proxy plug-in to applications runnind under IIS?
    If this is not supported is the only available solution to use the SSO SDK in my IIS application?
    Thanks and regards,
    Rikard

    Here's a DIY answer.
    See Metalink Note 269820.1 which shows you how to use Perl to overwrite the host name in the HTTP header and remove the port number.

  • Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    You can seach the net for solutions like this one http://appletvvpn.com/how-to-connect-apple-tv-2-to-vpn/ another idea is to use a PC as the control and fit that with a wireless card and set up a ad hoc wireless network that the Apple TV uses. 

  • My mac's software is only available under my profile on MacBook pro. How can other family members get to the optional SW logged in under their own profile

    Is there a way to share purchased SW under mote than one profile on the MacBook pro?
    Thanks

    If the software is in the HD>Applications folder it's available to everyone. If for some reason you put software into User>Applications folder it will be available only to that user.

  • Application working under NetBeans but not as a *.jar file

    Hello,
    recently I found a little problem. I wrote application that shows all available ports in my computer. When I am running this applications under NetBeans it works with no problem - finds all available ports. Then I am building it to the *.jar file. Application is working with no problem but command:
    Enumeration PortIds = CommPortIdentifier.getPortIdentifiers();
    is not returning any identifiers - PortIds is empty.
    Anyone knows a solution for this type of problems? Thanks

    Hi Venkatesh,
    Few questions.
    1. What is your JDeveloper version? (Always better to post your JDev version along with the question, which would help us to help you better).
    2. Did you try adding webserviceclient.jar to the classpath? (Search in your JDev installation directory for the location of this jar file).
    -Arun

  • Application stuck under menu toolbar

    An application I'm running (Filezilla FTP client) is stuck under the mac menu toolbar. I can't grab the toolbar of the application to move it or access what I need to access. I've researched this issue and other people have had the same problem, but none of their solutions have worked for me. I've tried changing the resolution of my screen, disconnecting my dual monitor, "zoom" is not available in the program I'm working with, and I've tried a multitude of expose/spaces/random key commands to no avail. Any other ideas?
    Using 10.9.5

    I can't see from your screenshot if there available screen space around the window. You could try dragging the window down from one of the bottom edge - making it smaller first if necessary (when the cursor is near the edge it has double arrow that indicates changing the window size), then make sure that your mouse is enough inside the window that the cursor is a normal one-arrow and drag it down. Repeat if necessary until the title bar reappears.

  • Application running slowly under Hyper-V (factor of 100 times slower)

    I have an application running in a non virtual Windows Server 2008R2/SP1 environment.  It processes about 60,000 records from an indexed file (about 20MB in length) in about a second running in that environment.  I want to move the application
    to a Hyper-V virtual server also running Windows Server 2008R2/SP1.  When I do so, the application runs, but processing the same file takes almost 2 minutes.
    The application is the only thing running in the virtual machine and the virtual machine is the only VM running on the physical box.  The VM is configured with a single processor, 2048M of fixed (not dynamic) memory and a fixed size disk of 255GB. 
    There is no network traffic so the single network connection is not used.  The physical machine is a quad core with 8GB of memory and two 1TB drives that are less than 1/4 used in each case.
    Now for the weird part.  The application runs from the command line.  If I start it and do nothing else, it takes about 2 minutes to complete its process.  But, if I start the application, switch focus to another window on the virtual
    machine then switch back, the process completes immediately upon switching back to the command line window.
    Any thoughts?

    The VM is configured with a single processor - The physical machine is a quad core
    Do you mean the physical machine that was running the application has a quad core processor?  If not, what did the physical machine running the application actually have?  Is the application multithreaded so that it can make use of multiple processors? 
    Did the application in the physical world have OS and data on the same disk or on different disks?  Did you run this application shortly after you started the VM, or did you let the system quiesce a bit?  Did you measure performance on the physical
    under the same sort of conditions?  Are you running from a cmd window or PowerShell?  (Your comment about clicking away and coming back brings to mind things I've seen with PowerShell)  Does it run quickly on a second instantiation, or does
    it run poorly every instantiation?
    Determining performance requires a lot more information than what you provided.
    I always assign at least two virtual CPUs to any Windows Server VMs.  There are enough system processes running on the box that two processors will almost always benefit the workload.  Also, it it not uncommon that the first run of an application
    shortly after a machine has started will never perform as it will after a machine has settled in.  This is why every benchmark worth its salt will start the benchmark and let it run for a few minutes before they actually start measuring.
    .:|:.:|:. tim

  • How to allow access to web service running under ApplicationPoolIdentity

    Hi All,
    I have a WCF web service hosted in IIS 7 (or maybe 7.5, whichever comes with Windows server 2008 R2) using DefaultAppPool running under ApplicationPoolIdentity per Microsoft's recommendation. The web service needs to call a stored procedure to insert data
    to a db. The web server is on a different VM than the database server. The db server is running SQL 2008 R2. Both VMs run Windows server 2008 R2.
    When the web service tries to connect to db, it encounters this exception:
    Exception in InsertToDb()System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
    Here's the connection string in web.config:
    Application Name=somewebservice;Server=somewebserver;Integrated Security=SSPI;Database=somedatabase;Connection Timeout=60"
    How should I configure SQL security to make this work?
    Thanks in advanced.

    Thanks for the link Dan. Maybe I'm the one who cause the confusion :)
    If I understand you(and Erland) correctly, you suggest using a custom, domain account for application pool identity. However, if we do that, our IT will need to maintain those accounts, and they don't  want that. So I'm choosing a built-in account called
    ApplicationPoolIdentity as the application pool identity, but it's not working. Network Service, on the other hand, works, but my boss wants us to follow MS's best practice.
    What's puzzling is that according to this: http://learn.iis.net/page.aspx/624/application-pool-identities/, both Network Service and ApplicationPoolIdentity uses machine account to access network resource (like db in this case), but in my case, Network Service
    works, but not ApplicationPoolIdentity.
    Hallo Stephen,
    with respect - it seems to me that only idiots are working at your IT ;)... It is absolutely useful to work with "service accounts" created within the domain. That's the only way to manage and control accounts!
    If you want to "pass through" the identity of the web user (SSO) you have to check whether the app pool is set to "allow impersonate". As far as I understand the ApplicationPoolIdentity-function the app pool will create a unique user named as the service.
    I assume that will not work with the connection to the sql server because this user is unknown.
    Local Service will not work because it's restriction is located to the local machine.
    Network Service will work because access to network resources will be available.
    So my recommendation is to use a dedicated service account or impersonation:
    http://msdn.microsoft.com/en-us/library/xh507fc5.aspx
    Uwe Ricken
    MCITP Database Administrator 2005
    MCITP Database Administrator 2008
    MCITS Microsoft SQL Server 2008, Database Development
    db Berater GmbH
    http://www-db-berater.de

  • Global data getting reset when running under IIS?

    We have a scenario using IIS with an ASP.NET web service written in VB.NET. When a call to the web service is made, the web service calls a native dll (written in C, compiled using VS2010) using platform invoke, which in turn calls into our product API:
    VB.NET web service -> native library (p/invoke) -> native API ....
    Web service requests are successfully completed and the system runs without problem for hours. A trace of the native API shows it is being called by multiple processes and multiple threads within those processes.
    The main native API dll contains a static global variable used to detect whether it is the first time it has been called and run initialization logic if it is. This dll is itself linked to a second dll that contains a global variable used to detect if it is
    the first time it has been called.
    After some hours the trace shows that the native API is invoked by an existing process but that the initialization logic is being exercised again, even though the global variable was set to indicate not first time and is never reset.  One theory was that
    the first process has ended and a new process has started almost instantaneously using the same process ID. However this is not the case as existing thread IDs from the same process are seen to write to the trace again after the first time logic has executed
    for the second time, indicating the process has not restarted. The problem occurs regularly.
    It is as though the process's global data has been initialized again and malloc'ed memory freed while the processing is still running. Is there any way this is possible when running under IIS?
    There is an internal thread which waits on a blocking read of a named pipe (via ReadFile), and when the problem occurs, the ReadFile call ends with ERROR_NO_ACCESS, which appears to indicate the malloc'ed buffer is no longer valid, again implying something
    has happened to the memory allocated to the process.

    Suggestting you asking it on:
    http://forums.iis.net/

  • Flex application running under AIR takes a long, long time to start.

    I have a flex application which runs on a desktop under AIR. The application has an assets folder with 3,500 mp3 soundclips totalling about 50MB. The problem is, the application takes around 90 seconds to load. I'm sure that AIR is scanning the application folder and doing something with the contents because if I delete the assets folder it loads in about 5 seconds. Does anyone know why AIR/Flex would do this, and why it doesn't exhibit the same problem if I run or debug in Flexbuilder on eclipse? It's making my killer app unusable!
    Thanks
    Paulo

    Well, I've spent a bit longer looking at this now, and the problem appears to lie with my encrypted local store. The first thing that happens is for the app to read the product key from the ELS. But, it fails (for some unknown reason). So, the app seems to hang there for 90 seconds until it eventually renders the welcome screen. If I remove the assets folder it still fails to read from the ELS, but only takes a couple of seconds to start the welcome screen. This is where the scanning of the application folder seems to come into play, because if I remove the code which reads from the ELS the app starts within 2 seconds whether the asset folder is there or not.
    I think the slow startup and the scanning of the assets folder are just symptoms of a different problem, i.e. a problem with the ELS. I don't have the same problem with my development environment though - it's only when I test deploy the application.
    Thanks for your help on this problem EgorKDie. I think I should be able to resolve it once I can sort out why the ELS is being awkward.

Maybe you are looking for

  • Error happened while running the report-BIRT

    Eclipse version - Luna that is-Eclipse IDE for Java and Report Developers version-4.4.2.20150219-0708 Code in script open menu is- query="select" +"department_name, office_id, office_name," +"sum(total_empl_count) as total_empl_count," +"sum(pb_count

  • System freezes randomly

    Alright, so whenever I start up my mac, it goes through the whole startup process fine. It loads Finder and I can start opening menues or starting programs. Then, roughly 30-120 seconds after the startup completes, the system freezes. This is usually

  • Logic Express doesn't react

    I am new in the stuff, so I would be grateful for your advice. Logic Express doesn't react after doing anything - f.ex. changing the location of a piece of audio or MIDI file - the song does not play. It only works after beeing started. The problem o

  • How do I get the weather application that is the same as the iphone application on my ipad mini?

    How do I get the weather application that is the same as the iphone application on my ipad mini? I don't want any other applications from the app store, I just want the regular weather app that comes with the iphones and other products.

  • Sometimes no sound in flash videos after boot?

    Sometimes after I boot up the machine, I get no sound in flash videos. First I didn't know why it was happening, but as I read a few articles here on forum, I found out it was because of my USB webcam (logitech) - alsa was messing something up and di