Glibc 2.15-2 segfaults apache

[root@eeepc chalker]# httpd -t
Syntax OK
[root@eeepc chalker]# pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (2): glibc-2.15-2 valgrind-3.7.0-2
Total Installed Size: 81.62 MiB
Net Upgrade Size: 1.76 MiB
Proceed with installation? [Y/n]
(2/2) checking package integrity [############################################] 100%
(2/2) loading package files [############################################] 100%
(2/2) checking for file conflicts [############################################] 100%
(2/2) checking available disk space [############################################] 100%
(1/2) upgrading glibc [############################################] 100%
warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
Generating locales...
en_US.UTF-8... done
en_US.ISO-8859-1... done
ru_RU.UTF-8... done
ru_RU.CP1251... done
Generation complete.
(2/2) upgrading valgrind [############################################] 100%
[root@eeepc chalker]# httpd -t
Segmentation fault
[root@eeepc chalker]# pacman -Ss ^glibc$
testing/glibc 2.15-2 (base) [installed]
GNU C Library
core/glibc 2.14.1-4 (base) [installed: 2.15-2]
GNU C Library
[root@eeepc chalker]# pacman -S core/glibc extra/valgrind
warning: downgrading package glibc (2.15-2 => 2.14.1-4)
warning: downgrading package valgrind (3.7.0-2 => 3.7.0-1)
resolving dependencies...
looking for inter-conflicts...
Targets (2): glibc-2.14.1-4 valgrind-3.7.0-1
Total Installed Size: 79.86 MiB
Net Upgrade Size: -1.76 MiB
Proceed with installation? [Y/n]
(2/2) checking package integrity [############################################] 100%
(2/2) loading package files [############################################] 100%
(2/2) checking for file conflicts [############################################] 100%
(2/2) checking available disk space [############################################] 100%
(1/2) upgrading glibc [############################################] 100%
warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
Generating locales...
en_US.UTF-8... done
en_US.ISO-8859-1... done
ru_RU.UTF-8... done
ru_RU.CP1251... done
Generation complete.
(2/2) upgrading valgrind [############################################] 100%
[root@eeepc chalker]# httpd -t
Syntax OK
[root@eeepc chalker]# pacman -Ss ^glibc$
testing/glibc 2.15-2 (base) [installed: 2.14.1-4]
GNU C Library
core/glibc 2.14.1-4 (base) [installed]
GNU C Library
«httpd -t» is here just for check, apache also segfaults on «/etc/rc.d/httpd start».

There is a thing called a bug tracker where things like this should get posted....    Luckily it is already there.

Similar Messages

  • Arch is the most updated distro :D

    Gz maintainers http://oswatershed.org/

    I don't get the 48%....
    From what I can see, [core] has 350 packages (175 x 2 arches), 32 packages are flagged out of date, [extra] has 3982 packages with 309 flagged.  Note that each package has been counted twice (i686 and x86_64) as it was easier for me that way.
    So unless a lot more need flagged, at this point of time ~10% are outdated.
    Edit: I see...  He looked at these packages:
    alsa-utils, cups, emacs, firefox, gcc, ghostscript-gpl, gimp, glibc, gnome-desktop, gnupg, httpd (apache), kdebase, linux, NetworkManager, openssh, pidgin, postgresql, python, ruby, xorg-server
    So ruby and python will probably be counted as out of date, even though ruby-1.9 is in [testing] and python3 is in [community].

  • Glibc-2.9.2-i686 breaks apache and causes problems with samba?

    I could not start the apache daemon.  The output from /usr/sbin/apachectl start is
    httpd: ../sysdeps/posix/getaddrinfo.c:1465: rfc3484_sort: Assertion `src->results[i].native == -1 || src->results[i].native == a2_native' failed.
    /usr/sbin/apachectl: line 78: 2933 Aborted $HTTPD -k $ARGV
    The getaddrinfo.c, I believe, is in the glibc package.
    Also, I get error logs in my /var/log/samba directory named like  "__ffff" followed by the IP address of a remote client.  In one of them it says that samba is dumping core and contains
    [2008/12/24 18:47:10, 0] lib/util.c:log_stack_trace(1767)
    BACKTRACE: 23 stack frames:
    #0 /usr/sbin/smbd(log_stack_trace+0x2d) [0xb7cda584]
    #1 /usr/sbin/smbd(smb_panic+0x80) [0xb7cda6e1]
    #2 /usr/sbin/smbd [0xb7cc5033]
    #3 [0xb7a31400]
    #4 /lib/libc.so.6(abort+0x188) [0xb733b0c8]
    #5 /lib/libc.so.6(__assert_fail+0xee) [0xb73326ee]
    #6 /lib/libc.so.6 [0xb73c7a01]
    #7 /lib/libc.so.6 [0xb733b888]
    #8 /lib/libc.so.6(qsort_r+0x291) [0xb733bdd1]
    #9 /lib/libc.so.6(getaddrinfo+0x7cf) [0xb73c91ff]
    #10 /usr/sbin/smbd [0xb7cdca56]
    #11 /usr/sbin/smbd(get_mydnsfullname+0x181) [0xb7cdcc5d]
    #12 /usr/sbin/smbd(get_mydnsdomname+0x17) [0xb7cdada1]
    #13 /usr/sbin/smbd [0xb7b7af8c]
    #14 /usr/sbin/smbd(ntlmssp_update+0x297) [0xb7b792d6]
    #15 /usr/sbin/smbd(auth_ntlmssp_update+0x48) [0xb7d27cc1]
    #16 /usr/sbin/smbd [0xb7b04ecf]
    #17 /usr/sbin/smbd(reply_sesssetup_and_X+0x1c4) [0xb7b057cd]
    #18 /usr/sbin/smbd [0xb7b39f16]
    #19 /usr/sbin/smbd(smbd_process+0x429) [0xb7b3ba61]
    #20 /usr/sbin/smbd(main+0xfa2) [0xb7f2bbc7]
    #21 /lib/libc.so.6(__libc_start_main+0xe5) [0xb73256c5]
    #22 /usr/sbin/smbd [0xb7abfa81]
    I downgraded glibc to 2.8-3 and I can now start apache.  No problems with samba yet either although I had to make pacman skip dependency checks because a number of packages depended on glibc >= 2.9.

    getaddrinfo.c - this is place where glibc 2.9 has a major change in IP resolving. see the bugreport we had and still have. search google and upstream (Fedora/RedHat) for reports.
    maybe a simple recompile of the affected packages can help. holding an outdated version is a bad solution. new packages compiled against the new version may use new functions and break with the old one.

  • X segfaults on start - possibly libpthread/glibc related.

    I restarted my laptop this evening and when I ran startx X segfaulted straight away.
    This is a Thinkpad R500 with a Radeon GPU.
    I noticed that the log mentions libpthread. That is owned by glibc and I remember that glibc was upgraded on the 20th Feb. I tried to downgrade to a previous release but the issue persisted. Everything else seems to be running fine. What can I do here?
    I managed to redirect X startup message to a log file and transfer it to my old wintel computer (where I am know). Is there any other output you need for diagnostics?
    X.Org X Server 1.9.4
    Release Date: 2011-02-04
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.37-ARCH x86_64
    Current Operating System: Linux ages 2.6.30-ARCH #1 SMP PREEMPT Mon Aug 17 16:06:45 CEST 2009 x86_64
    Kernel command line: root=/dev/disk/by-uuid/302159b4-f56d-4f44-a121-4cfe4a8462cd resume=/dev/sda2 ro
    Build Date: 04 February 2011 09:38:18PM
    Current version of pixman: 0.20.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 21 23:38:44 2011
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    (EE) Failed to load module "fbdev" (module does not exist, 0)
    (II) [KMS] drm report modesetting isn't supported.
    RADEONDPEncoderService: 1 19
    XRANDR name: DVI-0
    Connector: DVI-I
    DFP1: INTERNAL_UNIPHY
    DDC reg: 0x7e60
    XRANDR name: LVDS
    Connector: LVDS
    LCD1: INTERNAL_KLDSCP_LVTMA
    DDC reg: 0x7e40
    XRANDR name: DisplayPort-0
    Connector: DisplayPort
    DFP2: INTERNAL_UNIPHY
    DDC reg: 0x7e20
    XRANDR name: VGA-0
    Connector: VGA
    CRT1: INTERNAL_KLDSCP_DAC1
    DDC reg: 0x7e50
    Unhandled monitor type 0
    finished output detect: 0
    finished output detect: 1
    RADEONDPEncoderService: 1 19
    failed to get auxch 0030 40 30 02 after 0 retries
    failed to get auxch 0050 40 30 02 after 0 retries
    failed to get auxch 0050 40 30 02 after 0 retries
    failed to get auxch 0050 40 30 02 after 0 retries
    failed to get auxch 0050 40 30 02 after 0 retries
    finished output detect: 2
    Dac detection success
    finished output detect: 3
    finished all detect
    Unhandled monitor type 0
    RADEONDPEncoderService: 1 19
    failed to get auxch 0030 40 30 02 after 0 retries
    failed to get auxch 0050 40 30 02 after 0 retries
    failed to get auxch 0050 40 30 02 after 0 retries
    failed to get auxch 0050 40 30 02 after 0 retries
    failed to get auxch 0050 40 30 02 after 0 retries
    Dac detection success
    Output DIG0 transmitter setup success
    Blank CRTC 0 success
    Disable CRTC memreq 0 success
    Disable CRTC 0 success
    Blank CRTC 1 success
    Disable CRTC memreq 1 success
    Disable CRTC 1 success
    mc fb loc is 00f700f0
    Output DIG0 transmitter setup success
    Output DIG0 transmitter setup success
    Output CRT1 disable success
    Blank CRTC 0 success
    Disable CRTC memreq 0 success
    Disable CRTC 0 success
    Blank CRTC 1 success
    Disable CRTC memreq 1 success
    Disable CRTC 1 success
    Output DIG0 transmitter setup success
    Blank CRTC 0 success
    Disable CRTC memreq 0 success
    Disable CRTC 0 success
    Set CRTC 0 Source success
    Mode 1680x1050 - 1904 1066 10
    Picked PLL 0
    before 12200
    after 12200
    best_freq: 122000
    best_feedback_div: 122
    best_frac_feedback_div: 0
    best_ref_div: 3
    best_post_div: 9
    Set CRTC 0 PLL success
    Set CRTC Timing success
    Set CRTC 0 Overscan success
    Not using RMX
    scaler 0 setup success
    Set CRTC 0 Source success
    crtc 0 YUV disable setup success
    Output DIG0 transmitter setup success
    Output DIG1 encoder setup success
    Output DIG1 encoder setup success
    Output DIG0 transmitter setup success
    Output DIG0 transmitter setup success
    Output DIG0 transmitter setup success
    Output DIG0 transmitter setup success
    Enable CRTC 0 success
    Enable CRTC memreq 0 success
    Unblank CRTC 0 success
    Output DIG0 transmitter setup success
    Output CRT1 disable success
    Blank CRTC 1 success
    Disable CRTC memreq 1 success
    Disable CRTC 1 success
    Backtrace:
    0: /usr/bin/X (xorg_backtrace+0x28) [0x49f718]
    1: /usr/bin/X (0x400000+0x60349) [0x460349]
    2: /lib/libpthread.so.0 (0x7fa310632000+0xf150) [0x7fa310641150]
    Segmentation fault at address (nil)
    Fatal server error:
    Caught signal 11 (Segmentation fault). Server aborting
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    Output DIG0 transmitter setup success
    Blank CRTC 0 success
    Disable CRTC memreq 0 success
    Disable CRTC 0 success
    Blank CRTC 1 success
    Disable CRTC memreq 1 success
    Disable CRTC 1 success
    Enable CRTC 0 success
    Enable CRTC memreq 0 success
    Unblank CRTC 0 success
    xinit: giving up
    xinit: unable to connect to X server: Connection refused
    xinit: unexpected signal 2

    trusted user wrote:
    skip wrote:
        I downgraded the following libraries: glibc  libdrm  libgl  ati-dri and now everything works. Now this is not ideal (especially glibc being downgraded). Is this an issue from running a 2.6.30 kernel?
    In short, yes.
    I'm not so sure if the old kernel is really the problem for the segfault. I got the same GPU (ATI Mobility Radeon HD3470) on my Asus F5SL AP177d and I run the newest Kernel and X only stopped segfaulting after I downgraded  ati-dri and libgl. I would even warn you not to update your kernel to 2.6.37 if you use KMS. 2.6.37 is not doing well with my grafic chip and before i turned off KMS I had a snowstorm on my display that I couldn't even find out where it came from.
    By the way: @skip: can you suspend your laptop? i got the feeling that my GPU is blocking this. (OK this might not belong here but I really want to find out which part of my computer is causing all the problems.)

  • MPV and VLC segfault (glibc problem?)

    Hello,
    When playing any videos, both mpv and vlc segfault. I've updated quite a lot of packages at once, so I'm not sure what could cause this. I've updated mesa, mpv, x264, nvidia (moved to nvidia-340xx) and glibc.
    Actual error is the same:
    Segmentation fault (core dumped)
    Log output:
    [32216.091021] mpv[1348]: segfault at 8 ip 00007fb53cede5b7 sp 00007fff4054ac40 error 4 in ld-2.20.so[7fb53ced3000+22000]
    [32273.036485] vlc[1351]: segfault at 8 ip 00007f21f1c195b7 sp 00007fff80c6c990 error 4 in ld-2.20.so[7f21f1c0e000+22000]

    Dunno about your issue, but as a related item, use reflector to select a current mirror to avoid out-of-sync problems.
    % which upp
    upp: aliased to reflector -c "United States" -a 1 -f 3 --sort rate --save /etc/pacman.d/mirrorlist && cat /etc/pacman.d/mirrorlist && sudo pacman -Syyu

  • Xfree86/glibc segfault

    After a system update on the 15th, xfree86 stopped working giving segfaults and 'io error 104's.  I case this happened to anyone else I solved the problem by downgrading glibc 2.3.3-1 to 2.3.2-3.
    It's probably video card specific cause I didn't have any problems with my laptop (Nvidia) whereas my desktop is an older ATI Mach64 card.

    No special drivers, just the stock xfree86 ati driver.  I'm gonna recompile my X with the new glibc to see if that fixes the problem.

  • Glibc 2.12-3? = midori, epiphany, ... segfault

    Hi,
    just did a pacman -Syu and got a new glibc.
    Now midori does segfault at start and epiphany segfaults when displaying something with adobe flash player.
    Epiphany:
    http://pastebin.com/Yenkce71
    Midori
    http://pastebin.com/bRvMLGTp
    Both -git versions and repo versions.
    edit: of course with fresh configs.
    Last edited by Cdh (2010-06-23 13:39:44)

    Roll back openjdk and see if that helps.  It worked for me.

  • ETQW segfault and font problems after glibc-2.15-3 update

    Hi, hope someone can help with this.
    If I upgrade glibc to 2.15-3 there is missing letters at the end of text fonts in the menus and ingame, plus this:
    etqw.x86[1060]: segfault at fffff7fd ip b74805fb sp accc80c0 error 4 in libgcc_s.so.1[b747b000+a000]
    in kernel log upon exiting the game.
    Reverting back to glibc-2.14.1-4 fixes the issues.
    Any ideas on what's going on here? I'm running in 32bit 686 Arch.
    Last edited by JinxterX (2012-01-21 16:48:16)

    Ok I dug deeper
    Problem has got something to do with string function optimisation using SSE. There are a whole bunch of patches related to that in glibc 2.15.
    Like this one:
    http://sourceware.org/git/?p=glibc.git; … d8b5d4faab
    Urgh So anyway.. I just thought what the hell and produced a patch to remove ALL of them Love that diff command, reversed
    all changes in sysdeps/i386/i686/multiarch directory between versions 2.14 and 2.15, then compiled from ABS, used the resulting
    libc.so.6 in /opt/etqw and it worked, lol, no more missing characters at the end of in-game text, menus, chat etc.
    Except there was still a segfault from libgcc when you quit the game, but if you rename that file and use the one in /usr/lib then it seems to like that
    So.. glibc/sysdeps/i386/i686/multiarch/strlen-sse2.S needs investigation I reckon.
    Last edited by JinxterX (2012-01-26 16:20:44)

  • Glibc-2.10.1-4 segfault (i686 stock packages)

    Hello,
    Since my glibc update to version 2.10.1-4 with pacman i noticed that several applications are crashing because of glibc segfaults,
    for example my xfce terminal:
    Terminal[7666]: segfault at bf398fe4 ip b6eb0bc2 sp bf398fe8 error 6 in libc-2.10.1.so[b6e55000+140000]
    Besides that, every application which is able to start crashes when i have to type something into a dialog box.
    I rebuild glibc with the changes as mentioned in http://sourceware.org/ml/libc-help/2009 … 00049.html, but still no luck.
    Somebody experiencing similar problems?
    Every pointer to solve this annoying flaw would be highly appreciated

    Updated to glibc-2.10.1-5, still the same issues. I thought i add some additional information about my system, and some thoughts i recently had. My Arch runs on a Laptop, Intel platform, stock packages, nothing from testing repo, a few applications from aur.
    Archlinux used to work fine, until the segfaults occured.
    I thought that maybe the code, which is segfaulting in glibc has not been altered for a while, but more likely the kernel has changed, which in combination with the glibc code segfaults. Is this likely? Maybe someone who has a bigger picture about kernel/glibc co-existence can answer this?
    What shall I do? In which direction do i have to look? Or do i miss something fundamental?
    I appreciate every thought or feedback and i am willing to try everything that might solve this problem!
    Some additional information:
    00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
    00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
    00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
    00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
    00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
    00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
    00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
    00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
    00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
    00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
    00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
    00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
    00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
    00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
    00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
    02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
    05:07.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
    05:07.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
    05:07.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
    05:07.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller
    05:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
    Module Size Used by
    usblp 13244 0
    i915 231880 1
    drm 156160 2 i915
    i2c_algo_bit 5888 1 i915
    ipv6 279636 20
    ext2 68964 1
    mbcache 7104 1 ext2
    snd_seq_dummy 2720 0
    snd_seq_oss 31232 0
    snd_seq_midi_event 7036 1 snd_seq_oss
    snd_seq 53808 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    snd_seq_device 6792 3 snd_seq_dummy,snd_seq_oss,snd_seq
    snd_pcm_oss 40320 0
    snd_mixer_oss 17564 2 snd_pcm_oss
    snd_hda_codec_si3054 5052 1
    arc4 1756 2
    ecb 2812 2
    snd_hda_codec_realtek 210048 1
    snd_hda_intel 27528 2
    snd_hda_codec 72700 3 snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel
    iwl3945 89020 0
    iwlcore 107132 1 iwl3945
    snd_hwdep 7712 1 snd_hda_codec
    snd_pcm 74464 4 snd_pcm_oss,snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec
    mac80211 155756 2 iwl3945,iwlcore
    pcmcia 36168 0
    snd_timer 21156 2 snd_seq,snd_pcm
    sdhci_pci 7516 0
    fan 4448 0
    snd 58820 14 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
    cfg80211 90428 3 iwl3945,iwlcore,mac80211
    sdhci 17504 1 sdhci_pci
    iTCO_wdt 11072 0
    yenta_socket 25256 1
    ohci1394 30220 0
    soundcore 6944 2 snd
    tifm_7xx1 5756 0
    mmc_core 53080 1 sdhci
    r8169 33984 0
    cpufreq_userspace 3008 0
    iTCO_vendor_support 3136 1 iTCO_wdt
    rsrc_nonstatic 12316 1 yenta_socket
    ieee1394 85668 1 ohci1394
    snd_page_alloc 8900 2 snd_hda_intel,snd_pcm
    tifm_core 7448 1 tifm_7xx1
    i2c_i801 9616 0
    cpufreq_powersave 1404 0
    cpufreq_ondemand 7400 2
    mii 4892 1 r8169
    pcmcia_core 35184 3 pcmcia,yenta_socket,rsrc_nonstatic
    led_class 4000 3 iwl3945,iwlcore,sdhci
    intel_agp 28348 1
    video 20116 1 i915
    agpgart 32660 3 drm,intel_agp
    i2c_core 21808 4 i915,drm,i2c_algo_bit,i2c_i801
    rfkill 19728 1 cfg80211
    psmouse 59764 0
    pcspkr 2492 0
    phc_intel 12584 0
    output 2908 1 video
    serio_raw 5792 0
    evdev 10240 6
    sg 27728 0
    battery 10816 0
    button 5612 0
    ac 4224 0
    thermal 13912 0
    freq_table 3740 2 cpufreq_ondemand,phc_intel
    processor 36076 3 phc_intel
    rtc_cmos 11344 0
    rtc_core 17976 1 rtc_cmos
    rtc_lib 2524 1 rtc_core
    reiserfs 242088 2
    aes_i586 8124 8
    aes_generic 27228 1 aes_i586
    xts 3164 3
    gf128mul 8604 1 xts
    dm_crypt 13664 3
    dm_mod 71076 7 dm_crypt
    sr_mod 16644 0
    sd_mod 28344 5
    cdrom 36032 1 sr_mod
    pata_acpi 4252 0
    ata_generic 4704 0
    uhci_hcd 23596 0
    ehci_hcd 36652 0
    ata_piix 23268 4
    libata 169260 3 pata_acpi,ata_generic,ata_piix
    scsi_mod 112436 4 sg,sr_mod,sd_mod,libata
    usbcore 154032 4 usblp,uhci_hcd,ehci_hcd

  • Apache Segfault using mod_hlshttp.so

    Trying to use hls on an exising Apache server on Ubuntu following the instructions listed here:
    http://help.adobe.com/en_US/flashmediaserver/configadmin/WSd391de4d9c7bd6093a7e2f8312a374a 1bde-8000.html
    section: Use an external Apache HTTP Server for HTTP Dynamic Streaming and HTTP Live Streaming
    Copied the .so files to apache's module library, updated conf file, restarted apache.  Now, it seems to work when requesting a m3u8 URL, but looking at the apache error log file, getting seg faults across all virtual hosts.
    Not sure where to start to figure this out, but hoping for some quick things to consider.
    Thanks
    Chief

    Here is what I have gathered:
    Ubuntu Version:  Ubuntu 10.04.2
    Apache Version (apache2 -v): Server version: Apache/2.2.14 (Ubuntu)
    Compiled in modules:
      core.c
      mod_log_config.c
      mod_logio.c
      prefork.c
      http_core.c
      mod_so.c
    version and build parameters of apache2 (apache2 -V)
    Server version: Apache/2.2.14 (Ubuntu)
    Server built:   Nov 18 2010 21:19:09
    Server's Module Magic Number: 20051115:23
    Server loaded:  APR 1.3.8, APR-Util 1.3.9
    Compiled using: APR 1.3.8, APR-Util 1.3.9
    Architecture:   64-bit
    Server MPM:     Prefork
      threaded:     no
        forked:     yes (variable process count)
    Server compiled with....
    -D APACHE_MPM_DIR="server/mpm/prefork"
    -D APR_HAS_SENDFILE
      -D APR_HAS_MMAP
    -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
    -D APR_USE_SYSVSEM_SERIALIZE
    -D APR_USE_PTHREAD_SERIALIZE
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D APR_HAS_OTHER_CHILD
    -D AP_HAVE_RELIABLE_PIPED_LOGS
      -D DYNAMIC_MODULE_LIMIT=128
    -D HTTPD_ROOT=""
    -D SUEXEC_BIN="/usr/lib/apache2/suexec"
    -D DEFAULT_PIDLOG="/var/run/apache2.pid"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
      -D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
    -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"
    Dump a list of loaded Static and Shared Modules (apache2 -M)
    Loaded Modules:
    core_module (static)
    log_config_module (static)
    logio_module (static)
    mpm_prefork_module (static)
    http_module (static)
    so_module (static)
    alias_module (shared)
    auth_basic_module (shared)
    authn_file_module (shared)
    authz_default_module (shared)
    authz_groupfile_module (shared)
    authz_host_module (shared)
    authz_user_module (shared)
    autoindex_module (shared)
    cgi_module (shared)
    deflate_module (shared)
    dir_module (shared)
    env_module (shared)
    expires_module (shared)
    headers_module (shared)
    hlshttp_module (shared)
    mime_module (shared)
    negotiation_module (shared)
    passenger_module (shared)
    php5_module (shared)
    reqtimeout_module (shared)
    rewrite_module (shared)
    setenvif_module (shared)
    ssl_module (shared)
    status_module (shared)
    It seems pretty standard to me.  When I backout the inclusion of the hlshttp.so module, I don't get the seg faults.  I'm going to try and gdb a dump and see what I get.
    I'll will continue to see what I can find/figure out.
    Thanks
    Chief

  • Java 6 segfaults loading net or j2gss library

    Hi,
    I have a one line program System.loadLibrary("net");. When I run it I get a segfault. It also segfaults if I load library "j2gss" but all other libraries in jre/lib load fine.
    I did an ldd on both libraries and loaded all the libraries they reference without problem.
    I checked the source code and looked at OnLoad methods for these libraries. The "net" OnLoad was in j2se/src/share/native/java/net/net_util.c and the "j2gss" one was in j2se/src/share/native/sun/security/jgss/wrapper/NativeUtil.c. The "net" OnLoad did quite a bit of stuff but the "j2gss" OnLoad was straightforward. It just caches a bunch of MIDs and FIDs.
    This is not a new installation of Java 6. I have been using it on FC6 x86_64 for several weeks. It was working fine yesterday. Today it is not. I update automatically via yum. Last night several packages were updated but none of them changed any libraries used by "net" or "j2gss".
    I have run out of ideas on what to check. Can anyone help me out?
    charlie
    Here is the error log:
    # An unexpected error has been detected by Java Runtime Environment:
    #  SIGSEGV (0xb) at pc=0x00002aaaaaab4202, pid=7650, tid=1076017472
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105 mixed mode)
    # Problematic frame:
    # C  [ld-linux-x86-64.so.2+0x9202]
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    ---------------  T H R E A D  ---------------
    Current thread (0x0000000040111400):  JavaThread "main" [_thread_in_native, id=7651]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x0000000000000000
    Registers:
    RAX=0x0000000000000000, RBX=0x00002aaaaacc55e8, RCX=0x0000000000000000, RDX=0x0000000000000000
    RSP=0x0000000040228f00, RBP=0x0000000040229040, RSI=0x0377cc14b1b73c55, RDI=0x00002aaad80acc55
    R8 =0x0000000000000000, R9 =0x00000000ffffffff, R10=0x0000000000000000, R11=0x00002aaaab8aa830
    R12=0x0000000000000000, R13=0x00000000b1b73c55, R14=0x00002aaad49d28a0, R15=0x0000000000000000
    RIP=0x00002aaaaaab4202, EFL=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
      TRAPNO=0x000000000000000e
    Top of Stack: (sp=0x0000000040228f00)
    0x0000000040228f00:   00002aaaaca3332e 0000000000000000
    0x0000000040228f10:   0000000000000000 00002aaac9deedf8
    0x0000000040228f20:   0000000000001fa0 0000000040228fc0
    0x0000000040228f30:   00002aaaabd0b498 0000000000000001
    0x0000000040228f40:   0000000040111400 00002aaaaca332a9
    0x0000000040228f50:   0000000040228ff0 0000000000000000
    0x0000000040228f60:   0000000000000000 00000000402290b0
    0x0000000040228f70:   00002aaaaacc55e8 00002aaad80acc55
    0x0000000040228f80:   0000000040229070 00002aaaab82d8e2
    0x0000000040228f90:   0000000000000001 0000000040111400
    0x0000000040228fa0:   0000000040228ff0 00000000402292e8
    0x0000000040228fb0:   0000000a00000000 00002aaaaca3fd00
    0x0000000040228fc0:   0000000040111400 00000000401106d0
    0x0000000040228fd0:   00002aaad47586c0 00002aaad4758890
    0x0000000040228fe0:   00002aaad47606a8 0000000040229980
    0x0000000040228ff0:   0000000000000000 0000000000000000
    0x0000000040229000:   00002aaaafb89ac0 00000000ffffffff
    0x0000000040229010:   00000000402295c0 00002aaaaacc55e8
    0x0000000040229020:   0000000000000000 00002aaaaacc4bc0
    0x0000000040229030:   00002aaad49d28a0 0000000040229640
    0x0000000040229040:   00002aaad80acc55 00002aaaab2f0845
    0x0000000040229050:   00002aaa00000003 0000000000000000
    0x0000000040229060:   00000000860afcd8 00000000402291f0
    0x0000000040229070:   0000000040229208 00002aaaab53efe8
    0x0000000040229080:   0000000000000000 00002aaad49d3118
    0x0000000040229090:   000000004010a4d0 00002aaad809d8a8
    0x00000000402290a0:   00002aaaab541970 00002aaad809c488
    0x00000000402290b0:   0000000000000000 00000001000000af
    0x00000000402290c0:   0000000040111590 0000000040229260
    0x00000000402290d0:   0000000040229260 00002aaaaafeb210
    0x00000000402290e0:   00002aaaabcfe1c0 00002aaad49d28a0
    0x00000000402290f0:   0000000040229640 00002aaaaafeb224
    Instructions: (pc=0x00002aaaaaab4202)
    0x00002aaaaaab41f2:   ff 02 00 00 48 8b 8d 20 ff ff ff 31 d2 45 31 d2
    0x00002aaaaaab4202:   48 8b 01 48 85 c0 0f 84 47 02 00 00 48 8b 9d 20
    Stack: [0x000000004012b000,0x000000004022c000),  sp=0x0000000040228f00,  free space=1015k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [ld-linux-x86-64.so.2+0x9202]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  java.lang.ClassLoader$NativeLibrary.load(Ljava/lang/String;)V+0
    j  java.lang.ClassLoader.loadLibrary0(Ljava/lang/Class;Ljava/io/File;)Z+300
    j  java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V+217
    j  java.lang.Runtime.loadLibrary0(Ljava/lang/Class;Ljava/lang/String;)V+54
    j  java.lang.System.loadLibrary(Ljava/lang/String;)V+7
    j  sun.security.action.LoadLibraryAction.run()Ljava/lang/Object;+4
    v  ~StubRoutines::call_stub
    j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0
    j  java.net.InetAddress.<clinit>()V+55
    v  ~StubRoutines::call_stub
    j  java.lang.ClassLoader$NativeLibrary.load(Ljava/lang/String;)V+0
    j  java.lang.ClassLoader.loadLibrary0(Ljava/lang/Class;Ljava/io/File;)Z+300
    j  java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V+217
    j  java.lang.Runtime.loadLibrary0(Ljava/lang/Class;Ljava/lang/String;)V+54
    j  java.lang.System.loadLibrary(Ljava/lang/String;)V+7
    j  FancyButton.main([Ljava/lang/String;)V+2
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x00002aaad49c0400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=7660]
      0x00002aaad49bd800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=7659]
      0x00002aaad49bbc00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=7658]
      0x00002aaad49ba800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7657]
      0x00002aaad4997400 JavaThread "Finalizer" daemon [_thread_blocked, id=7656]
      0x00002aaad4996400 JavaThread "Reference Handler" daemon [_thread_blocked, id=7655]
    =>0x0000000040111400 JavaThread "main" [_thread_in_native, id=7651]
    Other Threads:
      0x00002aaad47f6800 VMThread [id=7654]
      0x00002aaad49c2000 WatcherThread [id=7661]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    PSYoungGen      total 9408K, used 325K [0x00002aaac9db0000, 0x00002aaaca820000, 0x00002aaad4500000)
      eden space 8128K, 4% used [0x00002aaac9db0000,0x00002aaac9e01570,0x00002aaaca5a0000)
      from space 1280K, 0% used [0x00002aaaca6e0000,0x00002aaaca6e0000,0x00002aaaca820000)
      to   space 1280K, 0% used [0x00002aaaca5a0000,0x00002aaaca5a0000,0x00002aaaca6e0000)
    PSOldGen        total 21440K, used 0K [0x00002aaab4f00000, 0x00002aaab63f0000, 0x00002aaac9db0000)
      object space 21440K, 0% used [0x00002aaab4f00000,0x00002aaab4f00000,0x00002aaab63f0000)
    PSPermGen       total 21248K, used 2769K [0x00002aaaafb00000, 0x00002aaab0fc0000, 0x00002aaab4f00000)
      object space 21248K, 13% used [0x00002aaaafb00000,0x00002aaaafdb47d0,0x00002aaab0fc0000)
    Dynamic libraries:
    40000000-40009000 r-xp 00000000 fd:00 1966283                            /usr/java/jdk1.6.0/bin/java
    40108000-4010a000 rwxp 00008000 fd:00 1966283                            /usr/java/jdk1.6.0/bin/java
    4010a000-4012b000 rwxp 4010a000 00:00 0                                  [heap]
    4012b000-4012e000 ---p 4012b000 00:00 0
    4012e000-4022c000 rwxp 4012e000 00:00 0
    4022c000-4022d000 ---p 4022c000 00:00 0
    4022d000-4032d000 rwxp 4022d000 00:00 0
    4032d000-4032e000 ---p 4032d000 00:00 0
    4032e000-4042e000 rwxp 4032e000 00:00 0
    4042e000-4042f000 ---p 4042e000 00:00 0
    4042f000-4052f000 rwxp 4042f000 00:00 0
    4052f000-40532000 ---p 4052f000 00:00 0
    40532000-40630000 rwxp 40532000 00:00 0
    40630000-40633000 ---p 40630000 00:00 0
    40633000-40731000 rwxp 40633000 00:00 0
    40731000-40734000 ---p 40731000 00:00 0
    40734000-40832000 rwxp 40734000 00:00 0
    40832000-40835000 ---p 40832000 00:00 0
    40835000-40933000 rwxp 40835000 00:00 0
    40933000-40936000 ---p 40933000 00:00 0
    40936000-40a34000 rwxp 40936000 00:00 0
    40a34000-40a37000 ---p 40a34000 00:00 0
    40a37000-40b35000 rwxp 40a37000 00:00 0
    40b35000-40b36000 ---p 40b35000 00:00 0
    40b36000-40c36000 rwxp 40b36000 00:00 0
    2aaaaaaab000-2aaaaaac5000 r-xp 00000000 fd:00 16318467                   /lib64/ld-2.5.so
    2aaaaaac5000-2aaaaaac6000 rwxp 2aaaaaac5000 00:00 0
    2aaaaaac6000-2aaaaaac7000 r-xp 2aaaaaac6000 00:00 0
    2aaaaaac7000-2aaaaaac8000 rwxp 2aaaaaac7000 00:00 0
    2aaaaaad8000-2aaaaaad9000 rwxp 2aaaaaad8000 00:00 0
    2aaaaaad9000-2aaaaaae0000 r-xp 00000000 fd:00 1967264                    /usr/java/jdk1.6.0/jre/lib/amd64/native_threads/libhpi.so
    2aaaaaae0000-2aaaaabe1000 ---p 00007000 fd:00 1967264                    /usr/java/jdk1.6.0/jre/lib/amd64/native_threads/libhpi.so
    2aaaaabe1000-2aaaaabe3000 rwxp 00008000 fd:00 1967264                    /usr/java/jdk1.6.0/jre/lib/amd64/native_threads/libhpi.so
    2aaaaabe3000-2aaaaabe4000 rwxp 2aaaaabe3000 00:00 0
    2aaaaabe4000-2aaaaabec000 rwxs 00000000 fd:00 16523834                   /tmp/hsperfdata_charlie/7650
    2aaaaabec000-2aaaaac14000 rwxp 2aaaaabec000 00:00 0
    2aaaaacc4000-2aaaaacc5000 r-xp 00019000 fd:00 16318467                   /lib64/ld-2.5.so
    2aaaaacc5000-2aaaaacc6000 rwxp 0001a000 fd:00 16318467                   /lib64/ld-2.5.so
    2aaaaacc6000-2aaaaacdb000 r-xp 00000000 fd:00 16318499                   /lib64/libpthread-2.5.so
    2aaaaacdb000-2aaaaaeda000 ---p 00015000 fd:00 16318499                   /lib64/libpthread-2.5.so
    2aaaaaeda000-2aaaaaedb000 r-xp 00014000 fd:00 16318499                   /lib64/libpthread-2.5.so
    2aaaaaedb000-2aaaaaedc000 rwxp 00015000 fd:00 16318499                   /lib64/libpthread-2.5.so
    2aaaaaedc000-2aaaaaee0000 rwxp 2aaaaaedc000 00:00 0
    2aaaaaee0000-2aaaaaee7000 r-xp 00000000 fd:00 1967247                    /usr/java/jdk1.6.0/jre/lib/amd64/jli/libjli.so
    2aaaaaee7000-2aaaaafe8000 ---p 00007000 fd:00 1967247                    /usr/java/jdk1.6.0/jre/lib/amd64/jli/libjli.so
    2aaaaafe8000-2aaaaafea000 rwxp 00008000 fd:00 1967247                    /usr/java/jdk1.6.0/jre/lib/amd64/jli/libjli.so
    2aaaaafea000-2aaaaafed000 r-xp 00000000 fd:00 16318481                   /lib64/libdl-2.5.so
    2aaaaafed000-2aaaab1ec000 ---p 00003000 fd:00 16318481                   /lib64/libdl-2.5.so
    2aaaab1ec000-2aaaab1ed000 r-xp 00002000 fd:00 16318481                   /lib64/libdl-2.5.so
    2aaaab1ed000-2aaaab1ee000 rwxp 00003000 fd:00 16318481                   /lib64/libdl-2.5.so
    2aaaab1ee000-2aaaab1ef000 rwxp 2aaaab1ee000 00:00 0
    2aaaab1ef000-2aaaab333000 r-xp 00000000 fd:00 16318475                   /lib64/libc-2.5.so
    2aaaab333000-2aaaab533000 ---p 00144000 fd:00 16318475                   /lib64/libc-2.5.so
    2aaaab533000-2aaaab537000 r-xp 00144000 fd:00 16318475                   /lib64/libc-2.5.so
    2aaaab537000-2aaaab538000 rwxp 00148000 fd:00 16318475                   /lib64/libc-2.5.so
    2aaaab538000-2aaaab53e000 rwxp 2aaaab538000 00:00 0
    2aaaab53e000-2aaaabbb8000 r-xp 00000000 fd:00 1967281                    /usr/java/jdk1.6.0/jre/lib/amd64/server/libjvm.so
    2aaaabbb8000-2aaaabcba000 ---p 0067a000 fd:00 1967281                    /usr/java/jdk1.6.0/jre/lib/amd64/server/libjvm.so
    2aaaabcba000-2aaaabde6000 rwxp 0067c000 fd:00 1967281                    /usr/java/jdk1.6.0/jre/lib/amd64/server/libjvm.so
    2aaaabde6000-2aaaabe21000 rwxp 2aaaabde6000 00:00 0
    2aaaabe33000-2aaaabeb5000 r-xp 00000000 fd:00 16318483                   /lib64/libm-2.5.so
    2aaaabeb5000-2aaaac0b4000 ---p 00082000 fd:00 16318483                   /lib64/libm-2.5.so
    2aaaac0b4000-2aaaac0b5000 r-xp 00081000 fd:00 16318483                   /lib64/libm-2.5.so
    2aaaac0b5000-2aaaac0b6000 rwxp 00082000 fd:00 16318483                   /lib64/libm-2.5.so
    2aaaac0b6000-2aaaac0be000 r-xp 00000000 fd:00 16318503                   /lib64/librt-2.5.so
    2aaaac0be000-2aaaac2bd000 ---p 00008000 fd:00 16318503                   /lib64/librt-2.5.so
    2aaaac2bd000-2aaaac2be000 r-xp 00007000 fd:00 16318503                   /lib64/librt-2.5.so
    2aaaac2be000-2aaaac2bf000 rwxp 00008000 fd:00 16318503                   /lib64/librt-2.5.so
    2aaaac2bf000-2aaaac2d3000 r-xp 00000000 fd:00 16318485                   /lib64/libnsl-2.5.so
    2aaaac2d3000-2aaaac4d2000 ---p 00014000 fd:00 16318485                   /lib64/libnsl-2.5.so
    2aaaac4d2000-2aaaac4d3000 r-xp 00013000 fd:00 16318485                   /lib64/libnsl-2.5.so
    2aaaac4d3000-2aaaac4d4000 rwxp 00014000 fd:00 16318485                   /lib64/libnsl-2.5.so
    2aaaac4d4000-2aaaac4d6000 rwxp 2aaaac4d4000 00:00 0
    2aaaac4d6000-2aaaac4e0000 r-xp 00000000 fd:00 16318491                   /lib64/libnss_files-2.5.so
    2aaaac4e0000-2aaaac6df000 ---p 0000a000 fd:00 16318491                   /lib64/libnss_files-2.5.so
    2aaaac6df000-2aaaac6e0000 r-xp 00009000 fd:00 16318491                   /lib64/libnss_files-2.5.so
    2aaaac6e0000-2aaaac6e1000 rwxp 0000a000 fd:00 16318491                   /lib64/libnss_files-2.5.so
    2aaaac6e1000-2aaaac6ee000 r-xp 00000000 fd:00 1967257                    /usr/java/jdk1.6.0/jre/lib/amd64/libverify.so
    2aaaac6ee000-2aaaac7ed000 ---p 0000d000 fd:00 1967257                    /usr/java/jdk1.6.0/jre/lib/amd64/libverify.so
    2aaaac7ed000-2aaaac7f0000 rwxp 0000c000 fd:00 1967257                    /usr/java/jdk1.6.0/jre/lib/amd64/libverify.so
    2aaaac7f0000-2aaaac818000 r-xp 00000000 fd:00 1967275                    /usr/java/jdk1.6.0/jre/lib/amd64/libjava.so
    2aaaac818000-2aaaac918000 ---p 00028000 fd:00 1967275                    /usr/java/jdk1.6.0/jre/lib/amd64/libjava.so
    2aaaac918000-2aaaac91f000 rwxp 00028000 fd:00 1967275                    /usr/java/jdk1.6.0/jre/lib/amd64/libjava.so
    2aaaac91f000-2aaaac92d000 r-xp 00000000 fd:00 1967262                    /usr/java/jdk1.6.0/jre/lib/amd64/libzip.so
    2aaaac92d000-2aaaaca2f000 ---p 0000e000 fd:00 1967262                    /usr/java/jdk1.6.0/jre/lib/amd64/libzip.so
    2aaaaca2f000-2aaaaca32000 rwxp 00010000 fd:00 1967262                    /usr/java/jdk1.6.0/jre/lib/amd64/libzip.so
    2aaaaca32000-2aaaacca3000 rwxp 2aaaaca32000 00:00 0
    2aaaacca3000-2aaaafa33000 rwxp 2aaaacca3000 00:00 0
    2aaaafa33000-2aaaafa3d000 rwxp 2aaaafa33000 00:00 0
    2aaaafa3d000-2aaaafaf3000 rwxp 2aaaafa3d000 00:00 0
    2aaaafb00000-2aaab0fc0000 rwxp 2aaaafb00000 00:00 0
    2aaab0fc0000-2aaab4f00000 rwxp 2aaab0fc0000 00:00 0
    2aaab4f00000-2aaab63f0000 rwxp 2aaab4f00000 00:00 0
    2aaab63f0000-2aaac9db0000 rwxp 2aaab63f0000 00:00 0
    2aaac9db0000-2aaaca820000 rwxp 2aaac9db0000 00:00 0
    2aaaca820000-2aaad4500000 rwxp 2aaaca820000 00:00 0
    2aaad4500000-2aaad450b000 rwxp 2aaad4500000 00:00 0
    2aaad450b000-2aaad452a000 rwxp 2aaad450b000 00:00 0
    2aaad452a000-2aaad4535000 rwxp 2aaad452a000 00:00 0
    2aaad4535000-2aaad45d1000 rwxp 2aaad4535000 00:00 0
    2aaad45d1000-2aaad45d7000 rwxp 2aaad45d1000 00:00 0
    2aaad45d7000-2aaad4625000 rwxp 2aaad45d7000 00:00 0
    2aaad4625000-2aaad4631000 rwxp 2aaad4625000 00:00 0
    2aaad4631000-2aaad46ce000 rwxp 2aaad4631000 00:00 0
    2aaad46ce000-2aaad46d9000 rwxp 2aaad46ce000 00:00 0
    2aaad46d9000-2aaad46f8000 rwxp 2aaad46d9000 00:00 0
    2aaad46f8000-2aaad47f8000 rwxp 2aaad46f8000 00:00 0
    2aaad47f8000-2aaad4972000 r-xs 02c68000 fd:00 1968717                    /usr/java/jdk1.6.0/jre/lib/rt.jar
    2aaad4972000-2aaad4a93000 rwxp 2aaad4972000 00:00 0
    2aaad4a93000-2aaad7f91000 r-xp 00000000 fd:00 14038693                   /usr/lib/locale/locale-archive
    2aaad7f91000-2aaad7f99000 r-xp 00000000 fd:00 1967266                    /usr/java/jdk1.6.0/jre/lib/amd64/libj2gss.so
    2aaad7f99000-2aaad8099000 ---p 00008000 fd:00 1967266                    /usr/java/jdk1.6.0/jre/lib/amd64/libj2gss.so
    2aaad8099000-2aaad809a000 rwxp 00008000 fd:00 1967266                    /usr/java/jdk1.6.0/jre/lib/amd64/libj2gss.so
    2aaad809a000-2aaad809b000 rwxp 2aaad809a000 00:00 0
    2aaad809b000-2aaad80ae000 r-xp 00000000 fd:00 1967251                    /usr/java/jdk1.6.0/jre/lib/amd64/libnet.so
    2aaad80ae000-2aaad81af000 ---p 00013000 fd:00 1967251                    /usr/java/jdk1.6.0/jre/lib/amd64/libnet.so
    2aaad81af000-2aaad81b2000 rwxp 00014000 fd:00 1967251                    /usr/java/jdk1.6.0/jre/lib/amd64/libnet.so
    7fffc9256000-7fffc926b000 rwxp 7fffc9256000 00:00 0                      [stack]
    ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0                  [vdso]
    VM Arguments:
    java_command: FancyButton
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=/usr/java/jdk1.6
    PATH=/home/charlie/bin:/home/charlie/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/java/jdk1.6/bin:/opt/apache-ant/bin:.:/usr/java/jdk1.6/bin:/opt/apache-ant/bin:.
    USERNAME=charlie
    LD_LIBRARY_PATH=/usr/java/jdk1.6.0/jre/lib/amd64/server:/usr/java/jdk1.6.0/jre/lib/amd64:/usr/java/jdk1.6.0/jre/../lib/amd64
    SHELL=/bin/bash
    DISPLAY=:0.0
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x5f45b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGBUS: [libjvm.so+0x5f45b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGFPE: [libjvm.so+0x4b2c20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGPIPE: [libjvm.so+0x4b2c20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGILL: [libjvm.so+0x4b2c20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: [libjvm.so+0x4b4e20], sa_mask[0]=0x00000000, sa_flags=0x10000004
    SIGHUP: [libjvm.so+0x4b4760], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGINT: [libjvm.so+0x4b4760], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGQUIT: [libjvm.so+0x4b4760], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGTERM: [libjvm.so+0x4b4760], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGUSR2: [libjvm.so+0x4b4e20], sa_mask[0]=0x00000000, sa_flags=0x10000004
    ---------------  S Y S T E M  ---------------
    OS:Fedora Core release 6 (Zod)
    uname:Linux 2.6.18-1.2869.fc6 #1 SMP Wed Dec 20 14:51:34 EST 2006 x86_64
    libc:glibc 2.5 NPTL 2.5
    rlimit: STACK 10240k, CORE 0k, NPROC 16374, NOFILE 1024, AS infinity
    load average:0.30 0.06 0.02
    CPU:total 2 em64t ht
    Memory: 4k page, physical 2054756k(438236k free), swap 2031608k(2031608k free)
    vm_info: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105) for linux-amd64, built on Nov 29 2006 01:44:03 by "uucp" with gcc 3.2.2 (SuSE Linux)

    An update. It appears that it is only the "net" library that is causing the problems. Loading the "j2gss" library loads the "net" library as a side effect, which causes the segfault.

  • Gcc not working with compiled glibc from PKGBUILD

    hello folks, please excuse my english
    i like to compile certain parts of my system, between them are the kernel, glibc , zsh, etc.
    i had noticed that using a compiled version of glibc from abs results in gcc not working at all ( C compiler cannot create executables logs says). this is weird especially because i hadn't had problems before, i have looked for the error mesagges on Google and a lot of people has had this problem but  nobody has a "generic" solution for this
    this is the config.log file from one failed compile of mpg123
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by mpg123 configure 1.12.3, which was
    generated by GNU Autoconf 2.65. Invocation command line was
    $ ./configure --prefix=/usr --with-audio=alsa esd sdl
    ## Platform. ##
    hostname = Soul
    uname -m = x86_64
    uname -r = 2.6.34.1
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Tue Jul 6 23:23:17 CLT 2010
    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown
    /bin/arch = x86_64
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: /bin
    PATH: /usr/bin
    PATH: /usr/local/bin
    PATH: /sbin
    PATH: /usr/sbin
    PATH: /usr/local/sbin
    PATH: /usr/share/java/apache-ant/bin
    PATH: /usr/lib/perl5/core_perl/bin
    ## Core tests. ##
    configure:2849: checking build system type
    configure:2863: result: x86_64-unknown-linux-gnu
    configure:2883: checking host system type
    configure:2896: result: x86_64-unknown-linux-gnu
    configure:2933: checking for a BSD-compatible install
    configure:3001: result: /bin/install -c
    configure:3012: checking whether build environment is sane
    configure:3062: result: yes
    configure:3203: checking for a thread-safe mkdir -p
    configure:3242: result: /bin/mkdir -p
    configure:3255: checking for gawk
    configure:3271: found /bin/gawk
    configure:3282: result: gawk
    configure:3293: checking whether make sets $(MAKE)
    configure:3315: result: yes
    configure:3402: checking for -Werror in CFLAGS (It breaks tests)
    configure:3412: result: no
    configure:3423: checking if you are up to something totally static with LDFLAGS/CFLAGS
    configure:3443: result: no
    configure:3463: checking for style of include used by make
    configure:3491: result: GNU
    configure:3561: checking for gcc
    configure:3577: found /usr/bin/gcc
    configure:3588: result: gcc
    configure:3817: checking for C compiler version
    configure:3826: gcc --version >&5
    gcc (GCC) 4.5.1
    Copyright (C) 2010 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    configure:3837: $? = 0
    configure:3826: gcc -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: ../configure --prefix=/usr --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-gnu-unique-object --enable-lto --enable-plugin --disable-multilib --disable-libstdcxx-pch --with-system-zlib --with-ppl --with-cloog --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
    Thread model: posix
    gcc version 4.5.1 (GCC)
    configure:3837: $? = 0
    configure:3826: gcc -V >&5
    gcc: '-V' option must have argument
    configure:3837: $? = 1
    configure:3826: gcc -qversion >&5
    gcc: unrecognized option '-qversion'
    gcc: no input files
    configure:3837: $? = 1
    configure:3857: checking whether the C compiler works
    configure:3879: gcc -march=amdfam10 -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c >&5
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../lib/crt1.o: In function `_start':
    (.text+0x12): undefined reference to `__libc_csu_fini'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../lib/crt1.o: In function `_start':
    (.text+0x19): undefined reference to `__libc_csu_init'
    collect2: ld returned 1 exit status
    configure:3883: $? = 1
    configure:3921: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "mpg123"
    | #define PACKAGE_TARNAME "mpg123"
    | #define PACKAGE_VERSION "1.12.3"
    | #define PACKAGE_STRING "mpg123 1.12.3"
    | #define PACKAGE_BUGREPORT "[email protected]"
    | #define PACKAGE_URL ""
    | #define PACKAGE "mpg123"
    | #define VERSION "1.12.3"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3926: error: in `/var/abs/local/mpg123/src/mpg123-1.12.3':
    configure:3930: error: C compiler cannot create executables
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_build=x86_64-unknown-linux-gnu
    ac_cv_env_CCASFLAGS_set=
    ac_cv_env_CCASFLAGS_value=
    ac_cv_env_CCAS_set=
    ac_cv_env_CCAS_value=
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=amdfam10 -O2 -pipe'
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_ESD_CFLAGS_set=
    ac_cv_env_ESD_CFLAGS_value=
    ac_cv_env_ESD_LIBS_set=
    ac_cv_env_ESD_LIBS_value=
    ac_cv_env_JACK_CFLAGS_set=
    ac_cv_env_JACK_CFLAGS_value=
    ac_cv_env_JACK_LIBS_set=
    ac_cv_env_JACK_LIBS_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value='-Wl,--hash-style=gnu -Wl,--as-needed'
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_PKG_CONFIG_set=
    ac_cv_env_PKG_CONFIG_value=
    ac_cv_env_PULSE_CFLAGS_set=
    ac_cv_env_PULSE_CFLAGS_value=
    ac_cv_env_PULSE_LIBS_set=
    ac_cv_env_PULSE_LIBS_value=
    ac_cv_env_SDL_CFLAGS_set=
    ac_cv_env_SDL_CFLAGS_value=
    ac_cv_env_SDL_LIBS_set=
    ac_cv_env_SDL_LIBS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=x86_64-unknown-linux-gnu
    ac_cv_path_install='/bin/install -c'
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=yes
    ## Output variables. ##
    ACLOCAL='${SHELL} /var/abs/local/mpg123/src/mpg123-1.12.3/build/missing --run aclocal-1.11'
    AIX_CFLAGS=''
    AIX_LDFLAGS=''
    AIX_LIBS=''
    ALIB_CFLAGS=''
    ALIB_LDFLAGS=''
    ALIB_LIBS=''
    ALSA_CFLAGS=''
    ALSA_LDFLAGS=''
    ALSA_LIBS=''
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='${SHELL} /var/abs/local/mpg123/src/mpg123-1.12.3/build/missing --run tar'
    API_VERSION='25'
    AR=''
    ARTS_CFLAGS=''
    ARTS_LDFLAGS=''
    ARTS_LIBS=''
    AS=''
    AUTOCONF='${SHELL} /var/abs/local/mpg123/src/mpg123-1.12.3/build/missing --run autoconf'
    AUTOHEADER='${SHELL} /var/abs/local/mpg123/src/mpg123-1.12.3/build/missing --run autoheader'
    AUTOMAKE='${SHELL} /var/abs/local/mpg123/src/mpg123-1.12.3/build/missing --run automake-1.11'
    AWK='gawk'
    CC='gcc'
    CCAS=''
    CCASDEPMODE=''
    CCASFLAGS=''
    CCDEPMODE=''
    CFLAGS='-march=amdfam10 -O2 -pipe'
    COREAUDIO_CFLAGS=''
    COREAUDIO_LDFLAGS=''
    COREAUDIO_LIBS=''
    CPP=''
    CPPFLAGS=''
    CYGPATH_W='echo'
    DECODER_LOBJ=''
    DECODER_OBJ=''
    DEFS=''
    DEPDIR='.deps'
    DLLTOOL=''
    DSYMUTIL=''
    DUMMY_CFLAGS=''
    DUMMY_LDFLAGS=''
    DUMMY_LIBS=''
    DUMPBIN=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    ESD_CFLAGS=''
    ESD_LDFLAGS=''
    ESD_LIBS=''
    EXEC_LT_LDFLAGS=''
    EXEEXT=''
    FGREP=''
    GREP=''
    HAVE_AIX_FALSE=''
    HAVE_AIX_TRUE=''
    HAVE_ALIB_FALSE=''
    HAVE_ALIB_TRUE=''
    HAVE_ALSA_FALSE=''
    HAVE_ALSA_TRUE=''
    HAVE_ARTS_FALSE=''
    HAVE_ARTS_TRUE=''
    HAVE_COREAUDIO_FALSE=''
    HAVE_COREAUDIO_TRUE=''
    HAVE_DUMMY_FALSE=''
    HAVE_DUMMY_TRUE=''
    HAVE_ESD_FALSE=''
    HAVE_ESD_TRUE=''
    HAVE_HP_FALSE=''
    HAVE_HP_TRUE=''
    HAVE_JACK_FALSE=''
    HAVE_JACK_TRUE=''
    HAVE_MINT_FALSE=''
    HAVE_MINT_TRUE=''
    HAVE_MODULES_FALSE=''
    HAVE_MODULES_TRUE=''
    HAVE_NAS_FALSE=''
    HAVE_NAS_TRUE=''
    HAVE_OPENAL_FALSE=''
    HAVE_OPENAL_TRUE=''
    HAVE_OS2_FALSE=''
    HAVE_OS2_TRUE=''
    HAVE_OSS_FALSE=''
    HAVE_OSS_TRUE=''
    HAVE_PORTAUDIO_FALSE=''
    HAVE_PORTAUDIO_TRUE=''
    HAVE_PULSE_FALSE=''
    HAVE_PULSE_TRUE=''
    HAVE_SDL_FALSE=''
    HAVE_SDL_TRUE=''
    HAVE_SGI_FALSE=''
    HAVE_SGI_TRUE=''
    HAVE_SNDIO_FALSE=''
    HAVE_SNDIO_TRUE=''
    HAVE_SUN_FALSE=''
    HAVE_SUN_TRUE=''
    HAVE_WIN32_FALSE=''
    HAVE_WIN32_TRUE=''
    HP_CFLAGS=''
    HP_LDFLAGS=''
    HP_LIBS=''
    INCLUDE_STDIO_H=''
    INCLUDE_STDLIB_H=''
    INCLUDE_SYS_TYPE_H=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    JACK_CFLAGS=''
    JACK_LDFLAGS=''
    JACK_LIBS=''
    LD=''
    LDFLAGS='-Wl,--hash-style=gnu -Wl,--as-needed'
    LFS_LOBJ=''
    LIBMPG123_VERSION='25:5:25'
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LIPO=''
    LN_S=''
    LTLIBOBJS=''
    LT_LDFLAGS='-export-dynamic'
    MAKEINFO='${SHELL} /var/abs/local/mpg123/src/mpg123-1.12.3/build/missing --run makeinfo'
    MINT_CFLAGS=''
    MINT_LDFLAGS=''
    MINT_LIBS=''
    MKDIR_P='/bin/mkdir -p'
    MODULE_OBJ=''
    NAS_CFLAGS=''
    NAS_LDFLAGS=''
    NAS_LIBS=''
    NM=''
    NMEDIT=''
    OBJDUMP=''
    OBJEXT=''
    OPENAL_CFLAGS=''
    OPENAL_LDFLAGS=''
    OPENAL_LIBS=''
    OS2_CFLAGS=''
    OS2_LDFLAGS=''
    OS2_LIBS=''
    OSS_CFLAGS=''
    OSS_LDFLAGS=''
    OSS_LIBS=''
    OTOOL64=''
    OTOOL=''
    OUTPUT_CFLAGS=''
    OUTPUT_LDFLAGS=''
    OUTPUT_LIBS=''
    OUTPUT_MOD=''
    OUTPUT_OBJ=''
    PACKAGE='mpg123'
    PACKAGE_BUGREPORT='[email protected]'
    PACKAGE_NAME='mpg123'
    PACKAGE_STRING='mpg123 1.12.3'
    PACKAGE_TARNAME='mpg123'
    PACKAGE_URL=''
    PACKAGE_VERSION='1.12.3'
    PATH_SEPARATOR=':'
    PKG_CONFIG=''
    PORTAUDIO_CFLAGS=''
    PORTAUDIO_LDFLAGS=''
    PORTAUDIO_LIBS=''
    PULSE_CFLAGS=''
    PULSE_LDFLAGS=''
    PULSE_LIBS=''
    RANLIB=''
    SDL_CFLAGS=''
    SDL_LDFLAGS=''
    SDL_LIBS=''
    SED=''
    SET_MAKE=''
    SGI_CFLAGS=''
    SGI_LDFLAGS=''
    SGI_LIBS=''
    SHELL='/bin/sh'
    SNDIO_CFLAGS=''
    SNDIO_LDFLAGS=''
    SNDIO_LIBS=''
    STRIP=''
    SUN_CFLAGS=''
    SUN_LDFLAGS=''
    SUN_LIBS=''
    VERSION='1.12.3'
    WIN32_CFLAGS=''
    WIN32_CODES_FALSE=''
    WIN32_CODES_TRUE=''
    WIN32_LDFLAGS=''
    WIN32_LIBS=''
    ac_ct_CC='gcc'
    ac_ct_DUMPBIN=''
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE=''
    am__fastdepCCAS_FALSE=''
    am__fastdepCCAS_TRUE=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__include='include'
    am__isrc=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    bindir='${exec_prefix}/bin'
    build='x86_64-unknown-linux-gnu'
    build_alias=''
    build_cpu='x86_64'
    build_os='linux-gnu'
    build_vendor='unknown'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='x86_64-unknown-linux-gnu'
    host_alias=''
    host_cpu='x86_64'
    host_os='linux-gnu'
    host_vendor='unknown'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /var/abs/local/mpg123/src/mpg123-1.12.3/build/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    lt_ECHO='echo'
    mandir='${datarootdir}/man'
    mkdir_p='/bin/mkdir -p'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/usr'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''
    ## confdefs.h. ##
    /* confdefs.h */
    #define PACKAGE_NAME "mpg123"
    #define PACKAGE_TARNAME "mpg123"
    #define PACKAGE_VERSION "1.12.3"
    #define PACKAGE_STRING "mpg123 1.12.3"
    #define PACKAGE_BUGREPORT "[email protected]"
    #define PACKAGE_URL ""
    #define PACKAGE "mpg123"
    #define VERSION "1.12.3"
    configure: exit 77
    the parts i had searched on google are specificaly the
    "/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../lib/crt1.o: In function `_start':
    (.text+0x12): undefined reference to `__libc_csu_fini'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../lib/crt1.o: In function `_start':
    (.text+0x19): undefined reference to `__libc_csu_init'"
    does anyone have an idea of what could it be?
    notice that this doesn't bother me because if i use the glibc from the repositories everything works fine, this is just for curiosity of why it doesn't work
    thanks in advance

    slacknatcher wrote:
    the parts i had searched on google are specificaly the
    "/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../lib/crt1.o: In function `_start':
    (.text+0x12): undefined reference to `__libc_csu_fini'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../lib/crt1.o: In function `_start':
    (.text+0x19): undefined reference to `__libc_csu_init'"
    does anyone have an idea of what could it be?
    notice that this doesn't bother me because if i use the glibc from the repositories everything works fine, this is just for curiosity of why it doesn't work
    thanks in advance
    You have stripped glibc too much.  See the Arch PKGBUILD and make sure your makepkg.conf has STRIP_BINARY etc defined.

  • Oracle OCI CLIENT 11g is not connecting with PHP & Apache on Fedora

    Dear all... we are facing following issue... similar to other but not able to resolve ...
    Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that LD_LIBRARY_PATH includes the directory with Oracle Instant Client libraries in /var/www/html/waseem2.php on line 2
    our PHPinfo(); is showing following the OCI8 Extenstion Enabled
    PHP Version 5.2.9
    System      Linux localhost.localdomain 2.6.27.5-117.fc10.i686 #1 SMP Tue Nov 18 12:19:59 EST 2008 i686
    Build Date      Apr 17 2009 03:29:46
    Configure Command      './configure' '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--with-t1lib=/usr' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-mime-magic' '--without-sqlite' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--disable-json' '--without-pspell'
    Server API      Apache 2.0 Handler
    Virtual Directory Support      disabled
    Configuration File (php.ini) Path      /etc
    Loaded Configuration File      /etc/php.ini
    Scan this dir for additional .ini files      /etc/php.d
    additional .ini files parsed      /etc/php.d/dbase.ini, /etc/php.d/json.ini, /etc/php.d/ldap.ini, /etc/php.d/mbstring.ini, /etc/php.d/mysql.ini, /etc/php.d/mysqli.ini, /etc/php.d/pdo.ini, /etc/php.d/pdo_mysql.ini, /etc/php.d/pdo_sqlite.ini, /etc/php.d/zip.ini
    PHP API      20041225
    PHP Extension      20060613
    Zend Extension      220060519
    Debug Build      no
    Thread Safety      disabled
    Zend Memory Manager      enabled
    IPv6 Support      enabled
    Registered PHP Streams      php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps, zip
    Registered Stream Socket Transports      tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
    Registered Stream Filters      string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*
    Zend logo This program makes use of the Zend Scripting Language Engine:
    Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
    PHP Credits
    Configuration
    PHP Core
    Directive     Local Value     Master Value
    allow_call_time_pass_reference     Off     Off
    allow_url_fopen     On     On
    allow_url_include     Off     Off
    always_populate_raw_post_data     Off     Off
    arg_separator.input     &     &
    arg_separator.output     &     &
    asp_tags     Off     Off
    auto_append_file     no value     no value
    auto_globals_jit     On     On
    auto_prepend_file     no value     no value
    browscap     no value     no value
    default_charset     no value     no value
    default_mimetype     text/html     text/html
    define_syslog_variables     Off     Off
    disable_classes     no value     no value
    disable_functions     no value     no value
    display_errors     On     On
    display_startup_errors     Off     Off
    doc_root     no value     no value
    docref_ext     no value     no value
    docref_root     no value     no value
    enable_dl     On     On
    error_append_string     no value     no value
    error_log     no value     no value
    error_prepend_string     no value     no value
    error_reporting     6143     6143
    expose_php     On     On
    extension_dir     /usr/lib/php/modules     /usr/lib/php/modules
    file_uploads     On     On
    highlight.bg     #FFFFFF     #FFFFFF
    highlight.comment     #FF8000     #FF8000
    highlight.default     #0000BB     #0000BB
    highlight.html     #000000     #000000
    highlight.keyword     #007700     #007700
    highlight.string     #DD0000     #DD0000
    html_errors     On     On
    ignore_repeated_errors     Off     Off
    ignore_repeated_source     Off     Off
    ignore_user_abort     Off     Off
    implicit_flush     Off     Off
    include_path     .:/usr/share/pear:/usr/share/php     .:/usr/share/pear:/usr/share/php
    log_errors     On     On
    log_errors_max_len     1024     1024
    magic_quotes_gpc     Off     Off
    magic_quotes_runtime     Off     Off
    magic_quotes_sybase     Off     Off
    mail.force_extra_parameters     no value     no value
    max_execution_time     30     30
    max_input_nesting_level     64     64
    max_input_time     60     60
    memory_limit     32M     32M
    open_basedir     no value     no value
    output_buffering     4096     4096
    output_handler     no value     no value
    post_max_size     8M     8M
    precision     14     14
    realpath_cache_size     16K     16K
    realpath_cache_ttl     120     120
    register_argc_argv     Off     Off
    register_globals     Off     Off
    register_long_arrays     Off     Off
    report_memleaks     On     On
    report_zend_debug     On     On
    safe_mode     Off     Off
    safe_mode_exec_dir     no value     no value
    safe_mode_gid     Off     Off
    safe_mode_include_dir     no value     no value
    sendmail_from     no value     no value
    sendmail_path     /usr/sbin/sendmail -t -i     /usr/sbin/sendmail -t -i
    serialize_precision     100     100
    short_open_tag     On     On
    SMTP     localhost     localhost
    smtp_port     25     25
    sql.safe_mode     Off     Off
    track_errors     Off     Off
    unserialize_callback_func     no value     no value
    upload_max_filesize     2M     2M
    upload_tmp_dir     no value     no value
    user_dir     no value     no value
    variables_order     EGPCS     EGPCS
    xmlrpc_error_number     0     0
    xmlrpc_errors     Off     Off
    y2k_compliance     On     On
    zend.ze1_compatibility_mode     Off     Off
    apache2handler
    Apache Version      Apache/2.2.11 (Fedora)
    Apache API Version      20051115
    Server Administrator      root@localhost
    Hostname:Port      localhost.localdomain:0
    User/Group      apache(48)/48
    Max Requests      Per Child: 4000 - Keep Alive: off - Max Per Connection: 100
    Timeouts      Connection: 120 - Keep-Alive: 15
    Virtual Server      No
    Server Root      /etc/httpd
    Loaded Modules      core prefork http_core mod_so mod_auth_basic mod_auth_digest mod_authn_file mod_authn_alias mod_authn_anon mod_authn_dbm mod_authn_default mod_authz_host mod_authz_user mod_authz_owner mod_authz_groupfile mod_authz_dbm mod_authz_default util_ldap mod_authnz_ldap mod_include mod_log_config mod_logio mod_env mod_ext_filter mod_mime_magic mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy mod_proxy_balancer mod_proxy_ftp mod_proxy_http mod_proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi mod_perl mod_php5 mod_proxy_ajp mod_python mod_ssl
    Directive     Local Value     Master Value
    engine     1     1
    last_modified     0     0
    xbithack     0     0
    Apache Environment
    Variable     Value
    LD_LIBRARY_PATH      /home/zubair/instantclient_11_1_
    HTTP_HOST      localhost
    HTTP_USER_AGENT      Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc10 Firefox/3.0.4
    HTTP_ACCEPT      text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_ACCEPT_LANGUAGE      en-us,en;q=0.5
    HTTP_ACCEPT_ENCODING      gzip,deflate
    HTTP_ACCEPT_CHARSET      ISO-8859-1,utf-8;q=0.7,*;q=0.7
    HTTP_KEEP_ALIVE      300
    HTTP_CONNECTION      keep-alive
    HTTP_COOKIE      PHPSESSID=he50pdhvtihu74lhmjnvggfr42
    PATH      /sbin:/usr/sbin:/bin:/usr/bin
    SERVER_SIGNATURE      <address>Apache/2.2.11 (Fedora) Server at localhost Port 80</address>
    SERVER_SOFTWARE      Apache/2.2.11 (Fedora)
    SERVER_NAME      localhost
    SERVER_ADDR      127.0.0.1
    SERVER_PORT      80
    REMOTE_ADDR      127.0.0.1
    DOCUMENT_ROOT      /var/www/html
    SERVER_ADMIN      root@localhost
    SCRIPT_FILENAME      /var/www/html/waseem.php
    REMOTE_PORT      39529
    GATEWAY_INTERFACE      CGI/1.1
    SERVER_PROTOCOL      HTTP/1.1
    REQUEST_METHOD      GET
    QUERY_STRING      no value
    REQUEST_URI      /waseem.php
    SCRIPT_NAME      /waseem.php
    HTTP Headers Information
    HTTP Request Headers
    HTTP Request      GET /waseem.php HTTP/1.1
    Host      localhost
    User-Agent      Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc10 Firefox/3.0.4
    Accept      text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language      en-us,en;q=0.5
    Accept-Encoding      gzip,deflate
    Accept-Charset      ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive      300
    Connection      keep-alive
    Cookie      PHPSESSID=he50pdhvtihu74lhmjnvggfr42
    HTTP Response Headers
    X-Powered-By      PHP/5.2.9
    Connection      close
    Transfer-Encoding      chunked
    Content-Type      text/html; charset=UTF-8
    bz2
    BZip2 Support      Enabled
    Stream Wrapper support      compress.bz2://
    Stream Filter support      bzip2.decompress, bzip2.compress
    BZip2 Version      1.0.5, 10-Dec-2007
    calendar
    Calendar support      enabled
    ctype
    ctype functions      enabled
    curl
    cURL support      enabled
    cURL Information      libcurl/7.18.2 NSS/3.12.1.1 zlib/1.2.3 libidn/0.6.14 libssh2/0.18
    date
    date/time support      enabled
    "Olson" Timezone Database Version      0.system
    Timezone Database      internal
    Default timezone      Asia/Karachi
    Directive     Local Value     Master Value
    date.default_latitude     31.7667     31.7667
    date.default_longitude     35.2333     35.2333
    date.sunrise_zenith     90.583333     90.583333
    date.sunset_zenith     90.583333     90.583333
    date.timezone     no value     no value
    exif
    EXIF Support      enabled
    EXIF Version      1.4 $Id: exif.c,v 1.173.2.5.2.27 2008/12/31 11:17:37 sebastian Exp $
    Supported EXIF Version      0220
    Supported filetypes      JPEG,TIFF
    filter
    Input Validation and Filtering      enabled
    Revision      $Revision: 1.52.2.45 $
    Directive     Local Value     Master Value
    filter.default     unsafe_raw     unsafe_raw
    filter.default_flags     no value     no value
    ftp
    FTP support      enabled
    gettext
    GetText Support      enabled
    gmp
    gmp support      enabled
    GMP version      4.2.2
    hash
    hash support      enabled
    Hashing Engines      md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
    iconv
    iconv support      enabled
    iconv implementation      glibc
    iconv library version      2.9
    Directive     Local Value     Master Value
    iconv.input_encoding     ISO-8859-1     ISO-8859-1
    iconv.internal_encoding     ISO-8859-1     ISO-8859-1
    iconv.output_encoding     ISO-8859-1     ISO-8859-1
    json
    json support      enabled
    json version      1.2.1
    ldap
    LDAP Support      enabled
    RCS Version      $Id: ldap.c,v 1.161.2.3.2.14 2008/12/31 11:17:39 sebastian Exp $
    Total Links      0/unlimited
    API Version      3001
    Vendor Name      OpenLDAP
    Vendor Version      20412
    SASL Support      Enabled
    libxml
    libXML support      active
    libXML Version      2.7.3
    libXML streams      enabled
    mbstring
    Multibyte Support      enabled
    Multibyte string engine      libmbfl
    Multibyte (japanese) regex support      enabled
    Multibyte regex (oniguruma) version      4.4.4
    Multibyte regex (oniguruma) backtrack check      On
    mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
    Directive     Local Value     Master Value
    mbstring.detect_order     no value     no value
    mbstring.encoding_translation     Off     Off
    mbstring.func_overload     0     0
    mbstring.http_input     pass     pass
    mbstring.http_output     pass     pass
    mbstring.internal_encoding     no value     no value
    mbstring.language     neutral     neutral
    mbstring.strict_detection     Off     Off
    mbstring.substitute_character     no value     no value
    mysql
    MySQL Support     enabled
    Active Persistent Links      0
    Active Links      0
    Client API version      5.0.84
    MYSQL_MODULE_TYPE      external
    MYSQL_SOCKET      /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE      -I/usr/include/mysql
    MYSQL_LIBS      -L/usr/lib/mysql -lmysqlclient
    Directive     Local Value     Master Value
    mysql.allow_persistent     On     On
    mysql.connect_timeout     60     60
    mysql.default_host     no value     no value
    mysql.default_password     no value     no value
    mysql.default_port     no value     no value
    mysql.default_socket     no value     no value
    mysql.default_user     no value     no value
    mysql.max_links     Unlimited     Unlimited
    mysql.max_persistent     Unlimited     Unlimited
    mysql.trace_mode     Off     Off
    mysqli
    MysqlI Support     enabled
    Client API library version      5.0.84
    Client API header version      5.0.77
    MYSQLI_SOCKET      /var/lib/mysql/mysql.sock
    Directive     Local Value     Master Value
    mysqli.default_host     no value     no value
    mysqli.default_port     3306     3306
    mysqli.default_pw     no value     no value
    mysqli.default_socket     no value     no value
    mysqli.default_user     no value     no value
    mysqli.max_links     Unlimited     Unlimited
    mysqli.reconnect     Off     Off
    oci8
    OCI8 Support      enabled
    Version      1.3.5
    Revision      $Revision: 1.269.2.16.2.38.2.32 $
    Active Persistent Connections      0
    Active Connections      0
    Oracle Instant Client Version      11.1
    Temporary Lob support      enabled
    Collections support      enabled
    Directive     Local Value     Master Value
    oci8.connection_class     no value     no value
    oci8.default_prefetch     100     100
    oci8.events     Off     Off
    oci8.max_persistent     -1     -1
    oci8.old_oci_close_semantics     Off     Off
    oci8.persistent_timeout     -1     -1
    oci8.ping_interval     60     60
    oci8.privileged_connect     Off     Off
    oci8.statement_cache_size     20     20
    openssl
    OpenSSL support      enabled
    OpenSSL Version      OpenSSL 0.9.8g 19 Oct 2007
    pcre
    PCRE (Perl Compatible Regular Expressions) Support      enabled
    PCRE Library Version      7.8 2008-09-05
    Directive     Local Value     Master Value
    pcre.backtrack_limit     100000     100000
    pcre.recursion_limit     100000     100000
    PDO
    PDO support     enabled
    PDO drivers      mysql, sqlite
    pdo_mysql
    PDO Driver for MySQL, client library version     5.0.84
    pdo_sqlite
    PDO Driver for SQLite 3.x     enabled
    PECL Module version      1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.4 2008/12/31 11:17:42 sebastian Exp $
    SQLite Library      3.5.9
    posix
    Revision      $Revision: 1.70.2.3.2.22 $
    Reflection
    Reflection     enabled
    Version      $Id: php_reflection.c,v 1.164.2.33.2.55 2008/12/31 11:17:42 sebastian Exp $
    session
    Session Support      enabled
    Registered save handlers      files user
    Registered serializer handlers      php php_binary wddx
    Directive     Local Value     Master Value
    session.auto_start     Off     Off
    session.bug_compat_42     Off     Off
    session.bug_compat_warn     On     On
    session.cache_expire     180     180
    session.cache_limiter     nocache     nocache
    session.cookie_domain     no value     no value
    session.cookie_httponly     Off     Off
    session.cookie_lifetime     0     0
    session.cookie_path     /     /
    session.cookie_secure     Off     Off
    session.entropy_file     no value     no value
    session.entropy_length     0     0
    session.gc_divisor     1000     1000
    session.gc_maxlifetime     1440     1440
    session.gc_probability     1     1
    session.hash_bits_per_character     5     5
    session.hash_function     0     0
    session.name     PHPSESSID     PHPSESSID
    session.referer_check     no value     no value
    session.save_handler     files     files
    session.save_path     /var/lib/php/session     /var/lib/php/session
    session.serialize_handler     php     php
    session.use_cookies     On     On
    session.use_only_cookies     Off     Off
    session.use_trans_sid     0     0
    shmop
    shmop support      enabled
    SimpleXML
    Simplexml support     enabled
    Revision      $Revision: 1.151.2.22.2.46 $
    Schema support      enabled
    sockets
    Sockets Support      enabled
    SPL
    SPL support     enabled
    Interfaces      Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
    Classes      AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException
    standard
    Regex Library      Bundled library enabled
    Dynamic Library Support      enabled
    Path to sendmail      /usr/sbin/sendmail -t -i
    Directive     Local Value     Master Value
    assert.active     1     1
    assert.bail     0     0
    assert.callback     no value     no value
    assert.quiet_eval     0     0
    assert.warning     1     1
    auto_detect_line_endings     0     0
    default_socket_timeout     60     60
    safe_mode_allowed_env_vars     PHP_     PHP_
    safe_mode_protected_env_vars     LD_LIBRARY_PATH     LD_LIBRARY_PATH
    url_rewriter.tags     a=href,area=href,frame=src,input=src,form=fakeentry     a=href,area=href,frame=src,input=src,form=fakeentry
    user_agent     no value     no value
    sysvmsg
    sysvmsg support      enabled
    Revision      $Revision: 1.20.2.3.2.8 $
    tokenizer
    Tokenizer Support      enabled
    wddx
    WDDX Support     enabled
    WDDX Session Serializer      enabled
    xml
    XML Support      active
    XML Namespace Support      active
    libxml2 Version      2.7.3
    zip
    Zip      enabled
    Extension Version      $Id: php_zip.c,v 1.1.2.49 2009/02/05 19:53:22 pajoye Exp $
    Zip version      1.8.11
    Libzip version      0.9.0
    zlib
    ZLib Support      enabled
    Stream Wrapper support      compress.zlib://
    Stream Filter support      zlib.inflate, zlib.deflate
    Compiled Version      1.2.3
    Linked Version      1.2.3
    Directive     Local Value     Master Value
    zlib.output_compression     Off     Off
    zlib.output_compression_level     -1     -1
    zlib.output_handler     no value     no value
    Additional Modules
    Module Name
    dbase
    sysvsem
    sysvshm
    Environment
    Variable     Value
    TERM      xterm
    LD_LIBRARY_PATH      /home/zubair/instantclient_11_1/
    PATH      /sbin:/usr/sbin:/bin:/usr/bin
    PWD      /
    LANG      C
    SHLVL      2
    ORACLE_HOME      /home/zubair/instantclient_11_1/
    _      /usr/sbin/httpd
    PHP Variables
    Variable     Value
    _REQUEST["PHPSESSID"]     he50pdhvtihu74lhmjnvggfr42
    _COOKIE["PHPSESSID"]     he50pdhvtihu74lhmjnvggfr42
    SERVER["LDLIBRARY_PATH"]     /home/zubair/instantclient_11_1
    _SERVER["HTTP_HOST"]     localhost
    _SERVER["HTTP_USER_AGENT"]     Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc10 Firefox/3.0.4
    _SERVER["HTTP_ACCEPT"]     text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    _SERVER["HTTP_ACCEPT_LANGUAGE"]     en-us,en;q=0.5
    _SERVER["HTTP_ACCEPT_ENCODING"]     gzip,deflate
    _SERVER["HTTP_ACCEPT_CHARSET"]     ISO-8859-1,utf-8;q=0.7,*;q=0.7
    _SERVER["HTTP_KEEP_ALIVE"]     300
    _SERVER["HTTP_CONNECTION"]     keep-alive
    _SERVER["HTTP_COOKIE"]     PHPSESSID=he50pdhvtihu74lhmjnvggfr42
    _SERVER["PATH"]     /sbin:/usr/sbin:/bin:/usr/bin
    _SERVER["SERVER_SIGNATURE"]     <address>Apache/2.2.11 (Fedora) Server at localhost Port 80</address>
    _SERVER["SERVER_SOFTWARE"]     Apache/2.2.11 (Fedora)
    _SERVER["SERVER_NAME"]     localhost
    _SERVER["SERVER_ADDR"]     127.0.0.1
    _SERVER["SERVER_PORT"]     80
    _SERVER["REMOTE_ADDR"]     127.0.0.1
    _SERVER["DOCUMENT_ROOT"]     /var/www/html
    _SERVER["SERVER_ADMIN"]     root@localhost
    _SERVER["SCRIPT_FILENAME"]     /var/www/html/waseem.php
    _SERVER["REMOTE_PORT"]     39529
    _SERVER["GATEWAY_INTERFACE"]     CGI/1.1
    _SERVER["SERVER_PROTOCOL"]     HTTP/1.1
    _SERVER["REQUEST_METHOD"]     GET
    _SERVER["QUERY_STRING"]     no value
    _SERVER["REQUEST_URI"]     /waseem.php
    _SERVER["SCRIPT_NAME"]     /waseem.php
    _SERVER["PHP_SELF"]     /waseem.php
    _SERVER["REQUEST_TIME"]     1253301146
    _ENV["TERM"]     xterm
    _ENV["LD_LIBRARY_PATH"]     /home/zubair/instantclient_11_1/
    _ENV["PATH"]     /sbin:/usr/sbin:/bin:/usr/bin
    _ENV["PWD"]     /
    _ENV["LANG"]     C
    _ENV["SHLVL"]     2
    _ENV["ORACLE_HOME"]     /home/zubair/instantclient_11_1/
    _ENV["_"]     /usr/sbin/httpd
    PHP License
    This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE
    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact [email protected].
    Have a nice day!
    Fatal error: Call to undefined function odbc_connect() in /var/www/html/waseem.php on line 20
    ------------------------------------------------------------------------------------------

    Is the problem with oci_connect or odbc_connect?
    The phpinfo() output shows '--without-unixODBC' which may be a root cause. There is no 'odbc' section shown in the phpinfo() output so I wouldn't expect odbc calls to work.
    But if the issue is with OCI8, then make sure that Oracle environment variables and LD_LIBRARY_PATH are set BEFORE starting Apache.
    More information on OCI8 and PHP is in http://www.oracle.com/technology/tech/php/underground-php-oracle-manual.html
    Also see http://wiki.oracle.com/page/PHP+Oracle+FAQ
    The PHP forum on OTN is http://www.oracle.com/technology/forums/php.html

  • Problem with retrieving data from Oracle 10g / PHP4.3 / Apache 1.3.27

    Hi,
    I re-open a new thread following the opened post 'Getting RPMs for php-oracle for PHP4.3 on RHEL 4.0 and issue with OCI8 '
    I could re-installed PHP4.3 and apache 1.3.27 from the normal tar package (./configure then make) - I had some issues with the RPMs packages before.
    I could connect successfully PHP4.3 to my Oracle 10g DB with no issues by using some of the (deprecated) functions contained in oracle.so library in command line mode by executing a simple PHP script ;-)
    But ...when I try to execute the same script (a simple log on to the DB) or the application throught my web browser there are some errors in the apache error_log file that crash the process:
    [Wed Jul 25 13:19:23 2007] [notice] child pid 25450 exit signal Segmentation fault (11)
    [Wed Jul 25 13:19:31 2007] [notice] child pid 25451 exit signal Segmentation fault (11)
    *** glibc detected *** realloc(): invalid size: 0x08338898 ***
    [Wed Jul 25 13:19:42 2007] [notice] child pid 25441 exit signal Aborted (6)
    *** glibc detected *** realloc(): invalid size: 0x08338898 ***
    [Wed Jul 25 13:54:52 2007] [notice] child pid 25508 exit signal Aborted (6)
    [Fri Jul 27 04:39:56 2007] [notice] child pid 20550 exit signal Segmentation fault (11)
    After some investigations it looks like this is due to the connection of Oracle 10G and php.
    I tried to recompile Apache as the following:
    # cd /usr/src/apache_1.3.xx
    # make clean
    # LIBS=-lpthread ./config.status
    # make
    # make install
    but the issue is the same ...
    How can I workaround that issue and fix it in order to connect to Oracle 10 G by using PHP4.3 / apache 1.3.27 ?
    I need to use the oracle.so library to avoid to re-rewrite all my application ...
    Any help much very appreciated !
    Cheers
    Dominique

    You are in unchartered territory. But check the common "gotcha" and
    make sure that all the Oracle environment variables are set in the
    shell that starts Apache. Load the script <?php phpinfo(); ?> in a
    browser and see that whatever variables you need are set in the
    Environment section. See the section "Oracle Environment Variables
    for Connections" in Underground PHP and Oracle Manual
    I suspect it would be beneficial to migrate the PHP code to oci8.
    Check table 16-1 in Underground PHP and Oracle Manual for the mapping
    between 'oracle' and 'oci8' functions.
    -- cj

  • Things are randomly segfaulting and I can't figure out why! [solved]

    Hi, recently I have been getting random segfaults and corruption.
    For example, I can't uncompress files, bsdtar gives errors 9/10 times and I can't compile a program.
    I get weird and random output.
    Attempt 1:
    -> Extracting libarchive-2.8.3.tar.gz with bsdtar
    bsdtar: Damaged tar archive
    bsdtar: Retrying...
    bsdtar: Damaged tar archive
    bsdtar: Retrying...
    bsdtar: Damaged tar archive
    bsdtar: Retrying...
    bsdtar: Damaged tar archive
    bsdtar: Retrying...
    bsdtar: Damaged tar archive
    Attempt 2:
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -march=athlon64 -O2 -pipe -fomit-frame-pointer -MT libarchive/archive_entry_copy_stat.lo -MD -MP -MF libarchive/.deps/archive_entry_copy_stat.Tpo -c libarchive/archive_entry_copy_stat.c -fPIC -DPIC -o libarchive/.libs/archive_entry_copy_stat.o
    In file included from libarchive/archive_entry_copy_stat.c:33:
    libarchive/archive_entry.h:514: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
    make[1]: *** [libarchive/archive_entry_copy_stat.lo] Error 1
    make[1]: Leaving directory `/home/youri/abs/libarchive/src/libarchive-2.8.3'
    make: *** [all] Error 2
    Attempt 3:
    do
    eval ac_val=\$$ac_var; case $ac_val in
    *${as_nl}*)
    case $ac_var in
    *_cv_*)
    { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." 1>&5; $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." 1>&2; }
    esac; case $ac_var in
    _ | IFS | as_nl)
    BASH_ARGV | BASH_SOURCE)
    eval $ac_var=
    $as_unset $ac_var
    esac
    esac;
    done; ( set ) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in
    *${as_nl}ac_space=\ *)
    sed -n "s/'/'\\\\''/g;
    s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    esac | sort )
    *** glibc detected *** /bin/sh: munmap_chunk(): invalid pointer: 0x00000000014c0000 ***
    ======= Backtrace: =========
    /lib/libc.so.6(+0x71906)[0x7fb5a7176906]
    /bin/sh(delete_all_jobs+0xfb)[0x4385fb]
    /bin/sh(without_job_control+0x24)[0x438694]
    /bin/sh[0x42d2bf]
    /bin/sh(execute_command_internal+0x16fc)[0x42a9fc]
    /bin/sh[0x4290ee]
    /bin/sh(execute_command_internal+0x140e)[0x42a70e]
    /bin/sh(execute_command_internal+0x12e2)[0x42a5e2]
    /bin/sh(execute_command+0x4e)[0x42aafe]
    /bin/sh(execute_command_internal+0x12a6)[0x42a5a6]
    /bin/sh(execute_command+0x4e)[0x42aafe]
    /bin/sh(execute_command_internal+0x12a6)[0x42a5a6]
    /bin/sh(execute_command+0x4e)[0x42aafe]
    /bin/sh(execute_command_internal+0x12a6)[0x42a5a6]
    /bin/sh(execute_command+0x4e)[0x42aafe]
    /bin/sh(execute_command_internal+0x12a6)[0x42a5a6]
    /bin/sh(execute_command+0x4e)[0x42aafe]
    /bin/sh(execute_command_internal+0x12a6)[0x42a5a6]
    /bin/sh(execute_command_internal+0xb06)[0x429e06]
    /bin/sh(parse_and_execute+0x1ca)[0x46568a]
    /bin/sh(run_exit_trap+0x113)[0x44ab93]
    /bin/sh(exit_shell+0x95)[0x416435]
    /bin/sh(main+0xe74)[0x417d54]
    /lib/libc.so.6(__libc_start_main+0xfd)[0x7fb5a7123b6d]
    /bin/sh[0x415fb9]
    ======= Memory map: ========
    00400000-004a6000 r-xp 00000000 08:03 8307 /bin/bash
    006a5000-006aa000 rw-p 000a5000 08:03 8307 /bin/bash
    006aa000-006b3000 rw-p 00000000 00:00 0
    01460000-0157c000 rw-p 00000000 00:00 0 [heap]
    7fb5a6cbe000-7fb5a6cd4000 r-xp 00000000 08:03 3509 /usr/lib/libgcc_s.so.1
    7fb5a6cd4000-7fb5a6ed3000 ---p 00016000 08:03 3509 /usr/lib/libgcc_s.so.1
    7fb5a6ed3000-7fb5a6ed4000 rw-p 00015000 08:03 3509 /usr/lib/libgcc_s.so.1
    7fb5a6ef9000-7fb5a6f04000 r-xp 00000000 08:03 3121 /lib/libnss_files-2.11.1.so
    7fb5a6f04000-7fb5a7103000 ---p 0000b000 08:03 3121 /lib/libnss_files-2.11.1.so
    7fb5a7103000-7fb5a7104000 r--p 0000a000 08:03 3121 /lib/libnss_files-2.11.1.so
    7fb5a7104000-7fb5a7105000 rw-p 0000b000 08:03 3121 /lib/libnss_files-2.11.1.so
    7fb5a7105000-7fb5a7252000 r-xp 00000000 08:03 3118 /lib/libc-2.11.1.so
    7fb5a7252000-7fb5a7451000 ---p 0014d000 08:03 3118 /lib/libc-2.11.1.so
    7fb5a7451000-7fb5a7455000 r--p 0014c000 08:03 3118 /lib/libc-2.11.1.so
    7fb5a7455000-7fb5a7456000 rw-p 00150000 08:03 3118 /lib/libc-2.11.1.so
    7fb5a7456000-7fb5a745b000 rw-p 00000000 00:00 0
    7fb5a745b000-7fb5a745d000 r-xp 00000000 08:03 3067 /lib/libdl-2.11.1.so
    7fb5a745d000-7fb5a765d000 ---p 00002000 08:03 3067 /lib/libdl-2.11.1.so
    7fb5a765d000-7fb5a765e000 r--p 00002000 08:03 3067 /lib/libdl-2.11.1.so
    7fb5a765e000-7fb5a765f000 rw-p 00003000 08:03 3067 /lib/libdl-2.11.1.so
    7fb5a765f000-7fb5a76b5000 r-xp 00000000 08:03 5335 /lib/libncursesw.so.5.7
    7fb5a76b5000-7fb5a78b4000 ---p 00056000 08:03 5335 /lib/libncursesw.so.5.7
    7fb5a78b4000-7fb5a78b9000 rw-p 00055000 08:03 5335 /lib/libncursesw.so.5.7
    7fb5a78b9000-7fb5a78f3000 r-xp 00000000 08:03 2997 /lib/libreadline.so.6.1
    7fb5a78f3000-7fb5a7af3000 ---p 0003a000 08:03 2997 /lib/libreadline.so.6.1
    7fb5a7af3000-7fb5a7afb000 rw-p 0003a000 08:03 2997 /lib/libreadline.so.6.1
    7fb5a7afb000-7fb5a7afc000 rw-p 00000000 00:00 0
    7fb5a7afc000-7fb5a7b1a000 r-xp 00000000 08:03 3095 /lib/ld-2.11.1.so
    7fb5a7b3e000-7fb5a7cef000 r--p 00000000 08:03 12409 /usr/lib/locale/locale-archive
    7fb5a7cef000-7fb5a7cf3000 rw-p 00000000 00:00 0
    7fb5a7d16000-7fb5a7d19000 rw-p 00000000 00:00 0
    7fb5a7d19000-7fb5a7d1a000 r--p 0001d000 08:03 3095 /lib/ld-2.11.1.so
    7fb5a7d1a000-7fb5a7d1b000 rw-p 0001e000 08:03 3095 /lib/ld-2.11.1.so
    7fb5a7d1b000-7fb5a7d1c000 rw-p 00000000 00:00 0
    7fff4289f000-7fff428b4000 rw-p 00000000 00:00 0 [stack]
    7fff429de000-7fff429df000 r-xp 00000000 00:00 0 [vdso]
    ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
    Makefile:15: *** missing separator. Stop.
    Firefox crashes the worst, deluge does too!!!!
    What's wrong!! Please help, I don't know how to fix this.
    [youri@nemesis libarchive]$ uname -a
    Linux nemesis 2.6.33-ARCH #1 SMP PREEMPT Sun Apr 4 10:27:30 CEST 2010 x86_64 AMD Athlon(tm) 64 Processor 2800+ AuthenticAMD GNU/Linux
    Edit: Nevermind, bad ram! Bah!
    Last edited by youri (2010-04-10 02:08:02)

    It is always best to avoid making changes to the selected text colors.<br />
    Firefox uses an algorithm to check if the contrast is sufficient and will swap text and background colors if that test fails.<br />
    *http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsTextFrameThebes.cpp#3349
    *http://forums.mozillazine.org/viewtopic.php?f=38&t=1331845

Maybe you are looking for