[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#419720: marked as done (apache2.2-common: unaligned trap in mod_ssl on alpha)



Your message dated Sun, 14 Dec 2008 09:32:07 +0000
with message-id <E1LBnKZ-0004wY-H7@ries.debian.org>
and subject line Bug#419720: fixed in apache2 2.2.11-1
has caused the Debian Bug report #419720,
regarding apache2.2-common: unaligned trap in mod_ssl on alpha
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
419720: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=419720
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache2.2-common
Version: 2.2.3-4
Severity: minor

mod_ssl is causing unaligned traps on alpha (backtrace is below). Here's the
offending section of code:

     1153     shmcb_safe_clear(idx, sizeof(SHMCBIndex));
     1154     shmcb_set_safe_time(&(idx->expires), expiry_time);
     1155     shmcb_set_safe_uint(&(idx->offset), new_offset);
     1156 
     1157     /* idx->removed = (unsigned char)0; */ /* Not needed given the memset above. */
     1158     idx->s_id2 = session_id[1];
     1159     ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s,
     1160                  "session_id[0]=%u, idx->s_id2=%u",
     1161                  session_id[0], session_id[1]);

I'm pretty new to the alpha, but I'm guessing the access to session_id[1] is
causing the trap, since session_id is an unsigned char * and idx->s_id2 seems
to be aligned on a 4- or 8-byte boundary.

I'm not sure of the best way to fix this. If there is anything I can do
(patch testing, etc.), please let me know!

Also, there seem to be a couple other less-frequent unaligned traps in
apache2 that I'm also trying to track down. Should I append them to this
bug, or is a separate one for each trap better?

Thanks!

#0  0x00000200017ffe54 in shmcb_insert_encoded_session (s=0x12023e428,
    queue=0x11fef8b00, cache=0x11fef8b20,
    encoded=0x11fef8b40 "0\201\221\002\001\001\002\002\003\001\004\002",
    encoded_len=148,
    session_id=0x1205e6b28 "\217\236�\234\210��߭u�\020����!w�6�taaй\024rU|G� ", expiry_time=1176822685)
    at /home/jwm/apache2-2.2.3/modules/ssl/ssl_scache_shmcb.c:1158
#1  0x00000200017fe8a0 in shmcb_store_session (s=0x12023e428,
    shm_segment=0x20003c94008,
    id=0x1205e6b28 "\217\236�\234\210��߭u�\020����!w�6�taaй\024rU|G� ",
    idlen=32, pSession=0x1205e6ae0, timeout=1176822685)
    at /home/jwm/apache2-2.2.3/modules/ssl/ssl_scache_shmcb.c:697
#2  0x00000200017fd68c in ssl_scache_shmcb_store (s=0x12023e428,
    id=0x1205e6b28 "\217\236�\234\210��߭u�\020����!w�6�taaй\024rU|G� ",
    idlen=32, timeout=1176822685, pSession=0x1205e6ae0)
    at /home/jwm/apache2-2.2.3/modules/ssl/ssl_scache_shmcb.c:411
#3  0x00000200017fb4e4 in ssl_scache_store (s=0x12023e428,
    id=0x1205e6b28 "\217\236�\234\210��߭u�\020����!w�6�taaй\024rU|G� ",
    idlen=32, expiry=1176822685, sess=0x1205e6ae0)
    at /home/jwm/apache2-2.2.3/modules/ssl/ssl_scache.c:99
#4  0x00000200017f0294 in ssl_callback_NewSessionCacheEntry (ssl=0x1205cbbe0,
    session=0x1205e6ae0)
    at /home/jwm/apache2-2.2.3/modules/ssl/ssl_engine_kernel.c:1638
#5  0x000002000080af98 in ssl_update_cache () from /usr/lib/libssl.so.0.9.8
#6  0x00000200007f0e20 in ssl3_accept () from /usr/lib/libssl.so.0.9.8
#7  0x000002000080a890 in SSL_accept () from /usr/lib/libssl.so.0.9.8
#8  0x00000200007fbb18 in ssl23_get_client_hello ()
   from /usr/lib/libssl.so.0.9.8
#9  0x00000200007fc750 in ssl23_accept () from /usr/lib/libssl.so.0.9.8
#10 0x000002000080a890 in SSL_accept () from /usr/lib/libssl.so.0.9.8
#11 0x00000200017ea408 in ssl_io_filter_connect (filter_ctx=0x120506490)
    at /home/jwm/apache2-2.2.3/modules/ssl/ssl_engine_io.c:1047
#12 0x00000200017eaeac in ssl_io_filter_input (f=0x1205d1308, bb=0x1205c71c0, 
    mode=AP_MODE_GETLINE, block=APR_BLOCK_READ, readbytes=0)
    at /home/jwm/apache2-2.2.3/modules/ssl/ssl_engine_io.c:1292
#13 0x000000012005bb98 in ap_get_brigade (next=0x1205d1308, bb=0x1205c71c0, 
    mode=AP_MODE_GETLINE, block=APR_BLOCK_READ, readbytes=0)
    at /home/jwm/apache2-2.2.3/server/util_filter.c:489
#14 0x000000012002f458 in ap_rgetline_core (s=0x1205c5c78, n=8192, 
    read=0x11fefb868, r=0x1205c5c48, fold=0, bb=0x1205c71c0)
    at /home/jwm/apache2-2.2.3/server/protocol.c:231
#15 0x000000012002ff0c in read_request_line (r=0x1205c5c48, bb=0x1205c71c0)
    at /home/jwm/apache2-2.2.3/server/protocol.c:596
#16 0x0000000120030e04 in ap_read_request (conn=0x120505b88)
    at /home/jwm/apache2-2.2.3/server/protocol.c:891
#17 0x0000000120061468 in ap_process_http_connection (c=0x120505b88)
    at /home/jwm/apache2-2.2.3/modules/http/http_core.c:177
#18 0x0000000120055918 in ap_run_process_connection (c=0x120505b88)
    at /home/jwm/apache2-2.2.3/server/connection.c:43
#19 0x0000000120055fa8 in ap_process_connection (c=0x120505b88, 
    csd=0x120505998) at /home/jwm/apache2-2.2.3/server/connection.c:178
#20 0x000000012006d894 in child_main (child_num_arg=0)
    at /home/jwm/apache2-2.2.3/server/mpm/prefork/prefork.c:640
#21 0x000000012006db58 in make_child (s=0x1200a6970, slot=0)
    at /home/jwm/apache2-2.2.3/server/mpm/prefork/prefork.c:736
#22 0x000000012006dc00 in startup_children (number_to_start=5)
    at /home/jwm/apache2-2.2.3/server/mpm/prefork/prefork.c:754
#23 0x000000012006e2dc in ap_mpm_run (_pconf=0x1200a0208, plog=0x1200d43a8, 
    s=0x1200a6970) at /home/jwm/apache2-2.2.3/server/mpm/prefork/prefork.c:975
#24 0x0000000120022e28 in main (argc=3, argv=0x11fefbcb8)
    at /home/jwm/apache2-2.2.3/server/main.c:717

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: alpha
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-alpha-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages apache2.2-common depends on:
ii  apache2-utils                2.2.3-4     utility programs for webservers
ii  libmagic1                    4.17-5etch1 File type determination library us
ii  lsb-base                     3.1-23.1    Linux Standard Base 3.1 init scrip
ii  mime-support                 3.39-1      MIME files 'mime.types' & 'mailcap
ii  net-tools                    1.60-17     The NET-3 networking toolkit
ii  procps                       1:3.2.7-3   /proc file system utilities

apache2.2-common recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: apache2
Source-Version: 2.2.11-1

We believe that the bug you reported is fixed in the latest version of
apache2, which is due to be installed in the Debian FTP archive:

apache2-dbg_2.2.11-1_i386.deb
  to pool/main/a/apache2/apache2-dbg_2.2.11-1_i386.deb
apache2-doc_2.2.11-1_all.deb
  to pool/main/a/apache2/apache2-doc_2.2.11-1_all.deb
apache2-mpm-event_2.2.11-1_i386.deb
  to pool/main/a/apache2/apache2-mpm-event_2.2.11-1_i386.deb
apache2-mpm-prefork_2.2.11-1_i386.deb
  to pool/main/a/apache2/apache2-mpm-prefork_2.2.11-1_i386.deb
apache2-mpm-worker_2.2.11-1_i386.deb
  to pool/main/a/apache2/apache2-mpm-worker_2.2.11-1_i386.deb
apache2-prefork-dev_2.2.11-1_i386.deb
  to pool/main/a/apache2/apache2-prefork-dev_2.2.11-1_i386.deb
apache2-src_2.2.11-1_all.deb
  to pool/main/a/apache2/apache2-src_2.2.11-1_all.deb
apache2-suexec-custom_2.2.11-1_i386.deb
  to pool/main/a/apache2/apache2-suexec-custom_2.2.11-1_i386.deb
apache2-suexec_2.2.11-1_i386.deb
  to pool/main/a/apache2/apache2-suexec_2.2.11-1_i386.deb
apache2-threaded-dev_2.2.11-1_i386.deb
  to pool/main/a/apache2/apache2-threaded-dev_2.2.11-1_i386.deb
apache2-utils_2.2.11-1_i386.deb
  to pool/main/a/apache2/apache2-utils_2.2.11-1_i386.deb
apache2.2-common_2.2.11-1_i386.deb
  to pool/main/a/apache2/apache2.2-common_2.2.11-1_i386.deb
apache2_2.2.11-1.diff.gz
  to pool/main/a/apache2/apache2_2.2.11-1.diff.gz
apache2_2.2.11-1.dsc
  to pool/main/a/apache2/apache2_2.2.11-1.dsc
apache2_2.2.11-1_all.deb
  to pool/main/a/apache2/apache2_2.2.11-1_all.deb
apache2_2.2.11.orig.tar.gz
  to pool/main/a/apache2/apache2_2.2.11.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 419720@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefan Fritsch <sf@debian.org> (supplier of updated apache2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 14 Dec 2008 09:34:24 +0100
Source: apache2
Binary: apache2.2-common apache2-mpm-worker apache2-mpm-prefork apache2-mpm-event apache2-utils apache2-suexec apache2-suexec-custom apache2 apache2-doc apache2-prefork-dev apache2-threaded-dev apache2-src apache2-dbg
Architecture: source i386 all
Version: 2.2.11-1
Distribution: unstable
Urgency: low
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Stefan Fritsch <sf@debian.org>
Description: 
 apache2    - Apache HTTP Server metapackage
 apache2-dbg - Apache debugging symbols
 apache2-doc - Apache HTTP Server documentation
 apache2-mpm-event - Apache HTTP Server - event driven model
 apache2-mpm-prefork - Apache HTTP Server - traditional non-threaded model
 apache2-mpm-worker - Apache HTTP Server - high speed threaded model
 apache2-prefork-dev - Apache development headers - non-threaded MPM
 apache2-src - Apache source code
 apache2-suexec - Standard suexec program for Apache 2 mod_suexec
 apache2-suexec-custom - Configurable suexec program for Apache 2 mod_suexec
 apache2-threaded-dev - Apache development headers - threaded MPM
 apache2-utils - utility programs for webservers
 apache2.2-common - Apache HTTP Server common files
Closes: 419720 495110 495982 508186
Changes: 
 apache2 (2.2.11-1) unstable; urgency=low
 .
   [Thom May]
   * New Upstream Version (Closes: #508186, LP: #307397)
     - Contains rewritten shmcb code which should fix alignment problems on
       alpha (Closes: #419720).
     - Notable new features: chroot support, mod_proxy improvements.
 .
   [Ryan Niebur]
   * fix segfault in ab when being verbose on ssl sites (Closes: #495982)
   * remove trailing slash for DocumentRoot (Closes: #495110)
Checksums-Sha1: 
 5268fb94f56daaacb8535596344dd1aef05090ee 1648 apache2_2.2.11-1.dsc
 4862ea62d286768faf143c32e494fad23aa599f1 6806786 apache2_2.2.11.orig.tar.gz
 77ee822d568c72f1ce9da45a055b4c233c815fe8 128606 apache2_2.2.11-1.diff.gz
 b0c08483c89ac1ebd51a6c8bbccd84e95db1dd04 784988 apache2.2-common_2.2.11-1_i386.deb
 9f04441d205bb477bc8c225e9d68df8ef8129c5c 243452 apache2-mpm-worker_2.2.11-1_i386.deb
 ffd92a1b9cafa86c8cf10918a20bc890a026c846 240454 apache2-mpm-prefork_2.2.11-1_i386.deb
 4820120470373b98903f517bebdcf5c6f5d03e43 243958 apache2-mpm-event_2.2.11-1_i386.deb
 bb7e961875ae6ae71958a46b83ef10137e96c696 145812 apache2-utils_2.2.11-1_i386.deb
 9361f2d653979912d0a30717763d7b055597ee48 84098 apache2-suexec_2.2.11-1_i386.deb
 1419b23b81a42abe8d85641f7ad0c8e83bcf9d36 85696 apache2-suexec-custom_2.2.11-1_i386.deb
 d0af2bf3eb25e1394bb5b50d42bf839fc9b96d86 214106 apache2-prefork-dev_2.2.11-1_i386.deb
 4284fe21b66b60a6b95f16e547f3a7a52e2a750e 215422 apache2-threaded-dev_2.2.11-1_i386.deb
 214ad633bfe79574daebb89aa754e669696b667b 2314776 apache2-dbg_2.2.11-1_i386.deb
 a907fa35b9fc4d2c1eb26ba9fbd98d02c948b3a0 44506 apache2_2.2.11-1_all.deb
 2ef822795d9fda2f0d867b5ab4fec4b610508140 2225374 apache2-doc_2.2.11-1_all.deb
 1455807f80fe7da586b9c90c9922cf5d630d6f06 6943996 apache2-src_2.2.11-1_all.deb
Checksums-Sha256: 
 4d87b52f0f2eecc0c35e584a2212a376ddcc483bfa202581317ecd76ba3f835b 1648 apache2_2.2.11-1.dsc
 1ba74f9d864d8fbaa41604eba67e51287e7e196b3a4e844e7f3ea7b707dd4c27 6806786 apache2_2.2.11.orig.tar.gz
 1e7ee7f3a3c88e7c22f783553641ab56077c1e4ce7894b387e83a98d8a953863 128606 apache2_2.2.11-1.diff.gz
 f6fe360f970219d4dd9fd2c58ee6f71518049721e59fde12e0a5fc15f6ba96a7 784988 apache2.2-common_2.2.11-1_i386.deb
 e26ef2aa07a284146ff803bfe75135556af7cea69ccd0b2256f3ec6f9a95c5a7 243452 apache2-mpm-worker_2.2.11-1_i386.deb
 673655078a18fdbf62106e402da15054abde42fa9e2b51c239cb210ef2ec8bde 240454 apache2-mpm-prefork_2.2.11-1_i386.deb
 18db3ec389d51a70b26fcf389e0a28e51c08c6795672c62d8b2664cf256171d6 243958 apache2-mpm-event_2.2.11-1_i386.deb
 04a85db5b6a6e6e541acccbf0d7a9edeb3e15f3b6ab000e29d436f75f9ca5f2b 145812 apache2-utils_2.2.11-1_i386.deb
 3b059ac4cb89d53e95f4da86ac0d769e5d0df3c7b231a24a0c9a22c177adc3a8 84098 apache2-suexec_2.2.11-1_i386.deb
 6fa40edfc640961d0a94c470ab5151151cbcec7e47156188ac4e6a2f15cbf2e8 85696 apache2-suexec-custom_2.2.11-1_i386.deb
 62dd079b38a73f417486d15ac1d4dc171a1f22523e152a1cc5bfe65e73e6f614 214106 apache2-prefork-dev_2.2.11-1_i386.deb
 5e4146309d70615aa26d38e4f196896ad8e70c0da0e4f91fbd7344b1eb1f4866 215422 apache2-threaded-dev_2.2.11-1_i386.deb
 aa721cbcbccb3f790450da1af889a1942962fd0dce145a5cc4a5fd3361b969b0 2314776 apache2-dbg_2.2.11-1_i386.deb
 65538fba0e75913c64659bef1f0e4d37c2a50ecb8cef3d38b266859dd2bb0350 44506 apache2_2.2.11-1_all.deb
 42a1c896f7e084581efdfdfb61bb60f01636d39a487187b723d388cd92748193 2225374 apache2-doc_2.2.11-1_all.deb
 a6d59b646bc3908c428fb399182a43a5eaefd599bfa2aa7f7da2f6d1f57f2f00 6943996 apache2-src_2.2.11-1_all.deb
Files: 
 cd5d9ef771850398e994dd495979eb0a 1648 web optional apache2_2.2.11-1.dsc
 03e0a99a5de0f3f568a0087fb9993af9 6806786 web optional apache2_2.2.11.orig.tar.gz
 cbc5ca5fffc696f4d7ac1a4030834d3a 128606 web optional apache2_2.2.11-1.diff.gz
 b094fb07173598f26f11a60316dd9632 784988 web optional apache2.2-common_2.2.11-1_i386.deb
 76a301768d2ebe2ca30591b980d4c3dd 243452 web optional apache2-mpm-worker_2.2.11-1_i386.deb
 343bdc4a1989d36b8ab50697f64f4f9d 240454 web optional apache2-mpm-prefork_2.2.11-1_i386.deb
 d0cc57421f5bd7d75b841ea33676d513 243958 web optional apache2-mpm-event_2.2.11-1_i386.deb
 501196987268dd44dfcceec097e0cfa8 145812 web optional apache2-utils_2.2.11-1_i386.deb
 6d48303ca7594c9aee784c96c57519f8 84098 web optional apache2-suexec_2.2.11-1_i386.deb
 284aed38f4f1fc83a78f94cab9a4ff94 85696 web extra apache2-suexec-custom_2.2.11-1_i386.deb
 ad14e02a1de4ce044b8d620501e23a01 214106 devel extra apache2-prefork-dev_2.2.11-1_i386.deb
 e3af0dc8f23a303f3ee9f5c3ec0c8bd3 215422 devel extra apache2-threaded-dev_2.2.11-1_i386.deb
 5fe65d09d87e6354a5079ba4225d44df 2314776 libdevel extra apache2-dbg_2.2.11-1_i386.deb
 d71c2365c8fa362762c09c657c74f6d3 44506 web optional apache2_2.2.11-1_all.deb
 42ca19943cae6db063af4d2603a6f7fb 2225374 doc optional apache2-doc_2.2.11-1_all.deb
 e1d1cdffa5acad8de49263426175fd78 6943996 devel extra apache2-src_2.2.11-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJRM8vbxelr8HyTqQRAkMSAJ0Um/l7YmqrGtn7M2vKnBcYFuceXwCguZ1M
2sY8cZkkyelGAYfi70+anPY=
=XmC2
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: