Prtdiag segmentation fault despite patches

Hi,
I need to compare various specifications about multiples servers, and I usually use the "/usr/platform/sun4u/sbin/prtdiag" command to do that.
But on a particular server, the command immediately failed with a "segmentation fault".
The server is a SunFire V490 with a Solaris 5.8 OS.
I searched through Sun's report, and this bug seems corrected with pacth 109873-25+ (which is obsoleted by 111792-11).
But "showrev" seems to indicate that the patches have already been applied since it gives me the following result :
*Patch: 109873-26* Obsoletes: 109655-01, 110117-04, ...
*Patch: 111792-11* Obsoletes: 109655-01, 110117-04, ...
....Moreover, i don't have [qge Ethernet card|http://sunsolve.sun.com/search/document.do?assetkey=1-66-200290-1]
So I really don't understand why it still returns the same error.
Do someone know where does it come from or how to fix it ?
I can provide more information if you need.
Thank you.
Edited by: Schumi77 on Apr 23, 2008 6:22 AM

I am having similar issue, 5.10 Generic_138888-03
on t5120 , solaris 10 . I installed firmware patch : 136932-09 , SPARC Enterprise T5120 & T5220 Sun System Firmware 7.1.7.h flashprom update
prtdiag -v
System Configuration:  Sun Microsystems  sun4v SPARC Enterprise T5120
Memory size: 8064 Megabytes
==== Virtual CPUs ==
CPU ID Frequency Implementation         Status
== Physical Memory Configuration ===
Segment Table:
Base           Segment  Interleave  Bank     Contains
Address        Size     Factor      Size     Modules
0x0            8 GB     4           2 GB     MB/CMP0/BR0/CH0/D0
                                             MB/CMP0/BR0/CH1/D0
                                    2 GB     MB/CMP0/BR1/CH0/D0
                                             MB/CMP0/BR1/CH1/D0
                                    2 GB     MB/CMP0/BR2/CH0/D0
                                             MB/CMP0/BR2/CH1/D0
                                    2 GB     MB/CMP0/BR3/CH0/D0
                                             MB/CMP0/BR3/CH1/D0
= IO Configuration
            IO                                                                                        
Location    Type  Slot Path                                          Name                      Model  
MB/PCIE      PCIE   MB          /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0     pci-pciexclass,060400         
MB/NET0      PCIE   MB      /pci@0/pci@0/pci@1/pci@0/pci@2/network@0    network-pciex8086,105e         
MB/NET1      PCIE   MB    /pci@0/pci@0/pci@1/pci@0/pci@2/network@0,1    network-pciex8086,105e         
MB/NET2      PCIE   MB      /pci@0/pci@0/pci@1/pci@0/pci@3/network@0    network-pciex8086,105e         
MB/NET3      PCIE   MB    /pci@0/pci@0/pci@1/pci@0/pci@3/network@0,1    network-pciex8086,105e         
MB/PCIE      PCIE   MB                     /pci@0/pci@0/pci@2/scsi@0         scsi-pciex1000,58         
=== HW Revisions ===
System PROM revisions:
OBP 4.29.1 2008/10/29 14:15
IO ASIC revisions:
Location             Path                                          Device                         Revision
Segmentation Faultprtdiag
System Configuration:  Sun Microsystems  sun4v SPARC Enterprise T5120
Memory size: 8064 Megabytes
====== Virtual CPUs ===
CPU ID Frequency Implementation         Status
===== Physical Memory Configuration ===
Segment Table:
Base           Segment  Interleave  Bank     Contains
Address        Size     Factor      Size     Modules
0x0            8 GB     4           2 GB     MB/CMP0/BR0/CH0/D0
                                             MB/CMP0/BR0/CH1/D0
                                    2 GB     MB/CMP0/BR1/CH0/D0
                                             MB/CMP0/BR1/CH1/D0
                                    2 GB     MB/CMP0/BR2/CH0/D0
                                             MB/CMP0/BR2/CH1/D0
                                    2 GB     MB/CMP0/BR3/CH0/D0
                                             MB/CMP0/BR3/CH1/D0
==== IO Configuration ===
            IO                                                                                        
Location    Type  Slot Path                                          Name                      Model  
......................Any ideas ?

Similar Messages

  • Redhat 6.0 Webdb 2.2 Server 8.1.5 sqlplus core dump segmentation fault solution

    If anyone else is struggling with this installation, heres a workaround that
    Got things going for me.
    Redhat 6.0
    Oracle 8.1.5
    Webdb 2.2
    The database was up and working fine. Not as many problems as earlier versions but there was still much grief getting it to work. Save yourself some time, dont charge ahead like I did, read the installation notes.
    The installation of Webdb didnt go so well though. Sqlplus would core dump with segmentation fault when a connection to the local instance was attempted. I tried many things, install webdb to 8.1.5 , apply glibc patch, apply 8.0.5 patches to webdb install none of this worked. The workaround I finally found was to use the 8.1.5 listener and the old formatting of a listener.ora and tnsnames.ora file. (i.e. like 7.3.x). Sqlplus would then connect via tcp. Installation still had another problem I could never get past the sys password confirmation. I could connect from the command line with sqlplus s /nolog @passwd.sql sys/mypass@mytnsname but the installer just wouldnt work. An edit of the installation_dir ->webdb-2.2/owa40/owa40.vrf file did the trick. Hard code a location to a dummy pass.sys file.
    After many frustrating hours 160 or so - I think I finally have a working database and a working webdb web site. Hope this info might help others.
    Craig MacPherson
    null

    o Did you end up with 8.1.5 and WebDB2.2 in different Oracle_homes?
    Yes - product/8.1.5
    - product/8.0.5
    o What do you mean that you used the 8.1.5 listener? My database is 8.1.5 so the tnslistener I'm using is from the 8.1.5 install - not the 8.0.5 version.
    o Can you send a sample of the tnsnames.ora file that you used?
    Sure - make sure you set TNS_ADMIN
    # Filename: Listener.ora
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS= (PROTOCOL= TCP)(Host= 139.142.231.213)(Port= 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME= /oracle/product/8.1.5)
    (SID_NAME = cmac)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    # Filename: Tnsnames.ora
    cmac =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL= TCP)(Host= 139.142.231.213)(Port= 1521))
    (CONNECT_DATA = (SID = cmac))
    test =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL= TCP)(Host= dmac)(Port= 1521))
    (CONNECT_DATA = (SID = cmac))
    null

  • Xorg segmentation fault / nvidia proprietary blob

    Hi!
    I've been experiencing this issue with xorg crashing leaving the system completely unresponsive and with completely black screen. It appears to happen at random times and not consistently at all. It occurred for the first time several days ago. Unfortunately I'm not in a good position to track what may have caused this because I did pretty massive update 2-3 weeks ago. Since then I've been updating pretty regularly. 
    Here are some xorg logs.
    It's pretty much full with:
    (EE) [mi] EQ overflowing. Additional events will be discarded until existing events are processed.
    (EE)
    (EE) Backtrace:
    (EE) 0: /usr/bin/X (xorg_backtrace+0x3d) [0x57f67d]
    (EE) 1: /usr/bin/X (mieqEnqueue+0x22b) [0x5615bb]
    (EE) 2: /usr/bin/X (QueuePointerEvents+0x52) [0x44da82]
    (EE) 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7fd27e33c000+0x580d) [0x7fd27e34180d]
    (EE) 4: /usr/bin/X (0x400000+0x73da8) [0x473da8]
    (EE) 5: /usr/bin/X (0x400000+0x9c330) [0x49c330]
    (EE) 6: /usr/lib/libpthread.so.0 (0x7fd284986000+0xf870) [0x7fd284995870]
    (EE) 7: /usr/lib/libc.so.6 (sigprocmask+0x10) [0x7fd283a1d6a0]
    (EE) 8: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x81394) [0x7fd27ec28394]
    (EE) 9: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x11c5d9) [0x7fd27ecc35d9]
    (EE) 10: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x11ec7a) [0x7fd27ecc5c7a]
    (EE) 11: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x124b0b) [0x7fd27eccbb0b]
    (EE) 12: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x12628f) [0x7fd27eccd28f]
    (EE) 13: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x1274c1) [0x7fd27ecce4c1]
    (EE) 14: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x129920) [0x7fd27ecd0920]
    (EE) 15: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x13d11f) [0x7fd27ece411f]
    (EE) 16: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x1194f2) [0x7fd27ecc04f2]
    (EE) 17: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x4d2432) [0x7fd27f079432]
    (EE) 18: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x4d285e) [0x7fd27f07985e]
    (EE) 19: /usr/bin/X (0x400000+0x58fa2) [0x458fa2]
    (EE) 20: /usr/bin/X (FreeResource+0xa1) [0x459a31]
    (EE) 21: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x4d263e) [0x7fd27f07963e]
    (EE) 22: /usr/lib/xorg/modules/extensions/libglx.so (0x7fd281d58000+0x599834) [0x7fd2822f1834]
    (EE)
    (EE) [mi] These backtraces from mieqEnqueue may point to a culprit higher up the stack.
    (EE) [mi] mieq is *NOT* the cause. It is a victim.
    (EE) [mi] EQ overflow continuing. 100 events have been dropped.
    (EE)
    (EE) Backtrace:
    (EE) 0: /usr/bin/X (xorg_backtrace+0x3d) [0x57f67d]
    (EE) 1: /usr/bin/X (QueuePointerEvents+0x52) [0x44da82]
    (EE) 2: /usr/lib/xorg/modules/input/evdev_drv.so (0x7fd27e33c000+0x580d) [0x7fd27e34180d]
    (EE) 3: /usr/bin/X (0x400000+0x73da8) [0x473da8]
    (EE) 4: /usr/bin/X (0x400000+0x9c330) [0x49c330]
    (EE) 5: /usr/lib/libpthread.so.0 (0x7fd284986000+0xf870) [0x7fd284995870]
    (EE) 6: /usr/lib/libc.so.6 (sigprocmask+0x10) [0x7fd283a1d6a0]
    (EE) 7: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x81394) [0x7fd27ec28394]
    (EE) 8: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x11c5d9) [0x7fd27ecc35d9]
    (EE) 9: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x11ec7a) [0x7fd27ecc5c7a]
    (EE) 10: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x124b0b) [0x7fd27eccbb0b]
    (EE) 11: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x12628f) [0x7fd27eccd28f]
    (EE) 12: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x1274c1) [0x7fd27ecce4c1]
    (EE) 13: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x129920) [0x7fd27ecd0920]
    (EE) 14: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x13d11f) [0x7fd27ece411f]
    (EE) 15: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x1194f2) [0x7fd27ecc04f2]
    (EE) 16: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x4d2432) [0x7fd27f079432]
    (EE) 17: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x4d285e) [0x7fd27f07985e]
    (EE) 18: /usr/bin/X (0x400000+0x58fa2) [0x458fa2]
    (EE) 19: /usr/bin/X (FreeResource+0xa1) [0x459a31]
    (EE) 20: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x4d263e) [0x7fd27f07963e]
    (EE) 21: /usr/lib/xorg/modules/extensions/libglx.so (0x7fd281d58000+0x599834) [0x7fd2822f1834]
    (EE)
    (EE) [mi] EQ overflow continuing. 1000 events have been dropped.
    (EE) [mi] No further overflow reports will be reported until the clog is cleared.
    (EE)
    (EE) Backtrace:
    (EE) 0: /usr/bin/X (xorg_backtrace+0x3d) [0x57f67d]
    (EE) 1: /usr/bin/X (QueuePointerEvents+0x52) [0x44da82]
    (EE) 2: /usr/lib/xorg/modules/input/evdev_drv.so (0x7fd27e33c000+0x580d) [0x7fd27e34180d]
    (EE) 3: /usr/bin/X (0x400000+0x73da8) [0x473da8]
    (EE) 4: /usr/bin/X (0x400000+0x9c330) [0x49c330]
    (EE) 5: /usr/lib/libpthread.so.0 (0x7fd284986000+0xf870) [0x7fd284995870]
    (EE) 6: /usr/lib/libc.so.6 (sigprocmask+0x10) [0x7fd283a1d6a0]
    (EE) 7: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x81394) [0x7fd27ec28394]
    (EE) 8: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x11c5d9) [0x7fd27ecc35d9]
    (EE) 9: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x11ece7) [0x7fd27ecc5ce7]
    (EE) 10: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x126329) [0x7fd27eccd329]
    (EE) 11: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x1274c1) [0x7fd27ecce4c1]
    (EE) 12: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x12ae45) [0x7fd27ecd1e45]
    (EE) 13: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x147f6e) [0x7fd27eceef6e]
    (EE) 14: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x119164) [0x7fd27ecc0164]
    (EE) 15: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x4d0f91) [0x7fd27f077f91]
    (EE) 16: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x4db1a0) [0x7fd27f0821a0]
    (EE) 17: /usr/bin/X (0x400000+0x373be) [0x4373be]
    (EE) 18: /usr/bin/X (0x400000+0x2693a) [0x42693a]
    (EE) 19: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7fd283a09bc5]
    (EE) 20: /usr/bin/X (0x400000+0x26c81) [0x426c81]
    (EE)
    [ 40751.796] [mi] Increasing EQ size to 1024 to prevent dropped events.
    [ 40751.796] [mi] EQ processing has resumed after 3197 dropped events.
    [ 40751.796] [mi] This may be caused my a misbehaving driver monopolizing the server's resources.
    I'm not really sure whether this is separate issue or not but I thought I should include it here. I don't really know what this is about but I've seen "kwin effects restarted" KDE messages occurring at these times too. I'm not sure how related this may be but I'm seeing lots of artifacts on rendered pages when using chromium browser. Nothing of these used to happen before I went and updated the system. Everything was rock solid for me.
    And here is the seg fault in the log:
    [ 67406.515] (EE)
    [ 67406.515] (EE) Backtrace:
    [ 67406.515] (EE) 0: /usr/bin/X (xorg_backtrace+0x3d) [0x57f67d]
    [ 67406.515] (EE) 1: /usr/bin/X (0x400000+0x1833e9) [0x5833e9]
    [ 67406.515] (EE) 2: /usr/lib/libpthread.so.0 (0x7fd284986000+0xf870) [0x7fd284995870]
    [ 67406.515] (EE) 3: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0xcd23c) [0x7fd27ec7423c]
    [ 67406.515] (EE) 4: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0xdec9f) [0x7fd27ec85c9f]
    [ 67406.515] (EE) 5: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x508770) [0x7fd27f0af770]
    [ 67406.515] (EE) 6: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x5071f5) [0x7fd27f0ae1f5]
    [ 67406.515] (EE) 7: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fd27eba7000+0x5089ad) [0x7fd27f0af9ad]
    [ 67406.515] (EE) 8: /usr/bin/X (0x400000+0xcf3fb) [0x4cf3fb]
    [ 67406.516] (EE) 9: /usr/bin/X (0x400000+0xd019d) [0x4d019d]
    [ 67406.516] (EE) 10: /usr/bin/X (0x400000+0x373be) [0x4373be]
    [ 67406.516] (EE) 11: /usr/bin/X (0x400000+0x2693a) [0x42693a]
    [ 67406.516] (EE) 12: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7fd283a09bc5]
    [ 67406.516] (EE) 13: /usr/bin/X (0x400000+0x26c81) [0x426c81]
    [ 67406.516] (EE)
    [ 67406.516] (EE) Segmentation fault at address 0x7fd285661000
    [ 67406.516] (EE)
    Fatal server error:
    [ 67406.516] (EE) Caught signal 11 (Segmentation fault). Server aborting
    [ 67406.516] (EE)
    [ 67406.516] (EE)
    I'm not sure what is supposed to happen after xorg crashes and whether it's being restarted but everything related to xorg is unresponsive. The system otherwise is running fine but I haven't been able to find a solution to recover from this other than cold restart. I tried disconnecting and reconnecting the keyboard for instance and it's being registered(probably udev is responsible for this) but it's still "dead".
    Is it nvidia's fault or something else may be going on? I know you can't really do much dealing with the binary blob. I haven't given nouveau a chance for a long time but I may try this in the future if it helps with something tracking this. I'm using nvidia 325.15-10 package from the official repos for now and the card is gtx 570 fermi. xorg is the latest one in the repos.
    I'm not sure what driver version this package is based on(325.15 I guess). On the nvidia site the newest ones are 331.13 beta and 319.60. I can try them but I'm not even sure whether there are some patches needed to make them work with the newest kernels. At least I hope someone could provide more info on this because it seems interesting.
    I'll gladly provide more info if needed. I just don't know what more could be useful.
    Thanks!
    Last edited by saty (2013-10-19 17:29:00)

    saty,
    Is this continuing to happen for you? I am experiencing the same issue with version 325. I downgraded from 331 because there were some major bugs in that version. Have you found any solution?

  • Solaris 9 live upgrade to solaris 10 segmentation fault

    pre-upgrade work:
    apply patch doc 72099
    upgrade live upgrade to solaris 10.
    lucreate-m /:/dev/dsk/c0t1d0s0:ufs -m /var:/dev/dsk/c0t1d0s1:ufs -m /opt:/dev/dsk/c0t1d0s3:ufs -n sol10
    it works well
    oot Environment Is Active Active Can Copy
    Name Complete Now On Reboot Delete Status
    sol9 yes yes yes no -
    sol10 yes no no yes -
    But luupgrade -u -n sol10 -s /sol11
    Validating the contents of the media </sol11>.
    The media is a standard Solaris media.
    The media contains an operating system upgrade image.
    The media contains <Solaris> version <11>.
    Constructing upgrade profile to use.
    Locating the operating system upgrade program.
    Checking for existence of previously scheduled Live Upgrade requests.
    Creating upgrade profile for BE <sol10>.
    Determining packages to install or upgrade for BE <sol10>.
    Performing the operating system upgrade of the BE <sol10>.
    CAUTION: Interrupting this process may leave the boot environment unstable
    or unbootable.
    /usr/sbin/luupgrade&#91;677&#93;: 6549 Segmentation Fault(coredump)
    ERROR: Installation of the packages from this media of the media failed; pfinstall returned these diagnostics:
    The Solaris upgrade of the boot environment <sol10> failed.

    I would break your mirror and do a liveupgrade on the available mirror. Then boot that disk.

  • Conduit crashes with segmentation fault

    I just installed a fresh install of Arch Linux with xfce installed. Everything is up and running. I wanted conduit to synchronize evolution data with my desktop. I was using Xubuntu and everything was fine. But Arch is 2x faster than xubuntu...
    The compilation of conduit went right, reported no error.
    I run XFCE but I tried to run it from gnome also just if it was an dependency error... Didn't work. I tried to install firefox from sources since it was an run-mozilla.sh segmentation error. Didn't work.
    Here's my rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="fr_CA.utf8"
    HARDWARECLOCK="local"
    USEDIRECTISA="no"
    TIMEZONE="America/Montreal"
    KEYMAP="cf"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(uvcvideo)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="djo-laptop"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    eth0="dhcp"
    INTERFACES=(eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng network dbus hal netfs avahi-daemon crond fam)
    When I run conduit from console, conduit opens but when I add a source provider I got the following (the last two lines):
    [djo@djo-laptop conduit]$ conduit
    INFO: FOUND FIREFOX LIBS AT /usr/lib/firefox-3.0
    [Main ][INFO ] Conduit v0.3.15 Installed: True (Main.py:99)
    [Main ][INFO ] Python: 2.6.2 (r262:71600, Apr 18 2009, 06:27:57)
    [GCC 4.3.3] (Main.py:100)
    [Main ][INFO ] Platform Implementations: GnomeVfs,gtkmozembed,GConf (Main.py:101)
    [Main ][INFO ] Using UI: gtk (Main.py:131)
    [gtkui.Canvas ][INFO ] Module Information: goocanvas v(0, 12, 0) (/usr/lib/python2.6/site-packages/goocanvasmodule.so) (Canvas.py:25)
    [modules.AVConverter ][INFO ] GStreamer transcoding disabled (AudioVideoConverterModule.py:28)
    [modules.iPod ][INFO ] iPod support disabled (iPodModule.py:46)
    [Module ][WARNING] Error loading the file: /usr/lib/conduit/modules/iPodModule/iPodModule.py
    Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/conduit/Module.py", line 173, in _load_modules_in_file
    mod = self._import_file(filename)
    File "/usr/lib/python2.6/site-packages/conduit/Module.py", line 154, in _import_file
    mods = pydoc.importfile (filename)
    File "/usr/lib/python2.6/pydoc.py", line 262, in importfile
    raise ErrorDuringImport(path, sys.exc_info())
    ErrorDuringImport: problem in /usr/lib/conduit/modules/iPodModule/iPodModule.py - <type 'exceptions.NameError'>: name 'gpod' is not defined
    (Module.py:201)
    /usr/lib/conduit/modules/BoxDotNetModule/BoxDotNetModule.py:6: DeprecationWarning: the md5 module is deprecated; use hashlib instead
    import md5
    [modules.Flickr ][INFO ] Module Information: flickrapi v1.1 (/usr/lib/conduit/modules/FlickrModule/flickrapi/__init__.pyc) (FlickrModule.py:26)
    [modules.Backpack ][INFO ] Module Information: backpack (/usr/lib/conduit/modules/BackpackModule/backpack/backpack.pyc) (BackpackModule.py:22)
    [modules.Feed ][INFO ] RSS Feed support disabled (FeedModule.py:53)
    [modules.Google ][INFO ] Module Information: gdata (/usr/lib/conduit/modules/GoogleModule/gdata/__init__.pyc) (GoogleModule.py:45)
    [modules.Evolution ][INFO ] Module Information: evolution v(2, 26, 0) (/usr/lib/python2.6/site-packages/gtk-2.0/evolution/__init__.pyc) (EvolutionModule.py:25)
    [modules.Facebook ][INFO ] Module Information: pyfacebook v0.1 (/usr/lib/conduit/modules/FacebookModule/pyfacebook/__init__.pyc) (FacebookModule.py:30)
    [modules.Network ][INFO ] Network support enabled (NetworkModule.py:30)
    [modules.Network ][WARNING] Error starting client (Client.py:37)
    [modules.Network ][DEBUG ] Starting AvahiAdvertiser server (Server.py:35)
    [modules.Network ][WARNING] Error starting AvahiAdvertiser server: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files (Server.py:52)
    [dataproviders.VolumeFactory][DEBUG ] Adjusted mount: file:/// (VolumeFactory.py:25)
    [dataproviders.VolumeFactory][DEBUG ] Adjusted mount: file:///home (VolumeFactory.py:25)
    [dataproviders.VolumeFactory][DEBUG ] Adjusted mount: file:///var (VolumeFactory.py:25)
    [gtkui.UI ][INFO ] Main window constructed (thread: -1211799872) (UI.py:202)
    [SyncSet ][INFO ] Restoring Sync Set from /home/djo/.config/conduit/settings.xml (SyncSet.py:195)
    [SyncSet ][INFO ] /home/djo/.config/conduit/settings.xml not present (SyncSet.py:199)
    [gtkui.UI ][DEBUG ] Presenting GUI (UI.py:227)
    [DBus ][DEBUG ] DBus Exported: / (DBus.py:127)
    [DBus ][DEBUG ] DBus Exported: /syncset/gui (DBus.py:127)
    [DBus ][DEBUG ] DBus Exported: /syncset/dbus (DBus.py:127)
    [Conduit ][DEBUG ] Adding twoway dataprovider into source position (Conduit.py:140)
    /usr/lib/firefox-3.0/run-mozilla.sh: line 131: 3081 Erreur de segmentation "$prog" ${1+"$@"}
    I also tried the SVN version of conduit. The segmentation fault is different but the program still crashes when I try to add data provider :
    [djo@djo-laptop conduit]$ ./conduit/conduit
    [Main ][INFO ] Conduit v0.3.16 Installed: False (Main.py:126)
    [Main ][INFO ] Python: 2.6.2 (r262:71600, Apr 18 2009, 06:27:57)
    [GCC 4.3.3] (Main.py:127)
    [Main ][INFO ] Platform Implementations: GIO,webkit,GConf (Main.py:128)
    [Main ][INFO ] Using UI: gtk (Main.py:158)
    [gtkui.Canvas ][INFO ] Module Information: goocanvas v(0, 12, 0) (/usr/lib/python2.6/site-packages/goocanvasmodule.so) (Canvas.py:28)
    [modules.iPod ][WARNING] iPod support disabled (python-gpod not availiable) (iPodModule.py:53)
    [modules.AVConverter ][INFO ] GStreamer transcoding disabled (AudioVideoConverterModule.py:28)
    /home/djo/.packages/conduit/conduit/modules/FacebookModule/FacebookModule.py:6: DeprecationWarning: the md5 module is deprecated; use hashlib instead
    import md5
    [modules.Facebook ][INFO ] Module Information: pyfacebook v0.1 (/home/djo/.packages/conduit/conduit/modules/FacebookModule/pyfacebook/__init__.pyc) (FacebookModule.py:30)
    [modules.Facebook ][INFO ] Facebook parsing using: JSON (json) (FacebookModule.py:31)
    [modules.iPod ][WARNING] iPod support disabled (python-gpod not availiable) (iPodModule.py:53)
    [modules.Evolution ][INFO ] Module Information: evolution v(2, 26, 0) (/usr/lib/python2.6/site-packages/gtk-2.0/evolution/__init__.pyc) (EvolutionModule.py:25)
    [modules.Backpack ][INFO ] Module Information: backpack (/home/djo/.packages/conduit/conduit/modules/BackpackModule/backpack/backpack.pyc) (BackpackModule.py:22)
    [modules.Feed ][INFO ] RSS Feed support disabled (FeedModule.py:54)
    [modules.Flickr ][INFO ] Module Information: flickrapi v1.1 (/home/djo/.packages/conduit/conduit/modules/FlickrModule/flickrapi/__init__.pyc) (FlickrModule.py:26)
    /home/djo/.packages/conduit/conduit/modules/GoogleModule/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
    import sha
    [modules.Google ][INFO ] Module Information: gdata (/home/djo/.packages/conduit/conduit/modules/GoogleModule/gdata/__init__.pyc) (GoogleModule.py:46)
    [modules.Network ][INFO ] Network support enabled (NetworkModule.py:30)
    [modules.Network ][DEBUG ] Starting AvahiAdvertiser server (Server.py:35)
    [modules.Network ][DEBUG ] Announcing avahi conduit service (Peers.py:159)
    [dataproviders.VolumeFactory][INFO ] Waiting for HAL to attempt mount (VolumeFactory.py:38)
    [dataproviders.VolumeFactory][INFO ] Waiting for HAL to attempt mount (VolumeFactory.py:38)
    [dataproviders.VolumeFactory][INFO ] Waiting for HAL to attempt mount (VolumeFactory.py:38)
    [gtkui.UI ][INFO ] Main window constructed (thread: -1210530112) (UI.py:202)
    [SyncSet ][INFO ] Restoring Sync Set from /home/djo/.config/conduit/settings.xml (SyncSet.py:198)
    [gtkui.UI ][DEBUG ] Presenting GUI (UI.py:227)
    [DBus ][DEBUG ] DBus Exported: / (DBus.py:127)
    [DBus ][DEBUG ] DBus Exported: /syncset/gui (DBus.py:127)
    [DBus ][DEBUG ] DBus Exported: /syncset/dbus (DBus.py:127)
    [modules.Network ][DEBUG ] Resolved conduit service djo-desktop on djo-desktop.local - 192.168.0.103:3400
    Extra Info: ['protocol-version=1', 'version=0.3.16'] (Peers.py:245)
    [modules.Network ][DEBUG ] Remote host 'http://djo-desktop.local' detected (Client.py:49)
    [modules.Network ][DEBUG ] Resolved conduit service djo-laptop on djo-laptop.local - 192.168.0.100:3400
    Extra Info: ['protocol-version=1', 'version=0.3.16'] (Peers.py:245)
    [modules.Network ][DEBUG ] Remote host 'http://djo-laptop.local' detected (Client.py:49)
    [dataproviders.DataProvider][DEBUG ] DataProviderFactory <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)>: Emitting dataprovider-added for DynamicTestSource1:Foo (DataProvider.py:606)
    [Module ][INFO ] Dynamic dataprovider (Wrapper: Dynamic Source 1 source (UID: DynamicTestSource1:Foo-None)) available by <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)> (Module.py:67)
    [DBus ][DEBUG ] DBus Message from /: Emmiting DBus signal DataproviderAvailable DynamicTestSource1:Foo (DBus.py:134)
    [dataproviders.DataProvider][DEBUG ] DataProviderFactory <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)>: Emitting dataprovider-added for DynamicTestSource2:Bar:Baz (DataProvider.py:606)
    [Module ][INFO ] Dynamic dataprovider (Wrapper: Dynamic Source 2 source (UID: DynamicTestSource2:Bar:Baz-None)) available by <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)> (Module.py:67)
    [DBus ][DEBUG ] DBus Message from /: Emmiting DBus signal DataproviderAvailable DynamicTestSource2:Bar:Baz (DBus.py:134)
    [dataproviders.DataProvider][DEBUG ] DataProviderFactory <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)>: Emitting dataprovider-added for CustomKey (DataProvider.py:606)
    [Module ][INFO ] Dynamic dataprovider (Wrapper: Preconfigured Test Source source (UID: TestSource-None)) available by <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)> (Module.py:67)
    [DBus ][DEBUG ] DBus Message from /: Emmiting DBus signal DataproviderAvailable TestSource (DBus.py:134)
    [dataproviders.DataProvider][DEBUG ] DataProviderFactory <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)>: Emitting dataprovider-removed for DynamicTestSource1:Foo (DataProvider.py:611)
    [Module ][INFO ] Dynamic dataprovider (DynamicTestSource1:Foo) unavailable by <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)> (Module.py:71)
    [DBus ][DEBUG ] DBus Message from /: Emiting DBus signal DataproviderUnavailable DynamicTestSource1:Foo (DBus.py:134)
    [Conduit ][DEBUG ] Adding twoway dataprovider into source position (Conduit.py:140)
    ./conduit/conduit: line 26: 3512 Erreur de segmentation `dirname $0`/conduit.real $*
    I tried to enable webkit instead of gtkmozembed but I can't see how. I really want to use conduit to sync Evolution suite between desktop/laptop
    Any help?
    Desesperate new arch user.

    I've rebuilt conduit with webkit and GIO support by patching the file defs.py.in in the source directory, however the segfault still occurs on my machine. The only difference is that the run-mozilla.sh error is not given but instead a blank line. Perhaps this is related to a specific plugin not working correctly.
    edit: this is also occuring with conduit 0.3.14 release. I may try the SVN version later today.
    Last edited by iBertus (2009-06-13 19:16:16)

  • Segmentation Fault

    Hi-
    I've experienced a segmentation fault from Berkeley DB XML Java bindings running in a web application (Tomcat). I'm not able to reproduce the error myself, but it's particularly troubling becasue it brought down the entire JVM that was running the web site. I'm not at all proficient with JNI, so maybe I'm not able to properly diagnose the problem from the logs. Below is the seg fault error that was logged by the JVM:
    # An unexpected error has been detected by Java Runtime Environment:
    #  SIGSEGV (0xb) at pc=0x063966c3, pid=20961, tid=1839516576
    # Java VM: Java HotSpot(TM) Server VM (11.3-b02 mixed mode linux-x86)
    # Problematic frame:
    # V  [libjvm.so+0x3966c3]
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    ---------------  T H R E A D  ---------------
    Current thread (0x08822c00):  JavaThread "http-8080-6" daemon [_thread_in_vm, id=21027, stack(0x6da2c000,0x6da4d000)]
    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000000
    Registers:
    EAX=0x00000000, EBX=0x08b598d8, ECX=0x0006da4b, EDX=0x08822c00
    ESP=0x6da4b6d4, EBP=0x6da4b738, ESI=0x00000ffc, EDI=0x6db77880
    EIP=0x063966c3, CR2=0x00000000, EFLAGS=0x00010216
    Top of Stack: (sp=0x6da4b6d4)
    0x6da4b6d4:   00000000 67c9ecf8 67c9ece3 08b598d8
    0x6da4b6e4:   6db77880 6db77888 6db77c74 08822c00
    0x6da4b6f4:   00000000 00c5a1e3 6da4b718 08822c00
    0x6da4b704:   6e000048 00000011 67d0b11c 08822c00
    0x6da4b714:   0000001d 6da4b738 67c92fa4 08822d14
    0x6da4b724:   08a64cb4 08c4cddc 67d0b11c 00000000
    0x6da4b734:   0000001d 6da4b7f8 67c732db 08822d14
    0x6da4b744:   00000000 00000000 67c9ece3 6da4b7d0
    Instructions: (pc=0x063966c3)
    0x063966b3:   ac 8b 43 08 89 45 b0 8b 43 0c 89 45 b4 8b 45 0c
    0x063966c3:   8b 00 50 e8 35 02 fe ff 83 ec 0c 89 c6 50 e8 72
    Stack: [0x6da2c000,0x6da4d000],  sp=0x6da4b6d4,  free space=125k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V  [libjvm.so+0x3966c3]
    C  [libdbxml_java-2.4.so+0x2612db]  _Z17createCPPXmlValueP7JNIEnv_P8_jobjectPb+0xd3
    C  [libdbxml_java-2.4.so+0x26bbcd]  _Z24createCPPXmlQueryContextP7JNIEnv_P8_jobjectP7_jclass+0x969
    C  [libdbxml_java-2.4.so+0x27f2ff]  Java_com_sleepycat_dbxml_dbxml_1javaJNI_XmlManager_1prepare_1_1SWIG_10+0xe7
    j  com.sleepycat.dbxml.dbxml_javaJNI.XmlManager_prepare__SWIG_0(JLcom/sleepycat/dbxml/XmlManager;Ljava/lang/String;Lcom/sleepycat/dbxml/XmlQueryContext;)J+0
    j  com.sleepycat.dbxml.XmlManager.prepare(Ljava/lang/String;Lcom/sleepycat/dbxml/XmlQueryContext;)Lcom/sleepycat/dbxml/XmlQueryExpression;+7
    j  com.mycompany.dao.xml.XmlDao.executeQuery(Ljava/lang/String;Lcom/sleepycat/dbxml/XmlQueryContext;)Ljava/util/List;+14
    j  com.mycompany.dao.xml.XMLArticleDAO.getArticleId(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;+91
    j  com.mycompany.service.impl.DefaultArticleService.getArticleIdFromUrl(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;+7
    j  com.mycompany.controller.Level3Controller.handleRequestInternal(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Lorg/springframework/web/servlet/ModelAndView;+236
    j  org.springframework.web.servlet.mvc.AbstractController.handleRequest(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Lorg/springframework/web/servlet/ModelAndView;+62
    j  org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/Object;)Lorg/springframework/web/servlet/ModelAndView;+6
    j  org.springframework.web.servlet.DispatcherServlet.doDispatch(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+224
    j  org.springframework.web.servlet.DispatcherServlet.doService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+219
    j  org.springframework.web.servlet.FrameworkServlet.processRequest(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+10
    j  org.springframework.web.servlet.FrameworkServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+3
    j  javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+35
    j  javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
    j  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+374
    j  org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
    j  org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+804
    j  org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+365
    j  org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+64
    j  org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6
    j  org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42
    j  org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+157
    j  org.apache.coyote.http11.Http11Processor.process(Ljava/net/Socket;)V+432
    j  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Ljava/net/Socket;)Z+82
    j  org.apache.tomcat.util.net.JIoEndpoint$Worker.run()V+41
    j  java.lang.Thread.run()V+11
    v  ~StubRoutines::call_stub
    V  [libjvm.so+0x375c9d]
    V  [libjvm.so+0x5057f8]
    V  [libjvm.so+0x3755b0]
    V  [libjvm.so+0x37563d]
    V  [libjvm.so+0x3e5ca5]
    V  [libjvm.so+0x5cde5d]
    V  [libjvm.so+0x506929]
    C  [libpthread.so.0+0x53cc]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  com.sleepycat.dbxml.dbxml_javaJNI.XmlManager_prepare__SWIG_0(JLcom/sleepycat/dbxml/XmlManager;Ljava/lang/String;Lcom/sleepycat/dbxml/XmlQueryContext;)J+0
    j  com.sleepycat.dbxml.XmlManager.prepare(Ljava/lang/String;Lcom/sleepycat/dbxml/XmlQueryContext;)Lcom/sleepycat/dbxml/XmlQueryExpression;+7
    j  com.mycompany.dao.xml.XmlDao.executeQuery(Ljava/lang/String;Lcom/sleepycat/dbxml/XmlQueryContext;)Ljava/util/List;+14
    j  com.mycompany.dao.xml.XMLArticleDAO.getArticleId(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;+91
    j  com.mycompany.service.impl.DefaultArticleService.getArticleIdFromUrl(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;+7
    j  com.mycompany.controller.Level3Controller.handleRequestInternal(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Lorg/springframework/web/servlet/ModelAndView;+236
    j  org.springframework.web.servlet.mvc.AbstractController.handleRequest(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Lorg/springframework/web/servlet/ModelAndView;+62
    j  org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/Object;)Lorg/springframework/web/servlet/ModelAndView;+6
    j  org.springframework.web.servlet.DispatcherServlet.doDispatch(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+224
    j  org.springframework.web.servlet.DispatcherServlet.doService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+219
    j  org.springframework.web.servlet.FrameworkServlet.processRequest(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+10
    j  org.springframework.web.servlet.FrameworkServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+3
    j  javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+35
    j  javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
    j  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+374
    j  org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
    j  org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+804
    j  org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+365
    j  org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+64
    j  org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6
    j  org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42
    j  org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+157
    j  org.apache.coyote.http11.Http11Processor.process(Ljava/net/Socket;)V+432
    j  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Ljava/net/Socket;)Z+82
    j  org.apache.tomcat.util.net.JIoEndpoint$Worker.run()V+41
    j  java.lang.Thread.run()V+11
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x088d4800 JavaThread "http-8080-8" daemon [_thread_blocked, id=21029, stack(0x66e7d000,0x66e9e000)]
      0x08b3d400 JavaThread "http-8080-7" daemon [_thread_blocked, id=21028, stack(0x6da0b000,0x6da2c000)]
    =>0x08822c00 JavaThread "http-8080-6" daemon [_thread_in_vm, id=21027, stack(0x6da2c000,0x6da4d000)]
      0x08823400 JavaThread "http-8080-5" daemon [_thread_blocked, id=21022, stack(0x65cdf000,0x65d00000)]
      0x0881e000 JavaThread "http-8080-4" daemon [_thread_blocked, id=21019, stack(0x6da4d000,0x6da6e000)]
      0x08d75400 JavaThread "pool-2-thread-1" [_thread_blocked, id=21018, stack(0x660df000,0x66100000)]
      0x08976400 JavaThread "http-8080-3" daemon [_thread_blocked, id=21017, stack(0x6da6e000,0x6da8f000)]
      0x08976000 JavaThread "http-8080-2" daemon [_thread_blocked, id=21011, stack(0x6da8f000,0x6dab0000)]
      0x08c4c000 JavaThread "http-8080-1" daemon [_thread_blocked, id=21006, stack(0x6dd9d000,0x6ddbe000)]
      0x08b65000 JavaThread "TP-Monitor" daemon [_thread_blocked, id=21005, stack(0x6ddbe000,0x6dddf000)]
      0x08c5ec00 JavaThread "TP-Processor4" daemon [_thread_in_native, id=21004, stack(0x6dddf000,0x6de00000)]
      0x08c62c00 JavaThread "TP-Processor3" daemon [_thread_blocked, id=21003, stack(0x6df41000,0x6df62000)]
      0x08b66800 JavaThread "TP-Processor2" daemon [_thread_blocked, id=21002, stack(0x6df62000,0x6df83000)]
      0x08eab000 JavaThread "TP-Processor1" daemon [_thread_blocked, id=21001, stack(0x6df83000,0x6dfa4000)]
      0x08c53800 JavaThread "http-8080-Acceptor-0" daemon [_thread_in_native, id=21000, stack(0x6dfa4000,0x6dfc5000)]
      0x08c5d000 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=20999, stack(0x6df1c000,0x6df3d000)]
      0x08c9e400 JavaThread "pool-1-thread-1" [_thread_blocked, id=20998, stack(0x66ea5000,0x66ec6000)]
      0x08684800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=20996, stack(0x6e1e0000,0x6e201000)]
      0x08683000 JavaThread "CompilerThread1" daemon [_thread_blocked, id=20995, stack(0x6e201000,0x6e282000)]
      0x0867e800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=20994, stack(0x6e282000,0x6e303000)]
      0x0867d000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=20993, stack(0x6e303000,0x6e324000)]
      0x0867b800 JavaThread "Surrogate Locker Thread (CMS)" daemon [_thread_blocked, id=20992, stack(0x6e324000,0x6e345000)]
      0x08668000 JavaThread "Finalizer" daemon [_thread_blocked, id=20991, stack(0x6e545000,0x6e566000)]
      0x08666c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=20990, stack(0x6e566000,0x6e587000)]
      0x08058800 JavaThread "main" [_thread_in_native, id=20962, stack(0xb7fc9000,0xb7fea000)]
    Other Threads:
      0x08663400 VMThread [stack: 0x6e587000,0x6e608000] [id=20989]
      0x08686800 WatcherThread [stack: 0x6e15f000,0x6e1e0000] [id=20997]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    par new generation   total 471872K, used 261897K [0x70490000, 0x90490000, 0x90490000)
      eden space 419456K,  60% used [0x70490000, 0x7fb7eb48, 0x89e30000)
      from space 52416K,  17% used [0x89e30000, 0x8a703c70, 0x8d160000)
      to   space 52416K,   0% used [0x8d160000, 0x8d160000, 0x90490000)
    concurrent mark-sweep generation total 524288K, used 0K [0x90490000, 0xb0490000, 0xb0490000)
    concurrent-mark-sweep perm gen total 22400K, used 22275K [0xb0490000, 0xb1a70000, 0xb4490000)
    ***DYNAMIC LIBRARIES TRUNCATED (POST TOO LONG)***
    VM Arguments:
    jvm_args: -Xmx1024m -Xms1024m -Xmn512m -Xss128k
    -XX:ParallelGCThreads=20 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=8
    -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
    -Djava.util.logging.config.file=/opt/apps/tomcat-6.0.18/conf/logging.properties -Djava.endorsed.dirs=/opt/apps/tomcat-6.0.18/endorsed
    -Dcatalina.base=/opt/apps/tomcat-6.0.18 -Dcatalina.home=/opt/apps/tomcat-6.0.18 -Djava.io.tmpdir=/opt/apps/tomcat-6.0.18/temp
    java_command: org.apache.catalina.startup.Bootstrap start
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/opt/apps/php/bin:/opt/apps/apache2/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
    LD_LIBRARY_PATH=/usr/java/jdk1.6.0_13/jre/lib/i386/server:/usr/java/jdk1.6.0_13/jre/lib/i386:/usr/java/jdk1.6.0_13/jre/../lib/i386:/opt/dbxml/lib
    SHELL=/bin/bash
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x6071f0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGBUS: [libjvm.so+0x6071f0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGFPE: [libjvm.so+0x5048b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGPIPE: [libjvm.so+0x5048b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGXFSZ: [libjvm.so+0x5048b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGILL: [libjvm.so+0x5048b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: [libjvm.so+0x506d80], sa_mask[0]=0x00000000, sa_flags=0x10000004
    SIGHUP: [libjvm.so+0x506b20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGTERM: [libjvm.so+0x506b20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGQUIT: [libjvm.so+0x506b20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    ---------------  S Y S T E M  ---------------
    OS:Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
    uname:Linux 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:34:33 EDT 2009 i686
    libc:glibc 2.3.4 NPTL 2.3.4
    rlimit: STACK 10240k, CORE 0k, NPROC 32742, NOFILE 1024, AS infinity
    load average:0.00 0.00 0.00
    CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 2073300k(27792k free), swap 5197384k(1995648k free)
    vm_info: Java HotSpot(TM) Server VM (11.3-b02) for linux-x86 JRE (1.6.0_13-b03), built on Mar  9 2009 01:16:42 by "java_re" with gcc 3.2.1-7a (J2SE release)
    time: Mon Jul  27 01:51:01 2009
    elapsed time: 11252 secondsI see some "thread blocked" statements, one of them being on the "Low Memory Detector" daemon. Not sure what to make of that.
    This is the method chain (from what I can tell) that caused the error:
    public String getArticleId(String type, String category, String normalizedTitle)
              throws DAOException, DataNotFoundDAOException {
              XmlQueryContext context = null;
              try{
                   context = this.getXmlManager().createQueryContext();
                   context.setEvaluationType(context.Eager);
                   context.setVariableValue("type", new XmlValue(type));
                   context.setVariableValue("category", new XmlValue(category));
                   context.setVariableValue("normalizedTitle", new XmlValue(normalizedTitle));
                   context.setVariableValue("containerName", new XmlValue(this.getContainer().getName()));
                   List<String> results = executeQuery(articleIdQuery, context);
                   if(results.size()>1){
                        logger.warn(String.format("more than one article found for type:%s, category:%s, normalized-title:%s", type, category, normalizedTitle));
                   }else if(results.size()==0){
                        throw new DataNotFoundDAOException(String.format("unable to find an article that matches type:%s, category:%s, normalized-title:%s", type, category, normalizedTitle));
                   /* dbxml returns query values far xml attributes in this format: {}id="this_is_the_id_we_want"
                    * we must extract the id before returning
                   String idString = results.get(0);
                   return idString.substring(idString.indexOf("\"")+1, idString.length()-1);
              }catch (XmlException e) {
                   throw new DAOException("there was a problem querying the database", e);
              } finally{
                   context.delete();
         protected List<String> executeQuery(String query, XmlQueryContext context)
                   throws DAOException {
              // Prepare (compile) the query
              List<String> xmlNodes = new ArrayList<String>();
              XmlQueryExpression qe = null;
              XmlResults results = null;
              try {
                   qe = xmlManager.prepare(query, context);
                   logger.debug("about to perform query: " + qe.getQuery());
                   results = qe.execute(context);
                   while (results.hasNext()) {
                        xmlNodes.add(results.next().asString());
              } catch (XmlException e) {
                   throw new DAOException("Unable to retrieve Page from db", e);
              } finally{
                   if(results != null){
                        results.delete();
                   if(qe != null){
                        qe.delete();
              return xmlNodes;
         }And this is the query that was passed into the method:
    collection($containerName)/article[type=$type and category=$category and normalized-title=$normalizedTitle]/@idSince this happened in a running web application, I unfortunately can't determine exactly which values were set for the query variables in this instance. However, by the nature of this application, those values are NOT taken from user input, so it would be safe to assume that the input comes from a valid, finite set of values.
    Any help would be greatly appreciated.
    Thanks
    Edited by: eric44 on Jul 27, 2009 2:34 PM

    Thanks Lauren.
    I have not yet applied the patch. I will do so shortly. However, I was able to do a bit more tracing, and I think I've gotten to the root of the problem. The seg fault is happening when a null value is used in a query. That is, a Java variable whose value is null is used as the constructor argument to new XmlValue(String s), and then that value is used in the query. I don't know exactly where the error is happening; the log seems a tad ambiguous. Again, I'm not really comfortable at the low-level, but it seems that the stack trace is rooted in the "prepare" java method, but then there seems to be some native trace directly referencing the creation of XmlValue
    Stack: [0x6da2c000,0x6da4d000],  sp=0x6da4b6d4,  free space=125k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V  [libjvm.so+0x3966c3]
    C  [libdbxml_java-2.4.so+0x2612db]  _Z17createCPPXmlValueP7JNIEnv_P8_jobjectPb+0xd3
    C  [libdbxml_java-2.4.so+0x26bbcd]  _Z24createCPPXmlQueryContextP7JNIEnv_P8_jobjectP7_jclass+0x969
    C  [libdbxml_java-2.4.so+0x27f2ff]  Java_com_sleepycat_dbxml_dbxml_1javaJNI_XmlManager_1prepare_1_1SWIG_10+0xe7
    j  com.sleepycat.dbxml.dbxml_javaJNI.XmlManager_prepare__SWIG_0(JLcom/sleepycat/dbxml/XmlManager;Ljava/lang/String;Lcom/sleepycat/dbxml/XmlQueryContext;)J+0
    j  com.sleepycat.dbxml.XmlManager.prepare(Ljava/lang/String;Lcom/sleepycat/dbxml/XmlQueryContext;)Lcom/sleepycat/dbxml/XmlQueryExpression;+7thanks again

  • 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

  • Segmentation fault with apache plug-in

    The debug flag is on with apache.Getting the following message and core dump.wl 6.0, jdk 1.3, Solaris 2.6 105181-21, apache 1.3.12, gcc 2.8(FSF), make(3.7.6)os patch 10559-09 installed.[Fri Dec 29 14:57:11 2000] [notice] child pid 27661 exit signal Segmentation Fault (11), possible coredump in /usr/local/apache

    The debug flag is on with apache.Getting the following message and core dump.wl 6.0, jdk 1.3, Solaris 2.6 105181-21, apache 1.3.12, gcc 2.8(FSF), make(3.7.6)os patch 10559-09 installed.[Fri Dec 29 14:57:11 2000] [notice] child pid 27661 exit signal Segmentation Fault (11), possible coredump in /usr/local/apache

  • ISE Restore fails after 80% (Segmentation fault)

    Hi All
    After a system crash I'm trying to restore. I first did a application reset-config ise and then a restore over an ftp repository.
    After 80% it fails with at DB Syncup with a segmentation fault. Tried this with different Backup versions all having the latest patch level.
    Any Ideas ?
    Thanks
    Initiating restore.  Please wait...
    % restore in progress: Starting Restore...10% completed
    % restore in progress: Retrieving backup file from Repository...20% completed
    % restore in progress: Decrypting backup data...25% completed
    % restore in progress: Extracting backup data...30% completed
     Leaving the currently connected AD domain
     Please rejoin the AD domain from the administrative GUI
    % restore in progress: Stopping ISE processes required for restore...35% completed
    % restore in progress: Restoring ISE configuration database...40% completed
    % restore in progress: Updating Database metadata...70% completed
    % restore in progress: Restoring logs...75% completed
    % restore in progress: Performing ISE Database synchup...80% completed
    /opt/CSCOcpm/bin/isecfgrestore.sh: line 1248: 11162 Segmentation fault      (core dumped) curl -q -k --tlsv1 --connect-timeout 10 https://$MYIP/admin/index.jsp > /dev/null 2>&1
    /opt/CSCOcpm/bin/isecfgrestore.sh: line 1248: 11177 Segmentation fault      (core dumped) curl -q -k --tlsv1 --connect-timeout 10 https://$MYIP/admin/index.jsp > /dev/null 2>&1
    /opt/CSCOcpm/bin/isecfgrestore.sh: line 1248: 11187 Segmentation fault      (core dumped) curl -q -k --tlsv1 --connect-timeout 10 https://$MYIP/admin/index.jsp > /dev/null 2>&1
    ......and so on 
    Cisco Application Deployment Engine OS Release: 2.2
    ADE-OS Build Version: 2.2.0.162
    ADE-OS System Architecture: x86_64
    Copyright (c) 2005-2014 by Cisco Systems, Inc.
    All rights reserved.
    Version information of installed applications
    Cisco Identity Services Engine
    Version      : 1.3.0.876
    Build Date   : Tue Oct 28 04:02:29 2014
    Install Date : Fri Dec  5 08:31:15 2014     
    Cisco Identity Services Engine Patch 
    Version      : 1
    Install Date : Mon Jan 26 10:21:50 2015

    After sending the appropriate logs to the TAC I learned that even though the restore looked to have failed, at 80% the actual restore has been completed and what was failing was the node synchronization.   With this knowledge I was able to access the admin GUI and manually sync up the other nodes and have been running without issue.
    As it turns out this is  documented issue, CSCur36983, and will be fixed in release 1.4.
    Here is the reply I received from the TAC:
    "Based on the logs sent, we're definitely hitting CSCur36983 which will be
    fixed in ISE 1.4:
    https://tools.cisco.com/bugsearch/bug/CSCur36983/
    According to the bug details, when we reach 80% the restoration part itself
    has already completed. What is failing is a sync with the rest of the nodes
    in the deployment. Therefore, you can reload the ISE at this point and you
    should have access to the admin GUI again. From there, you can force a sync up  with the other nodes."

  • OIM 11g Installation - Oracle_IDM1/bin/config.sh : segmentation fault

    Hello,
    I'm installing all the components on a single machine : CentOS 5.5 64bits (equivalent to RH5.5).
    Here are the steps that I followed :
    1) I installed Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 and WebLogic Server Version: 10.3.3.0
    2) I applied the Repository Creation Utility ofm_rcu_linux_11.1.1.3.3
    3) I installed SOA Suite ofm_soa_generic_11.1.1.2.0 then patched it using ofm_soa_generic_11.1.1.3.0 (Installation without configuration)
    4) I installed Oracle Identity and Access Management ofm_soa_generic_11.1.1.3.0
    5) I created a Weblogic domain using +$ORACLE_MWHOME/Oracle_IDM1/common/bin/config.sh+
    6) I started Weblogic and the Node Manager
    7) When I run the configuration tool cd $ORACLE_MWHOME/Oracle_IDM1/bin then +./config.sh+ I had a segmentation fault error :
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-03-08_02-13-15PM. Please wait ..../config.sh: line 159: 11022 Segmentation fault      $INSTALLER_DIR/runInstaller -weblogicConfig ORACLE_HOME="$ORACLE_HOME" -invPtrLoc $ORACLE_HOME/oraInst.loc -oneclick $COMMANDLINE -Doracle.config.mode=true
    when I run it using strace, I saw that the installer can't find a libc.mo file :
    open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    write(2, "./config.sh: line 159:  8897 Seg"..., 209./config.sh: line 159:  8897 Segmentation fault      $INSTALLER_DIR/runInstaller -weblogicConfig ORACLE_HOME="$ORACLE_HOME" -invPtrLoc $ORACLE_HOME/oraInst.loc -oneclick $COMMANDLINE -Doracle.config.mode=true
    +) = 209+
    So I made a symbolic link to one that actually exists :
    sudo ln -s /usr/share/locale/en_GB/LC_MESSAGES/libc.mo /usr/share/locale/en/LC_MESSAGES/libc.mo
    Now the installer can find it, but I still have a segfault :
    open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = 3
    +fstat(3, {st_mode=S_IFREG|0644, st_size=1474, ...}) = 0+
    mmap(NULL, 1474, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b2d76c27000
    close(3)                                = 0
    write(2, "./config.sh: line 159:  9160 Seg"..., 209./config.sh: line 159:  9160 Segmentation fault      $INSTALLER_DIR/runInstaller -weblogicConfig ORACLE_HOME="$ORACLE_HOME" -invPtrLoc ORACLE_HOME/oraInst.loc -oneclick $COMMANDLINE -Doracle.config.mode=true
    +) = 209+
    Any idea on what would be the reason for that ?
    Thanks in advance !

    Translated:
    Not certified means in case of an error, you are on your own. Usual advice, try the same with a certified OS. If the issues persists, you can file a support ticket.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                           

  • LINUX wls 6.0 sp2 & jdk 131 - Unable to start the Server - Segmentation fault

    Facing problems in starting a weblogic 6.0 server with service pack 2 for Linux.
    OS: RedHat7.0
    BEA WLS version : 6.0
    Service pack : SP2
    JDK version : jdk1.3.1
    When starting the startWebLogic.sh, it fails to start up completely and ends in
    a
    "startWebLogic.sh line 142 13834 Segmentation fault".
    ( After taking in the valid password for the system).
    Putting the verbose flag in the start-up script seems to see if it gave any clue,
    teh last class loaded was the weblogic.apache.xerces.utils.StringHasher .
    Does anyone have ideas as to what the cause maybe.
    Is there a patch that is needed/known problem.
    Any help would be appreciated.
    Thanks
    Shyam

    Please read the Linux install notes for JDK 1.3.1.
    http://java.sun.com/j2se/1.3/install-linux-sdk.html
    I'll paste the relevant parts:
    Known Problems
    RedHat Linux 6.2 is the officially supported Linux platform for J2SDK 1.3.1.
    Limited testing has been done on other Linux operating systems, and the
    following are known problems on the non-supported platforms.
    a.. If you use Red Hat Linux 7, we recommend version 7.1 rather than 7.0.
    Limited testing has revealed problems when using J2SDK with Red Hat Linux
    7.0, some of which are described below.
    b.. The newer glibc-2.2.x libraries cannot correctly handle initial thread
    stack sizes larger than 6 MB. This can cause a segmentation fault on come
    Linux platforms that use the newer libraries. Such platforms include Red Hat
    7.0, Mandrake 8.0, SuSe 7.2, and Debian 2.2. The problem will not occur on
    Linux platforms that are using glibc-2.1.x such as Red Hat 6.1 and 6.2. It
    will also not affect Red Hat 7.1 because it uses a different thread stack
    layout. This problem is being tracked as bug 4466587.
    Workaround - Use "ulimit -s 2048" in bash shell or "limit stacksize 2048"
    in tcsh to limit the initial thread stack to 2 MB.
    c.. When System.exit(int) is invoked on Red Hat 7.0, the program never
    exits with a non-zero value. This problem is apparently due to a bug in the
    exit function in libc.so library. To avoid this problem, use the supported
    Red Hat release, version 6.2, or, if you want to use Red Hat 7, use version
    7.1 rather than 7.0.
    d.. On RedHat Linux 7.0, if you want to use the Classic VM rather than one
    of the Java HotSpot VMs in J2SDK 1.3.1, you must download and install
    glibc-2.2-9.i386.rpm file available at
    http://www.redhat.com/support/errata/RHBA-2000-079.html. Do not install the
    i686 files available on that same web page, as those will prevent proper
    functioning of the Java HotSpot VMs in J2SDK 1.3.1.
    e.. If you use RedHat Linux 7 Server, you must manually install
    compat-libstdc++-6.21-2.9.0.0.i386.rpm to prevent "error while loading
    shared libraries" when using the Java HotSpot VMs. This file is located in
    the /RedHat/RPMS directory on the RedHat Linux 7 CD-ROM. You may also obtain
    a copy of this file from http://rpmfind.net. To install the file, use this
    command:
    rpm --install compat-libstdc++-6.21-2.9.0.0.i386.rpm
    It is not necessary to manually install
    compat-libstdc++-6.21-2.9.0.0.i386.rpm if you are using RedHat Linux 7
    Workstation.
    f.. When using RedHat Linux versions other than 6.1, the font.properties
    file may fail to display some Symbol/Dingbats characters properly on some
    AWT components. To correct this, use this revised font.properties file to
    replace the one at <JAVA_HOME>/jre/lib/.
    g.. Caldera OpenLinux uses version 2.1.2-3 of glibc. Because that version
    is not greater than or equal to 2.1.2-11, the Java 2 SDK's rpm installer
    will fail during its dependency check. We recommend that you obtain an
    updated version of the glibc library available from Caldera at the following
    locations:
    ftp.caldera.com:/pub/updates/eDesktop/2.4/current/RPMS
    or
    ftp.caldera.com:/pub/updates/eServer/2.3/current/RPMS
    Regards,
    Eric
    "root" <[email protected]> wrote in message
    news:[email protected]...
    I am having the same problem , Changing the bash stack size even to 16kdidn't help;
    >
    RedHat 7.0, WebLogic 6.1, JDK1.3.1, have bumped ss , and mx as well as thebash
    ulimit ,
    Any Ideas .. I see other posts on the same topic. ..verbose load ends withsame
    weblogic.apache.xerces.utils.StringHasher.class
    as ther have reported.
    sundaram wrote:
    Facing problems in starting a weblogic 6.0 server with service pack 2
    for Linux.
    >>
    OS: RedHat7.0
    BEA WLS version : 6.0
    Service pack : SP2
    JDK version : jdk1.3.1
    When starting the startWebLogic.sh, it fails to start up completely andends in
    a
    "startWebLogic.sh line 142 13834 Segmentation fault".
    ( After taking in the valid password for the system).
    Putting the verbose flag in the start-up script seems to see if it gaveany clue,
    teh last class loaded was the weblogic.apache.xerces.utils.StringHasher.
    >>
    Does anyone have ideas as to what the cause maybe.
    Is there a patch that is needed/known problem.
    Any help would be appreciated.
    Thanks
    Shyam

  • Segmentation Fault when connecting to SQL*Plus from Applications tier

    Hi Everyone -
    I am currently in the process of upgrading a client from 11.5.10.2 to 12.1.1 (eventually 12.1.3) on a OEL x86-64 server. I have laid down the software stack and followed all of the requirements as per the Installation manuals and 761566.1. I also have an open SR right now on this issue - but I wanted to see if any of you have ever run into the issue that I am encountering.
    When I try to run adadmin/adpatch - I get to the prompt of providing the system user password and the utility simply exits. No errors in adpatch.log or adadmin.log (both are 0 bytes in size).
    When I try to connect using SQL*Plus from the applications tier using either:
    sqlplus apps/****@SID
    sqlplus system/****@SID
    I get a Segmentation Fault error. There are also no errors in my alert log file on the database tier. I found this error while attempting to apply the upgrade merge patch.
    Has anyone ever seen s Segmentation Fault error? I have search MOS, found a couple of potential solutions - but nothing has solved the issue so far.
    Thanks in advance...
    Brenna

    >
    Are you on 11.1.0.5.0? Is this the database version?
    No, my database tier is 11.2.0.3 (the database version displayed above was the client version running on the Application Tier.
    Who is the owner of the application tier files? If it is applmgr user, please make sure you login as that user and source the application env file before running sqlplus -- Please issue "echo $ORACLE_HOME" and "which sqlplus" and post the output here.
    My owner of the application tier is oracle. I have sourced the environment using $APPL_TOP/APPSR12Dev1_******.env
    [oracle@****** log]$ echo $ORACLE_HOME
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2
    [oracle@****** log]$ which sqlplus
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/bin/sqlplus
    >
    Please relink sqlplus by issuing "$ORACLE_HOME/bin/relink all > relink.txt 2>&1" and check the relink.txt file for any error
    A number of errors occur during the relink, here are some of them:
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/bin/genclntsh
    /usr/bin/ld: warning: i386:x86-64 architecture of input file `/u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(nnfgt.o)' is incompatible with i386 output
    /usr/bin/ld: warning: i386:x86-64 architecture of input file `/u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(ntcontab.o)' is incompatible with i386 output
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/bin/genagtsh /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libagtsh.so 1.0
    /usr/bin/ld: warning: i386:x86-64 architecture of input file `/u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(nnfgt.o)' is incompatible with i386 output
    /usr/bin/ld: warning: i386:x86-64 architecture of input file `/u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(ntcontab.o)' is incompatible with i386 output
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(nnfgt.o):(.rodata+0xc8): undefined reference to `nnflboot'
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(ntcontab.o):(.data+0x8): undefined reference to `nttini'
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(ntcontab.o):(.data+0x28): undefined reference to `ntzini'
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(ntcontab.o):(.data+0x68): undefined reference to `ntpini'
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(ntcontab.o):(.data+0x88): undefined reference to `ntusini'
    collect2: ld returned 1 exit status
    Thanks again...

  • Segmentation Fault in webdb/wdblsnr

    Please Help!
    I've installed WebDB into an Server and Oracle 8i in anouther server.
    Linux : 2.2.13
    Webdb : 2.2
    Oracle : 8i EE (8.1.5)
    I have added
    the appropriate 'webdb' alias in the tnsnames.ora file.
    I start the WebDB Listener which starts and run fine, I can even go to
    the gateway.htm and listener.htm pages through WebDB. However,
    I run into a problem when going to the default WebDB HomePage
    where a dialog box pops up to have you login as the webdb user.
    I do this, and in a short while another dialog comes up and says
    that the 'document contains no data'. It then proceeds to kill
    all the 'wdblsnr' processes that were running in the background,
    which causes a SEGMENTATION FAULT to occur in the session that
    the WebDB Listener was started.
    (http://{machine_name}:8080/WebDB/)
    Can anyone help?
    Thanks...
    null

    Hi Prajithparan,
    I have client server architecture means DBserver is running on one server and client in on other server, both of these servers are HP580 with dual core cpu and 6GB RAM. OS is RHEL4 with all updated patches.
    I have created threads based on different condition. There is one Data Base class in that all the DB operation related fuctions are there. I am first picking the record from DB and after that i am updating the status by using primary key and loading to map (memory for further processing). After processing based on different condition, I am updating the database and clearing the memory.
    Hope you can understang the code architecture.
    Thanks & Regards,
    Sandeep

  • Rasmol crashes with segmentation fault

    Hi.
    I have just switched to Arch Linux from Ubuntu. I have installed arch from AUR and it crashes immediately after launch with segmentation fault. I don't really know what more data I can provide but please tell me if there is any....
    Am I the only one that has encountered that?

    I've rebuilt conduit with webkit and GIO support by patching the file defs.py.in in the source directory, however the segfault still occurs on my machine. The only difference is that the run-mozilla.sh error is not given but instead a blank line. Perhaps this is related to a specific plugin not working correctly.
    edit: this is also occuring with conduit 0.3.14 release. I may try the SVN version later today.
    Last edited by iBertus (2009-06-13 19:16:16)

  • 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

Maybe you are looking for

  • Ongoing problems - Would like to request a call back

    Hi all, I have quite a tale to tell you, and am reaching out for assistance by somebody that has authority to make decisions   Once my account and case ID have been reviewed I would like a call back at the number on file. Thank you! 1/11 I ordered an

  • Iphone 4 doesn't sync with itunes

    Hello, after of the itunes last update 11.1.4.62 my iphone can't sync with itunes, my pc doesn't recognize, not seen in the device manager so I can't update drivers.

  • Clicking noise from speakers (not HD)

    Someone suggested that it could be a busted port. However, they did not tell me how likely it was that that was the issue, how I could find out, what that exactly meant, or how I could fix it. Basically, I had my HD replaced a while ago. The computer

  • Nintex Workflow and Access Control

    Hello, can anybody help with getting owner permissions on Nintex workflows in Sharepoint 2010 with Powershell. I also want to ask your opinion about Access control in Sharepoint 2010. Should all Access Control like AD, Sharepoint, Titus be in the han

  • Import Master Data Function

    Hello Experts, I have a question as to how the BPC 7.0 SP6 NetWeaver version "Import Master Data" function behaves when importing updates.  Currently I have a dimension that I imported master data to because it exceeded the 65K rows that the Admin To