Gdm-x-session Segmentation fault at address 0x0

Hey!
After updating to linux 4.0.1 along with the latest linux-firmware, whenever I reboot, my notebook sometimes boots to gnome, but sometimes it doesn't.
Most of the times it doesn't !
journalctl shows that X is throwing a Segmentation fault at address 0x0. You can find the most relevant lines at http://openpaste.org/FC61f9CF
My notebook has an intel core i5 with intel Ironlake Mobile GPU. I'm using the driver xf86-video-intel
in /etc/mkinitcpio.conf, i have the following modules.
MODULES="intel_agp drm i915"
When I get to boot correctly, I get the following log:
* Xorg.0.log
When X fails to start, I get the following log:
* Xorg.0.log
By the way, I don't use the testing repo, just core. Thank you for any help!
Last edited by canolucas (2015-04-30 14:47:55)

Hey!
After updating to linux 4.0.1 along with the latest linux-firmware, whenever I reboot, my notebook sometimes boots to gnome, but sometimes it doesn't.
Most of the times it doesn't !
journalctl shows that X is throwing a Segmentation fault at address 0x0. You can find the most relevant lines at http://openpaste.org/FC61f9CF
My notebook has an intel core i5 with intel Ironlake Mobile GPU. I'm using the driver xf86-video-intel
in /etc/mkinitcpio.conf, i have the following modules.
MODULES="intel_agp drm i915"
When I get to boot correctly, I get the following log:
* Xorg.0.log
When X fails to start, I get the following log:
* Xorg.0.log
By the way, I don't use the testing repo, just core. Thank you for any help!
Last edited by canolucas (2015-04-30 14:47:55)

Similar Messages

  • X doesn't start - Segmentation fault

    Hi all,
    after latest upgrades of the system, X doesn't start anymore.
    The error is:
    [ 1193.133] (II) AIGLX: Screen 0 is not DRI2 capable
    [ 1193.133] drmOpenDevice: node name is /dev/dri/card0
    [ 1193.133] drmOpenDevice: open result is 11, (OK)
    [ 1193.133] drmOpenByBusid: Searching for BusID pci:0000:01:05.0
    [ 1193.133] drmOpenDevice: node name is /dev/dri/card0
    [ 1193.133] drmOpenDevice: open result is 11, (OK)
    [ 1193.133] drmOpenByBusid: drmOpenMinor returns 11
    [ 1193.133] drmOpenByBusid: Interface 1.4 failed, trying 1.1
    [ 1193.133] drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
    [ 1193.182]
    Backtrace:
    [ 1193.182] 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e649b]
    [ 1193.182] 1: /usr/bin/X (0x8048000+0x5cea5) [0x80a4ea5]
    [ 1193.182] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb78a540c]
    [ 1193.182] 3: /usr/lib/xorg/modules/extensions/libglx.so (0xb749b000+0x40a8c) [0xb74dba8c]
    [ 1193.182] 4: /usr/lib/xorg/modules/extensions/libglx.so (0xb749b000+0x37aa8) [0xb74d2aa8]
    [ 1193.183] 5: /usr/bin/X (InitExtensions+0x9d) [0x80caced]
    [ 1193.183] 6: /usr/bin/X (0x8048000+0x1a052) [0x8062052]
    [ 1193.183] 7: /lib/libc.so.6 (__libc_start_main+0xe6) [0xb75c7db6]
    [ 1193.183] 8: /usr/bin/X (0x8048000+0x19dd1) [0x8061dd1]
    [ 1193.183] Segmentation fault at address (nil)
    [ 1193.183]
    Fatal server error:
    [ 1193.183] Caught signal 11 (Segmentation fault). Server aborting
    [ 1193.183]
    [ 1193.183]
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 1193.183] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 1193.183]
    [ 1193.714] Output DIG0 transmitter setup success
    And the list of updated packages is here: http://pastebin.com/7W88M9yv
    I tried to:
    - Reinstall ati-dri
    - Reinstall xorg
    - Reinstall xf86-video-ati
    - Reinstall libgl
    - Reinstall libdr
    but without success.
    any help?

    I had the same issues, enabling KMS solves this in case you have disabled it. There is a guide here: https://wiki.archlinux.org/index.php/AT … _.28KMS.29

  • 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?

  • X Segmentation fault with new sapphire HD7850

    Hi,
    randomly my X server crash and reboot (like 1 time at day, while surfing the net. No problem while playing under wine/steam)
    i attach the xorg log, but it doesn't say very much to me.
    can you find out what is going on or what i have to do to get a better stack trace/error log?
    interesting part:
    [  6057.946] (EE)
    [  6057.946] (EE) Backtrace:
    [  6057.981] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x58a416]
    [  6057.981] (EE) 1: /usr/bin/X (0x400000+0x18e269) [0x58e269]
    [  6057.981] (EE) 2: /usr/lib/libpthread.so.0 (0x7fd7ffa22000+0xf1e0) [0x7fd7ffa311e0]
    [  6057.981] (EE) 3: /usr/lib/libpixman-1.so.0 (0x7fd7ff57e000+0x82a7d) [0x7fd7ff600a7d]
    [  6057.981] (EE) 4: /usr/lib/libpixman-1.so.0 (0x7fd7ff57e000+0x50c7b) [0x7fd7ff5cec7b]
    [  6057.981] (EE) 5: /usr/lib/libpixman-1.so.0 (pixman_blt+0x52) [0x7fd7ff5894b2]
    [  6057.981] (EE) 6: /usr/lib/xorg/modules/libfb.so (fbCopyNtoN+0x343) [0x7fd7fbf0c453]
    [  6057.981] (EE) 7: /usr/lib/xorg/modules/glesx.so (0x7fd7f9f8d000+0x8d491) [0x7fd7fa01a491]
    [  6057.981] (EE) 8: /usr/lib/xorg/modules/glesx.so (0x7fd7f9f8d000+0x8f62b) [0x7fd7fa01c62b]
    [  6057.981] (EE) 9: /usr/bin/X (0x400000+0x1141f9) [0x5141f9]
    [  6057.981] (EE) 10: /usr/bin/X (0x400000+0xc7315) [0x4c7315]
    [  6057.981] (EE) 11: /usr/bin/X (0x400000+0xc8136) [0x4c8136]
    [  6057.981] (EE) 12: /usr/bin/X (0x400000+0xc6b9c) [0x4c6b9c]
    [  6057.981] (EE) 13: /usr/bin/X (0x400000+0x60d86) [0x460d86]
    [  6057.981] (EE) 14: /usr/bin/X (MapWindow+0x1a2) [0x463b22]
    [  6057.981] (EE) 15: /usr/bin/X (0x400000+0x32690) [0x432690]
    [  6057.981] (EE) 16: /usr/bin/X (0x400000+0x37e51) [0x437e51]
    [  6057.981] (EE) 17: /usr/bin/X (0x400000+0x2695a) [0x42695a]
    [  6057.981] (EE) 18: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7fd7fe8aea15]
    [  6057.982] (EE) 19: /usr/bin/X (0x400000+0x26c9d) [0x426c9d]
    [  6057.982] (EE)
    [  6057.982] (EE) Segmentation fault at address 0x7fd7eac0b000
    [  6057.982]
    Fatal server error:
    [  6057.982] Caught signal 11 (Segmentation fault). Server aborting
    [  6057.982]
    [  6057.982] (EE)
    Please consult the The X.Org Foundation support
             at http://wiki.x.org
    for help.
    [  6057.982] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [  6057.982] (EE)
    full xorg log: http://snipt.org/zJhd9

    Here is some additional information that may or may not be of any relevance. I do not know.
    On the old server, I compiled the code with the compilation commands: f95 program.for
    I was able to compile and execute code with small, medium size or large arrays (with or without the additional -openmp flag).
    If I repeat the same command: f95 program.for
    on the new server, I get the following compilation error message for programs with medium size and large arrays:
    In function `newmaxmalecor':
    /mnt/ide0/home/gustaf/education/programming/cesprod100//chicago.for:4340: relocation truncated to fit: R_X86_64_32 against symbol
    If I compile with the additional flags: f95 -xmodel=medium -m64 program.for
    on the new server, there are no compilation errors and I can run the code in sequence.
    However, when I compile with
    f95 -xmodel=medim -m64 -openmp program.for
    on the new server, compilation works, but I cannot execute the code with medium size and large arrays.
    The programs for which I have to add the "-xmodel=medium" flag on the new server to be able to compile the code and run it in sequence, are exactly the ones for which I get segmentation faults when I introduce the openmp flag and try to execute the code in parallel fashion.
    Is this just a coincidence?
    Lage

  • Segmentation fault when enabling replication with SQL API

    Hi,
    I've compiled BDB 5.3.21 on Ubuntu 11.04 (x86) with the following configure options:
    ../dist/configure enable-sql enable-sql_compat enable-debug enable-tcl --with-tcl=/usr/lib
    I was able to follow the Replication Usage Examples given in "Getting Started with the SQL APIs" to set up a set of replicated master/client databases.
    However, after I exited out of the dbsql session that started replication on the master database and re-opened the master database with dbsql, executing "pragma replication_initial_master=ON;" followed by "pragma replication=ON;" led to a segmentation fault. gdb showed that the segmentation fault occurred at:
    dbsql> pragma replication=ON;
    Program received signal SIGSEGV, Segmentation fault.
    0x0032d42b in __env_ref_get (dbenv=0x8056ad8, countp=0xbfffd498)
    at ../src/env/env_region.c:772
    772          renv = infop->primary;
    (gdb) list
    767          REGENV *renv;
    768          REGINFO *infop;
    769     
    770          env = dbenv->env;
    771          infop = env->reginfo;
    772          renv = infop->primary;
    773          *countp = renv->refcnt;
    774          return (0);
    775     }
    776     
    (gdb)
    Does anybody know of a solution to this or could this be a bug? Thanks in advance.
    P.S. here's a stack trace:
    (gdb) bt
    #0 0x0032d42b in __env_ref_get (dbenv=0x8056ad8, countp=0xbfffd498)
    at ../src/env/env_region.c:772
    #1 0x001786fc in hasDatabaseConnections (p=0x8056708)
    at ../lang/sql/generated/sqlite3.c:44420
    #2 0x00178a11 in bdbsqlPragmaStartReplication (pParse=0x80648e0,
    pDb=0x80561cc) at ../lang/sql/generated/sqlite3.c:44533
    #3 0x001797f5 in bdbsqlPragma (pParse=0x80648e0,
    zLeft=0x8062e20 "replication", zRight=0x8062dc0 "ON", iDb=0)
    at ../lang/sql/generated/sqlite3.c:44812
    #4 0x001c215d in sqlite3Pragma (pParse=0x80648e0, pId1=0x8064b60,
    pId2=0x8064b70, pValue=0x8064b90, minusFlag=0)
    at ../lang/sql/generated/sqlite3.c:78941
    #5 0x001e5c83 in yy_reduce (yypParser=0x8064b20, yyruleno=256)
    at ../lang/sql/generated/sqlite3.c:96668
    #6 0x001e6761 in sqlite3Parser (yyp=0x8064b20, yymajor=1, yyminor=...,
    pParse=0x80648e0) at ../lang/sql/generated/sqlite3.c:97051
    #7 0x001e7537 in sqlite3RunParser (pParse=0x80648e0,
    zSql=0x80648b8 "pragma replication=ON;", pzErrMsg=0xbfffdba0)
    at ../lang/sql/generated/sqlite3.c:97877
    #8 0x001c730e in sqlite3Prepare (db=0x8056010,
    zSql=0x80648b8 "pragma replication=ON;", nBytes=-1, saveSqlFlag=1,
    ---Type <return> to continue, or q <return> to quit---
    pReprepare=0x0, ppStmt=0xbfffdc8c, pzTail=0xbfffdc88)
    at ../lang/sql/generated/sqlite3.c:80736
    #9 0x001c7739 in sqlite3LockAndPrepare (db=0x8056010,
    zSql=0x80648b8 "pragma replication=ON;", nBytes=-1, saveSqlFlag=1,
    pOld=0x0, ppStmt=0xbfffdc8c, pzTail=0xbfffdc88)
    at ../lang/sql/generated/sqlite3.c:80828
    #10 0x001c7a5e in sqlite3_prepare_v2 (db=0x8056010,
    zSql=0x80648b8 "pragma replication=ON;", nBytes=-1, ppStmt=0xbfffdc8c,
    pzTail=0xbfffdc88) at ../lang/sql/generated/sqlite3.c:80903
    #11 0x0804baf6 in shell_exec (db=0x8056010,
    zSql=0x80648b8 "pragma replication=ON;",
    xCallback=0x804a3c4 <shell_callback>, pArg=0xbfffde14, pzErrMsg=0xbfffdcfc)
    at ../lang/sql/sqlite/src/shell.c:1092
    #12 0x0805030e in process_input (p=0xbfffde14, in=0x0)
    at ../lang/sql/sqlite/src/shell.c:2515
    #13 0x08051453 in main (argc=2, argv=0xbffff3f4)
    at ../lang/sql/sqlite/src/shell.c:2946
    -Irving
    Edited by: snowcrash on Jan 15, 2013 2:16 PM

    Thank you for reporting this. I have been able to reproduce this crash in-house.
    You need to specify the replication_initial_master and replication pragmas as part of initially creating your SQL database. The replication_initial_master pragma is not used or needed after the initial database creation at the initial master site. The replication=on pragma is a persistent setting that we remember internally the first time you specify it. This means that after specifying replication=on for the first time on a site, we will automatically restart replication for you in future dbsql sessions when we open the underlying Berkeley DB environment.
    This gives you a very simple workaround: don't respecify replication=on when you reenter dbsql.
    Of course, we shouldn't be crashing on an unnecessary pragma. I have added this to our list of fixes to consider for the future.
    Thanks,
    Paula Bingham
    Oracle

  • Ssh has stopped working - reverse mapping causes segmentation fault

    This was working on Friday, believe me. I haven't done anything that I'm aware of (apart from reboot the machine) to change things, except in trying to fix it.
    Briefly, ssh crashes out with a segmentation fault and a crash log (below). Poking around with verbosity gives (real ip obscured):
    % ssh ip4 -vvvv
    OpenSSH_3.8.1p1, OpenSSL 0.9.7i 14 Oct 2005
    debug1: Reading configuration data /etc/ssh_config
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to ip4 [ip4] port 22.
    debug1: Connection established.
    debug1: identity file /Users/rpg/.ssh/identity type -1
    debug1: identity file /Users/rpg/.ssh/id_rsa type -1
    debug1: identity file /Users/rpg/.ssh/id_dsa type -1
    debug1: Remote protocol version 1.99, remote software version OpenSSH_3.8.1p1
    debug1: match: OpenSSH_3.8.1p1 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
    debug3: Trying to reverse map address ip4.
    Segmentation fault
    I get similar reports for %ssh FQDN and %ssh $USER@[FQDN*|*ip4].
    Although I'm trying to ssh to a machine on another continent, trying to ssh into my own machine (from a Terminal window on my own machine) also does not work. Setting UseDNS no in /etc/sshd_config on my machine does not help. Oddly, trying to ssh to my own machine by
    %ssh 127.0.0.1 gives
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
    debug3: Trying to reverse map address 127.0.0.1.
    debug1: An invalid name was supplied
    Configuration file does not specify default realm
    debug1: An invalid name was supplied
    A parameter was malformed
    Validation error
    debug1: An invalid name was supplied
    Configuration file does not specify default realm
    debug1: An invalid name was supplied
    A parameter was malformed
    Validation error
    debug1: SSH2MSGKEXINIT sent
    debug1: SSH2MSGKEXINIT received
    and then works (after a lot more info).
    I can ssh into this machine from elsewhere, I just can't ssh out. Below the crash log is a report from running a server with
    % sudo sshd -D -ddd -e -p 10000
    and connecting with
    % ssh -vvv -p 10000 $USER@FQDN
    ssh crash log:
    Date/Time: 2006-05-29 15:42:09.284 +1000
    OS Version: 10.4.6 (Build 8I1119)
    Report Version: 4
    Command: ssh
    Path: /usr/bin/ssh
    Parent: bash [1020] (note: also fails under tcsh)
    Version: ??? (???)
    PID: 1021
    Thread: 0
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNINVALIDADDRESS (0x0001) at 0xb1d255e4
    Thread 0 Crashed:
    0 libstdc++.6.dylib 0x90b37e3a _cxa_getglobals + 324
    1 libstdc++.6.dylib 0x90b3853a _gxx_personalityv0 + 658
    2 libgcc_s.1.dylib 0x90bcabf7 UnwindRaiseException + 147
    3 libstdc++.6.dylib 0x90b38857 _cxathrow + 87
    4 edu.mit.Kerberos 0x94c4a238 CCIContextDataMachIPCStub::OpenCCache(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 314
    5 edu.mit.Kerberos 0x94c49fde CCEContext::OpenCCache(cccontextd*, char const*, ccccached**) + 160
    6 edu.mit.Kerberos 0x94c49d5e cc_open + 64
    7 edu.mit.Kerberos 0x94c49bf6 krb5stdccresolve + 182
    8 edu.mit.Kerberos 0x94c4f1a1 __KLGetCCacheByName + 254
    9 edu.mit.Kerberos 0x94c4ee8a __KLAcquireInitialTicketsForCache + 179
    10 edu.mit.Kerberos 0x94c4ed7f krb5intccdefault + 85
    11 edu.mit.Kerberos 0x94c40215 krb5gss_acquirecred + 2409
    12 edu.mit.Kerberos 0x94c4ed11 kggetdefcred + 73
    13 edu.mit.Kerberos 0x94c4da14 krb5gss_init_seccontext + 208
    14 ssh 0x00024305 0x1000 + 144133
    15 ssh 0x000246f4 0x1000 + 145140
    16 ssh 0x000247fb 0x1000 + 145403
    17 ssh 0x0000c462 0x1000 + 46178
    18 ssh 0x0000a251 0x1000 + 37457
    19 ssh 0x000042c7 0x1000 + 12999
    20 ssh 0x000025f2 0x1000 + 5618
    21 ssh 0x0000250d 0x1000 + 5389
    Thread 0 crashed with i386 Thread State:
    eax: 0x00000000 ebx: 0x90b3880d ecx:0xbfffda7c edx: 0xa4c425a0
    edi: 0xb1d255e4 esi: 0xa4c425a0 ebp:0xbfffd9e8 esp: 0xbfffd9b0
    ss: 0x0000002f efl: 0x00010246 eip:0x90b37e3a cs: 0x00000027
    ds: 0x0000002f es: 0x0000002f fs:0x00000000 gs: 0x00000037
    sudo sshd -D -ddd -e -p 10000:
    debug2: readserverconfig: filename /etc/sshd_config
    debug1: sshd version OpenSSH_3.8.1p1
    debug1: private host key: #0 type 0 RSA1
    debug3: Not a RSA1 key file /etc/sshhost_rsakey.
    debug1: read PEM private key done: type RSA
    debug1: private host key: #1 type 1 RSA
    debug3: Not a RSA1 key file /etc/sshhost_dsakey.
    debug1: read PEM private key done: type DSA
    debug1: private host key: #2 type 2 DSA
    debug1: Bind to port 10000 on ::.
    Server listening on :: port 10000.
    debug1: Bind to port 10000 on 0.0.0.0.
    Server listening on 0.0.0.0 port 10000.
    Generating 768 bit RSA key.
    RSA key generation complete. <- pause here
    debug1: Server will not fork when running in debugging mode.
    Connection from ip4 port 50148
    debug1: Current Session ID is 00B16810 / Session Attributes are 00008030
    debug1: Creating new security session...
    debug1: New Session ID is 0F7C2940 / Session Attributes are 00009020
    debug1: Client protocol version 2.0; client software version OpenSSH_3.8.1p1
    debug1: match: OpenSSH_3.8.1p1 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-1.99-OpenSSH_3.8.1p1
    debug2: Network child is on pid 1101
    debug3: preauth child monitor started
    debug3: mmrequestreceive entering
    debug3: privsep user:group 75:75
    debug1: permanentlysetuid: 75/75
    debug1: listhostkeytypes: ssh-rsa,ssh-dss
    debug3: mmrequestsend entering: type 40
    debug3: mmrequest_receiveexpect entering: type 41
    debug3: mmrequestreceive entering
    debug3: monitor_read: checking request 40
    debug1: Miscellaneous failure
    No such file or directory
    debug3: mmrequestsend entering: type 41
    debug3: mmrequestreceive entering
    debug1: no credentials for GSSAPI mechanism Kerberos
    debug1: SSH2MSGKEXINIT sent
    Connection closed by ip4
    debug1: do_cleanup
    debug1: PAM: cleanup
    debug3: PAM: sshpamthreadcleanup entering
    debug1: do_cleanup
    debug1: PAM: cleanup
    debug3: PAM: sshpamthreadcleanup entering
    and
    % ssh -vvv -p 10000 $USER@FQDN :
    OpenSSH_3.8.1p1, OpenSSL 0.9.7i 14 Oct 2005
    debug1: Reading configuration data /etc/ssh_config
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to FQDN [ip4] port 10000.
    debug1: Connection established.
    debug1: identity file /Users/rpg/.ssh/identity type -1
    debug1: identity file /Users/rpg/.ssh/id_rsa type -1
    debug1: identity file /Users/rpg/.ssh/id_dsa type -1
    debug1: Remote protocol version 1.99, remote software version OpenSSH_3.8.1p1
    debug1: match: OpenSSH_3.8.1p1 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
    debug3: Trying to reverse map address ip4.
    Segmentation fault

    10.4.7 fixed this.
    But broke iCal. . .
    Actually, I never had any problems with 10.4.6, but ssh on my nat'ed Intel Macbook now segfaults when doing reverse mapping after upgrading to 10.4.7.
    OpenSSH_3.8.1p1, OpenSSL 0.9.7i 14 Oct 2005
    debug1: Reading configuration data /etc/ssh_config
    debug1: Applying options for *
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to amrshampine [10.4.51.45] port 22.
    debug1: Connection established.
    debug1: identity file /Users/lindkvis/.ssh/identity type -1
    debug1: identity file /Users/lindkvis/.ssh/id_rsa type -1
    debug1: identity file /Users/lindkvis/.ssh/id_dsa type -1
    debug1: Remote protocol version 1.99, remote software version OpenSSH_3.6.1p2
    debug1: match: OpenSSH_3.6.1p2 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
    debug3: Trying to reverse map address 10.4.51.45.
    Macbook White 13" 1.83GHz 1GB   Mac OS X (10.4.6)  

  • Ardour Segmentation Fault

    When i try to create a new ardour project the app crashes with the following error:
    simone ~ $ ardour2
    Ardour/GTK 2.5
    (built using 3525 and GCC version 4.3.2)
    Copyright (C) 1999-2008 Paul Davis
    Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker
    Ardour comes with ABSOLUTELY NO WARRANTY
    not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the source for copying conditions.
    loading default ui configuration file /etc/ardour2/ardour2_ui_default.conf
    Loading ui configuration file /etc/ardour2/ardour2_ui_dark.rc
    theme_init() called from internal clearlooks engine
    ardour: [INFO]: Ardour will be limited to 1024 open files
    loading system configuration file /etc/ardour2/ardour_system.rc
    ardour: [INFO]: No H/W specific optimizations in use
    ardour: [INFO]: looking for control protocols in /home/simone/.ardour2/surfaces/:/usr/lib/ardour2/surfaces/
    ardour: [INFO]: Control surface protocol discovered: "Generic MIDI"
    ardour: [INFO]: Control surface protocol discovered: "Mackie"
    powermate: Opening of powermate failed - No such file or directory
    ardour: [INFO]: Control protocol powermate not usable
    ardour: [INFO]: Control protocol Tranzport not usable
    (ardour-2.5:3421): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
    (ardour-2.5:3421): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
    (ardour-2.5:3421): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
    (ardour-2.5:3421): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
    no message buffer overruns
    Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkWidget::cursor-color' of type `GdkColor' from rc file value "((GString*) 0x22566c0)" of type `GString'
    loading bindings from /etc/ardour2/mnemonic-us.bindings
    Loading session /home/simone/test using snapshot test (2)
    Segmentation fault
    Jack in running and it works fine with other applications. I'm using the package from extra that is the 2.5 version, I've compiled ardour 2.7 but i got the same error when running it.

    I solved it, I think it's a bug in Ardour, but maybe could be also Arch related (someone wants to try it on other distros?), in fact to get Ardour starting you absolutely need the hostname "localhost" configured in /etc/hosts.
    For example this is my currently working /etc/hosts
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    #HOSTNAME (the same of rc.conf)
    127.0.0.1 arch.localdomain arch
    #ardour workaround
    127.0.0.2 localhost.localdomain localhost
    # End of file

  • Pro c program in red hat linux gives segmentation fault

    Hi,
    I got Pro*C multithreaded program running redhat enterprise linux which gives segmentation faults at proc libraries.
    I wish if some one could help me in resolving this issue
    Below is valgrind log of the execution of one thread
    total valgrind summary
    Thread 2:
    ==31610== Invalid write of size 1
    ==31610== at 0x529DDF9: snlfgch (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52948E7: nlparhs (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52935FD: nlpaparse (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x5293378: nlpardfile (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x5292CED: nlpains (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x529661A: nlpacheck_n_load (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52962FE: nlpagap (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x531B103: nnfttran (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x531ADDC: nnftrne (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52121F5: nnfgrne (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52A8AB4: nlolgobj (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x5210121: nnfun2a (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== Address 0x67d0917 is 151 bytes inside a block of size 8,216 free'd
    ==31610== at 0x4A06084: free (vg_replace_malloc.c:366)
    ==31610== by 0x5292D88: nlpains (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x529661A: nlpacheck_n_load (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52962FE: nlpagap (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x531B103: nnfttran (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x531ADDC: nnftrne (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52121F5: nnfgrne (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52A8AB4: nlolgobj (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x5210121: nnfun2a (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x520FEAC: nnfsn2a (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x51F9B2D: niqname (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x5110603: kwfnran (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610==
    ==31610== Invalid read of size 8
    ==31610== at 0x52948F4: nlparhs (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52935FD: nlpaparse (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x5293378: nlpardfile (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x5292CED: nlpains (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x529661A: nlpacheck_n_load (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52962FE: nlpagap (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x531B103: nnfttran (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x531ADDC: nnftrne (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52121F5: nnfgrne (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52A8AB4: nlolgobj (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x5210121: nnfun2a (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x520FEAC: nnfsn2a (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== Address 0x0 is not stack'd, malloc'd or (recently) free'd
    ==31610==
    ==31610==
    ==31610== Process terminating with default action of signal 11 (SIGSEGV)
    ==31610== Access not within mapped region at address 0x0
    ==31610== at 0x52948F4: nlparhs (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52935FD: nlpaparse (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x5293378: nlpardfile (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x5292CED: nlpains (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x529661A: nlpacheck_n_load (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52962FE: nlpagap (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x531B103: nnfttran (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x531ADDC: nnftrne (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52121F5: nnfgrne (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x52A8AB4: nlolgobj (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x5210121: nnfun2a (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== by 0x520FEAC: nnfsn2a (in /opt/oracle/product10g/lib/libclntsh.so.10.1)
    ==31610== If you believe this happened as a result of a stack
    ==31610== overflow in your program's main thread (unlikely but
    ==31610== possible), you can try to increase the size of the
    ==31610== main thread stack using the --main-stacksize= flag.
    ==31610== The main thread stack size used in this run was 10485760.
    ==31610==
    ==31610== HEAP SUMMARY:
    ==31610== in use at exit: 3,207,418 bytes in 8,561 blocks
    ==31610== total heap usage: 13,879 allocs, 5,318 frees, 3,620,545 bytes allocated
    your help would be appreciated
    regards
    Sal

    One of the challenges in supporting Linux is the frequent changing of what ought to be stable public interfaces. We have found a number of changes in Red Hat 6 that affect the behavior of the compiler and applications built with the compiler.
    We plan to support RH 6 (and Oracle Linux 6) in a future release of Studio.

  • 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 ?

  • Segment fault (Core dump)

    Hi
    when i run the following Pro*c file in Unix Environment im getting the SEGMENTATION FAULT(CORE DUMP) error. I used DBX to debug the code. I couldnt find out the proper reason for this error form the dbx output.
    This is the output i got from DBX.
    *signal SEGV (no mapping at the fault address) in _doprnt at 0xfb98736c*
    *0xfb98736c: _doprnt+0x2798:     stb     %o0, [%o1]*
    I did the showmemuse and show leaks, the output for this commands :
    (dbx) showmemuse
    Checking for memory use...
    Blocks in use report (blocks in use: 575 total size: 328086 bytes)
    Total % of Num of Avg Allocation call stack
    Size All Blocks Size
    ======= ==== ====== ====== =======================================
    134876 41% 30 4495 kpummapg < kghgex
    18098 5% 1 18098 lxldlbb < lxlinit < kpummpin < kpupin < sqgctx < sqgrct < sqlcmex < sqlcxt
    16552 5% 4 4138 kogmapg < kghgex
    16516 5% 4 4129 kogmapg < kogmasg
    12288 3% 6 2048 nlhtnsl < nlhthnew
    10350 3% 5 2070 calloc < nsbGetBFS
    9688 2% 1 9688 kouogini < kouoini < kpuinit0 < kpuinit < sqgctx < sqgrct < sqlcmex < sqlcxt
    8200 2% 1 8200 findbuf < doprnt < _fprintf < main
    8120 2% 4 2030 sqlrlc < sqlcopydfn
    8080 2% 1 8080 kpuinit0 < kpuinit < sqgctx < sqgrct < sqlcmex < sqlcxt < main
    7168 2% 1 7168 calloc < nsgbliuc < nsgblini < niotns < nigcall < osncon < kpuadef < upiini
    7168 2% 3 2389 lxldlod < lxdlobj
    5976 1% 4 1494 sqlrlc < sqlcopydfn
    4640 1% 1 4640 sqlrlc < sqldrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    4640 1% 1 4640 sqlrlc < sqlbrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    4128 1% 1 4128 calloc < nsgbliuc < nsgblini < niotns < nigcall < osncon < kpuadef < upiini
    4024 1% 1 4024 sqlrlc < sqlbrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    3408 1% 1 3408 sqlrlc < sqldrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    2452 <1% 8 306 calloc < nsmal
    2156 <1% 7 308 calloc < nlemfins
    (dbx) showleaks
    Checking for memory leaks...
    Actual leaks report (actual leaks: 1 total size: 30 bytes)
    Total Num of Leaked Allocation call stack
    Size Blocks Block
    Address
    ====== ====== ========== =======================================
    30 1 0x9c9c8 getOutFileName < main
    Possible leaks report (possible leaks: 0 total size: 0 bytes)
    i know its because of Pad pointer and something related to Pointer or array overflow. But i couldnt find out where exactly happening....
    Following is my Code, please help me to find out the error and what i need to change in my code:
    #ifndef ORA_PROC
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <time.h>
    #include <ctype.h>
    #include <math.h>
    #else
    typedef struct FILE FILE;
    #endif
    /*** Added by TCS Begins ***/
    char getOutFileName(char );
    char getEnvVar(char );
    void prepare_declare_oracle_cursors();
    void get_calendar_dates();
    void get_issues();
    void get_master_cusip_no();
    void get_run_date_finish();
    void get_payments();
    int get_pub_dates();
    void get_rights();
    void get_s_h_meetings();
    void get_special_codes();
    void get_agents();
    void get_currency();
    void get_payment_codes();
    void get_issue_codes();
    void get_standard_footnotes();
    void get_index_codes();
    void get_exchanges();
    void get_tax_codes();
    void get_tenders();
    int check_if_holiday(int );
    void sql_error(int , int , char *);
    void login_error();
    void no_pub_dates();
    void no_cal_dates();
    void no_finish_date();
    void save_payment_footnote(char , char [3],int , char );
    void save_issue_footnote(char );
    int print_footnotes();
    int print_foreign_tax();
    int get_partial_run_time();
    void save_rght_footnotes();
    int print_supplimental();
    int convert_tender_price(char *);
    void pad_s_h_meetings();
    int strip_out_codes(char *);
    char *getSqlLogonString();
    /**** TCS ADD Ends ****/
    EXEC SQL INCLUDE sqlca;
    EXEC SQL INCLUDE ddr_create_all_tapes.h;
    #define TRUE 1
    #define ORA_NOT_FOUND     ( sqlca.sqlcode == 1403 )
    /* The Definitions of SUCCESS and FAILURE were switched to test the
    idea that SUCCESS should be Zero and FAILURE should be Non-Zero
    #define SUCCESS 1
    #define FAILURE 0
    #define SUCCESS 0
    #define FAILURE -1
    #define SYSOK          0
    #define SYSERR          1
    #define DEBUGGING     0
    #define DEBUG_LEVEL     0
    /*     #define DEBUGGING     1
         #define DEBUG_LEVEL     2
    int          first_cal_date;
    int          footnote_count;
    int          foreign_count;
    int          last_cal_date;
    int          total_records;
    int          which_tape = 0;
    char          cusip_table_name[30];
    char          field_type_code;
    char          final_cusip_number[10];
    /**** char          footnote_text[300][300];
    char          foreign_text[60][100]; **** Commented by TCS as per the change request ****/
    /*** Added by TCS as per the change request ***/
    char          footnote_text[200][300];
    char          foreign_text[200][300];
    /*** TCS Add Ends ***/
    char          freq_type_code;
    char          init_cusip_number[10];
    char          rec_type_code;
    char          payment_where_clause[600];
    char          rights_where_clause[600];
    char          tenders_where_clause[600];
    char          s_h_meet_where_clause[600];
    char          last_run_time[18];
    char          supp_info_buffer[321];
    int          call_flag;
    int          tenders_flag;
    int          rights_flag;
    int          s_h_meet_flag;
    int          rght_foot_pos;
    double          hold_double;
    int          hold_int;
    char          hold_char[100];
    int i=0;
    FILE      *fp;
    FILE     pfp;          / this is used for a report file to correspond to
    the partial tape file */
    int main(int argc, char argv[]) / Modified by TCS */
         char          ddr_tape_name[100];
         char          ddr_partial_rpt[100];
         char          copyright_notice[100];
         long           file_position;
         char           *logname;
         /* READ IN PARAMETERS AND SET UP VARIABLES */
         memset (oracle_uid.arr, 0, sizeof(oracle_uid.arr));
    memset (oracle_pwd.arr, 0, sizeof(oracle_pwd.arr));
    strcpy (oracle_uid.arr, argv[1]);
    oracle_uid.len = strlen(oracle_uid.arr);
    strcpy (oracle_pwd.arr, argv[2]);
    oracle_pwd.len = strlen(oracle_pwd.arr);
    printf("Calling getSqlLogonString");
    logname = getSqlLogonString();
         which_tape = atoi(argv[1]);
         memset (last_run_time, 0, sizeof(last_run_time));
         if ( ( DEBUGGING ) && ( DEBUG_LEVEL > 1 ) )
         printf ("Oracle username: %s\n", oracle_uid.arr);
         printf ("Oracle password: %s\n", oracle_pwd.arr);
         printf ("Oracle username/password@database: %s\n", logname); /** Added by TCS **/
         printf ("Which Tape: %d\n", which_tape);
         hold_double = 0.0;
         hold_int = 0;
         memset (hold_char, ' ', sizeof(hold_char));
         EXEC SQL WHENEVER SQLERROR DO login_error();
    /*      EXEC SQL CONNECT :oracle_uid IDENTIFIED BY :oracle_pwd; */
         EXEC SQL CONNECT :logname ;
         printf ("Connected to ORACLE... \n");
         EXEC SQL WHENEVER SQLERROR continue;
         get_pub_dates();
         memset (ddr_tape_name, 0, sizeof(ddr_tape_name));
         memset (ddr_partial_rpt, 0, sizeof(ddr_partial_rpt));
         memset (cusip_table_name, 0, sizeof(cusip_table_name));
         memset (payment_where_clause, 0, sizeof(payment_where_clause));
         memset (rights_where_clause, 0, sizeof(rights_where_clause));
         memset (tenders_where_clause, 0, sizeof(tenders_where_clause));
         memset (s_h_meet_where_clause, 0, sizeof(s_h_meet_where_clause));
         /* SET UP VARIABLES BASED ON THE DIFFERENT FREQUENCY OF TAPE */
         switch (which_tape)
              case 0:
                   get_partial_run_time();
                   /*sprintf (ddr_tape_name,
                        "idb_tape$out:ddr_partial%1d.asc", p_count); ** Comented by TCS **/
                   sprintf (ddr_tape_name,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_PARTIAL_TAPE_TABLE");
                   /*sprintf (ddr_partial_rpt,
                        "idb_tape$out:ddr_partial%1d.rpt", p_count); ** Commented by TCS **/
                   sprintf (ddr_partial_rpt,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_RPT")); /* Added by TCS */
                   get_calendar_dates();
                   freq_type_code = '0';
                   sprintf (payment_where_clause,
    "AND PYMT_PUB_DATE IS NULL \
    AND ((PYMT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND PYMT_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (PYMT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND PYMT_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   sprintf (rights_where_clause,
    "AND RGHT_PUB_DATE IS NULL \
    AND ((RGHT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND RGHT_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (RGHT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND RGHT_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   sprintf (tenders_where_clause,
    "AND TNDR_PUB_DATE IS NULL \
    AND ((TNDR_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND TNDR_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (TNDR_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND TNDR_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   sprintf (s_h_meet_where_clause,
    "AND SMTG_PUB_DATE IS NULL \
    AND ((SMTG_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND SMTG_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (SMTG_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND SMTG_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   break;
              case 3:
    /*     PARTIAL 5     */
                   get_partial_run_time();
                   p_count = 5;
                   /**sprintf (ddr_tape_name,
                        "idb_tape$out:ddr_partial%1d.asc", p_count); ** Comented by TCS **/
                   sprintf (ddr_tape_name,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_ASC")); /* Added by TCS */
    /* for testing only I am using seperate TABLE     */
                   /**strcpy (cusip_table_name,
                        "IDB.DDR_PARTIAL5_TAPE_TABLE"); ** Commented by TCS **/
                   strcpy (cusip_table_name,
                        "IDB.DDR_PARTIAL_TAPE_TABLE");
                   /*sprintf (ddr_partial_rpt,
                        "idb_tape$out:ddr_partial%1d.rpt", p_count); ** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_RPT")); /* Added by TCS */
                   get_calendar_dates();
                   freq_type_code = '3';
                   sprintf (payment_where_clause,
    "AND ( (PYMT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (PYMT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   sprintf (rights_where_clause,
    "AND ((RGHT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (RGHT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   sprintf (tenders_where_clause,
    "AND ((TNDR_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (TNDR_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   sprintf (s_h_meet_where_clause,
    "AND ((SMTG_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (SMTG_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   break;
              case 1:
                   /**strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_daily_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s",getOutFileName("DDR_DAILY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_DAILY_TAPE_TABLE");
                   get_calendar_dates();
                   freq_type_code = '1';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)", pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)", pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (TNDR_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR TNDR_PUB_DATE IS NULL)", pub_to_date.arr);
                   sprintf (s_h_meet_where_clause, "AND (SMTG_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR SMTG_PUB_DATE IS NULL)", pub_to_date.arr);
                   break;
              case 5:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_weekly_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name, "%s",getOutFileName("DDR_WEEKLY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_WEEKLY_TAPE_TABLE");
                   get_calendar_dates();
                   freq_type_code = '2';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (TNDR_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR TNDR_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   /* ram - 6/28/95 - reverted back to original criteria: */
                   /* include on weekly tape based on pub-date, regardless of */
                   /* whether in calendar or not */
                   sprintf (s_h_meet_where_clause, "AND (SMTG_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR SMTG_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   break;
              case 12:
                   /* ram - 7/13/95          */
                   /* changed monthly "6" to "12" */
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_monthly_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name, "%s", getOutFileName("DDR_MONTHLY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_MONTHLY_TAPE_TABLE");
                   freq_type_code = '3';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (TNDR_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR TNDR_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   break;
              case 8:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_quarterly_tape.asc");** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s",getOutFileName("DDR_QUARTERLY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_QUARTERLY_TAPE_TABLE");
                   freq_type_code = '3';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (A.TNDR_TENDER_DATE \
    = TO_DATE('%s','DD-MON-RR'))", pub_to_date.arr);               break;
              case 9:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_annual_tape.asc"); ** Comented by TCS **/
                   sprintf (ddr_tape_name,"%s", getOutFileName("DDR_ANNUAL_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_ANNUAL_TAPE_TABLE");
                   freq_type_code = '4';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') \
    OR PYMT_PUB_DATE = TO_DATE('29-OCT-1929','DD-MON-YYYY'))",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (A.TNDR_TENDER_DATE \
    = TO_DATE('%s','DD-MON-RR'))", pub_to_date.arr);               break;
              case 15:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_general_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s", getOutFileName("DDR_GENERAL_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_GENERAL_TAPE_TABLE");
                   freq_type_code = '3';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (A.TNDR_TENDER_DATE \
    = TO_DATE('%s','DD-MON-RR'))", pub_to_date.arr);               break;
              default:
                   exit (printf ("Invalid tape option: %d\n", which_tape)); /*** %s changed by TCS to %d ***/
                   break;
         if ((fp = fopen(ddr_tape_name, "w+")) == NULL)
              exit (printf ("Unable to open asc <%s> file for write access\n",
                   ddr_tape_name));
    /*     GR. Partial 5
         if (which_tape == 0 || which_tape == 3 )
              if ((pfp = fopen(ddr_partial_rpt, "w+")) == NULL)
                   exit (printf ("Unable to open asc <%s> file \
    for write access\n", ddr_partial_rpt));
         /* WRITE THE HEADER RECORD ON THE TAPE */
         memset (copyright_notice, 0, sizeof(copyright_notice));
         sprintf (copyright_notice, "COPYRIGHT (c) %.4s STANDARD & POOR'S \
    CORPORATION. ALL RIGHTS RESERVED", year.arr);
         fprintf (fp, "%-80.80sDIVIDEND%8d%17.17s ",
    copyright_notice, control_date, run_date_start.arr);
         file_position = ftell(fp);
         fprintf (fp, "\n");
         total_records = 0;
         /* GET THE SPECIAL CATEGORY RECORDS */
         get_special_codes();
         /* SELECT FROM THE DRIVER TABLE TO GET ALL THE OTHER RECORDS */
         get_master_cusip_no();
         printf("After get_master_cusip_no()");
         get_run_date_finish();
         printf("After get_run_date_finish()");
         if ( DEBUGGING )
              printf ("initial cusip = %s\n", init_cusip_number);
              printf ("final cusip = %s\n", final_cusip_number);
              printf ("record type is %c\n", rec_type_code);
         /* WRITE THE TRAILER RECORD */
         fprintf (fp, "%8d%-17.17s%07d%-9.9s1%-9.9s%c\n", control_date,
    run_date_finish.arr, total_records, init_cusip_number , final_cusip_number,
    rec_type_code);
         /* re-wind and add to the header record ... */
         rewind(fp);
         fseek(fp, file_position - 33, 0);
         fprintf (fp, "%07d%-9.9s1%-9.9s%c", total_records, init_cusip_number,
    final_cusip_number, rec_type_code);
         fclose(fp);
    /*     GR Partial 5
         if (which_tape == 0 || which_tape == 3 )
              fclose(pfp);
         printf ("\nDONE: %07d%-9.9s1%-9.9s%c\n", total_records, init_cusip_number,
    final_cusip_number, rec_type_code);
    return (0); /*** Added by TCS ***/
    void prepare_declare_oracle_cursors() /* Modified by TCS */
         /* We'll us dynamic sql to get the appropriate where clause but use */
         /* a bind variable for the master cusip number. So we prepare and */
         /* declare get_issues, get_payments, get_tenders, get rights, and */
         /* get_s_h_meetings cursors only once, outside the driving loop. */
         EXEC SQL BEGIN DECLARE SECTION;
              /**** TCS Comment begins as per the change request ****
              VARCHAR          sql_stmt1[1500];*/     /* issues */
              /*VARCHAR          sql_stmt2[3000];     *//* payments */
              /*VARCHAR          sql_stmt3[500];          *//* tenders */
              /*VARCHAR          sql_stmt4[500];          *//* rights */
              /*VARCHAR          sql_stmt5[500];          *//* s_h_meetings */
              /**** TCS Add begins as per the change request ****/
              VARCHAR          sql_stmt1[2000];     /* issues */
              VARCHAR          sql_stmt2[4000];     /* payments */
              VARCHAR          sql_stmt3[1000];     /* tenders */
              VARCHAR          sql_stmt4[1000];     /* rights */
              VARCHAR          sql_stmt5[1000];     /* s_h_meetings */
              /**** TCS Add ends ****/
         EXEC SQL END DECLARE SECTION;
         /* prepare and declare the get_issues cursor */
         memset (sql_stmt1.arr, 0, sizeof(sql_stmt1.arr));
         sprintf (sql_stmt1.arr, "SELECT \
    A.ISSU_PAR_VALUE, \
    DECODE (A.ISSU_MARKET_SYMBOL||A.ISSU_NASDAQ,'OTCY','NASD', A.ISSU_MARKET_SYMBOL), \
    A.ISSU_C_RATE, A.ISSU_C_FREQ, A.ISSU_C_NEW_AMOUNT, A.ISSU_C_NEW_Q1, \
    A.ISSU_C_NEW_Q2, A.ISSU_C_NEW_Q3, A.ISSU_C_OLD_AMOUNT, A.ISSU_C_OLD_Q1, \
    A.ISSU_C_OLD_Q2, A.ISSU_C_OLD_Q3, A.ISSU_CURRENCY, \
    A.ISSU_UPD_HIS, A.ISSU_COMMENT, A.TAX_EXEMPT_FLAG,\
    B.SEC_TYPE_CODE, B.ACQ_BY_IND, B.ACQ_ISSUER_NO, \
    rtrim(substr(B.ACQ_ISSUER_DESCR,1,30)), \
    B.INDEX_CODE, B.TRFR_AGT_CODE, B.NY_AGT_CODE, B.TICKER_SYMBOL, \
    B.TICKER_SYMBOL2, \
    rtrim(substr(C.ISSR_DDR_ISSUER_DESCR,1,60)), \
    rtrim(substr(E.ISSUE_DESCR,1,30)), \
    rtrim(substr(D.ISSUER_DESCR1,1,30)), \
    F.TRFR_DAYS \
    FROM IDB.DDR_ISSUES A, IDB.DDR_ISSUES_2 B, IDB.DDR_ISSUERS C, \
    BLIS.CUSIP_ISSUERS D, BLIS.CUSIP_ISSUES E, IDB.DDR_TRANSFER F \
    WHERE A.ISSU_CUSIP_NO = :master_cusip_no \
    AND A.ISSU_CUSIP_NO = B.ISSU_CUSIP_NO(+) \
    AND SUBSTR(A.ISSU_CUSIP_NO, 1, 6) = C.ISSR_ISSUER_NO(+) \
    AND SUBSTR(A.ISSU_CUSIP_NO, 1, 6) = D.ISSUER_NO \
    AND A.ISSU_CUSIP_NO = E.CUSIP_NO \
    AND A.ISSU_TRANSFER_CODE = F.TRFR_TR_CD(+) ");
         sql_stmt1.len = strlen(sql_stmt1.arr);
         EXEC SQL PREPARE ISSUES FROM :sql_stmt1;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing ISSUES");
         EXEC SQL DECLARE ISSUES_C CURSOR FOR ISSUES;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring ISSUES");
         /* now the get_payments cursor */
         memset (sql_stmt2.arr, 0, sizeof(sql_stmt2.arr));
         sprintf (sql_stmt2.arr, "SELECT \
    a.PYMT_RP_DIV, \
    a.PYMT_RP_DEC, \
    a.PYMT_RP_EXD, \
    a.PYMT_RP_REC, \
    a.PYMT_RP_PAY, \
    a.PYMT_RP_DUE, \
    a.PYMT_RP_TAX, \
    a.PYMT_RP_ANN, \
    a.PYMT_PRP_DIV, \
    a.PYMT_PRP_DEC, \
    a.PYMT_PRP_EXD, \
    a.PYMT_PRP_REC, \
    a.PYMT_PRP_PAY, \
    a.PYMT_PRP_DUE, \
    a.PYMT_PRP_TAX, \
    a.PYMT_PRP_ANN, \
    NVL(a.PYMT_SEQ_NO,0), \
    TO_CHAR(a.PYMT_DECLARED, 'YYMMDD'), \
    TO_CHAR(a.PYMT_EX_DATE, 'YYMMDD'), \
    TO_CHAR(a.PYMT_STK_REC, 'YYMMDD'), \
    TO_CHAR(a.PYMT_TRANSFER_DATE, 'YYMMDD'), \
    TO_CHAR(a.PYMT_PAYABLE, 'YYMMDD'), \
    a.PYMT_CODES, \
    NVL(a.PYMT_CASH_DIVD,0.0), \
    NVL(b.ORDINARY_INCOME,0.0), \
    NVL(b.CAP_GAINS,0.0), \
    NVL(b.SHORT_TM_CAP_GAINS,0.0), \
    NVL(b.LONG_TM_CAP_GAINS,0.0), \
    NVL(b.RETURN_OF_CAPITAL,0.0), \
    b.STK_DIVD_IND, \
    NVL(a.PYMT_STK_DIVD,0), \
    b.FRAC_IN_CASH_STK_IND, \
    NVL(b.FRAC_IN_CASH_PRICE,0.0), \
    NVL(a.PYMT_SPLIT_NEW,0), \
    NVL(a.PYMT_SPLIT_OLD,0), \
    TO_CHAR(a.PYMT_DB_DATE, 'YYMMDD'), \
    NVL(b.ARREARS_PAID,0.0), \
    NVL(b.ARREARS_DUE,0.0), \
    b.SPINOFF_IND, \
    b.SPINOFF_ISSUE_NO, \
    b.SPINOFF_ISSUER_DESCR, \
    b.SPINOFF_ISSUE_DESCR, \
    NVL(b.TAX_CODE,0), \
    NVL(b.TAX_CODE_2,0), \
    NVL(b.OLD_SEQ_NO,0), \
    b.ORDINARY_INCOME_CODE, \
    b.CAP_GAINS_CODE, \
    b.SHORT_TM_CAP_GAINS_CODE, \
    b.LONG_TM_CAP_GAINS_CODE, \
    b.RETURN_OF_CAPITAL_CODE, \
    TO_CHAR(b.CALL_DATE, 'YYMMDD'), \
    NVL(b.CALL_PRICE,0.0), \
    b.CALL_PRICE_CURRENCY, \
    b.CALL_AGT_NO, \
    b.ACCRUED_DIVD_IND, \
    TO_CHAR(a.PYMT_DB_DATE, 'YYMMDD'), \
    a.PYMT_DB_TEXT, \
    a.PYMT_DVD_TEXT, \
    a.PYMT_YEAR, \
    TO_CHAR(a.PYMT_STK_REC, 'fmMon dd'), \
    TO_CHAR(a.PYMT_DB_DATE, 'fmMon dd'), \
    b.NY_CALL_AGT_NO, \
    NVL(b.FOREIGN_TAX_RATE, 0.0), \
    NVL(b.NET_RATE, 0.0), \
    NVL(b.FEE, 0.0), \
    NVL(b.COMMISSION, 0.0), \
    a.PYMT_CASH_DIVD_FNS, \
    a.PYMT_STK_DIVD_FNS, \
    a.PYMT_DECLARED_FNS, \
    a.PYMT_EX_DATE_FNS, \
    a.PYMT_STK_REC_FNS, \
    a.PYMT_PAYABLE_FNS, \
    a.PYMT_SPLIT_FNS, \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_PUB_DATE, 'YYYYMMDD')), 0), \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_TRANSFER_DATE, 'YYYYMMDD')), 0), \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_STK_REC, 'YYYYMMDD')), 0), \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_DB_DATE, 'YYYYMMDD')), 0) \
    FROM IDB.DDR_PAYMENTS A, IDB.DDR_PAYMENTS_2 B \
    WHERE A.PYMT_CUSIP_NO = :master_cusip_no \
    AND A.PYMT_CUSIP_NO = B.PYMT_CUSIP_NO (+) \
    AND A.PYMT_SEQ_NO = B.PYMT_SEQ_NO (+) \
    AND NVL(INSTR(A.PYMT_CODES,'CO'),0) NOT IN (1,3,5,7,9,11) ");
         strcat (sql_stmt2.arr, payment_where_clause);
         sql_stmt2.len = strlen(sql_stmt2.arr);
         EXEC SQL PREPARE PAYMENTS FROM :sql_stmt2;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing PAYMENTS");
         EXEC SQL DECLARE PAYMENTS_C CURSOR FOR PAYMENTS;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring PAYMENTS");
         /* now the get_tenders cursor */
         memset (sql_stmt3.arr, 0, sizeof(sql_stmt3.arr));
    /* FXL ADD SUBSTR to tndr_price_qual: substr(A.TNDR_PRICE_QUAL,1,14), 3/23/99,
    to to_number 3/29/99 */
         sprintf (sql_stmt3.arr, "SELECT \
    B.TNDR_AGT_NO, \
    B.NY_AGT_NO, \
    TO_CHAR(A.TNDR_TENDER_DATE, 'YYMMDD'), \
    A.TNDR_PRICE, \
    to_number(A.TNDR_PRICE_QUAL), \
    A.TNDR_TE_SIZE, \
    TNDR_TE_TEXT_1 \
    FROM IDB.DDR_TENDERS A, IDB.DDR_TENDERS_2 B \
    WHERE TNDR_CUSIP_NO = :master_cusip_no \
    AND TNDR_CUSIP_NO = TNDR_ISSUE_NO(+) \
    AND A.TNDR_TENDER_DATE = B.TNDR_TENDER_DATE(+) ");
         strcat (sql_stmt3.arr, tenders_where_clause);
         sql_stmt3.len = strlen(sql_stmt3.arr);
         EXEC SQL PREPARE TENDERS FROM :sql_stmt3;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing TENDERS");
         EXEC SQL DECLARE TENDERS_C CURSOR FOR TENDERS;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring TENDERS");
         /* now the get_rights cursor */
         memset (sql_stmt4.arr, 0, sizeof(sql_stmt4.arr));
    /* ADD TO_CHAR(A.RGHT_DB_DATE, 'YYMMDD') */
         sprintf (sql_stmt4.arr, "SELECT \
    B.NO_RIGHTS_ISSUED, \
    B.SHS_REQ_FOR_PURCH, \
    B.RGHTS_REQUIRED, \
    B.QTY_SHS_PURCHASED, \
    B.TYPE_SHS_ELIGIBLE, \
    B.NEW_SHS_CUSIP_NO, \
    B.NEW_CO_ISSUER_DESCR, \
    TO_CHAR(A.RGHT_RECORD, 'YYMMDD'), \
    TO_CHAR(A.RGHT_EX_DATE, 'YYMMDD'), \
    TO_CHAR(B.NYC_RECORD_DATE, 'YYMMDD'), \
    TO_CHAR(A.RGHT_EXPIRE, 'YYMMDD'), \
    TO_CHAR(A.RGHT_DB_DATE, 'YYMMDD'), \
    A.RGHT_PRICE, \
    NVL(A.RGHT_RECORD_FNS,' '), \
    NVL(A.RGHT_EXPIRE_FNS,' '), \
    NVL(A.RGHT_EX_DATE_FNS,' '), \
    NVL(A.RGHT_PRICE_FNS,' '), \
    NVL(A.RGHT_BASIS_FNS,' '), \
    A.RGHT_FOOTNOTE, \
    B.US_INELIGIBILITY_IND, \
    B.RGHT_TRFR_IND \
    FROM IDB.DDR_RIGHTS A, IDB.DDR_RIGHTS_2 B \
    WHERE RGHT_CUSIP_NO = :master_cusip_no \
    AND RGHT_CUSIP_NO = RGHT_ISSUE_NO(+) \
    AND A.RGHT_RECORD = B.RGHT_RECORD_DATE(+) ");
         strcat (sql_stmt4.arr, rights_where_clause);
         sql_stmt4.len = strlen(sql_stmt4.arr);
         EXEC SQL PREPARE RIGHTS FROM :sql_stmt4;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing RIGHTS");
         EXEC SQL DECLARE RIGHTS_C CURSOR FOR RIGHTS;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring RIGHTS");
         /* ram - added logic on 7/18/95 */
         /* for the standard footnotes cursor */
         EXEC SQL DECLARE STANDARD_FOOTNOTES_C CURSOR
         FOR
         SELECT SFTN_S_F_TEXT, SFTN_S_F_TYPE
         FROM IDB.DDR_STANDARD_FOOTNOTES
         WHERE SFTN_S_F_TYPE = :standard_footnote_type;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring STANDARD_FOOTNOTES");
         /* now the issue footnotes cursor */
         EXEC SQL DECLARE ISSUE_FOOTNOTES_C CURSOR
         FOR
         SELECT FTNT_F_TEXT, FTNT_F_TYPE
         FROM IDB.DDR_FOOTNOTES
         WHERE FTNT_CUSIP_NO = :master_cusip_no
         AND FTNT_SYMBOL = :footnote_symbol
         AND FTNT_YEAR IS NULL;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring ISSUE_FOOTNOTES");
         /* now the payment footnotes cursor */
         EXEC SQL DECLARE PAYMENT_FOOTNOTES_C CURSOR
         FOR
         SELECT FTNT_F_TEXT, FTNT_F_TYPE
         FROM IDB.DDR_FOOTNOTES
         WHERE FTNT_CUSIP_NO = :master_cusip_no
         AND FTNT_SYMBOL = :footnote_symbol
         AND FTNT_YEAR = :footnote_year;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring PAYMENT_FOOTNOTES");
         /* now the get_s_h_meetings cursor */
         /* ONLY for certain tape types. */
    /*     GR PARTial 5
         if (which_tape == 0 || which_tape == 3 || which_tape == 1 || which_tape == 5)
              memset (sql_stmt5.arr, 0, sizeof(sql_stmt5.arr));
              /* ram - 6/15/95 - changed ORigunal to smtg */
              /* TO_CHAR(ORIGINAL_REC_DATE, 'YYMMDD'), \ */
              sprintf (sql_stmt5.arr, "SELECT \
    TO_CHAR(SMTG_MTG_DATE, 'YYMMDD'), \
    TO_CHAR(SMTG_REC_DATE, 'YYMMDD'), \
    SMTG_FOOTNOTE \
    FROM IDB.DDR_S_H_MEETINGS \
    WHERE SMTG_CUSIP_NO = :master_cusip_no ");
              strcat (sql_stmt5.arr, s_h_meet_where_clause);
              sql_stmt5.len = strlen(sql_stmt5.arr);
              EXEC SQL PREPARE S_H_MEET FROM :sql_stmt5;
              if (sqlca.sqlcode)
                   sql_error (SYSERR, sqlca.sqlcode,
                        "Error in preparing S_H_MEET");
              EXEC SQL DECLARE S_H_MEET_C CURSOR FOR S_H_MEET;
              if (sqlca.sqlcode)
                   sql_error (SYSERR, sqlca.sqlcode,
                        "Error in declaring S_H_MEET");
         } /* end of if (which_tape == 0 || which_tape == 1 || which_tape == 5) */
    /* replaced get_calendar_dates function with use of PLSQL - ram - 5/24/95 */
    void get_calendar_dates() /* Modified by TCS */
         /* put first and last calendar dates into global ints */
         /* first_cal_date and last_cal_date (YYYYMMDD) using */
         /* ddr package function get_business_days. */
         /* The package object ddr is owned by idb, so I'll */
         /* specify this, just in case accounts other than idb */
         /* run this code. (EXECUTE priviledge is granted to */
         /* "idb_user" role.) */
    EXEC SQL BEGIN DECLARE SECTION;
              int          cal_start;
              int          cal_end;
              int          return_val;
    EXEC SQL END DECLARE SECTION;
         /* initialize destination globals */

    You actually need to run it with "check -access"; memuse and leaks won't help with the crash, which happens because of illegal memory access. Hopefully, "check -access" will help you to locate the bad guy, but that's not panacea either.
    To be precise:
    - start dbx
    $ dbx <your app>
    - issue
    (dbx) check -access
    (dbx) run
    and wait for dbx to stop and report suspicious memory access.

  • HT1338 Macbook pro mac os 10.6.8 software update segment fault

    I recently tried to update a few software on my macbook pro, but apparently software update crashed while it ran in the process.
    So I cannot update any softwares since it won't work at all. I even tried to run softwareupdate on command line and it gave me
    "segement fault". Any idea how to fix this problem?
    In the Software logs:
    Apr 11 11:38:00 Realfrees-MacBook-Pro com.apple.WindowServer[263]: Wed Apr 11 11:38:00 Realfrees-MacBook-Pro.local WindowServer[263] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Apr 11 11:38:00 Realfrees-MacBook-Pro WindowServer[263]: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    Apr 11 11:38:01 Realfrees-MacBook-Pro Software Update[272]: Looking for products to install
    Apr 11 11:38:11 Realfrees-MacBook-Pro com.apple.launchd[1] ([0x0-0x21021].com.apple.SoftwareUpdate[272]): Job appears to have crashed: Segmentation fault
    Apr 11 11:38:11 Realfrees-MacBook-Pro loginwindow[262]: DEAD_PROCESS: 262 console
    Apr 11 11:38:11 Realfrees-MacBook-Pro UserEventAgent[267]: CGSShutdownServerConnections: Detaching application from window server
    Apr 11 11:38:11 Realfrees-MacBook-Pro com.apple.UserEventAgent-LoginWindow[267]: Wed Apr 11 11:38:11 Realfrees-MacBook-Pro.local UserEventAgent[267] <Warning>: CGSShutdownServerConnections: Detaching application from window server
    Apr 11 11:38:11 Realfrees-MacBook-Pro UserEventAgent[267]: CGSDisplayServerShutdown: Detaching display subsystem from window server
    Apr 11 11:38:11 Realfrees-MacBook-Pro UserEventAgent[267]: XRHotKeyAgent:638 kCGErrorInvalidConnection
    Apr 11 11:38:11 Realfrees-MacBook-Pro com.apple.UserEventAgent-LoginWindow[267]: Wed Apr 11 11:38:11 Realfrees-MacBook-Pro.local UserEventAgent[267] <Warning>: CGSDisplayServerShutdown: Detaching display subsystem from window server
    Apr 11 11:38:12 Realfrees-MacBook-Pro /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[279]: Login Window Application Started
    Apr 11 11:38:13 Realfrees-MacBook-Pro com.apple.ReportCrash.Root[276]: 2012-04-11 11:38:13.055 ReportCrash[276:2903] Saved crash report for Software Update[272] version ??? (???) to /Library/Logs/DiagnosticReports/Software Update_2012-04-11-113813_localhost.crash
    And crash reports:
    Date/Time:       2012-04-11 11:32:56.409 +0900
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x00000000bbadbeef
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
    0   com.apple.JavaScriptCore        0x00007fff874dd7f9 JSC::Heap::makeUsableFromMultipleThreads() + 57
    1   com.apple.JavaScriptCore        0x00007fff874dd2e4 JSGlobalContextCreateInGroup + 132
    2   com.apple.installframework      0x00007fff810d2c93 IFJS_GlobalContextCreate + 32
    3   com.apple.installframework      0x00007fff810cd986 -[PKDistributionController initWithDistribution:interfaceType:] + 310
    4   ...le.SoftwareUpdate.framework  0x00007fff81124416 -[SUProduct distributionController] + 115
    5   ...le.SoftwareUpdate.framework  0x00007fff8112bde9 -[SULocalProduct initWithProductKey:productPath:error:] + 401
    6   ...le.SoftwareUpdate.framework  0x00007fff8112c85a -[SUProductManager localProductForProductKey:] + 96
    7   ...le.SoftwareUpdate.framework  0x00007fff8112d90a -[SUProductManager allLocalProducts] + 258
    8   ...le.SoftwareUpdate.framework  0x00007fff8112d559 -[SUProductManager(InstallAtLogout) _productForProductKey:] + 64
    9   ...le.SoftwareUpdate.framework  0x00007fff8112d4ac -[SUProductManager(InstallAtLogout) productsToInstallAtLogout] + 236
    10  com.apple.SoftwareUpdate        0x000000010000eeeb 0x100000000 + 61163
    11  com.apple.Foundation            0x00007fff82380bc5 _nsnote_callback + 167
    12  com.apple.CoreFoundation        0x00007fff83ec7000 __CFXNotificationPost + 1008
    13  com.apple.CoreFoundation        0x00007fff83eb3578 _CFXNotificationPostNotification + 200
    14  com.apple.Foundation            0x00007fff82377b26 -[NSNotificationCenter postNotificationName:object:userInfo:] + 101
    15  com.apple.AppKit                0x00007fff8784144a -[NSApplication _postDidFinishNotification] + 100
    16  com.apple.AppKit                0x00007fff8784137f -[NSApplication _sendFinishLaunchingNotification] + 66
    17  com.apple.AppKit                0x00007fff8790c35d -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 219
    18  com.apple.AppKit                0x00007fff8790bfd9 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 77
    19  com.apple.Foundation            0x00007fff823af1c6 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 360
    20  com.apple.Foundation            0x00007fff823aeff6 _NSAppleEventManagerGenericHandler + 114
    21  com.apple.AE                    0x00007fff844f732b aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 162
    22  com.apple.AE                    0x00007fff844f7224 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 32
    23  com.apple.AE                    0x00007fff844f712b aeProcessAppleEvent + 210
    24  com.apple.HIToolbox             0x00007fff8707e619 AEProcessAppleEvent + 48
    25  com.apple.AppKit                0x00007fff87811095 _DPSNextEvent + 1191
    26  com.apple.AppKit                0x00007fff87810801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
    27  com.apple.AppKit                0x00007fff877d668f -[NSApplication run] + 395
    28  com.apple.AppKit                0x00007fff877cf3b0 NSApplicationMain + 364
    29  com.apple.SoftwareUpdate        0x0000000100001cc8 0x100000000 + 7368

    Greetings,
    Download the combo update (don't install it yet): http://support.apple.com/kb/DL1400
    SafeBoot your computer: http://support.apple.com/kb/HT1455
    While in SafeBoot install the combo update
    Restart the computer to come out of SafeBoot
    Try running software update again and see if it works.
    Hope that helps.

  • 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

  • SQL Server Driver for Linux causes Segmentation Fault

    Hello,
    I'm using the SQL Server Driver 11.0.1790 on Linux with mod_perl and Apache. While running fine with all my CLI Perl apps I occasionally get Segmentation Faults when using it from within mod_perl applications. Sometimes every other connect to the database
    segfaults. I've created a core dump and did a stack backtrace:
    Loaded symbols for /usr/lib/../lib64/libxml2.so.2
    Core was generated by `/usr/sbin/httpd2 -X'.
    Program terminated with signal 11, Segmentation fault.
    #0 0x0000000000000000 in ?? ()
    (gdb) bt
    #0 0x0000000000000000 in ?? ()
    #1 0x00007f8a8aeda803 in __connect_part_two (connection=0x7f8a99c885e0) at SQLConnect.c:1891
    #2 0x00007f8a8aedffd6 in SQLDriverConnect (hdbc=0x7f8a99c885e0, hwnd=0x0, conn_str_in=0x7fff1e7369ee "",
    len_conn_str_in=<value optimized="" out="">,
    conn_str_out=0x7fff1e736a80 "DSN=XXXXX;UID=XXX;PWD=XXXXXXXX;WSID=XXXXXXXX;DATABASE=XXXXX;MARS_Connection=Yes;",
    conn_str_out_max=512, ptr_conn_str_out=0x7fff1e736a7e, driver_completion=0) at SQLDriverConnect.c:1530
    #3 0x00007f8a8b1458ee in odbc_db_login6 (dbh=0x7f8a99938ca0, imp_dbh=0x7f8a99c8acd0,
    dbname=0x7fff1e736c80 "DSN=XXXXX;MARS_Connection=Yes;UID=XXX;PWD=XXXXXXXX", uid=0x7f8a9996e8b0 "XXX",
    pwd=0x7f8a9996e8d0 "XXXXXXXX", attr=0x7f8a99938c40) at dbdimp.c:942
    #4 0x00007f8a8b141822 in XS_DBD__ODBC__db__login (my_perl=<value optimized="" out="">, cv=<value optimized="" out="">) at ./ODBC.xsi:98
    #5 0x00007f8a9125b091 in Perl_pp_entersub (my_perl=0x7f8a96274f50) at pp_hot.c:3046
    #6 0x00007f8a912595f6 in Perl_runops_standard (my_perl=0x7f8a96274f50) at run.c:41
    #7 0x00007f8a911eb755 in Perl_call_sv (my_perl=0x7f8a96274f50, sv=0x7f8a99938bc8, flags=2) at perl.c:2632
    #8 0x00007f8a8b791d02 in XS_DBI_dispatch (my_perl=0x7f8a96274f50, cv=0x7f8a98cbbe60) at DBI.xs:3473
    #9 0x00007f8a9125b091 in Perl_pp_entersub (my_perl=0x7f8a96274f50) at pp_hot.c:3046
    #10 0x00007f8a912595f6 in Perl_runops_standard (my_perl=0x7f8a96274f50) at run.c:41
    #11 0x00007f8a911ebab0 in Perl_call_sv (my_perl=0x7f8a96274f50, sv=0x7f8a97db4f68, flags=10) at perl.c:2647
    #12 0x00007f8a9154ba31 in modperl_callback (my_perl=0x7f8a96274f50, handler=0x7f8a96230c90, p=0x7f8a96334838, r=0x7f8a963348b0,
    s=0x7f8a962303b0, args=0x7f8a998376a8) at modperl_callback.c:101
    #13 0x00007f8a9154c79c in modperl_callback_run_handlers (idx=6, type=4, r=0x7f8a963348b0, c=<value optimized="" out="">, s=0x7f8a962303b0,
    pconf=<value optimized="" out="">, plog=0x0, ptemp=0x0, run_mode=MP_HOOK_RUN_FIRST) at modperl_callback.c:262
    #14 0x00007f8a9154cb6f in modperl_callback_per_dir (idx=-1714610816, r=<value optimized="" out="">, run_mode=<value optimized="" out="">)
    at modperl_callback.c:369
    #15 0x00007f8a91546b93 in modperl_response_handler_run (r=0x7f8a963348b0) at mod_perl.c:1000
    #16 modperl_response_handler (r=0x7f8a963348b0) at mod_perl.c:1039
    #17 0x00007f8a95f01e08 in ap_run_handler ()
    #18 0x00007f8a95f0226c in ap_invoke_handler ()
    #19 0x00007f8a95f0ff00 in ap_process_request ()
    #20 0x00007f8a95f0ce98 in ?? ()
    #21 0x00007f8a95f08b28 in ap_run_process_connection ()
    #22 0x00007f8a95f14e5a in ?? ()
    #23 0x00007f8a95f15126 in ?? ()
    #24 0x00007f8a95f15903 in ap_mpm_run ()
    #25 0x00007f8a95eec9be in main ()
    </value></value></value></value></value></value></value>
    Calling something at NULL obviously doesn't look right…
    Can onebody help fixing this issue?
    Best regards,
    Stephan

    Hi Stephan,
    This is a bug in the unixODBC Driver Manager 2.3.0.  Essentially, you can only have one HDBC per HENV.  The mod_perl must be creating the connections upon the same HENV.
    The bug appears to be fixed in version 2.3.1 but we have not yet certified that out driver can work with 2.3.1.  See the 2.3.1 release notes at
    http://www.unixodbc.org/ where the last item says:
    "Driver version was not being held when a second connection was made to the driver"
    The Driver Manager would "forget" that we are an ODBC V3 driver and try intereacting with us as an ODBC V2 driver for the second connection (which fails).
    The workaround is to create a new HENV for each connection but I'm not sure if this is possible in mod_perl.

  • Adobe Reader 9.3 for Linux: Segmentation Fault in PPKLite.api

    Adobe Reader 9.3 cannot open signed pdf files on our system (64-bit Fedora 10 Linux, with 32-bit compatibility libraries installed). It crashes with a segmentation fault any time one tries to open the following file:
    http://www.utoronto.ca/ic/software/forms/matlab_concurrent_renewal2010.pdf
    Running with ACRODEBUG=1 and ACRO_CRASHLOG=1 results in a zero-length crash log file and the only debug messages shown are
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/Annots.api ... [dlopen success for Annots.api, handle = 0xc4548f8]
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api ... [dlopen success for AcroForm.api, handle = 0xd0c3a50]
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/DigSig.api ... [dlopen success for DigSig.api, handle = 0xd0dcc68]
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/EScript.api ... [dlopen success for EScript.api, handle = 0xd126ac8]
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/PPKLite.api ... [dlopen success for PPKLite.api, handle = 0xd7b1ff0]
    If I run the gdb debugger on /opt/Adobe/Reader9/Reader/intellinux/bin/acroread, it shows the segmentation fault occurring inside /opt/Adobe/Reader9/Reader/intellinux/plug_ins/PPKLite.api (but since the file is stripped, all it shows is the binary offset of the segfault). I do have a coredump, though.
    If I remove the PPKLite.api file (or rename it to PPKLite.api.hide -- note that chmod -x does not work, nor does renaming it to something else that still ends in .api, unlike some workarounds I've seen on the web for similar problems in earlier versions of Adobe Reader), then Adobe Reader can open the file without crashing, except that without PPKLite it cannot validate its signature and so it displays the message "This document enabled extended features in Adobe Reader. The document has been changed since it was created and use of extended features is no longer available. Please contact the author for the original version of this document" -- which I assume is because the signature validation failed due to the absence of PPKLite so it things the document has been altered even though it hasn't been.
    So this removing or renaming of PPKLite.api works around the problem of the crash, at the expense of getting this misleading warning message.
    However, obviously there is a problem inside PPKLite.api that needs to be fixed....

    I'm seeing what must be the same issue: acroread foo.pdf exits almost instantly without any message, but with status 1.
    This is: AdobeReader_enu-9.3.1-1.i486 on a Fedora 12 box,  AMD Phenom II 945.
    If I set ACRODEBUG=1 and ACRO_CRASHLOG=1 and ulimit -c unlimited, and rename PPKLite.api,  *then* I get a nonzero crashlog. Which is:
    /usr/bin/acroread [0x84ff125] [@0x8048000]
    (__kernel_sigreturn+0x0) [0xf7786400] [@0xf7786000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf44dc99b] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf41e1cf5] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf41e436d] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf41e57a3] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf41f81b2] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf41d4863] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf3c44111] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf3c47268] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf3f7446a] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf3f74e6d] [@0xf3b6d000]
    /usr/bin/acroread [0x892da33] [@0x8048000]
    /usr/bin/acroread [0x873dee9] [@0x8048000]
    /usr/bin/acroread [0x8741530] [@0x8048000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/DigSig.api [0xf361fd53] [@0xf35f5000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/DigSig.api [0xf3628217] [@0xf35f5000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/DigSig.api [0xf36e3f01] [@0xf35f5000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/DigSig.api [0xf36e3f9e] [@0xf35f5000]
    /usr/bin/acroread [0x892f7e7] [@0x8048000]
    /usr/bin/acroread [0x8744a50] [@0x8048000]
    /usr/bin/acroread [0x825bdec] [@0x8048000]
    /usr/bin/acroread [0x826bb11] [@0x8048000]
    /usr/bin/acroread [0x826bd32] [@0x8048000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/Annots.api [0xf4ca1b4a] [@0xf4ba9000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/Annots.api [0xf4ca1bec] [@0xf4ba9000]
    /usr/bin/acroread [0x826c1c4] [@0x8048000]
    /usr/bin/acroread [0x826d0bb] [@0x8048000]
    /usr/bin/acroread [0x850193f] [@0x8048000]
    /usr/bin/acroread [0x85024d2] [@0x8048000]
    /usr/bin/acroread(main+0x87) [0x856686d] [@0x8048000]
    /lib/libc.so.6(__libc_start_main+0xe6) [0x5ddbb6] [@0x5c7000]
    Without renaming the .api, all I got was five 'dlopen success' messages, and "Segmentation fault (core dumped)", but a zero length log.
    Don

  • Error during up2date oracle-validated gives segmentation fault

    Hi all,
    I am trying to run the up2date oracle-validated command for Oracle Enterprise Linux 5 64 bit and it
    fails on memory dump errors.
    [root@tstdb01]# up2date oracle-validated
    Fetching Obsoletes list for channel: el5_x86_64_latest...
    Fetching rpm headers...
    Segmentation fault
    Any ideas how to resolve this?
    Edited by: 783904 on Aug 19, 2010 9:09 AM

    # cat /etc/sysconfig/rhn/up2date
    # Automatically generated Red Hat Update Agent config file, do not edit.
    # Format: 1.0
    enableRollbacks[comment]=Determine if up2date should create rollback rpms
    enableRollbacks=0
    noSSLServerURL[comment]=Remote server URL without SSL
    noSSLServerURL=http://linux-update.oracle.com/XMLRPC
    useNoSSLForPackages[comment] =Use the noSSLServerURL for package, package list, and header fetching
    useNoSSLForPackages=0
    debug[comment]=Whether or not debugging is enabled
    debug=0
    noReplaceConfig[comment]=When selected, no packages that would change configuration data are automatically installed
    noReplaceConfig=1
    retrieveOnly[comment]=Retrieve packages only
    retrieveOnly=0
    keepAfterInstall[comment]=Keep packages on disk after installation
    keepAfterInstall=0
    systemIdPath[comment]=Location of system id
    systemIdPath=/etc/sysconfig/rhn/systemid
    serverURL[comment]=Remote server URL
    serverURL=https://linux-update.oracle.com/XMLRPC
    pkgSkipList[comment]=A list of package names, optionally including wildcards, to skip
    pkgSkipList=kernel*;
    pkgsToInstallNotUpdate[comment]=A list of provides names or package names of packages to install not update
    pkgsToInstallNotUpdate=kernel;kernel-modules;kernel-devel;
    adminAddress[comment]=List of e-mail addresses for update agent to communicate with when run in batch mode
    adminAddress=root@localhost;
    storageDir[comment]=Where to store packages and other data when they are retrieved
    storageDir=/var/spool/up2date
    fileSkipList[comment]=A list of file names, optionally including wildcards, to skip
    fileSkipList=;
    removeSkipList[comment]=A list of package names, optionally including wildcards that up2date will not remove
    removeSkipList=kernel*;
    enableProxy[comment]=Use a HTTP Proxy
    enableProxy=0
    retrieveSource[comment]=Retrieve source RPM along with binary package
    retrieveSource=0
    versionOverride[comment]=Override the automatically determined system version
    versionOverride=
    httpProxy[comment]=HTTP proxy in host:port format, e.g. squid.redhat.com:3128
    httpProxy=
    useGPG[comment]=Use GPG to verify package integrity
    useGPG=1
    gpgKeyRing[comment]=The location of the gpg keyring to use for package checking
    gpgKeyRing=/etc/sysconfig/rhn/up2date-keyring.gpg
    noBootLoader[comment]=To disable modification of the boot loader (lilo, silo, etc)
    noBootLoader=0
    noReboot[comment]=Disable the reboot actions
    noReboot=0
    networkRetries[comment]=Number of attempts to make at network connections before giving up
    networkRetries=5
    updateUp2date[comment]=Allow up2date to update itself when possible
    updateUp2date=1
    disallowConfChanges[comment]=Config options that can not be overwritten by a config update action
    disallowConfChanges=noReboot;sslCACert;useNoSSLForPackages;noSSLServerURL;serverURL;disallowConfChanges;
    sslCACert[comment]=The CA cert used to verify the ssl server
    sslCACert=/usr/share/rhn/ULN-CA-CERT
    [root@tstdb01 up2date]# *up2date --show-channels*el5_x86_64_latest                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • My IPHONE4S doesn't want to turn off

    I just had my iphone 4s for a week now. and I just realised that I couldn't turn the phone off. Everytime I tried to turn it off, the apple logo starts appearing and the phone is back on again. I don't get what is happening because I've tried restori

  • Language setting issue with Xcelsius 2008 - Web Service NW BI

    French language is set during Xcelsius installation. In Xcelsius, English is always set as the preference language. With Web Service NW BI, I get text data returned in French. English is also defined as  default language in SAP BW BI . I would like t

  • How do I change file format so I keep HD and can play on blu ray player?

    how do I change file format so I keep HD and can play on blu ray player?

  • New computer crashes upon start-up

    Bear with me as I am not all that computer literate.........I have a new, as in barely two week old, laptop Toshiba A500-ST5601 that started crashing on start-up 4 days ago.  I get a blue screen that says "DRIVER.IRQL_NOT_LESS_OR_EQUAL"  I did a sear

  • My dv7 starts up but immediately shuts off.

    I'm not very technologically savy but I think it's something wrong with the startup or battery. lately, but not everysingle time, I go to turn the computer on the lights on the keyboard light up and the fans turn on and the back light comes on, but t