6.0.0-beta1
8/14/25

[#9301] unable to view/download attachments if mail is signed (S/MIME)
Summary unable to view/download attachments if mail is signed (S/MIME)
Queue Horde Base
Queue Version 3.3.9
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester michael.menge (at) zdv (dot) uni-tuebingen (dot) de
Created 10/11/2010 (5421 days ago)
Due
Updated 10/21/2010 (5411 days ago)
Assigned 10/21/2010 (5411 days ago)
Resolved 10/21/2010 (5411 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/21/2010 02:32:49 PM Jan Schneider Comment #6 Reply to this comment
This during the PHP script shutdown, so really not anywhere near any 
PHP code from Horde.
10/21/2010 01:29:48 PM michael (dot) menge (at) zdv (dot) uni-tuebingen (dot) de Comment #5 Reply to this comment
Even if this is a bug in php, somthing in horde has changed between 
3.3.8 and 3.3.9 thas is triggering this.

Here ist the gdb bt

0  0x00007f2c3fed0d39 in _zend_hash_add_or_update () from 
/usr/lib64/apache2/mod_php5.so
#1  0x00007f2c3fe8b8f3 in php_register_variable_ex () from 
/usr/lib64/apache2/mod_php5.so
#2  0x00007f2c3fdcb40f in ?? () from /usr/lib64/apache2/mod_php5.so
#3  0x00007f2c3fe85b52 in sapi_getenv () from /usr/lib64/apache2/mod_php5.so
#4  0x00007f2c3fe90a29 in ?? () from /usr/lib64/apache2/mod_php5.so
#5  0x00007f2c3fea6c75 in ?? () from /usr/lib64/apache2/mod_php5.so
#6  0x00007f2c3fea70de in ?? () from /usr/lib64/apache2/mod_php5.so
#7  0x00007f2c3feb5715 in _zval_ptr_dtor () from 
/usr/lib64/apache2/mod_php5.so
#8  0x00007f2c3fece448 in zend_hash_destroy () from 
/usr/lib64/apache2/mod_php5.so
#9  0x00007f2c3feba3b3 in destroy_zend_class () from 
/usr/lib64/apache2/mod_php5.so
#10 0x00007f2c3fece0d0 in ?? () from /usr/lib64/apache2/mod_php5.so
#11 0x00007f2c3fece1f8 in zend_hash_reverse_apply () from 
/usr/lib64/apache2/mod_php5.so
#12 0x00007f2c3feb693e in shutdown_executor () from 
/usr/lib64/apache2/mod_php5.so
#13 0x00007f2c3fec3842 in zend_deactivate () from 
/usr/lib64/apache2/mod_php5.so
#14 0x00007f2c3fe7d652 in php_request_shutdown () from 
/usr/lib64/apache2/mod_php5.so
#15 0x00007f2c3ff397e3 in ?? () from /usr/lib64/apache2/mod_php5.so
#16 0x00007f2c452a5573 in ap_run_handler () from /usr/sbin/httpd2-prefork
#17 0x00007f2c452a8c5f in ap_invoke_handler () from /usr/sbin/httpd2-prefork
#18 0x00007f2c452b445e in ap_process_request () from /usr/sbin/httpd2-prefork
#19 0x00007f2c452b1358 in ?? () from /usr/sbin/httpd2-prefork
#20 0x00007f2c452ace83 in ap_run_process_connection () from 
/usr/sbin/httpd2-prefork
#21 0x00007f2c452b8dbe in ?? () from /usr/sbin/httpd2-prefork
#22 0x00007f2c452b906a in ?? () from /usr/sbin/httpd2-prefork
#23 0x00007f2c452b9b9a in ap_mpm_run () from /usr/sbin/httpd2-prefork
#24 0x00007f2c45291805 in main () from /usr/sbin/httpd2-prefork

10/21/2010 01:12:19 PM Jan Schneider Comment #4
State ⇒ Not A Bug
Reply to this comment
An strace doesn't help much, beside showing that the last thing that 
happend before the segfault was closing the imaps connection to 
mailserv08.uni-tuebingen.de.
If anything, then a gdb trace would help, but this is still some issue 
in PHP then, not in Horde.
10/21/2010 12:46:45 PM michael (dot) menge (at) zdv (dot) uni-tuebingen (dot) de Comment #3
New Attachment: strace Download
Reply to this comment
Sorry for missing the following error in the main apache error log

[Thu Oct 21 14:31:38 2010] [notice] child pid 25540 exit signal 
Segmentation fault (11)

attaced is a s trace of a apache-prefork that exits with a segmantation fault

I could reproduce this bug with

apache2-2.2.10-2.23.22.1, php5-5.2.13-0.1.1 and an other system
apache2-2.2.10-2.21.1,     php5-5.2.12-0.1.1



10/21/2010 11:35:47 AM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Please follow the hints at 
http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod to generate and find 
a useful error message.
10/11/2010 11:05:27 AM michael (dot) menge (at) zdv (dot) uni-tuebingen (dot) de Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ unable to view/download attachments if mail is signed (S/MIME)
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
I use Horde 3.3.9 and imp 4.3.8.

If I try to access an attachment of an signed mail, the horde_main 
frame is repaced by a white page.
If the attachment would have a preview (e.g. .png) this is not shown. 
There are nor errors shown or logged.

Horde 3.3.8 with imp 4.3.8 works fine

Saved Queries