Re: Segmentation fault (core dumped)
On Sun, 23 Nov 2008 21:33:47 + Marwan Sultan <[EMAIL PROTECTED]> wrote: > >Hello Jerry, > > Its easy to fix, as they advised. > Check the file file extensions.ini which is > in /usr/local/etc/php/extensions.ini > > You will see your php modules, for some reasons the loading order of > PHP modules it needs to be changed .. You can do the follow..and its > for bignners..but saves you the headech. > > Comment first line with -> # > save and exitnow see the output of php -v > if the error exist (which will for the first 10 lines maybe) > repeat again for next line..and same untill you see no error of the > php -v > > When you findout the modulethat cusing your problem...move it to the > top of the list of modules (top of the file) save and exit...and your > done.. please write for me back which module in your case cused the > problem. > Out of experince.. SHMOP, READLINE, RECODE, SOAP, SNMP could cuuse > your problem The first problem was easy to fix, I just rebuilt sqlite.so {databases/php-sqlite}; however, PHP still crashed. I discovered through trial and error that the problem was with "pspell.so". I rebuilt that port but the problem continued. I then rebuilt 'aspell' and then rebuilt the 'pspell' port and the problem disappeared. I wasted several hours getting to the bottom of this problem. There must be a better way. By the way, I though that ';' was the symbol to use to comment out a line in extensions.ini rather than '#'. -- Jerry [EMAIL PROTECTED] In Christianity, a man may have only one wife. This is called Monotony. signature.asc Description: PGP signature
RE: Segmentation fault (core dumped)
Hello Jerry, Its easy to fix, as they advised. Check the file file extensions.ini which is in /usr/local/etc/php/extensions.ini You will see your php modules, for some reasons the loading order of PHP modules it needs to be changed .. You can do the follow..and its for bignners..but saves you the headech. Comment first line with -> # save and exitnow see the output of php -v if the error exist (which will for the first 10 lines maybe) repeat again for next line..and same untill you see no error of the php -v When you findout the modulethat cusing your problem...move it to the top of the list of modules (top of the file) save and exit...and your done.. please write for me back which module in your case cused the problem. Out of experince.. SHMOP, READLINE, RECODE, SOAP, SNMP could cuuse your problem Thank you. Marwan SUltan.PP Warning: PHP Startup: Unable to load dynamic library> '/usr/local/lib/php/20060613/sqlite.so'> - /usr/local/lib/php/20060613/sqlite.so: Undefined symbol> "spl_ce_Countable" in Unknown on line 0 PHP 5.2.6 with Suhosin-Patch> 0.9.6.2 (cli) (built: Nov 21 2008 20:45:19) Copyright (c) 1997-2008 The> PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies> Segmentation fault: 11 (core dumped)> > > I have been trying to correct it without results.> > -- > Jerry> [EMAIL PROTECTED]> > Your lover will never wish to leave you. _ Windows Live Hotmail now works up to 70% faster. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_faster_112008___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Segmentation fault (core dumped)
Hi again İ found out what problem is. users had changed some libs of python and apache. After reinstall apache phyton and mod_python it works. so so thanks. regards. On Sat, Nov 22, 2008 at 9:23 PM, tethys ocean <[EMAIL PROTECTED]>wrote: > Hi to all > > The server is give this error whenever i want to start apache22. why? > regards > > > > -- > Share now a pigeon's flight > Bluebound along the ancient skies, > Its women forever hair and mammal, > A Mediterranean town may arise > If you rip apart a pigeon's heart. > -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Segmentation fault (core dumped)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 tethys ocean wrote: > Hi to all > > The server is give this error whenever i want to start apache22. why? Most expected reason - PHP modules. Try to comment modules in /usr/local/etc/php/extensions.ini with ; and check results by php -v or php -i in shell. - -- Regards, Bogdan Potishuk - --- KeyID: 0x84B8D5142569D30B Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B Keyserver: keyserver.pgp.com - --- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREKAAYFAkkpV6EACgkQhLjVFCVp0wuBTgCffJxoUELOPuBzszCHOZ4r0nu6 CqwAoLvQB2pRvqqkqAhjJDVJYijdNk6S =QF0q -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Segmentation fault (core dumped)
On Sat, 22 Nov 2008 22:52:07 + Marwan Sultan <[EMAIL PROTECTED]> wrote: >I think I know what you are talking about.. >What is the output of the command php -v ? >any errors? I have been have a similar problem lately. ~ $ php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/sqlite.so' - /usr/local/lib/php/20060613/sqlite.so: Undefined symbol "spl_ce_Countable" in Unknown on line 0 PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 21 2008 20:45:19) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies Segmentation fault: 11 (core dumped) I have been trying to correct it without results. -- Jerry [EMAIL PROTECTED] Your lover will never wish to leave you. signature.asc Description: PGP signature
RE: Segmentation fault (core dumped)
Hi.. I think I know what you are talking about.. What is the output of the command php -v ? any errors? Marwan> Date: Sat, 22 Nov 2008 21:23:24 +0200> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]> CC: > Subject: Segmentation fault (core dumped)> > Hi to all> > The server is give this error whenever i want to start apache22. why?> regards> > > > -- > Share now a pigeon's flight> Bluebound along the ancient skies,> Its women forever hair and mammal,> A Mediterranean town may arise> If you rip apart a pigeon's heart.> ___> freebsd-questions@freebsd.org mailing list> http://lists.freebsd.org/mailman/listinfo/freebsd-questions> To unsubscribe, send any mail to "[EMAIL PROTECTED]" _ Get more done, have more fun, and stay more connected with Windows Mobile®. http://clk.atdmt.com/MRT/go/119642556/direct/01/___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Segmentation fault (core dumped)
The server is give this error whenever i want to start apache22. why? regards no idea,but most probably you use PHP and added lots of it's modules, some of them crashes ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Segmentation fault (core dumped)
i found something from bash_hist. he deinstall all pkg. (apache php and python) while he is upgrade. i ve reinstall apache22 and port upgraded. than now i will reinstall all deinstalled package and fix it On Sat, Nov 22, 2008 at 10:12 PM, Giorgos Keramidas < [EMAIL PROTECTED]> wrote: > On Sat, 22 Nov 2008 21:53:02 +0200, "tethys ocean" <[EMAIL PROTECTED]> > wrote: > > I have no idea since any other people doing something but i dont know > > exactly according to their claim he doing some stuff with python for > > web and i suppose he want to restart apache > > Maybe it's a good idea to avoid messing up with this particular Apache > instance then. If you don't know how it has been installed, and you > cannot find out, and you are only guessing that a restart should fix > things, then don't do that... Geez :P > > > -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Segmentation fault (core dumped)
On Sat, 22 Nov 2008 21:53:02 +0200, "tethys ocean" <[EMAIL PROTECTED]> wrote: > I have no idea since any other people doing something but i dont know > exactly according to their claim he doing some stuff with python for > web and i suppose he want to restart apache Maybe it's a good idea to avoid messing up with this particular Apache instance then. If you don't know how it has been installed, and you cannot find out, and you are only guessing that a restart should fix things, then don't do that... Geez :P ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Segmentation fault (core dumped)
apache-2.2.9_5 = up-to-date with port autoconf-2.62 = up-to-date with port db41-4.1.25_4 = up-to-date with port gd-2.0.35,1 = up-to-date with port gdbm-1.8.3_3= up-to-date with port irc-2.11.2p1= up-to-date with port ircii-20060725_1= up-to-date with port nano-2.0.9 = up-to-date with port p5-HTML-Template-2.9_1 = up-to-date with port portupgrade-2.4.6,2 = up-to-date with port py25-MySQLdb-1.2.2 = up-to-date with port py25-bsddb-2.5.2_2 = up-to-date with port py25-django-1.0.1 = up-to-date with port py25-flup-1.0.1 = up-to-date with port py25-gdbm-2.5.2 = up-to-date with port python25-2.5.2_3= up-to-date with port rsync-3.0.4 = up-to-date with port ruby-1.8.6.287,1= up-to-date with port ruby18-bdb-0.6.4= up-to-date with port tcl-8.4.19,1= up-to-date with port unzip-5.52_5= up-to-date with port webalizer-2.20.1_2 = up-to-date with port On Sat, Nov 22, 2008 at 9:39 PM, Matthew Seaman < [EMAIL PROTECTED]> wrote: > tethys ocean wrote: > >> Hi to all >> >> The server is give this error whenever i want to start apache22. why? >> regards >> >> > Because something's wrong. > >Cheers, > >Matthew > > What? Not enough of an answer? It's all the answer anyone can give > considering the parcity of information you supply in your question. > To debug this properly could require any or all of: > > * your httpd.conf > * the output of > ldd /usr/local/sbin/httpd /usr/local/sbin/httpd: libm.so.4 => /lib/libm.so.4 (0x280c7000) libaprutil-1.so.3 => /usr/local/lib/libaprutil-1.so.3 (0x280dd000) libdb41.so.1 => /usr/local/lib/libdb41.so.1 (0x280f7000) libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x28194000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x281b2000) libapr-1.so.3 => /usr/local/lib/libapr-1.so.3 (0x2829f000) libcrypt.so.3 => /lib/libcrypt.so.3 (0x282c1000) libpthread.so.2 => /lib/libpthread.so.2 (0x282d9000) libc.so.6 => /lib/libc.so.6 (0x282fe000) > > > * a traceback from httpd.core, although this won't be much use unless >you've compiled httpd with debug symbols. locate httpd.core /usr/local/etc/rc.d/httpd.core /usr/ports/distfiles/tmp/lib/httpd.core > > * the result of running: > > truss -f /usr/local/sbin/httpd {+ any other arguments you usually > use} truss -f /usr/local/sbin/httpd truss: cannot open /proc/curproc/mem: No such file or directory truss: cannot open1 /proc/61323/mem: No such file or directory > > > * If you're using mod_php, then the contents of > /usr/local/etc/php/extensions.ini extension=bcmath.so extension=bz2.so extension=calendar.so extension=ctype.so extension=curl.so extension=pcre.so extension=simplexml.so extension=spl.so extension=dom.so extension=filter.so extension=gd.so extension=gettext.so extension=hash.so extension=iconv.so extension=json.so extension=mbstring.so extension=mcrypt.so extension=mysql.so extension=pdo.so extension=pdo_sqlite.so extension=posix.so extension=session.so extension=sockets.so extension=sqlite.so extension=tokenizer.so extension=xml.so extension=xmlreader.so extension=xmlwriter.so > > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > > -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Segmentation fault (core dumped)
tethys ocean wrote: Hi to all The server is give this error whenever i want to start apache22. why? regards Well, there could be any number of reasons why this happens. In my experience, it's because you have Apache loading a broken or incompatible module. Have you recently rebuilt Apache, or some other module (like Perl, PHP, Python) that is used by Apache? Kevin Kinsey -- If it ain't baroque, don't fix it. ---P.D.Q. Bach ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Segmentation fault (core dumped)
I have no idea since any other people doing something but i dont know exactly according to their claim he doing some stuff with python for web and i suppose he want to restart apache python perl etc all packet is installed. On Sat, Nov 22, 2008 at 9:36 PM, Kevin Kinsey <[EMAIL PROTECTED]> wrote: > tethys ocean wrote: > >> Hi to all >> >> The server is give this error whenever i want to start apache22. why? >> regards >> > > Well, there could be any number of reasons why this happens. > In my experience, it's because you have Apache loading a > broken or incompatible module. Have you recently rebuilt > Apache, or some other module (like Perl, PHP, Python) that > is used by Apache? > > Kevin Kinsey > -- > If it ain't baroque, don't fix it. >---P.D.Q. Bach > -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Segmentation fault (core dumped)
tethys ocean wrote: Hi to all The server is give this error whenever i want to start apache22. why? regards Because something's wrong. Cheers, Matthew What? Not enough of an answer? It's all the answer anyone can give considering the parcity of information you supply in your question. To debug this properly could require any or all of: * your httpd.conf * the output of ldd /usr/local/sbin/httpd * a traceback from httpd.core, although this won't be much use unless you've compiled httpd with debug symbols. * the result of running: truss -f /usr/local/sbin/httpd {+ any other arguments you usually use} * If you're using mod_php, then the contents of /usr/local/etc/php/extensions.ini -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Segmentation fault (core dumped)
Hi to all The server is give this error whenever i want to start apache22. why? regards -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)
Hello, 2007/9/12, Edward Kay <[EMAIL PROTECTED]>: > > > Dear all, > > > > I hope you can help me. I am running FreeBSD 6.2 and I decided to > > upgrade from php 4.4.7_1 to php5-5.2.3_1. However, after removing php4 > > and installing php5 and php5-extensions I am unable to start apache. > > What do the Apache error logs say? Nothing that would be of help: httpd-error.log [Wed Sep 12 09:04:17 2007] [notice] mod_security/1.9.4 configured A new such line is added when I try to start apache. Apache does not start even when I use non-ssl option (apachectl start). messages: Sep 12 12:04:44 szalbot kernel: pid 26602 (httpd), uid 0: exited on signal 11 (core dumped) Many thanks! Zbigniew Szalbot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
gphoto2 Segmentation fault (core dumped)
Hi ! I can't get gPhoto2 working under FreeBSD-4.7-STABLE, I always get segmentation faults. Here is the debug output, if anyone has an idea. Thanks in advance. Antoine $ gphoto2 --port=usb: --camera="Canon Digital IXUS 300" -l --debug 0.000261 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST: 0.001441 main(2): gphoto2 2.1.1 0.002097 main(2): gphoto2 has been compiled with the following options: 0.002715 main(2): + cc (C compiler used) 0.003275 main(2): + popt (for handling command-line parameters) 0.004079 main(2): + exif (for displaying EXIF information) 0.004808 main(2): + no cdk (for accessing configuration options) 0.005412 main(2): + aa (for displaying live previews) 0.005994 main(2): + jpeg (for displaying live previews in JPEG format) 0.006599 main(2): + no readline (for easy navigation in the shell) 0.007218 main(2): libgphoto2 2.1.1 0.007784 main(2): libgphoto2 has been compiled with the following options: 0.008931 main(2): + cc (C compiler used) 0.009639 main(2): + EXIF (for special handling of EXIF files) 0.010257 main(2): + no ltdl (working around bugg libltdl, eh? :-) 0.010858 main(2): + no /proc/meminfo (adapts cache size to memory available) 0.011484 main(2): libgphoto2_port 0.5.1 0.012061 main(2): libgphoto2_port has been compiled with the following options: 0.012674 main(2): + cc (C compiler used) 0.013226 main(2): + USB (for USB cameras) 0.013784 main(2): + serial (for serial cameras) 0.014620 main(2): + no baudboy (serial port locking) 0.015213 main(2): + no ttylock (serial port locking) 0.016088 main(2): + no lockdev (serial port locking) 0.016680 main(2): + no ltdl (working around bugg libltdl, eh? :-) 0.017359 main(2): Processing 'port' option ('usb:')... 0.018066 gp-port-info-list(2): Loading io-drivers from '/usr/local/lib/gphoto2_port/0.5.1'... 0.019262 gphoto2-port-serial(2): Trying to lock '/dev/cuaa0'... 0.031182 gphoto2-port-serial(2): Trying to lock '/dev/cuaa1'... 0.032852 gphoto2-port-serial(2): Trying to lock '/dev/cuaa2'... 0.033695 gphoto2-port-serial(2): Trying to lock '/dev/cuaa3'... 0.034823 gphoto2-port-serial(2): Trying to lock '/dev/cuaa4'... 0.035563 gphoto2-port-serial(2): Trying to lock '/dev/cuaa5'... 0.043075 gphoto2-port-serial(2): Trying to lock '/dev/cuaa6'... 0.044405 gphoto2-port-serial(2): Trying to lock '/dev/cuaa7'... 0.045116 gphoto2-port-serial(2): Trying to lock '/dev/cuaa8'... 0.045804 gphoto2-port-serial(2): Trying to lock '/dev/cuaa9'... 0.046496 gphoto2-port-serial(2): Trying to lock '/dev/cuaaa'... 0.047183 gphoto2-port-serial(2): Trying to lock '/dev/cuaab'... 0.047891 gphoto2-port-serial(2): Trying to lock '/dev/cuaac'... 0.048585 gphoto2-port-serial(2): Trying to lock '/dev/cuaad'... 0.049278 gphoto2-port-serial(2): Trying to lock '/dev/cuaae'... 0.049971 gphoto2-port-serial(2): Trying to lock '/dev/cuaaf'... 0.050941 gphoto2-port-core(2): Loaded 'Serial Port 0' (serial:/dev/cuaa0) from 'libgphoto2_port_serial.so' 0.051716 gphoto2-port-core(2): Loaded 'Serial Port 1' (serial:/dev/cuaa1) from 'libgphoto2_port_serial.so' 0.052414 gphoto2-port-core(2): Loaded '' (^serial) from 'libgphoto2_port_serial.so' 0.053730 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from 'libgphoto2_port_usb.so' 0.055601 gphoto2-port-info-list(2): Looking for path 'usb:' (4 entries available)... 0.056484 gphoto2-port-info-list(2): Getting info of entry 2 (4 available)... 0.057197 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'... 0.059034 gphoto2-port(2): Setting timeout to 5000 millisecond(s)... 0.059935 gphoto2-port(2): Setting settings... 0.060560 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto 0.062408 setting/gphoto2-setting.c(2): Loading settings from file "/home/ajacoutot/.gphoto/settings" 0.063657 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2) 0.065705 gphoto2-setting(2): Saving 2 setting(s) to file "/home/ajacoutot/.gphoto/settings" 0.067950 main(2): Processing 'model' option ('Canon Digital IXUS 300')... 0.068893 gphoto2-camera(2): Setting abilities ('Canon Digital IXUS 300')... 0.069584 gphoto2-setting(2): Setting key 'model' to value 'Canon Digital IXUS 300' (gphoto2) 0.070259 gphoto2-setting(2): Saving 2 setting(s) to file "/home/ajacoutot/.gphoto/settings" 0.072642 foreach(2): Executing action 'List Folders' for folder '/'. 0.073751 gphoto2-camera(2): Listing folders in '/'... Segmentation fault (core dumped) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message