KAs Coenen
2013-08-28 10:15:54 UTC
Hi,
Some more info. I ran gdb on the core file (after reinstalling with debug mode):
# /usr/local/gdb/bin/gdb /usr/local/php5/bin/php-cgi /opt/apache/htdocs/wachtlijst/core
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.10".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/php5/bin/php-cgi...done.
[New LWP 1]
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
Core was generated by `/usr/local/php5/bin/php-cgi /opt/apache/htdocs/wachtlijst/test.php'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000093baa4 in _object_and_properties_init (arg=<error reading variable: Cannot access memory at address 0xffffffffffffffd8>,
***@entry=<error reading variable: Cannot access memory at address 0x8>, class_type=<error reading variable: Cannot access memory at address 0xffffffffffffffd0>,
***@entry=<error reading variable: Cannot access memory at address 0x8>, properties=<error reading variable: Cannot access memory at address 0xffffffffffffffc8>,
***@entry=<error reading variable: Cannot access memory at address 0x8>) at /export/home/coenenka/php-5.5.1/Zend/zend_API.c:1200
1200 Z_OBJVAL_P(arg) = class_type->create_object(class_type TSRMLS_CC);
Does anyone see anything in this? The dir /export/home/coenenka is not the install dir (but my home drive) and I have no clue why it is referencing to that dir (it is the location of the source).
Greetings,
Kas
----------------------------------------
Some more info. I ran gdb on the core file (after reinstalling with debug mode):
# /usr/local/gdb/bin/gdb /usr/local/php5/bin/php-cgi /opt/apache/htdocs/wachtlijst/core
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.10".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/php5/bin/php-cgi...done.
[New LWP 1]
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
Core was generated by `/usr/local/php5/bin/php-cgi /opt/apache/htdocs/wachtlijst/test.php'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000093baa4 in _object_and_properties_init (arg=<error reading variable: Cannot access memory at address 0xffffffffffffffd8>,
***@entry=<error reading variable: Cannot access memory at address 0x8>, class_type=<error reading variable: Cannot access memory at address 0xffffffffffffffd0>,
***@entry=<error reading variable: Cannot access memory at address 0x8>, properties=<error reading variable: Cannot access memory at address 0xffffffffffffffc8>,
***@entry=<error reading variable: Cannot access memory at address 0x8>) at /export/home/coenenka/php-5.5.1/Zend/zend_API.c:1200
1200 Z_OBJVAL_P(arg) = class_type->create_object(class_type TSRMLS_CC);
Does anyone see anything in this? The dir /export/home/coenenka is not the install dir (but my home drive) and I have no clue why it is referencing to that dir (it is the location of the source).
Greetings,
Kas
----------------------------------------
Subject: php seg faults on creation pdf
Date: Wed, 28 Aug 2013 10:00:29 +0200
Hi,
# /usr/local/php5/bin/php-cgi test.php
Segmentation Fault (core dumped)
# pstack core
core 'core' of 726: /usr/local/php5/bin/php-cgi test.php
0000000000960af5 _object_and_properties_init () + 111
# uname -a
SunOS zone-eu4 5.10 Generic_142910-17 i86pc i386 i86pc
# cat /etc/release
Oracle Solaris 10 9/10 s10x_u9wos_14a X86
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
Assembled 11 August 2010
pdflib module is 2.1.10. PDFlib lite is version 7.0.5. I tried to compile everything in 64 bit. I suspect the problem is that somewhere a 32bit lib or executable is being used instead of a 64bit.
Can anyone help me out on this?
Kind regards,
Kas
Date: Wed, 28 Aug 2013 10:00:29 +0200
Hi,
# /usr/local/php5/bin/php-cgi test.php
Segmentation Fault (core dumped)
# pstack core
core 'core' of 726: /usr/local/php5/bin/php-cgi test.php
0000000000960af5 _object_and_properties_init () + 111
# uname -a
SunOS zone-eu4 5.10 Generic_142910-17 i86pc i386 i86pc
# cat /etc/release
Oracle Solaris 10 9/10 s10x_u9wos_14a X86
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
Assembled 11 August 2010
pdflib module is 2.1.10. PDFlib lite is version 7.0.5. I tried to compile everything in 64 bit. I suspect the problem is that somewhere a 32bit lib or executable is being used instead of a 64bit.
Can anyone help me out on this?
Kind regards,
Kas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php