Panic[cpu11]/thread=2a100449cc0: pcisch-0: Fatal PCI bus error(s)

I got this panic when i do some testing on SUN cluster. Anybody could give me some suggestions?
Any comments are welcome.
Environment information:
SunOS arcsun48kh232ed1 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire
Sun Microsystems sun4u Sun Fire 4800
Solaris 10 (Sparc) ( patch latest 10_recommended_patch_cluster)
scate version: 1.4.1
sun cluster 3.1 u4 ( patch 120500-12)
SUN volume manager( with Solaris 10)
Crashed information:
bash-3.00# Dec 5 20:18:03 arcsun48kh232ed1 ip: WARNING: The <if>:ip*_forwarding ndd variables are obsolete and may be remove                                d in a future release of Solaris.  Use ifconfig(1M) to manipulate the forwarding status of an interface.
Dec 5 20:18:03 arcsun48kh232ed1 last message repeated 3 times
Dec 5 20:19:32 arcsun48kh232ed1 DEV_STRESS: dev_stress_start: INFO: dev_stress successfully started
Dec 5 20:19:33 arcsun48kh232ed1 DEV_STRESS: : INFO: dev_stress_monitor successfully started
Notifying cluster that this node is panicking
SUNW-MSG-ID: SUNOS-8000-0G, TYPE: Error, VER: 1, SEVERITY: Major
EVENT-TIME: 0x457644ee.0x63a71d (0x1a01a2d86e0)
PLATFORM: SUNW,Sun-Fire, CSN: -, HOSTNAME: arcsun48kh232ed1
SOURCE: SunOS, REV: 5.10 Generic_118833-24
DESC: Errors have been detected that require a reboot to ensure system
integrity. See http://www.sun.com/msg/SUNOS-8000-0G for more information.
AUTO-RESPONSE: Solaris will attempt to save and diagnose the error telemetry
IMPACT: The system will sync files, save a crash dump if needed, and reboot
REC-ACTION: Save the error summary below in case telemetry cannot be saved
ereport.io.pci.sserr ena=1a01a29b42002c01 detector=[ version=0 scheme="dev"
device-path="/ssm@0,0/pci@18,700000" ] pci-status=4280 pci-command=146 pci-pa=
0
ereport.io.pci.rserr ena=1a01a29b42002c01 detector=[ version=0 scheme="dev"
device-path="/ssm@0,0/pci@18,700000" ] pci-status=4280 pci-command=146 pci-pa=
0
ereport.io.pci.sserr ena=1a01a29b42002c01 detector=[ version=0 scheme="dev"
device-path="/ssm@0,0/pci@18,700000/pci@2" ] pci-status=4290 pci-command=147
ereport.io.pci.sec-sta ena=1a01a29b42002c01 detector=[ version=0 scheme="dev"
device-path="/ssm@0,0/pci@18,700000/pci@2" ] pci-sec-status=a80 pci-bdg-ctrl=
23
panic[cpu11]/thread=2a100449cc0: pcisch-0: Fatal PCI bus error(s)
000002a100471e70 pcisch:pbm_error_intr+158 (300001d9bc0, 134cc00, 30000bbfdc8, 30000bbfdc8, 0, 300001d9580)
%l0-3: 00000300001c95b8 0000000000000000 000000000196a800 000000000196a800
%l4-7: 0000000000000001 000000000196a800 0000030000205830 0000000000000000
000002a100471f50 unix:current_thread+170 (0, 300031e8a98, 0, ffffffffffffffff, 300001c95b8, 8)
%l0-3: 00000000010076e4 000002a100449021 000000000000000e 0000000000000633
%l4-7: ffffffffffffffff 00000300061793d8 000000000000000b 000002a1004498d0
000002a100449970 unix:disp_getwork+38 (30003b74000, 18ab7c8, 180c000, 180c000, 0, 0)
%l0-3: 00000300001c95b8 ffffffffffffffff 00000300001c9580 00000300001c9680
%l4-7: 00000300001c9680 0000000000000000 00000300001c9680 0000000000000000
000002a100449a20 unix:idle+d4 (182bc00, 0, 30003b74000, ffffffffffffffff, 4, 182ac00)
%l0-3: 00000300031e8a98 000000000000001b 0000000000000000 ffffffffffffffff
%l4-7: 00000300031e8a98 ffffffffffffffff 00000000018ab7c8 00000000010554bc
panic: entering debugger (continue to save dump)
Welcome to kmdb
kmdb: unable to determine terminal type: assuming `vt100'
Loaded modules: [ crypto cpc sd ptm ufs unix krtld s1394 sppp wrsmd ipc nca
genunix ip sgsbbc logindmux wrsm isp usba specfs ssd nfs md random sctp ]
[11]>
Message was edited by:
sky.ma

Agreed, seems like a PCI bus error.
Data flowing through SB4 didn't like something, so cpu11 barked out a complaint.
Perhaps it was something passing to or from your storage
or to and from the other partner pair.
Install Explorer, as per Public Infodoc 82329,
run it to gather a system configuration snapshot,
and then go open a support case with Sun.
At the very least, you'll find it was simply a result of a typo
in the modifications you were making to your configuration.
Best to let Sun Techsupport figure this out for you.

Similar Messages

  • Panic[cpu1]/thread=30002f12060: BAD TRAP: type=31

    Sun V240 panic with t5he following output:
    # tail -f /var/adm/messages
    Sep 24 15:52:24 [10.64.47.16.183.179] agent[21415]: [ID 695539 daemon.alert] syslog   Sep 24 15:52:24 agent         *** aborting execution ***
    Sep 24 15:52:24 [10.64.47.16.183.179] agent[21415]: [ID 695539 daemon.alert] syslog   Sep 24 15:52:24 agent         *** aborting execution ***
    Sep 24 15:53:29 [10.64.47.16.183.179] agent[23844]: [ID 440145 daemon.alert] syslog   Sep 24 15:53:29 agent         syntax error in fscan+syslog.dat(1) at token '{'
    Sep 24 15:53:29 [10.64.47.16.183.179] agent[23844]: [ID 440145 daemon.alert] syslog   Sep 24 15:53:29 agent         syntax error in fscan+syslog.dat(1) at token '{'
    Sep 24 15:53:29 [10.64.47.16.183.179] agent[23844]: [ID 617052 daemon.alert] syslog   Sep 24 15:53:29 agent         *** aborting execution ***
    Sep 24 15:53:29 [10.64.47.16.183.179] agent[23844]: [ID 617052 daemon.alert] syslog   Sep 24 15:53:29 agent         *** aborting execution ***
    Sep 24 15:54:35 [10.64.47.16.183.179] agent[26272]: [ID 134417 daemon.alert] syslog   Sep 24 15:54:35 agent         syntax error in fscan+syslog.dat(1) at token '{'
    Sep 24 15:54:35 [10.64.47.16.183.179] agent[26272]: [ID 134417 daemon.alert] syslog   Sep 24 15:54:35 agent         syntax error in fscan+syslog.dat(1) at token '{'
    Sep 24 15:54:35 [10.64.47.16.183.179] agent[26272]: [ID 336262 daemon.alert] syslog   Sep 24 15:54:35 agent         *** aborting execution ***
    Sep 24 15:54:35 [10.64.47.16.183.179] agent[26272]: [ID 336262 daemon.alert] syslog   Sep 24 15:54:35 agent         *** aborting execution ***
    panic[cpu1]/thread=30002f12060: BAD TRAP: type=31 rp=2a100feac60 addr=20 mmu_fsr=0 occurred in module "md" due to a NULL pointer dereference
    nfsd: trap type = 0x31
    addr=0x20
    pid=10465, pc=0x12e5de0, sp=0x2a100fea501, tstate=0x9980001603, context=0x751
    g1-g7: 4, 2000, 1900000, 1fff, 1c00, 751, 30002f12060
    000002a100fea980 unix:die+78 (31, 2a100feac60, 20, 0, 2a100feaa40, 107c400)
      %l0-3: 00000000c0800000 0000000000000031 0000000001000000 0000000000002000
      %l4-7: 000000000181a570 000000000181a400 0000000000000000 0000009980001603
    000002a100feaa60 unix:trap+9d4 (2a100feac60, 0, 1fff, 5, 0, 1)
      %l0-3: 0000000000000000 00000600084af8c0 0000000000000031 0000000000001c00
      %l4-7: 0000000000000000 0000000000000001 ffffffffffffe000 0000000000000005
    000002a100feabb0 unix:ktl0+48 (6, 0, 20, 70, 1905348, 1905000)
      %l0-3: 0000000000000004 0000000000001400 0000009980001603 000000000101b304
      %l4-7: 0000000000000000 0000000000000001 0000000000000000 000002a100feac60
    000002a100fead00 7 (5500002004, 422, 0, ffffffff80200000, 1900000, 1)
      %l0-3: 0000000000000004 0000000000000001 0000000000000008 0000000001904800
      %l4-7: 000006000c4aadc0 000000000003ffff 000000000003fc00 0000000000000020
    000002a100feadd0 specfs:spec_fsync+fc (6000c50a500, 10000, 60007e88fe0, 3, 0, 6000c50a000)
      %l0-3: 000006000c18cb68 000006000c18cae0 0000000000002420 0000000000002000
      %l4-7: 0000000000000000 000006000c4aadc0 0000000000000000 000006000c4aadc0
    000002a100feafa0 genunix:fop_fsync+14 (6000c50a500, 10000, 60007e88fe0, f3, 0, 121cab0)
      %l0-3: 0000060004a97580 0000000000002420 0000000000002000 0000000000000003
      %l4-7: 0000060002234000 0000060004a97580 0000060004a97738 0000000000000062
    000002a100feb050 nfssrv:rfs3_mknod+30c (2a100feb110, 2a100feb398, 600049e4840, 2a100feb3a0, 60007e88fe0, 2a100feb1a0)
      %l0-3: 00000000ffffffff 0000060004ef8c00 ffffffffffffffff 0000000000002004
      %l4-7: 0000000000000055 000002a100feb1a0 000002a100feb568 000002a100feb228
    000002a100feb2b0 nfssrv:common_dispatch+444 (2a100feb698, 6000ac8fa80, 0, 600049e4840, 705a01b8, 7b32e4d4)
      %l0-3: 0000000000001000 000000007059eb90 000000000000000b 000002a100feb398
      %l4-7: 0000060007e88fe0 0000000000000000 0000000001901df8 000002a100feb398
    000002a100feb5d0 rpcmod:svc_getreq+1c8 (6000ac8fa80, 60002324800, 6000b5501d0, 6000102dc80, 1902560, 6000b550040)
      %l0-3: 0000000000000000 000006000b550040 0000000000000000 000006000ac8fad4
      %l4-7: 0000060005218fc0 000000007b3271bc 0000000001872800 000006000b550360
    000002a100feb720 rpcmod:svc_run+198 (6000b837980, 0, 0, 0, 6000b8379b8, 1)
      %l0-3: 00000600084af8c0 000006000b8379c8 000006000ac8fa80 000006000102dc80
      %l4-7: 0000000000000000 0000000000000000 000000000000000c 0000060002324800
    000002a100feb7d0 nfs:nfssys+1c4 (c, 1, 7b2b3800, c, 1f8, 30)
      %l0-3: 0000000000000000 0000000000000000 00000000cb050000 000000000000cb05
      %l4-7: 0000000000000001 0000000000000000 0000000000000000 000000007b2b3938
    syncing file systems... [1] 46 [1] 11 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 done (not all i/o completed)
    dumping to /dev/md/dsk/d20, offset 859701248, content: kernel
    100% done: 64894 pages dumped, compression ratio 5.02, dump succeeded
    rebooting...
    SC Alert: Host System has Reset
    @(#)OBP 4.16.2 2004/10/04 18:22 Sun Fire V210/V240,Netra 240
    Clearing TLBs
    Loading Configuration
    Membase: 0000.0012.0000.0000
    MemSize: 0000.0000.4000.0000
    Init CPU arrays Done
    Init E$ tags Done
    Setup TLB Done
    MMUs ON
    Scrubbing Tomatillo tags... 0 1
    Block Scrubbing Done
    Find dropin, Copying Done, Size 0000.0000.0000.6cb0
    PC = 0000.07ff.f000.5ba8
    PC = 0000.0000.0000.5c58
    Find dropin, (copied), Decompressing Done, Size 0000.0000.0006.6870
    Diagnostic console initialized
    System Reset: CPU Reset
    Probing system devices
    jbus at 0,0 SUNW,UltraSPARC-IIIi (1503 MHz @ 9:1, 1 MB) memory-controller
    jbus at 1,0 SUNW,UltraSPARC-IIIi (1503 MHz @ 9:1, 1 MB) memory-controller
    jbus at 1f,0 pci
    jbus at 1e,0 pci
    jbus at 1c,0 pci
    jbus at 1d,0 pci
    Loading Support Packages: kbd-translator obp-tftp SUNW,i2c-ram-device SUNW,fru-device SUNW,asr
    Loading onboard drivers:
    /pci@1e,600000: Device 7 isa
    /pci@1e,600000/isa@7: flashprom rtc i2c power serial serial serial rmc-comm
    /pci@1e,600000/isa@7/i2c@0,320: i2c-bridge i2c-bridge motherboard-fru-prom chassis-fru-prom power-supply-fru-prom power-supply-fru-prom dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd dimm-spd rscrtc nvram idprom gpio gpio gpio gpio gpio gpio
    Probing memory
    CPU 0 Bank 0 base          0 size 2048 MB
    CPU 0 Bank 1 base  100000000 size 2048 MB
    CPU 0 Bank 2 base  200000000 size 2048 MB
    CPU 0 Bank 3 base  300000000 size 2048 MB
    CPU 1 Bank 0 base 1000000000 size 1024 MB
    CPU 1 Bank 2 base 1200000000 size 1024 MB
    ChassisSerialNumber FN54050325
    Probing I/O buses
    /pci@1d,700000: Device 2 network network
    /pci@1f,700000: Device 2 network network
    /pci@1e,600000: Device 6 pmu i2c gpio
    /pci@1e,600000/pmu@6/i2c@0,0:
    /pci@1e,600000: Device a usb
    /pci@1e,600000: Device d ide disk cdrom
    /pci@1e,600000: Device 2 Nothing there
    /pci@1e,600000: Device 3 SUNW,qlc fp disk
    /pci@1c,600000: Device 2 scsi disk tape scsi disk tape
    /pci@1c,600000: Device 1 Nothing there
    /pci@1d,700000: Device 1 SUNW,qlc fp disk
    BNZ - Bank of New Zealand
    Rebooting with command: boot
    Boot device: disk0:a  File and args:
    Loading ufs-file-system package 1.4 04 Aug 1995 13:02:54.
    FCode UFS Reader 1.12 00/07/17 15:48:16.
    Loading: /platform/SUNW,Sun-Fire-V240/ufsboot
    Loading: /platform/sun4u/ufsboot
    SunOS Release 5.10 Version Generic_127111-05 64-bit
    Copyright 1983-2007 Sun Microsystems, Inc.  All rights reserved.
    Use is subject to license terms.
    SC Alert: SC Request to send Break to host.
    Type  'go' to resume
    {1} ok
    {1} okSystem can be boot into single user mode but fails when moved to multi-user mode.
    Any ideas?
    Cheers
    --Andreas                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    This looks like it could be bug 6614416.
    See [Sun Alert 241066|http://sunsolve.sun.com/search/document.do?assetkey=1-66-241066-1] .

  • Raidctl  "panic[cpu0]/thread=180e000: vfs_mountroot: cannot remount root"

    Hi
    In one machine(T200), I was trying to break the raid
    before
    #format
    AVAILABLE DISK SELECTIONS:
    0. c0t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 136>
    /pci@780/pci@0/pci@9/scsi@0/sd@0,0
    #raidctl
    Controller: 0
    Volume:c0t0d0
    Disk: 0.0.0
    Disk: 0.1.0
    #raidctl -l c0t0d0
    Volume Size Stripe Status Cache RAID
    Sub Size Level
    Disk
    c0t0d0 247.1M N/A OPTIMAL OFF RAID1
    0.0.0 247.1M GOOD
    0.1.0 247.1M GOOD
    I do:
    #raidctl -d c0t0d0
    #format
    Searching for disks...done
    No disks found!
    reboot but on boot "panic[cpu0]/thread=180e000: vfs_mountroot: cannot remount root"
    boot on failsafe and when I do:
    #raidctl
    Controller: 0
    Disk: 0.0.0
    Disk: 0.1.0
    #format
    AVAILABLE DISK SELECTIONS:
    0. c0t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 136>
    /pci@780/pci@0/pci@9/scsi@0/sd@0,0
    1. c0t1d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 136>
    /pci@780/pci@0/pci@9/scsi@0/sd@1,0
    Can someone help me

    its SVM:
    #metastat
    d40: Mirror
    Submirror 0: d41
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 4195328 blocks (2.0 GB)
    d41: Submirror of d40
    State: Okay
    Size: 4195328 blocks (2.0 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c0t0d0s5 0 No Okay Yes
    d30: Mirror
    Submirror 0: d31
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 16779136 blocks (8.0 GB)
    d31: Submirror of d30
    State: Okay
    Size: 16779136 blocks (8.0 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c0t0d0s3 0 No Okay Yes
    d20: Mirror
    Submirror 0: d21
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 33538688 blocks (15 GB)
    d21: Submirror of d20
    State: Okay
    Size: 33538688 blocks (15 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c0t0d0s1 0 No Okay Yes
    d10: Mirror
    Submirror 0: d11
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 16779136 blocks (8.0 GB)
    d11: Submirror of d10
    State: Okay
    Size: 16779136 blocks (8.0 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c0t0d0s0 0 No Okay Yes
    d64: Soft Partition
    Device: c0t0d0s6
    State: Okay
    Size: 5529600 blocks (2.6 GB)
    Device Start Block Dbase Reloc
    c0t0d0s6 0 No Yes
    Extent Start Block Block count
    0 65536009 5529600
    d63: Soft Partition
    Device: c0t0d0s6
    State: Okay
    Size: 8192000 blocks (3.9 GB)
    Device Start Block Dbase Reloc
    c0t0d0s6 0 No Yes
    Extent Start Block Block count
    0 57344008 8192000
    d62: Soft Partition
    Device: c0t0d0s6
    State: Okay
    Size: 8192000 blocks (3.9 GB)
    Device Start Block Dbase Reloc
    c0t0d0s6 0 No Yes
    Extent Start Block Block count
    0 49152007 8192000
    d51: Soft Partition
    Device: c0t0d0s6
    State: Okay
    Size: 8192000 blocks (3.9 GB)
    Device Start Block Dbase Reloc
    c0t0d0s6 0 No Yes
    Extent Start Block Block count
    0 8192002 8192000
    d61: Soft Partition
    Device: c0t0d0s6
    State: Okay
    Size: 8192000 blocks (3.9 GB)
    Device Start Block Dbase Reloc
    c0t0d0s6 0 No Yes
    Extent Start Block Block count
    0 40960006 8192000
    d60: Soft Partition
    Device: c0t0d0s6
    State: Okay
    Size: 8192000 blocks (3.9 GB)
    Device Start Block Dbase Reloc
    c0t0d0s6 0 No Yes
    Extent Start Block Block count
    0 32768005 8192000
    d53: Soft Partition
    Device: c0t0d0s6
    State: Okay
    Size: 8192000 blocks (3.9 GB)
    Device Start Block Dbase Reloc
    c0t0d0s6 0 No Yes
    Extent Start Block Block count
    0 24576004 8192000
    d52: Soft Partition
    Device: c0t0d0s6
    State: Okay
    Size: 8192000 blocks (3.9 GB)
    Device Start Block Dbase Reloc
    c0t0d0s6 0 No Yes
    Extent Start Block Block count
    0 16384003 8192000
    d50: Soft Partition
    Device: c0t0d0s6
    State: Okay
    Size: 8192000 blocks (3.9 GB)
    Device Start Block Dbase Reloc
    c0t0d0s6 0 No Yes
    Extent Start Block Block count
    0 1 8192000
    Device Relocation Information:
    Device Reloc Device ID
    c0t0d0 Yes id1,sd@n600508e000000000cc0d0c3b724c1f06

  • Fatal Run Time Error - unknown source position thread id

    Hi All,
    I am using LabWindows CVI 2013 in order to display data from my controller.
    I have defined some functions to activate the communication with the controller and read data from it.
    The communication activation with the controller is being done inside the Main block before loading the UI panels.
    I created a command button that activates the data reading function (Get Register) from the controller.
    When calling the reading function I received a Fatal Run Time Error. Attached please find.
    When I moved the reading function to the main block before loading the UI, the program didn't crush.
    What is the cause for that?
    Thanks for your support.
    Haim 
    Attachments:
    CVI.png ‏168 KB

    Hi Haim,
    Could you explain what you mean by moving the function to the main block? Does that mean instead of having a callback, you added the four lines in that callback (according to the attached image) to the main function? When you do this, does the code execute correctly?
    And can you tell me what DLL package you are using that contains the Jet32Functions.GetRegister function?
    The error is very generic, so it is hard to say what is causing it without seeing the entirety of the code, but it appears that there is a conflict in the thread control. Does the error occur only when you activate the callback by clicking the command button? Which lines are executed in the callback before the error occurs?
    It would be helpful if you could attach your source file or at least a screenshot of the working code so I can see the entire main function.
    Steven

  • PCI bus and memory ranges in Device Manager.

    Hello,
    I looked in device manager on my netbook that has no dedicated graphics card (so no dedicated VRAM) and uses shared system RAM as
    it’s video buffer, the following memory ranges have been assigned to the on board card -
    If I then change the view in device manager to ‘Resources by type’, Windows shows the following memory ranges to be on the PCI bus
    Basically all the memory ranges that have been assigned to the card are shown to be also on the PCI bus. I would understand this with
    a dedicated graphics card where data needs to be forwarded onto the PCI bus but I know my netbook is using system memory as the frame buffer which then I assume the card reads from there.
    Do you know why these addresses are shown to be on the PCI bus, is it just because the card is a PCI device so it’s easier for Windows
    just to display them as if they were on that bus, and anything written to these address will still go into system memory?
    I know it’s a bit of a random question but I’ve been trying to find an answer online and can’t seem to find anything.
    Any help would be appreciated,
    Thanks.

    Hi,
    For your question: Do you know why these addresses are shown to be on the PCI bus, is it just because the card is a PCI device so it’s easier
    for Windows just to display them as if they were on that bus, and anything written to these address will still go into system memory?
    Yes.
    You can check the hardware memory usage via Resource Monitor.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Fatal NI connect error 12547/12170

    Hi,
    I am stakk with connection problem on customer Oracle server. Oracle database is installed on Microsoft Windows Server 2012 Standard. Version of Oracle DB is 11.2.0.4 Standard One Edition.
    Oracle database works fine on server. I had no problems/errors while installing (as admin). My user is memer of Local Admin Group. I am also able to connect to it with sqlplus (sqlplus username/password@tns_alias) and SQL Developer.
    Content of tnsnames, listener og sqlnet files are following:
    tnsnames.ora
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =  (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))   )
        (CONNECT_DATA =  (SID = CLRExtProc) (PRESENTATION = RO)  )  )
    SALES =
      (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.9)(PORT = 1521))
      (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sales.company.se)))
    listener.ora
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc) (ORACLE_HOME = D:\oracle\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)  (ENVS = "EXTPROC_DLLS=ONLY:D:\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll") )  )
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =      (ADDRESS = (PROTOCOL = TCP)(HOST = servername.company.se)(PORT = 1521))
                                          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))))
    ADR_BASE_LISTENER = D:\oracle
    INBOUND_CONNECTION_TIMEOUT_LISTENER=180
    sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    SQLNET.INBOUND_CONNECT_TIMEOUT = 180
    ADR_BASE = D:\oracle\product\11.2.0\dbhome_1\log
    I am using VPN tunnel to connect to database from my client. I can ping server successfully. TNSPING to database works fine, but I am not able to connect to database. I get an error on client:
    ORA-12537 connection closed error.
    Alert log content is following:
    Fatal NI connect error 12547, connecting to:
    (LOCAL=NO)
      VERSION INFORMATION:
    TNS for 64-bit Windows: Version 11.2.0.4.0 - Production
    Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.4.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.4.0 - Production
      Time: 19-DEC-2013 13:01:47
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12547
    TNS-12547: TNS:lost contact
        ns secondary err code: 12560
        nt main err code: 0
        nt secondary err code: 0
        nt OS err code: 0
    opiodr aborting process unknown ospid (88) as a result of ORA-609
    2013-12-19 13:05:28.990000 +01:00
    Fatal NI connect error 12170.
      VERSION INFORMATION:
    TNS for 64-bit Windows: Version 11.2.0.4.0 - Production
    Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.4.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.4.0 - Production
      Time: 19-DEC-2013 13:05:28
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12535
    TNS-12535: TNS:operation timed out
        ns secondary err code: 12606
        nt main err code: 0
        nt secondary err code: 0
        nt OS err code: 0
      Client address: <unknown>
    opiodr aborting process unknown ospid (2384) as a result of ORA-609
    2013-12-19 13:44:44.855000 +01:00
    opiodr aborting process unknown ospid (1292) as a result of ORA-609
    2013-12-19 14:30:34.351000 +01:00
    I supposed that connection could use some more time so I set inbound_connection to 180 (3 minutes). Same error.
    Then I turn on support trace. Here is analyzed content:
    server_4424.trc
    Trying to get IP client address results in error. Host IP is not correct.
    [19-DEC-2013 13:42:35:692] nsgetclientaddress: Client address: "(ADDRESS=(PROTOCOL=tcp)(HOST=::1)(PORT=53749))"
    [19-DEC-2013 13:42:35:692] nsgetclientaddress: exit
    [19-DEC-2013 13:42:35:692] nszgclient: entry
    [19-DEC-2013 13:42:35:692] nszgclient: using dedicated context
    [19-DEC-2013 13:42:35:692] nazsgsnm: entry
    [19-DEC-2013 13:42:35:692] nau_genm: entry
    [19-DEC-2013 13:42:35:692] nau_genm: exit
    [19-DEC-2013 13:42:35:692] nazsgsnm: failed with error 12630
    [19-DEC-2013 13:42:35:692] nazsgsnm: exit
    [19-DEC-2013 13:42:35:692] nszgclient: returning no username
    [19-DEC-2013 13:42:35:692] nszgclient: returning no username
    [19-DEC-2013 13:42:35:692] nszgclient: exit
    [19-DEC-2013 13:42:35:692] nszgetuser: entry
    [19-DEC-2013 13:42:35:692] nszgetuser: using dedicated context
    [19-DEC-2013 13:42:35:692] nazsgunm: entry
    [19-DEC-2013 13:42:35:692] nau_gnm: entry
    [19-DEC-2013 13:42:35:692] nau_gnm: exit
    [19-DEC-2013 13:42:35:692] nazsgunm: failed with error 12630
    Getting package from client. And when reached to @ we get EOF (daflag=64)
    [19-DEC-2013 13:42:35:724] nttfprd: exit
    [19-DEC-2013 13:42:35:724] nsbasic_brc: type=6, plen=10
    [19-DEC-2013 13:42:35:724] nsbasic_brc: what=1, tot =10
    [19-DEC-2013 13:42:35:724] nsbasic_brc: packet dump
    [19-DEC-2013 13:42:35:724] nsbasic_brc: 00 0A 00 00 06 00 00 00  |........|
    [19-DEC-2013 13:42:35:724] nsbasic_brc: 00 40                    |.@      |
    [19-DEC-2013 13:42:35:724] nsbasic_brc: Got EOF (daflag=64).
    [19-DEC-2013 13:42:35:724] nserror: entry
    [19-DEC-2013 13:42:35:724] nsbasic_brc: exit: oln=0, dln=0, tot=10, rc=-1
    [19-DEC-2013 13:42:35:724] nioqer: entry
    [19-DEC-2013 13:42:35:724] nioqer:  incoming err = 12151
    [19-DEC-2013 13:42:35:724] nioqce: entry
    [19-DEC-2013 13:42:35:724] nioqce: exit
    [19-DEC-2013 13:42:35:724] nioqer:  returning err = 3113
    [19-DEC-2013 13:42:35:724] nioqer: exit
    [19-DEC-2013 13:42:35:724] nioqrc: exit
    [19-DEC-2013 13:42:35:724] nioqds: entry
    [19-DEC-2013 13:42:35:724] nioqds:  disconnecting...
    Handshake never succeded. Client was trying to read from transport but never succeeded. I assume it is because of wrong or non Client address: "(ADDRESS=(PROTOCOL=tcp)(HOST=::1)(PORT=53749))"
    [19-DEC-2013 13:41:43:803] nscon: doing connect handshake...
    [19-DEC-2013 13:41:43:803] nscon: recving a packet
    [19-DEC-2013 13:41:43:803] nsprecv: entry
    [19-DEC-2013 13:41:43:803] nsprecv: reading from transport...
    [19-DEC-2013 13:41:43:803] nttrd: entry
    [19-DEC-2013 13:44:44:855] nttrd: exit
    [19-DEC-2013 13:44:44:855] ntt2err: entry
    [19-DEC-2013 13:44:44:855] ntt2err: Read unexpected EOF ERROR on 2648
    [19-DEC-2013 13:44:44:855] ntt2err: exit
    [19-DEC-2013 13:44:44:855] nsprecv: error exit
    [19-DEC-2013 13:44:44:855] nserror: entry
    [19-DEC-2013 13:44:44:855] nserror: nsres: id=0, op=68, ns=12535, ns2=12606; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    [19-DEC-2013 13:44:44:855] nscon: error exit
    [19-DEC-2013 13:44:44:855] nsdo: nsctxrnk=0
    [19-DEC-2013 13:44:44:855] nsdo: error exit
    [19-DEC-2013 13:44:44:855] nsinh_hoff: error recving request
    [19-DEC-2013 13:44:44:855] nsclose: entry
    [19-DEC-2013 13:44:44:855] nsvntx_dei: entry
    [19-DEC-2013 13:44:44:855] nsvntx_dei: exit
    [19-DEC-2013 13:44:44:855] nstimarmed: entry
    [19-DEC-2013 13:44:44:855] nstimarmed: no timer allocated
    [19-DEC-2013 13:44:44:855] nstimarmed: normal exit
    [19-DEC-2013 13:44:44:855] nstoClearTimeout: entry
    [19-DEC-2013 13:44:44:855] nstoClearTimeout: ATO disabled for ctx=0x000000001812ED30
    [19-DEC-2013 13:44:44:855] nstoClearTimeout: STO disabled for ctx=0x000000001812ED30
    [19-DEC-2013 13:44:44:855] nstoClearTimeout: RTO disabled for ctx=0x000000001812ED30
    [19-DEC-2013 13:44:44:855] nstoClearTimeout: PITO disabled for ctx=0x000000001812ED30
    [19-DEC-2013 13:44:44:855] nstoUpdateActive: entry
    [19-DEC-2013 13:44:44:855] nstoUpdateActive: Active timeout is -1 (see nstotyp)
    [19-DEC-2013 13:44:44:855] nstoDestroyAlarm: entry
    [19-DEC-2013 13:44:44:855] nstoDestroyAlarm: exit (0)
    [19-DEC-2013 13:44:44:855] nttctl: entry
    [19-DEC-2013 13:44:44:855] ntt2err: entry
    [19-DEC-2013 13:44:44:855] ntt2err: soc -1 error - operation=7, ntresnt[0]=530, ntresnt[1]=38, ntresnt[2]=0
    [19-DEC-2013 13:44:44:855] ntt2err: exit
    [19-DEC-2013 13:44:44:855] nttctl: entry
    [19-DEC-2013 13:44:44:855] ntt2err: entry
    [19-DEC-2013 13:44:44:855] ntt2err: soc -1 error - operation=7, ntresnt[0]=530, ntresnt[1]=38, ntresnt[2]=0
    [19-DEC-2013 13:44:44:855] ntt2err: exit
    [19-DEC-2013 13:44:44:855] nsfull_cls: entry
    [19-DEC-2013 13:44:44:855] nsfull_cls: cid=0, opcode=65, *bl=0, *what=0, uflgs=0x0, cflgs=0x40
    [19-DEC-2013 13:44:44:855] nsfull_cls: nsctx: state=1, flg=0x4000, mvd=0
    [19-DEC-2013 13:44:44:855] nsbfr: entry
    After 180 sec Oracle net sends following message:
    [19-DEC-2013 13:44:44:855] nsclose: normal exit
    [19-DEC-2013 13:44:44:855] nserror: entry
    [19-DEC-2013 13:44:44:855] nserror: nsres: id=0, op=73, ns=12535, ns2=12606; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    [19-DEC-2013 13:44:44:855] nsinherit: error exit
    [19-DEC-2013 13:44:44:855] nioqper:  error from nsinherit: failed...
    [19-DEC-2013 13:44:44:855] nioqper:    ns main err code: 12535
    [19-DEC-2013 13:44:44:855] nioqper:    ns (2)  err code: 12606
    [19-DEC-2013 13:44:44:855] nioqper:    nt main err code: 0
    [19-DEC-2013 13:44:44:855] nioqper:    nt (2)  err code: 0
    [19-DEC-2013 13:44:44:855] nioqper:    nt OS   err code: 0
    [19-DEC-2013 13:44:44:855] niotns: No broken-connection function available.
    [19-DEC-2013 13:44:44:855] niomapnserror: entry
    [19-DEC-2013 13:44:44:855] niqme: entry
    [19-DEC-2013 13:44:44:855] niqme: reporting NS-12535 error as ORA-12535
    [19-DEC-2013 13:44:44:855] niqme: exit
    [19-DEC-2013 13:44:44:855] niomapnserror: exit
    [19-DEC-2013 13:44:44:855] niotns: Couldn't connect, returning 12170
    [19-DEC-2013 13:44:44:855] nioqer: entry
    [19-DEC-2013 13:44:44:855] nioqer:  incoming err = 12170
    [19-DEC-2013 13:44:44:855] nioqce: entry
    [19-DEC-2013 13:44:44:855] nioqce: exit
    [19-DEC-2013 13:44:44:855] nioqer:  returning err = 3136
    Firewall is off on Server. Network administrator says that there is no rules which could compromise communication/traffic on port 1521. I tried trcroute too and I get following conntent
    1     27ms      22 ms     17ms       192.168.97.1
    2      *         *        *          request aborted
    3     20 ms     18 ms     18 ms      server.company.se (192.168.1.9)
    Any suggestion, help or comments would be appriciated. I am running out of ideas.
    Tnx a lot,
    adi

    The error could be due to a port change/reconnect/redirect that fails.
    The problem: Listener.exe is a separate physical process image in the kernel as the Oracle.exe process. The Listener needs to start an Oracle dedicated server process (created by the Listener as a remote thread in the oracle.exe process). Then it needs to pass the socket handle (created when the Listener accepted the tcp connection of the client) to this thread in another physical process - in order for that thread to continue tcp comms with the client.
    This is not by default supported in Windows as I understand (always wrote a single threaded exe myself with the main thread acting as listener and child threads as dealing with client sessions, when developing Win32 tcp servers).
    On Unix/Linux it is fairly common  to pass the socket handle as stdin and stdout to a forked child process (a separate physical process).
    If the socket handle cannot be passed from the listener.exe to oracle.exe, then the oracle.exe thread could open a private port as tcp listening end-point and inform, via the Listener, the client to reconnect to that tcp port (i.e. SQL*Net on client gets a redirect).
    You will need to determine whether this is happening - as it would explain the initial successful tcp connect from client to Listener, followed by the tcp connection failing to the Oracle dedicated server process.
    Not sure how one checks on Windows - have last done Oracle on Windows back with Oracle 7.1. But I think there are support notes on this.
    I would use netstat myself on Linux/Unix - and list the ports used by client and server for the connection, and determine if a private/dynamic port was used to continue the client-server tcp communication as a renegotiated tcp session. netstat is also available on Windows and can be used in a similar fashion too.

  • What is the PCI bus performance of the 1422?

    I'm currently using an IMAQ PCI-1422 to acquire images from a camera. The image size is 1280x1024 @ 8-bits a pixel. Currently the camera can only run freely at 20 fps. So this data rate is roughly 26 MB/s. The IMAQ card seems to be able to acquire these images at that rate. However, I need to be able to retrieve these images into system memory at the same rate. At this time, I've only managed to retrieve the images at around 12 fps which is about 16 MB/s. Is this all I can reasonably expect from this card? There is no other activity along the PCI bus except for perhaps minor updates to the video display.
    I'm acquiring images using a Grab. I use a callback on the Buffer Done signal to trigger an acquisit
    ion running in another thread. Actually, I'd prefer to the acquisition in the callback itself, but I am uncertain as to how the callback is implemented and what I can and can't do in a callback. Is there documentation somewhere that I'm missing?
    Oh yeah. I'm using MSVC++ and Windows 98.
    Thanks

    I tried the example and removed the clipping the ROI to the size of the canvas and also took out the image plot to make sure we would get accurate times. I get the same frame rate with that example as I did with my own code (around 12 fps). Also, I neglected to mention that for my own code I placed calls to timers just before and just after the call to imgGrab, and the time difference is what you would expect: about .083 seconds (average) to retrieve one frame.
    I know nothing about the internal structure of the PCI-1422, but considering that we are retrieving images from the same SDRAM memory that is being used to acquire images, are we seeing some sort of bus contention on the PCI-1422 itself? Also, the camera I'm using is an evaluation board, and I have access
    to the schematics and should soon have access to the CPLD design. So I can verify the design of the camera itself. I'm glad to hear that you expect to be able to transfer at 45MB/sec. That probably means that there is something not quite right either in the camera interface or perhaps in the computer system being used. But if you have any other ideas, I'd be glad to hear them.
    Thanks for the response.

  • Newbie question NON-FATAL RUN-TIME ERROR IN TUTORIAL (PlotY)

    I'm a first time user, following the tutorial and when when I click on Acquire I get the following error "NON-FATAL RUN-TIME ERROR:   "sample1.c", line 85, col 13, thread id 0x00000D54:   Library function error (return value == -10 [0xfffffff6]). The control is not the type expected by the function"
    Code is as follows (line 85 is PlotY......:
        case EVENT_COMMIT:                                                                                                       
            srand (time(NULL));                                                                                                  
            amp = rand ()/32767.0;                                                                                               
            SinePattern (100, amp, 180.0, 2.0, sine);                                                                            
            PlotY (panelHandle, PANEL_Waveform, sine, 100, VAL_DOUBLE, VAL_THIN_LINE, VAL_EMPTY_SQUARE, VAL_SOLID, 1, VAL_RED);  
            break;    
    Its not obvious why it crashes on this line, any help would be appreciated.
    Thanks
    Jeff

    Happy to hear that you have solved your problem.
    Just to be clear, there is no problem in using lowercase letters for control ID, but since the usual CVI behaviour is to use uppercase letters I was wondering if you created the control by yourself and if it could be a wrong one.
    CVI does not really address controls by name: if you see in the include file associated to the UIR you'll see that PANEL_CONTROL is really a macro with an associated value, which is the one the program really uses (see my first post to understand how PlotY operates; the same happens for all functions that operate on control like Get/SetCtrlVal or GetSetCtrlAttribute for example).
    Neither CVI operates any cross check between the panel handle and the control you are addressing: that's why I pointed you to the panel handle value, to be sure that you are not operating on a control using the handle of a different panel, a situation that may happen if you are using more than one panel at a time.
    These are the reasons that may rise an 'incorrect control type' error.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • PCI Express Error - Qosmio G40-10Z

    Yesterday i turned on my laptop and i got a black screen with the message "PCI Express Error"
    I immediately started searching the web what this error might be and i discovered that it's a known problem with some Toshiba laptops.
    http://www.nvidiadefect.com/qosmio-pci-express-error-t383.html
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=49108
    http://www.nvidiadefect.com/toshiba-qosmio-g40-12c-t1149.html
    Just a few of the many topics i found about this error.
    I bought my laptop January 2009 as a demo model from a dutch store called Qplaza http://www.qplaza.nl/
    Don't think i have any warranty beside the warranty i got from that store (2 years) but there are a few things i don't understand.
    From what i understand is that there even was a lawsuite about this problem and that there indeed was a problem with the nvidia 8600 chips. But then why won't Toshiba or Nvidia fix the laptops with those problems?
    From what i have read my laptop would have to go to special repair service to replace my motherboard and i will have to pay for that myself.
    And that is IF they can fix my laptop.
    I started searching the internet what the price costs might be but the answers didn't make me a very happy woman :-(
    Isn't there another way to fix this problem?
    And aren't there places where you can buy a suitable motherboard for this laptop?
    Can anybody please help me?? My laptop was working perfectly and without any warning..poof...can't get it to work anymore.

    Dear Debzel,
    As the proud owner of an attractive piece of scrap with G40 stamped underneath, due to what is almost certainly the same fault as you have, I have been through the customer service route and found that they are not going to officially recognise that the n-vid fault exists on our laptops and will only offer you a repair at your cost.
    Due to the conspicuous lack of messages on this forum regarding this inherent fault, I suspect that this message may be quickly removed from the site. Having taken advice from the chap who runs the n-vid defect website, I realise that the only way forward is to take on Tosh legally. The consumer has strong rights in the UK as I suspect is parallel in Holland (assuming that's where you're based). I would be willing to send you my letters, based on templates from the defect website and Consumer Direct (phone them if you're i the UK and get it from the horse's mouth that your product should have lasted longer than it did - 08454 04 05 06), but with some information about my personal situation added.
    You also have to send a copy to the credit card company that you used when making the purchase, if that was the case, as this puts you in a stronger position. If you didn't use a CC then that's a shame but not the end of the road, you can still take them on and by all reports, you should be successful as the PC is very young for the price you would have paid. The other repondent to your post must work for Tosh, which is why they were so unhelpful.
    Kind regards,
    steve oram at bt inter net dot com.

  • Rep-1401: formula name : Fatal Pl/SQL error occured

    Hi,
    I am using report builder 6.0 and recently came across a error while running the report. Rep-1401:<formula name> : Fatal Pl/SQL error occured.
    I created a formula column in the report. In that i have three local variable.
    f_val number := 0;
    s_val number := 0;
    t_val number := 0;
    t_val := f_val/s_val ; --> this gives the above fatal error.
    t_val := (f_val + 1)/s_val; --> this gives the above fatal error
    t_val := f_val/(s_val + 1); ---> no error
    if i change the value of s_val
    s_val := 1;
    t_val := f_val/(s_val - 1) ; ----> this gives the above fatal error.
    Can anyone help me to solve this problem or is it report builder bug.
    Please help me, as i desperately need help.
    Thanks

    Thanks for ur reply.
    I used nvl too, but the same error occurred.
    For the information in my question I by mistake typed
    t_val := (f_val + 1)/s_val; --> this gives the above fatal error.
    but when the value of f_val = zero and s_val is zero why it gives fatal error when i divide, i used nvl on both the variable while dividing but still got the same error.
    but if s_val is greater than zero then no error occurs.
    please help me, I feel it is a bug.

  • Rep-1401 : Fatal PL/SQL error occured

    Hi,
    I am using report builder 6.0 and recently came across a error while running the report. Rep-1401:<formula name> : Fatal Pl/SQL error occured.
    I created a formula column in the report. In that i have three local variable.
    f_val number := 0;
    s_val number := 0;
    t_val number := 0;
    t_val := f_val/s_val ; --> this gives the above fatal error.
    t_val := (f_val + 1)/s_val; --> this gives the above fatal error
    t_val := f_val/(s_val + 1); ---> no error
    if i change the value of s_val
    s_val := 1;
    t_val := f_val/(s_val - 1) ; ----> this gives the above fatal error.
    Can anyone help me to solve this problem or is it report builder bug.
    Please help me, as i desperately need help.
    Thanks

    The best way to handle this is to just add an exception handler that handles a zero divide.
    EX:
    function...blah
    var3:=var/var2...
    EXCEPTION
    when zero_divide then
    var3:= 0;Zero Divide is a built-in exception to handle cases just like this - so if you run into it, you can set it to whatever you want

  • REP-1401:'cf_1formula': Fatal PL/SQL error occured, ORA-01403: no data fou

    hi,
    my report is giving error REP-1401:'cf_1formula': Fatal PL/SQL error occured,
    ORA-01403: no data found
    There are two table emp1 and emp2 created from employees table from HR schema
    I have deleted some records from table emp2 where department id is 110
    main query is
    select employee_id, first_name, department_id from emp1
    now i created a foumula column
    function CF_1Formula return Number is
    dept number;
    begin
    select department_id into dept from emp2 where employee_id = :employee_id;
    return(dept);
    end;
    the above error is given when report is run. i tried
    exception
    when_no_data_found then
    dept:=000
    but problem is not solved
    i want to disply any number in this foumula column if the record is not found

    M. Khurram Khurshid wrote:
    exception
    when_no_data_found then
    dept:=000try this code in formula
    function CF_1Formula return Number is
    dept number;
    begin
    select department_id into dept from emp2 where employee_id = :employee_id;
    if dept is not null then
    return(dept);
    else
    return 0;
    end if;
    end; Hope this will help you...
    If someone response is helpful or correct please, mark is accordingly.

  • REP-1401 'beforereport' Fatal PL/SQL error occurred. ORA 00000 normal.

    Hi,
    I am running the report Journals - General (132 char)- file name GLRGNJ.rdf from
    Oracle Report Builder 6.0.8.11.3.
    I have commented all the (srw.user_exit) in the Before Report trigger but i still
    get the message:
    REP-1401 'beforereport' Fatal PL/SQL error occurred. ORA 00000 normal,
    successful completion.
    Can anyone suggest a solution please?
    Thanks,
    Faris

    Dear sir, i am created one formula column in Reports6i and the following error has come. Could u please find out a solution. Thanks in advance.
    my function is below
    function CF_Branch_NameFormula return Char is
    lc_branch_name varchar2(100);
    begin
    SELECT rtrim(substr(FVT.DESCRIPTION
    ,instr(FVT.DESCRIPTION,'-',1)+1
    ,100)) INTO lc_branch_name
    FROM FND_FLEX_VALUES FFV, FND_FLEX_VALUES_TL FVT
    WHERE FFV.flex_value_Set_id = 1007956
    AND FFV.FLEX_VALUE_ID = FVT.FLEX_VALUE_ID
    AND FFV.FLEX_VALUE = FVT.FLEX_VALUE_MEANING
    AND FVT.DESCRIPTION <> 'xxx'
    and rownum<=1
    AND SUBSTR(FVT.FLEX_VALUE_MEANING,3,2) = :P_BRANCH;
    return (lc_branch_name);
    end;

  • REP-1401: Fatal PL/SQL error occurred. ORA-01403: no data found

    Hi guys,
    I am getting error 'REP-1401: Fatal PL/SQL error occurred. ORA-01403: no data found ' when run the report
    and i m also use formula column in my report.
    can any body help me why it's coming.
    following code is used in formula column plz check and verify:
    function CF_3Formula return Char is
    T1 VARCHAR2(100);
    begin
    SELECT
         VAT_REG_NO INTO T1
    FROM
         JA_IN_HR_ORGANIZATION_UNITS JIHOU,
         HR_LOCATIONS HL--,
         --MTL_TXN_REQUEST_HEADERS MTLH
    WHERE
    JIHOU.ORGANIZATION_ID=HL.INVENTORY_ORGANIZATION_ID AND
    JIHOU.LOCATION_ID=HL.LOCATION_ID AND
    --Jihou.ORGANIZATION_ID = Mtlh.Organization_Id AND
    -- Hl.INVENTORY_ORGANIZATION_ID =Mtlh.Organization_Id AND
    -- MTLH.ATTRIBUTE10=SUBSTR(HL.LOCATION_CODE,1,3) AND
    SUBSTR(HL.LOCATION_CODE,1,3)= :TO_ORG1 ;
    RETURN (T1);
    end;
    plz help me out.

    Hi;
    What is EBS version? Is it custom report or not?
    See below which is mention similar errors
    Autoinvoice Error: ORA-1403: no data found [ID 1209403.1]
    APXIIMPT - Payable Open Interface Import Fails on "REP-1401: 'cf_source_nameformula': Fatal PL/SQL error occurred. ORA-01403: no data found" [ID 222058.1]
    Regard
    Helios

  • REP-1401: 'cf_10formula': Fatal PL/SQL error occurred. ORA-06502: PL/SQL: numeric or value error

    Hi Team,
    I am running one conc programme.
    After running I am getting below  error. I checked the issue on metalink  and other, seems that it is an size related issue. I have increased the size of formula columns and placeholdder too.
    But still getting issue.
    My requirement is to get comma seperated values using SQL query itself. Neither i wanted to create layout of the report , since it is a XML publisher report and nor  I am including it on RTF template.
    I want the CF_10 formula column to be populated with comma seperated values.
    MSG-00187: From Date 01-Sep-2014
    REP-1401: 'cf_10formula': Fatal PL/SQL error occurred.
    ORA-06502: PL/SQL: numeric or value error
    And Here is my code for CF_10
    function CF_10Formula return Number is
    begin
       SELECT NVL(TO_CHAR(sum(Amount),'99,99,99,999'),0) into :CP_5 --NVL(ROUND(sum(Amount)),0) into :CP_5
    --  xxhw_Coll_cat(category)     "Intercat  Catg"
    FROM hhxw_Region_col_v
    WHERE Category IN ('Intercompany - CATV')
    AND trunc(gl_date) BETWEEN TO_DATE(:P_FROM_DATE, 'DD/MM/RRRR') AND TO_DATE(:P_TO_DATE, 'DD/MM/RRRR');
    RETURN ROUND(:CP_5);
    end;
    Anyone please suggest me.
    Regards,
    Sachin

    Hi,
    1)Why are you selecting the value into a report item? Select into a local variable and return that
    RETURN :CP_5 --> This one!!
    2)And you should avoid applying functions to DB columns in where clauses wherever possible, so oracle can use indexes on them if applicable:
    AND gl_date >= To_date(:P_FROM_DATE, 'DD/MM/RRRR')
    AND gl_date < To_date( :P_TO_DATE, 'DD/MM/RRRR') + 1;
    I think you are taking 2 column in the Layout CF_10 and CP_5 right? if so, then use below Query.
    FUNCTION cf_10formula
      RETURN NUMBER
    IS
      v_amount NUMBER:null;
    IS
    BEGIN
      BEGIN
        SELECT nvl(round(SUM(amount)), 0)
        INTO   v_amount --> Retruns the value for CF_10 column
        FROM   hhxw_region_col_v
        WHERE  category IN ( 'Intercompany - CATV' )
        AND    gl_date >= to_date(:P_FROM_DATE, 'DD/MM/RRRR')
        AND    gl_date < to_date( :P_TO_DATE, 'DD/MM/RRRR') + 1;
        :CP_5 := nvl(trunc(v_amount),0); --> Retruns the value for CP_5 column
      EXCEPTION
      WHEN OTHERS THEN
        v_amount := 0;
        srw.message(1003,'Error in Getting  :' ||p_from_date);
      END;
    END;
    And
    If you've got a number function returning into a number field then all you should need to do to make the comma appear is to change the number format mask in field.
    From 40000 to 40,000

Maybe you are looking for

  • Trouble Connecting to Router, OS 9.0.3

    Hey guys, I'm on my ibook G4 as of now, and I have a wireless network set up through my d-Link router. I'm on verizon dsl, and I just pulled out my old iMac(whatever kind it is, may be the bondai blue model I'm not sure) It's running OS 9.0.3 with a

  • Support for JSP's located in WEB-INF directory

    Several application servers support the use of placing JSP pages underneath the WEB-INF directory, to insure that only server side workflow forwards requests to those pages and not direct URL access. IN addition the JSTL specification supports the us

  • Improper allignment with ADF UI components

    Hi Every One When I am trying to build ADF UI Components using jspx page, I could not able to arrange varios ADF UI components like af:selectInputText,af:horizentalPannel properly. They are not alligned properly. Is there any way to allign UI compone

  • Cannot update Acrobat Pro on Yosemite

    I just tried to update my Acrobat Pro, and after several error codes, I get a loooong, 'problem' message. No idea what it means.... Code type is X86 [Native] What I wonder is, does this have to do with my Yosemite update? Running iMac Quad (2.8, Quad

  • Queue based printing stopped after 6.5 upgrade

    I had several print queues sitting on vol1 of a server, and after I upgraded the server from Netware 6.0 to Netware 6.5 we lost access to them. Now when I try to do a capture to that printer queue, I can click on browse and find the queue, but when I