Discussion:
[turba] Apache2 segfault in turba add contact
(too old to reply)
maudam
2016-01-25 11:20:52 UTC
Permalink
Hi,
when /horde/turba/add.php page is called from turba i got a segmentation
fault in apache2.
[Mon Jan 25 10:12:39.469522 2016] [core:notice] [pid 22609] AH00052:
child pid 22685 exit signal Segmentation fault (11)

Digging in add.php file and setting some php exit() i found the trouble
is here:

Line #63
/* Set up the form. */
$form = new Turba_Form_AddContact($vars, $contact);

All horde and turba packages are installed and updated using PEAR on a
debian 8 system.

PHP Version 5.6.17-0+deb8u1
Horde Groupware 5.2.11

How can i solve this issue ?
Thanks in advance
--
turba mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: turba-***@lists.horde.org
Jan Schneider
2016-01-25 11:35:57 UTC
Permalink
Post by maudam
Hi,
when /horde/turba/add.php page is called from turba i got a
segmentation fault in apache2.
child pid 22685 exit signal Segmentation fault (11)
Digging in add.php file and setting some php exit() i found the
Line #63
/* Set up the form. */
$form = new Turba_Form_AddContact($vars, $contact);
All horde and turba packages are installed and updated using PEAR on
a debian 8 system.
PHP Version 5.6.17-0+deb8u1
Horde Groupware 5.2.11
How can i solve this issue ?
Thanks in advance
There is nothing special in the code, and any segfault is PHP's fault anyway.
--
Jan Schneider
The Horde Project
http://www.horde.org/
--
turba mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: turba-***@lists.horde.org
maudam
2016-01-25 11:56:27 UTC
Permalink
Hi Jan,
thanks for your answer.

I know the code is right, but there is sometingh wrong in

new Turba_Form_AddContact

After some additional test i found that:

Only turba component throw the error. Other horde packages run normally.
Same error with edit contact page (imported a contact via csv and is
present in db) When i try to edit the contact,
http://www.site.com/horde/turba/edit.php
apache (Php) go in segfault

do you have suggestions ?

Thanks again
Post by Jan Schneider
Post by maudam
Hi,
when /horde/turba/add.php page is called from turba i got a
segmentation fault in apache2.
child pid 22685 exit signal Segmentation fault (11)
Digging in add.php file and setting some php exit() i found the
Line #63
/* Set up the form. */
$form = new Turba_Form_AddContact($vars, $contact);
All horde and turba packages are installed and updated using PEAR on
a debian 8 system.
PHP Version 5.6.17-0+deb8u1
Horde Groupware 5.2.11
How can i solve this issue ?
Thanks in advance
There is nothing special in the code, and any segfault is PHP's fault
anyway.
--
turba mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: turba-***@lists.horde.org
maudam
2016-01-25 14:28:15 UTC
Permalink
Solved the trouble.

There was something strange in php setup.
Removing and reinstalling all packages and dependencies the problem is
solved.

Thanks again for your help
Post by maudam
Hi Jan,
thanks for your answer.
I know the code is right, but there is sometingh wrong in
new Turba_Form_AddContact
Only turba component throw the error. Other horde packages run normally.
Same error with edit contact page (imported a contact via csv and is
present in db) When i try to edit the contact,
http://www.site.com/horde/turba/edit.php
apache (Php) go in segfault
do you have suggestions ?
Thanks again
Post by Jan Schneider
Post by maudam
Hi,
when /horde/turba/add.php page is called from turba i got a
segmentation fault in apache2.
child pid 22685 exit signal Segmentation fault (11)
Digging in add.php file and setting some php exit() i found the
Line #63
/* Set up the form. */
$form = new Turba_Form_AddContact($vars, $contact);
All horde and turba packages are installed and updated using PEAR on
a debian 8 system.
PHP Version 5.6.17-0+deb8u1
Horde Groupware 5.2.11
How can i solve this issue ?
Thanks in advance
There is nothing special in the code, and any segfault is PHP's fault
anyway.
--
turba mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: turba-***@lists.horde.org
Loading...