Segmentation fault when using snapshot isolation with Berkeley DB 6.1.19 and 5.1.29

Hello,
I have been experimenting with snapshot isolation with Berkeley DB, but I find that it frequently triggers a segmentation fault when write transactions are in progress.  The following test program reliably demonstrates the problem in Linux using either 5.1.29 or 6.1.19. 
https://anl.app.box.com/s/3qq2yiij2676cg3vkgik
Compilation instructions are at the top of the file.  The test program creates a temporary directory in /tmp, opens a new environment with the DB_MULTIVERSION flag, and spawns 8 threads.  Each thread performs 100 transactional put operations using DB_TXN_SNAPSHOT.  The stack trace when the program crashes generally looks like this:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7483700 (LWP 11871)]
0x00007ffff795e190 in __memp_fput ()
   from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
(gdb) where
#0  0x00007ffff795e190 in __memp_fput ()
   from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#1  0x00007ffff7883c30 in __bam_get_root ()
   from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#2  0x00007ffff7883dca in __bam_search ()
   from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#3  0x00007ffff7870246 in ?? () from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#4  0x00007ffff787468f in ?? () from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#5  0x00007ffff79099f4 in __dbc_iput ()
   from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#6  0x00007ffff7906c10 in __db_put ()
   from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#7  0x00007ffff79191eb in __db_put_pp ()
   from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
#8  0x0000000000400f14 in thread_fn (foo=0x0)
    at ../tests/transactional-osd/bdb-snapshot-write.c:154
#9  0x00007ffff7bc4182 in start_thread (arg=0x7ffff7483700)
    at pthread_create.c:312
#10 0x00007ffff757f38d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
I understand that this test program, with 8 concurrent (and deliberately conflicting) writers, is not an ideal use case for snapshot isolation, but this can be triggered in other scenarios as well.
You can disable snapshot isolation by toggling the value of the USE_SNAP #define near the top of the source, and the test program then runs fine without it.
Can someone help me to identify the problem?
many thanks,
-Phil

Hi Phil,
   We have taken a look at this in more detail and there was a bug in the code.   We have fixed the bug.     We will roll it into our next 6.1 release that we do.   If you would like an early patch that will go on top of 6.1.19, please email me at [email protected], reference this forum post and I can get a patch sent out to you.   It will be a .diff file that apply on the source code and then rebuild the library.  Once again thanks for finding the issue, and providing a great test program which tremendously helped in getting this resolved.
thanks
mike

Similar Messages

  • Segmentation fault when using jni application

    Hi I have a segmentation fault whe i use jni with a c++ program, i don't know how to read hs_err_pid....log, can someone help me to analyse this file
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0x9704e824, pid=15092, tid=2983283632
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_15-b04 mixed mode, sharing)
    # Problematic frame:
    # C 0x9704e824
    --------------- T H R E A D ---------------
    Current thread (0x08379000): JavaThread "Xxxxxxxx main loop #1 (machine)" [_thread_in_native, id=15101]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x9704e824
    Registers:
    EAX=0xb1f9c030, EBX=0xb1edafa0, ECX=0x48411fc8, EDX=0x08377218
    ESP=0xb1d13bfc, EBP=0xb1d13c18, ESI=0xb1f1020a, EDI=0xb1edc5a8
    EIP=0x9704e824, CR2=0x9704e824, EFLAGS=0x00010286
    Top of Stack: (sp=0xb1d13bfc)
    0xb1d13bfc: b1e78eb5 b1f9c030 48411fc8 b1e78e2b
    0xb1d13c0c: b1f9b494 b1d13c50 b0786e50 b1d13c78
    0xb1d13c1c: b1f6a332 b0786e50 48411fc8 b1d13c48
    0xb1d13c2c: b7bca34c 083790c0 b1d13c40 08410e58
    0xb1d13c3c: 00a0b574 b1f9c030 0838b2e0 b074ed18
    0xb1d13c4c: b1fca214 b1f9c360 0838b2e0 b072e2d8
    0xb1d13c5c: b1fb761c 08373ce8 b1d13c94 b1f6a16f
    0xb1d13c6c: b1f9b494 08373c08 00000001 b1d13cc8
    Instructions: (pc=0x9704e824)
    0x9704e814:
    [error occurred during error reporting, step 100, id 0xb]
    Stack: [0xb1c94000,0xb1d15000), sp=0xb1d13bfc, free space=510k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C 0x9704e824
    C [libxxxxxxxxxx.so.1.6+0x7d332] _ZN10MyApplication12Route4tickEj+0x1ce
    C [libxxxxxxxxxx.so.1.6+0x34248] _ZN10MyApplication4Core8workEj+0x34
    C [libyyyyyy.so+0x15457] ZN5CCore8mainLoopEP7JNIEnv+0x17f
    C [libyyyyyy.so+0x1f299] Java_com_xx_xxxxxxxx_xxxxxxxximpl_jni_JCore_run+0x35
    j com.xx.xxxxxxxx.xxxxxxxximpl.jni.JCore.run()V+0
    v ~StubRoutines::call_stub
    V [libjvm.so+0x17b2bc]
    V [libjvm.so+0x28fed8]
    V [libjvm.so+0x17ab15]
    V [libjvm.so+0x17abae]
    V [libjvm.so+0x1f2b15]
    V [libjvm.so+0x2f9933]
    V [libjvm.so+0x290ae8]
    C [libpthread.so.0+0x5371]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.xx.xxxxxxxx.xxxxxxxximpl.jni.JCore.run()V+0
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    =>0x08379000 JavaThread "Xxxxxxxx main loop #1 (machine)" [_thread_in_native, id=15101]
    0x083634d8 JavaThread "Thread-0" [_thread_in_native, id=15100]
    0x080a5c60 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=15098]
    0x080a47a8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=15097]
    0x080a3850 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=15096]
    0x0809dbe8 JavaThread "Finalizer" daemon [_thread_blocked, id=15095]
    0x0809bdb8 JavaThread "Reference Handler" daemon [_thread_blocked, id=15094]
    0x0805caa0 JavaThread "main" [_thread_in_native, id=15092]
    Other Threads:
    0x0809a940 VMThread [id=15093]
    0x080a71d0 WatcherThread [id=15099]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 576K, used 515K [0x88bc0000, 0x88c60000, 0x890a0000)
    eden space 512K, 95% used [0x88bc0000, 0x88c3a560, 0x88c40000)
    from space 64K, 40% used [0x88c40000, 0x88c46888, 0x88c50000)
    to space 64K, 0% used [0x88c50000, 0x88c50000, 0x88c60000)
    tenured generation total 1408K, used 918K [0x890a0000, 0x89200000, 0x8cbc0000)
    the space 1408K, 65% used [0x890a0000, 0x89185850, 0x89185a00, 0x89200000)
    compacting perm gen total 8192K, used 500K [0x8cbc0000, 0x8d3c0000, 0x90bc0000)
    the space 8192K, 6% used [0x8cbc0000, 0x8cc3d110, 0x8cc3d200, 0x8d3c0000)
    ro space 8192K, 68% used [0x90bc0000, 0x91142e10, 0x91143000, 0x913c0000)
    rw space 12288K, 48% used [0x913c0000, 0x91991640, 0x91991800, 0x91fc0000)
    Dynamic libraries:
    00113000-00121000 r-xp 00000000 03:01 6292457 /lib/tls/libpthread-2.3.4.so
    00121000-00123000 rwxp 0000d000 03:01 6292457 /lib/tls/libpthread-2.3.4.so
    00123000-00125000 rwxp 00123000 00:00 0
    0022c000-0023b000 r-xp 00000000 03:01 6292459 /lib/libresolv-2.3.4.so
    0023b000-0023d000 rwxp 0000f000 03:01 6292459 /lib/libresolv-2.3.4.so
    0023d000-0023f000 rwxp 0023d000 00:00 0
    002be000-002c5000 r-xp 00000000 03:01 6292458 /lib/libgcc_s-3.4.6-20060404.so.1
    002c5000-002c6000 rwxp 00007000 03:01 6292458 /lib/libgcc_s-3.4.6-20060404.so.1
    002e8000-003a8000 r-xp 00000000 03:01 10722848 /usr/lib/libstdc++.so.6.0.3
    003a8000-003ad000 rwxp 000bf000 03:01 10722848 /usr/lib/libstdc++.so.6.0.3
    003ad000-003b3000 rwxp 003ad000 00:00 0
    0087d000-0088f000 r-xp 00000000 03:01 6292465 /lib/libnsl-2.3.4.so
    0088f000-00891000 rwxp 00011000 03:01 6292465 /lib/libnsl-2.3.4.so
    00891000-00893000 rwxp 00891000 00:00 0
    00b99000-00bae000 r-xp 00000000 03:01 6292453 /lib/ld-2.3.4.so
    00bae000-00baf000 r-xp 00015000 03:01 6292453 /lib/ld-2.3.4.so
    00baf000-00bb0000 rwxp 00016000 03:01 6292453 /lib/ld-2.3.4.so
    00bb7000-00cdc000 r-xp 00000000 03:01 6292454 /lib/tls/libc-2.3.4.so
    00cdc000-00cdd000 r-xp 00124000 03:01 6292454 /lib/tls/libc-2.3.4.so
    00cdd000-00ce0000 rwxp 00125000 03:01 6292454 /lib/tls/libc-2.3.4.so
    00ce0000-00ce2000 rwxp 00ce0000 00:00 0
    00ce4000-00d05000 r-xp 00000000 03:01 6292455 /lib/tls/libm-2.3.4.so
    00d05000-00d07000 rwxp 00020000 03:01 6292455 /lib/tls/libm-2.3.4.so
    00d09000-00d0b000 r-xp 00000000 03:01 6292456 /lib/libdl-2.3.4.so
    00d0b000-00d0d000 rwxp 00001000 03:01 6292456 /lib/libdl-2.3.4.so
    08048000-08057000 r-xp 00000000 03:01 11715142 /usr/java/jdk1.5.0_15/bin/java
    08057000-08059000 rwxp 0000e000 03:01 11715142 /usr/java/jdk1.5.0_15/bin/java
    08059000-086b9000 rwxp 08059000 00:00 0
    88bc0000-88c60000 rwxp 88bc0000 00:00 0
    88c60000-890a0000 rwxp 88c60000 00:00 0
    890a0000-89200000 rwxp 890a0000 00:00 0
    89200000-8cbc0000 rwxp 89200000 00:00 0
    8cbc0000-8d3c0000 rwxp 8cbc0000 00:00 0
    8d3c0000-90bc0000 rwxp 8d3c0000 00:00 0
    90bc0000-91143000 r-xs 00001000 03:01 11698348 /usr/java/jdk1.5.0_15/jre/lib/i386/client/classes.jsa
    91143000-913c0000 rwxp 91143000 00:00 0
    913c0000-91992000 rwxp 00584000 03:01 11698348 /usr/java/jdk1.5.0_15/jre/lib/i386/client/classes.jsa
    91992000-91fc0000 rwxp 91992000 00:00 0
    91fc0000-92090000 rwxp 00b56000 03:01 11698348 /usr/java/jdk1.5.0_15/jre/lib/i386/client/classes.jsa
    92090000-923c0000 rwxp 92090000 00:00 0
    923c0000-923c4000 r-xs 00c26000 03:01 11698348 /usr/java/jdk1.5.0_15/jre/lib/i386/client/classes.jsa
    923c4000-927c0000 rwxp 923c4000 00:00 0
    b0500000-b0521000 rwxp b0500000 00:00 0
    b0521000-b0600000 --xp b0521000 00:00 0
    b0600000-b0636000 rwxp b0600000 00:00 0
    b0636000-b0700000 --xp b0636000 00:00 0
    b0700000-b0800000 rwxp b0700000 00:00 0
    b0873000-b0874000 --xp b0873000 00:00 0
    b0874000-b1c74000 rwxp b0874000 00:00 0
    b1c74000-b1c78000 r-xp 00000000 03:01 6291503 /lib/libnss_dns-2.3.4.so
    b1c78000-b1c7a000 rwxp 00003000 03:01 6291503 /lib/libnss_dns-2.3.4.so
    b1c94000-b1c97000 --xp b1c94000 00:00 0
    b1c97000-b1d15000 rwxp b1c97000 00:00 0
    b1d15000-b1d1b000 r-xs 00000000 03:01 10748120 /usr/lib/gconv/gconv-modules.cache
    b1fcb000-b1fdd000 r-xp 00000000 03:01 11603256 /usr/java/jdk1.5.0_15/jre/lib/i386/libnet.so
    b1fdd000-b1fde000 rwxp 00011000 03:01 11603256 /usr/java/jdk1.5.0_15/jre/lib/i386/libnet.so
    b1fde000-b1fe1000 --xp b1fde000 00:00 0
    b1fe1000-b205f000 rwxp b1fe1000 00:00 0
    b2089000-b214f000 r-xs 00000000 03:01 11698359 /usr/java/jdk1.5.0_15/jre/lib/ext/localedata.jar
    b214f000-b2152000 r-xs 00000000 03:01 11698358 /usr/java/jdk1.5.0_15/jre/lib/ext/dnsns.jar
    b2152000-b217d000 r-xs 00000000 03:01 11698357 /usr/java/jdk1.5.0_15/jre/lib/ext/sunpkcs11.jar
    b217d000-b21a4000 r-xs 00000000 03:01 11698356 /usr/java/jdk1.5.0_15/jre/lib/ext/sunjce_provider.jar
    b21a4000-b21a5000 --xp b21a4000 00:00 0
    b21a5000-b2225000 rwxp b21a5000 00:00 0
    b2225000-b2228000 --xp b2225000 00:00 0
    b2228000-b22a6000 rwxp b2228000 00:00 0
    b22a6000-b22a9000 --xp b22a6000 00:00 0
    b22a9000-b2327000 rwxp b22a9000 00:00 0
    b2327000-b232a000 --xp b2327000 00:00 0
    b232a000-b23a8000 rwxp b232a000 00:00 0
    b23a8000-b25a8000 r-xp 00000000 03:01 10717357 /usr/lib/locale/locale-archive
    b25a8000-b25ab000 --xp b25a8000 00:00 0
    b25ab000-b2629000 rwxp b25ab000 00:00 0
    b2629000-b262c000 --xp b2629000 00:00 0
    b262c000-b26aa000 rwxp b262c000 00:00 0
    b26aa000-b26ab000 --xp b26aa000 00:00 0
    b26ab000-b273c000 rwxp b26ab000 00:00 0
    b273c000-b2758000 rwxp b273c000 00:00 0
    b2758000-b2759000 rwxp b2758000 00:00 0
    b2759000-b2776000 rwxp b2759000 00:00 0
    b2776000-b2777000 rwxp b2776000 00:00 0
    b2777000-b2778000 rwxp b2777000 00:00 0
    b2778000-b277a000 rwxp b2778000 00:00 0
    b277a000-b2796000 rwxp b277a000 00:00 0
    b2796000-b279a000 rwxp b2796000 00:00 0
    b279a000-b27b6000 rwxp b279a000 00:00 0
    b27b6000-b27c5000 rwxp b27b6000 00:00 0
    b27c5000-b2841000 rwxp b27c5000 00:00 0
    b2841000-b2941000 rwxp b2841000 00:00 0
    b2941000-b4841000 rwxp b2941000 00:00 0
    b4841000-b50b0000 r-xs 00000000 03:01 11603318 /usr/java/jdk1.5.0_15/jre/lib/charsets.jar
    b50b0000-b50c5000 r-xs 00000000 03:01 11603283 /usr/java/jdk1.5.0_15/jre/lib/jce.jar
    b50c5000-b514a000 r-xs 00000000 03:01 11603316 /usr/java/jdk1.5.0_15/jre/lib/jsse.jar
    b514a000-b51b3000 rwxp b514a000 00:00 0
    b51b3000-b77db000 r-xs 00000000 03:01 11603320 /usr/java/jdk1.5.0_15/jre/lib/rt.jar
    b77db000-b77ea000 r-xp 00000000 03:01 11603253 /usr/java/jdk1.5.0_15/jre/lib/i386/libzip.so
    b77ea000-b77ec000 rwxp 0000e000 03:01 11603253 /usr/java/jdk1.5.0_15/jre/lib/i386/libzip.so
    b77ec000-b780d000 r-xp 00000000 03:01 11603251 /usr/java/jdk1.5.0_15/jre/lib/i386/libjava.so
    b780d000-b780f000 rwxp 00020000 03:01 11603251 /usr/java/jdk1.5.0_15/jre/lib/i386/libjava.so
    b780f000-b7818000 r-xp 00000000 03:01 6291506 /lib/libnss_files-2.3.4.so
    b7818000-b781a000 rwxp 00008000 03:01 6291506 /lib/libnss_files-2.3.4.so
    b7820000-b782b000 r-xp 00000000 03:01 11603250 /usr/java/jdk1.5.0_15/jre/lib/i386/libverify.so
    b782b000-b782c000 rwxp 0000b000 03:01 11603250 /usr/java/jdk1.5.0_15/jre/lib/i386/libverify.so
    b782c000-b7834000 rwxs 00000000 03:01 6619137 /tmp/hsperfdata_myname/15092
    b7834000-b783a000 r-xp 00000000 03:01 11603246 /usr/java/jdk1.5.0_15/jre/lib/i386/native_threads/libhpi.so
    b783a000-b783b000 rwxp 00006000 03:01 11603246 /usr/java/jdk1.5.0_15/jre/lib/i386/native_threads/libhpi.so
    b783b000-b783c000 rwxp b783b000 00:00 0
    b783c000-b783d000 r-xp b783c000 00:00 0
    b783d000-b7baf000 r-xp 00000000 03:01 11698345 /usr/java/jdk1.5.0_15/jre/lib/i386/client/libjvm.so
    b7baf000-b7bcd000 rwxp 00372000 03:01 11698345 /usr/java/jdk1.5.0_15/jre/lib/i386/client/libjvm.so
    b7bcd000-b7fe6000 rwxp b7bcd000 00:00 0
    bfe00000-bfe03000 --xp bfe00000 00:00 0
    bfe03000-c0000000 rwxp bfe03000 00:00 0
    ffffe000-fffff000 ---p 00000000 00:00 0
    VM Arguments:
    jvm_args: -Xcheck:jni -XX:+PrintCompilation
    java_command: myapplication
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=/home/myname/XXXXXXXX_PERF/bin:/usr/java/jdk1.5.0_15/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/myname/bin
    LD_LIBRARY_PATH=/usr/java/jdk1.5.0_15/jre/lib/i386/client:/usr/java/jdk1.5.0_15/jre/lib/i386:/usr/java/jdk1.5.0_15/jre/../lib/i386:/home/myname/XXXXXXXX/lib
    SHELL=/bin/bash
    DISPLAY=XXX.XXX.X.XXX:0.0
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x32b740], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGBUS: [libjvm.so+0x32b740], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGFPE: [libjvm.so+0x28ef10], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGPIPE: [libjvm.so+0x28ef10], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGILL: [libjvm.so+0x28ef10], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: [libjvm.so+0x291360], sa_mask[0]=0x00000000, sa_flags=0x14000004
    SIGHUP: [libjvm.so+0x290d90], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGINT: [libjvm.so+0x290d90], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGQUIT: [libjvm.so+0x290d90], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGTERM: [libjvm.so+0x290d90], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    --------------- S Y S T E M ---------------
    OS:Red Hat Enterprise Linux WS release 4 (Nahant Update 4)
    uname:Linux 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686
    libc:glibc 2.3.4 NPTL 2.3.4
    rlimit: STACK 20480k, CORE 0k, NPROC 16375, NOFILE 1024, AS infinity
    load average:3.46 1.36 0.50
    CPU:total 2 (cores per cpu 1, threads per core 2) family 15 model 4 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht
    Memory: 4k page, physical 1034096k(389000k free), swap 0k(0k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_15-b04) for linux-x86, built on Feb 9 2008 01:37:00 by java_re with gcc 3.2.1-7a (J2SE release)
    Regards
    Fr�d�ric

    Simple - something is wrong with your C/C++ code.
    You have a pointer/memory bug.

  • Nodejs segmentation fault when using npm

    I am using nodejs-0.8.14-1 and v8-3.14.0-1 on Raspberry Pi when I try to npm install a package I get a seg fault
    [root@alarmpi ~]# npm install express
    npm http GET https://registry.npmjs.org/express
    npm http 304 https://registry.npmjs.org/express
    Segmentation fault
    I see this thread: https://bbs.archlinux.org/viewtopic.php?id=151400
    That claims the problem is solved but it does not appear to be fixed for me. Any idea on what I can do to get this working?
    Edit: If I keep on trying (npm install express) like 7 or 8 times it will finally install.
    Last edited by kaptk2 (2012-11-21 03:28:37)

    This seems to have cleared itself up over the long weekend. So I guess this is solved, not sure what is wrong or what fixed it though.

  • Collect causes segmentation fault when profiling L2 data cache misses on T1

    I am attempting to profile L2 data cache misses on a SUN T1000 server, but collect causes a segmentation fault when I choose to profile L2 data cache misses.
    Is it possible to profile L2 data misses on the T1 processor?
    Thanks!
    -John
    A simple hello world application and the failed profiling:
    %] collect -p +on -h ecdm hello
    Segmentation fault
    I compiled with
    CC -xhwcprof -xdebugformat=dwarf -g -03 -o hello hello.c

    No it is not possible to profile L2 cache misses -- the chip does not generate
    interrupts on performance register 0 (only register 1, which is hard-wired
    to instruction count).
    That said, we should not generate a segmentation fault. Exactly
    which version of collect are you using? We did patch Studio 11
    to correctly handle the US-T1, and Studio 12 express also
    correctly handles it.
    Is the SEGV on the collect command, or on the target it launches?
    Marty Itzkowitz,
    Project Lead, Sun Studio Analyzer

  • [svn] 1720: Bugs: LCDS-304 - Authentication not working in all cases when using security constraint with NIO endpoints .

    Revision: 1720
    Author: [email protected]
    Date: 2008-05-14 14:50:06 -0700 (Wed, 14 May 2008)
    Log Message:
    Bugs: LCDS-304 - Authentication not working in all cases when using security constraint with NIO endpoints.
    QA: Yes
    Doc: No
    Details:
    Update to the TomcatLoginCommand to work correctly with NIO endpoints.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-304
    Modified Paths:
    blazeds/branches/3.0.x/modules/opt/src/tomcat/flex/messaging/security/TomcatLoginCommand. java

    Revision: 1720
    Author: [email protected]
    Date: 2008-05-14 14:50:06 -0700 (Wed, 14 May 2008)
    Log Message:
    Bugs: LCDS-304 - Authentication not working in all cases when using security constraint with NIO endpoints.
    QA: Yes
    Doc: No
    Details:
    Update to the TomcatLoginCommand to work correctly with NIO endpoints.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-304
    Modified Paths:
    blazeds/branches/3.0.x/modules/opt/src/tomcat/flex/messaging/security/TomcatLoginCommand. java

  • Strange behaviour when using connection pooling with proxy authentication

    All
    I have developed an ASP.NET 1.1 Web application that uses ODP.NET 9.2.0.4 accessing Oracle Database 8i (which is to be upgraded to 10g in the coming months). I have enabled connection pooling and implemented proxy authentication.
    I am observing a strange behaviour in the live environment. If two users (User 1 and User 2) are executing SQL statements at the same time (concurrent threads in IIS), the following is occurring:
    * User 1 opens a new connection, executes a SELECT statement, and closes this connection. The audit log, which uses the USER function, shows User 1 executed this statement.
    * User 2 opens the same connection (before it is released to the connection pool?), excutes an INSERT statement, and closes this connection. The audit log shows User 1, not User 2, executed this statement.
    Is this a known issue when using connection pooling with proxy authentication? I appreciate your help.
    Regards,
    Chris

    Hi Chris,
    I tried to reproduce your complaint, but was unable to. I didnt use auditting however, just a series of "select user from dual" with proxy authentication. You might want to see if you can put together a small complete testcase for this and open a sr with support.
    Cheers
    Greg

  • Scope when using a JavaBean with JSP

    what is the meaning of this question .....?
    "Which of the following can not be used as the scope when using a JavaBean with JSP? "
    question 4
    site :http://java.sun.com/developer/Quizzes/jsptut/

    The question is clearly written. I don't see how you can be confused. But let's assume you are since you would not have posed the question.
    Dumbed-down:
    There are 4 scopes or areas of variable visibility in JavaServer Pages. Which of those can areas can not be used with JavaBeans?
    Does that help?

  • When using Camera raw with PS12 after editing, I cannot save my file in JPEG, only DNG

    When using Camera RAW after editing photo I can only save file as DNG, I want to save as JPEG. HOW??
    THANKS LLOYD

    BARBARA,Yes, you are so right, I was deceived by the eve button,  Just tried it and it WORKS GREAT-Thanks for the help.
    THANKS AGAIN AND HAVE A GOOD DAY Lloyd
          From: Barbara B. <[email protected]>
    To: Lloyd Bennett <[email protected]>
    Sent: Tuesday, January 13, 2015 11:46 AM
    Subject:  When using Camera raw with PS12 after editing, I cannot save my file in JPEG, only DNG
    When using Camera raw with PS12 after editing, I cannot save my file in JPEG, only DNG
    created by Barbara B. in Photoshop Elements - View the full discussionYou are being deceived by the Save button, like most people. That button is not the Save As button, really, but a link to the DNG converter. To save your raw file in an image format, click the Open button instead and then save in the format of your choice in the editor. If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7092207#7092207 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7092207#7092207 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Photoshop Elements by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • How to avoid data repetation when using select statements with innerjoin

    how to avoid data repetation when using select statements with innerjoin.
    thanks in advance,
    satheesh

    you can use a query like this...
      SELECT DISTINCT
             frg~prc_group1                  "Product Group 1
             frg~prc_group2                  "Product Group 2
             frg~prc_group3                  "Product Group 3
             frg~prc_group4                  "Product Group 4
             frg~prc_group5                  "Product Group 5
             prc~product_id                  "Product ID
             txt~short_text                  "Product Description
    UP TO 10 ROWS
    INTO TABLE l_i_data
    FROM
    Joining CRMM_PR_SALESG and
    COMM_PR_FRG_ROD
    crmm_pr_salesg AS frg
    INNER JOIN comm_pr_frg_rod AS prd
    ON frgfrg_guid = prdfragment_guid
    Joining COMM_PRODUCT and
    COMM_PR_FRG_ROD
    INNER JOIN comm_product AS prc
    ON prdproduct_guid = prcproduct_guid
    Joining COMM_PRSHTEXT and
    COMM_PR_FRG_ROD
    INNER JOIN comm_prshtext AS txt
    ON prdproduct_guid = txtproduct_guid
    WHERE frg~prc_group1 IN r_zprc_group1
       AND frg~prc_group2 IN r_zprc_group2
       AND frg~prc_group3 IN r_zprc_group3
       AND frg~prc_group4 IN r_zprc_group4
       AND frg~prc_group5 IN r_zprc_group5.
    reward it it helps
    Edited by: Apan Kumar Motilal on Jun 24, 2008 1:57 PM

  • How do you stop needing to verify email password when using yahoo.att with Mac Mail

    How do you stop needing to verify email password when using yahoo.att with Mac Mail?

    Nevermind, I fixed it (I think).  I went into Settings | Accounts & Sync and found Yahoo at the bottom of the list (alphabetically).  I selected it and it had an optiion to delete the account, which I did.

  • WHY THE IPHONE GETTING HOT WHEN USING 3G PLUS WITH DATa?, WHY THE IPHONE GETTING HOT WHEN USING 3G PLUS WITH DATA?

    why my iphone 4s getting hot when using 3g plus with data?
    then my phone left side speaker didnt work when i list songs?

    It is normal for the phone to get hot when your using data such as YouTube videos, streaming music etc.. And as for the left speaker not working, the left speaker is a microphone, the right one is for sound. Don't worry, everything your iPhone is doing is normal.

  • Segmentation fault when calling dbms_alert.register() procedure from OCCI

    I am trying to call the dbms_alert.register() from the OCCI but I get segmentation fault when I run the program, here is the code snippet. I am gettin segmentation fault immediately after calling setSQL() method.
    Environment *occiEnvironment_;
    Connection *occiConnection_ ;
    string userName("SCOTT");
    string userPasswd("tiger");
    string url("");
    occiEnvironment_ = Environment::createEnvironment();
    try{
    occiConnection_ = occiEnvironment_->createConnection(userName,userPasswd,url);
    Statement *occiStatement1;
    cout << "Before setSQL" << endl;
    occiStatement1->setSQL("BEGIN dbms_alert.register(:1); END;");
    cout << "After setSQL" << endl;
    string alert1("MY_ALERT");
    occiStatement1->setString(1,alert1);
    occiStatement1->execute();
    catch (SQLException ea)
    cout << ea.what();
    }

    Thanks for the reply, now I dont see segmentation fault.
    I tried to exted the code further to wait for the registered events, I added the following code, I do get and event but then get the exception:
    Statement *occiStatement1 = occiConnection_->createStatement();
    Statement *occiStatement2 = occiConnection_->createStatement();
    string alert, msg;
    int status;
    occiStatement1->setSQL("BEGIN dbms_alert.register(:1); END;");
    string alert1("MY_ALERT");
    occiStatement1->setString(1,alert1);
    occiStatement1->execute();
    occiStatement2->setSQL("BEGIN dbms_alert.waitany(:alert,:msg,:status); END;");
    occiStatement2->registerOutParam(1, OCCICHAR, sizeof(alert));
    occiStatement2->registerOutParam(2, OCCICHAR, sizeof(msg));
    occiStatement2->registerOutParam(3, OCCIINT, sizeof(int));
    occiStatement2->execute();
    ===========================================================
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.DBMS_ALERT", line 252
    ORA-06512: at line 1
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.DBMS_ALERT", line 252
    ORA-06512: at line 1
    *** glibc detected *** free(): invalid pointer: 0x08619c48 ***
    Aborted

  • HT201335 when using apple tv with my ipad, the mirroring function does not work, screen goes black, what is the issue?

    when using apple tv with my ipad, the mirroring function does not work, screen goes black, what is the issue?  My son's Ipad(same as kind as mine) works ok with the apple tv but mine does not.  Any suggestions?

    Hello Nina Izurin,
    While written for the iPhone, the troubleshooting below can help resolve issues with your iPad's camera, as well.
    Camera isn't functioning or has undesired image quality
    If the screen shows a closed lens or black image, force quit the Camera app.
    If you do not see the Camera app on the Home screen, try searching for it in Spotlight. If the camera does not show up in the search, check to make sure that Restrictions are not turned on by tappingSettings > General > Restrictions.
    Ensure the camera lens is clean and free from any obstructions. Use a microfiber polishing cloth to clean the lens.
    Cases can interfere with the camera and the flash. Try gently cleaning the lens with a clean dry cloth or removing the case if you see image or color-quality issues with photos.
    Try turning iPhone off and then back on.
    Tap to focus the camera on the subject. The image may pulse or briefly go in and out of focus as it adjusts.
    Try to remain steady while focusing:
    Still images: Remain steady while taking the picture. If you move too far in any direction, the camera automatically refocuses to the center.
    Note: If you take a picture with iPhone turned sideways, it is automatically saved in landscape orientation.
    Video: Adjust focus before you begin recording. You can also tap to readjust focus while recording. Exiting the Camera application while recording will stop recording and will save the video to the Camera Roll.
    Note: Video-recording features are not available on original iPhone or iPhone 3G.
    If your iPhone has a front and rear camera, try switching between them to verify if the issue persists on both.
    My issue is still not resolved. What do I do next?
    Contact Apple Support.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Cheers,
    Allen

  • Why cant i download all of the itunes songs off my wifes purchased itunes account when using the family sharing? some songs i can and some it wont let me

    why cant i download all of the itunes songs off my wifes purchased itunes account when using the family sharing? some songs i can and some it wont let me

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                          
    If recovery mode does not work try DFU mode.                         
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings         
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Good day my question is , does anyone of you experiencing when making a call with facetime the phone shuts off and restart

    good day my question is , does anyone of you experiencing when making a call with facetime the phone shuts off and restart

    See this veeeeeeeeeery long thread.
    https://discussions.apple.com/thread/3404857
    It's an issue with hundreds of phones.  Some claim it's software related, some hardware, some say it's a mixture of both.
    Some people have had temporary success with quitting the Phone.app / restoring as a new phone / restoring from an iCloud backup / disabling Siri / toggling speakerphone on & off...
    Unfortunately all of the above only been temporary, with the problem recurring again after a few calls, or a few days etc.
    So far the only solution that seems permanent has been to replace the phone.  But even so, it's the luck of the draw to recieve a functional phone, and not another faulty one.
    I'm completely annoyed as there is no Apple Store near me...... and Apple haven't even acknowledged the issue, despite the above thread being 34 pages long, as of writing.

Maybe you are looking for

  • Intermittent lock up of key strokes

    Hi, I just bought my Macbook last December with the newer Santa Rosa chipset. I noticed when I'm running Firefox and Adium, once in a while (maybe once every week) it'll lock up all the keys and I couldn't type anything. I had to power down and power

  • How to prevent  Sales Orders to be added if the BP...

    does not have enough funds (considering other open orders). I have a problem where operaters can add as many sales order for a BP as they would like as long as the total amount on the order is below his available credit (OCRD_CreditLine minus OCRD_Ba

  • Urgent! Application tier and Data tier on different platforms

    Hello! I would be very grateful if someone confirms that the deployment of the Beehive, where Application tier and Data tier are placed on different platforms, is supported. For example, Oracle Database (Data tier) on Linux, and Oracle Application Se

  • Publish for web viewing?

    I haven't found enough information about web viewing of Captivate 3 screencasts. I don't have a flash server, but I have a CMS capable of serving individual swf or flv files. But in my output I have three different swf files (not to mention an html).

  • JSF CDI : Conversation scope bean[s] best practice

    *JSF CDI : Conversation scope bean[s] best practice* Hello, im currently learning about JSF 2.0 and im so glad for the existence of this conversation scope feature, which is very helpful in opening a new tab or a new window on the same page and havin