Re: httpd segmentation fault

2010-04-01 Thread Toni Mueller
Hi,

On Wed, 31.03.2010 at 22:10:08 +0300, Ozgur Kazancci 
 wrote:
> - Toni Mueller  wrote:
> > On Wed, 31.03.2010 at 14:03:06 -0400, Devin Ceartas  
> > wrote:
> > > I suppose it should be "5.2.11 or later" my machine running 4.6
> > > stable has 5.2.12 installed from ports
> > 
> > looking into CVS, it turns out that 5.2.10 is in 4.6-release, while
> > 5.2.12 is in 4.6-stable.
> 
> 5.2.12 in 4.6-stable? Weird. I've fetched the stable ports few minutes ago;
> cd /usr
> cvs -d$CVSROOT checkout -r OPENBSD_4_6 -P ports
> 
> but;
> 
> # make search name=php5-core
> Port:   php5-core-5.2.10
> 
> Still 5.2.10.. Might be an outdated cvs server, maybe?
> It is; anon...@obsd.cec.mtu.edu:/cvs.

I took the info from here:

http://www.openbsd.org/cgi-bin/cvsweb/ports/www/php5/Makefile.inc

Please look at revision 1.26.2.2, which should be near the top of the
page:


Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 23 01:07:26 2009 UTC (3 months, 1 week ago) by william
Branches: OPENBSD_4_6
^
Diff to: previous 1.26.2.1: preferred, coloured; branchpoint 1.26: preferred, 
coloured; next MAIN 1.27: preferred, coloured
Changes since revision 1.26.2.1: +4 -4 lines

MFC:

SECURITY FIX

php5-5.2.12

ok robert@



Kind regards,
--Toni++



Re: httpd segmentation fault

2010-03-31 Thread J.C. Roberts
On Wed, 31 Mar 2010 22:10:08 +0300 (EEST) Ozgur Kazancci
 wrote:

> cd /usr
> cvs -d$CVSROOT checkout -r OPENBSD_4_6 -P ports
> 
> but;
> 
> # make search name=php5-core
> Port:   php5-core-5.2.10
> 
> Still 5.2.10.. Might be an outdated cvs server, maybe?

As sthen@ mentioned, your ports/INDEX is out of date, and this is to be
expected. With lots of commits made every day, it just doesn't make
sense to update ports/INDEX continuously.

If you use `make search key=value` you will want to rebuild your local
ports/INDEX after you `update` or `checkout` through cvs.

# cd /usr/ports
# make index

The use of `make search key=value` is less fashionable these days
compared to some of the alternatives like databases/sqlports



Re: httpd segmentation fault

2010-03-31 Thread Stuart Henderson
On 2010-03-31, Ozgur Kazancci  wrote:
> # make search name=php5-core
> Port:   php5-core-5.2.10

'make search' uses /usr/ports/INDEX, which isn't updated for -stable.
try this instead: cd /usr/ports/www/php5/core; make show=PKGNAMES

> Still 5.2.10.. Might be an outdated cvs server, maybe?
> It is; anon...@obsd.cec.mtu.edu:/cvs.

obsd.cec.mtu.edu is consistently one of the most up-to-date mirrors.



Re: httpd segmentation fault

2010-03-31 Thread Ozgur Kazancci
- Toni Mueller  wrote:
> Hi,
> 
> On Wed, 31.03.2010 at 14:03:06 -0400, Devin Ceartas  
> wrote:
> > I suppose it should be "5.2.11 or later" my machine running 4.6
> > stable has 5.2.12 installed from ports
> 
> looking into CVS, it turns out that 5.2.10 is in 4.6-release, while
> 5.2.12 is in 4.6-stable.
> 

Hi.

5.2.12 in 4.6-stable? Weird. I've fetched the stable ports few minutes ago;
cd /usr
cvs -d$CVSROOT checkout -r OPENBSD_4_6 -P ports

but;

# make search name=php5-core
Port:   php5-core-5.2.10

Still 5.2.10.. Might be an outdated cvs server, maybe?
It is; anon...@obsd.cec.mtu.edu:/cvs.

Regards.

// Ozzy



Re: httpd segmentation fault

2010-03-31 Thread Toni Mueller
Hi,

On Wed, 31.03.2010 at 14:03:06 -0400, Devin Ceartas  wrote:
> I suppose it should be "5.2.11 or later" my machine running 4.6
> stable has 5.2.12 installed from ports

looking into CVS, it turns out that 5.2.10 is in 4.6-release, while
5.2.12 is in 4.6-stable.


-- 
Kind regards,
--Toni++



Re: httpd segmentation fault

2010-03-31 Thread Devin Ceartas
I suppose it should be "5.2.11 or later" my machine running 4.6 stable  
has 5.2.12 installed from ports


-- devin

On Mar 31, 2010, at 1:48 PM, Ozgur Kazancci wrote:


Hello.

My PhpMyAdmin was stopping the requests randomly,
and all i was getting was a blank page.

I checked the error_log, lots of Segmentation Faults were there;

error_log
[Wed Mar 31 10:04:11 2010] [notice] child pid 9954 exit signal  
Segmentation fault (11)
[Wed Mar 31 10:04:11 2010] [notice] child pid 6811 exit signal  
Segmentation fault (11)
[Wed Mar 31 10:04:12 2010] [notice] child pid 25005 exit signal  
Segmentation fault (11)
[Wed Mar 31 10:04:40 2010] [notice] child pid 9148 exit signal  
Segmentation fault (11)
[Wed Mar 31 10:04:41 2010] [notice] child pid 5246 exit signal  
Segmentation fault (11)
[Wed Mar 31 10:04:43 2010] [notice] child pid 31849 exit signal  
Segmentation fault (11)
[Wed Mar 31 10:04:45 2010] [notice] child pid 28004 exit signal  
Segmentation fault (11)
[Wed Mar 31 10:04:45 2010] [notice] child pid 23883 exit signal  
Segmentation fault (11)


After a long googleing, as a workaround,
I have added suhosin.session.encrypt = Off to php.ini
which seems to stop the error.

But;
I've seen some replies in the mailling list related to this issue;

"-stable ports has a newer version of PHP and the Suhosin patchset
where this problem and some security-related bugs are  
fixed." (2009.11.01)


another message says: you need to upgrade php to 5.2.11, from -stable,

Mine is PHP 5.2.10 with Suhosin-Patch 0.9.7.
I don't see 5.2.11 from -stable tree of 4.6.
Both 4.6 packages and ports have php5 version 5.2.10.

Am i missing something?

Packages:

phpMyAdmin-3.2.0
php5-core-5.2.10
php5-curl-5.2.10
php5-gd-5.2.10-no_x11
php5-mbstring-5.2.10
php5-mcrypt-5.2.10
php5-mhash-5.2.10
php5-mysql-5.2.10
php5-mysqli-5.2.10
mysql-server-5.0.83

stock Apache.

Best Regards.
--
Ozgur




httpd segmentation fault

2010-03-31 Thread Ozgur Kazancci
Hello.

My PhpMyAdmin was stopping the requests randomly,
and all i was getting was a blank page.

I checked the error_log, lots of Segmentation Faults were there;

error_log
[Wed Mar 31 10:04:11 2010] [notice] child pid 9954 exit signal Segmentation 
fault (11)
[Wed Mar 31 10:04:11 2010] [notice] child pid 6811 exit signal Segmentation 
fault (11)
[Wed Mar 31 10:04:12 2010] [notice] child pid 25005 exit signal Segmentation 
fault (11)
[Wed Mar 31 10:04:40 2010] [notice] child pid 9148 exit signal Segmentation 
fault (11)
[Wed Mar 31 10:04:41 2010] [notice] child pid 5246 exit signal Segmentation 
fault (11)
[Wed Mar 31 10:04:43 2010] [notice] child pid 31849 exit signal Segmentation 
fault (11)
[Wed Mar 31 10:04:45 2010] [notice] child pid 28004 exit signal Segmentation 
fault (11)
[Wed Mar 31 10:04:45 2010] [notice] child pid 23883 exit signal Segmentation 
fault (11)

After a long googleing, as a workaround,
I have added suhosin.session.encrypt = Off to php.ini
which seems to stop the error.

But;
I've seen some replies in the mailling list related to this issue;

"-stable ports has a newer version of PHP and the Suhosin patchset
where this problem and some security-related bugs are fixed." (2009.11.01)

another message says: you need to upgrade php to 5.2.11, from -stable, 

Mine is PHP 5.2.10 with Suhosin-Patch 0.9.7.
I don't see 5.2.11 from -stable tree of 4.6.
Both 4.6 packages and ports have php5 version 5.2.10.

Am i missing something? 

Packages:

phpMyAdmin-3.2.0
php5-core-5.2.10
php5-curl-5.2.10
php5-gd-5.2.10-no_x11
php5-mbstring-5.2.10
php5-mcrypt-5.2.10
php5-mhash-5.2.10
php5-mysql-5.2.10
php5-mysqli-5.2.10
mysql-server-5.0.83

stock Apache.

Best Regards.
-- 
Ozgur



Re: httpd segmentation fault in 3.9

2006-12-11 Thread Marcos Laufer
The funny thing is that i can run that phpmyadmin version on another
OpenBSD 3.9 i have running somewhere else , same php version and modules,
i just can't figure out what's wrong here on this one .
And the link you show me shows the same error with many different versions
of php and apache, so what would be a solution for this problem?

Anybody else expiriencing this rare problems?

Regards,
Marcos Laufer


- Original Message - 
From: "Andrew Pantyukhin" <[EMAIL PROTECTED]>
To: "Marcos Laufer" <[EMAIL PROTECTED]>
Cc: 
Sent: Monday, November 27, 2006 7:29 AM
Subject: Re: httpd segmentation fault in 3.9


On 11/26/06, Marcos Laufer <[EMAIL PROTECTED]> wrote:
> Hi there, i'm noticing crashes in httpd.
> I installed phpMyAdmin-2.7.0p0 from packages, configured it with http auth
,
> and when i access it with a browser sometimes the httpd gets crashed:
>
> [Sun Nov 26 13:48:03 2006] [notice] child pid 6618 exit signal
Segmentation
> fault (11)
> [Sun Nov 26 13:48:04 2006] [notice] child pid 20635 exit signal
Segmentation
> fault (11)
>
> The OS is OpenBSD 3.9 stable, GENERIC kernel . httpd is chrooted.
>
> I downloaded an newer version of phpMyAdmin from their site (2.9.1.1)
> and an older one (2.6.0pl2) and that crash doesn't happen.

We have the very same crash with Apache+PHP on FreeBSD
and it's clearly php related. There are similar bug reports [1]
everywhere. Consider it an average programming error, although
it might be directly related to php.ini settings.

[1] http://bugs.php.net/bug.php?id=24592



Re: httpd segmentation fault in 3.9

2006-11-27 Thread Andrew Pantyukhin

On 11/26/06, Marcos Laufer <[EMAIL PROTECTED]> wrote:

Hi there, i'm noticing crashes in httpd.
I installed phpMyAdmin-2.7.0p0 from packages, configured it with http auth ,
and when i access it with a browser sometimes the httpd gets crashed:

[Sun Nov 26 13:48:03 2006] [notice] child pid 6618 exit signal Segmentation
fault (11)
[Sun Nov 26 13:48:04 2006] [notice] child pid 20635 exit signal Segmentation
fault (11)

The OS is OpenBSD 3.9 stable, GENERIC kernel . httpd is chrooted.

I downloaded an newer version of phpMyAdmin from their site (2.9.1.1)
and an older one (2.6.0pl2) and that crash doesn't happen.


We have the very same crash with Apache+PHP on FreeBSD
and it's clearly php related. There are similar bug reports [1]
everywhere. Consider it an average programming error, although
it might be directly related to php.ini settings.

[1] http://bugs.php.net/bug.php?id=24592



httpd segmentation fault in 3.9

2006-11-26 Thread Marcos Laufer
Hi there, i'm noticing crashes in httpd.
I installed phpMyAdmin-2.7.0p0 from packages, configured it with http auth ,
and when i access it with a browser sometimes the httpd gets crashed:

[Sun Nov 26 13:48:03 2006] [notice] child pid 6618 exit signal Segmentation
fault (11)
[Sun Nov 26 13:48:04 2006] [notice] child pid 20635 exit signal Segmentation
fault (11)

The OS is OpenBSD 3.9 stable, GENERIC kernel . httpd is chrooted.

I downloaded an newer version of phpMyAdmin from their site (2.9.1.1)
and an older one (2.6.0pl2) and that crash doesn't happen.

Anyone is having the same strange issue?

some info of my system here, let me know if you need me to show you anything
else:

php5-core-5.0.5 server-side HTML-embedded scripting language
php5-gd-5.0.5p0 image manipulation extensions for php5
php5-mbstring-5.0.5p0 multibyte characters extensions for php5
php5-mysql-5.0.5p0  mysql database access extensions for php5
php5-pear-5.0.5 base classes for common PHP tasks
php5-pgsql-5.0.5p0  pgsql database access extensions for php5
php5-xsl-5.0.5p1XSL functions for php5
phpMyAdmin-2.7.0p0  tool to handle the administration of MySQL over the web
mysql-client-5.0.18p0 multithreaded SQL database (client)
mysql-server-5.0.18 multithreaded SQL database (server)
p5-DBD-mysql-2.9004 MySQL drivers for the Perl DBI

and dmesg

OpenBSD 3.9-stable (GENERIC) #3: Sun May  7 16:52:26 ART 2006
[EMAIL PROTECTED]/u/system/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLU
SH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,CNXT-ID
cpu0: Enhanced SpeedStep 1500 MHz (1420 mV): unknown EST cpu, no changes
possible
real mem  = 1064079360 (1039140K)
avail mem = 964218880 (941620K)
using 4278 buffers containing 53305344 bytes (52056K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 04/29/05
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xaa00!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915G/P/GV Host" rev 0x04
ppb0 at pci0 dev 1 function 0 "Intel 82915G/P/GV PCIE" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 "Intel 82915G/P/GV Video" rev 0x04: aperture
at 0xff48, size 0x1000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03
pci2 at ppb1 bus 5
ppb2 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x03
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x03
pci4 at ppb3 bus 3
ppb4 at pci0 dev 28 function 3 "Intel 82801FB PCIE" rev 0x03
pci5 at ppb4 bus 2
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: irq 9
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ppb5 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xd3
pci6 at ppb5 bus 6
fxp0 at pci6 dev 8 function 0 "Intel 82801FB LAN" rev 0x01, i82562: irq 12,
address 00:16:76:23:ee:6c
inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x03: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x03: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801FB SATA" rev 0x03: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide1 channel 1 drive 0: 
wd1: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x03: irq 10
iic0 at ichiic0
adt0 at iic0 addr 0x2e: emc6d10x (ADT7460) rev 68
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot