https://bz.apache.org/bugzilla/show_bug.cgi?id=58307

            Bug ID: 58307
           Summary: Segmentation fault in child in "read(__nbytes, __buf,
                    __fd) at
                    /usr/include/x86_64-linux-gnu/bits/unistd.h:44"
           Product: Apache httpd-2
           Version: 2.4.10
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: [email protected]
          Reporter: [email protected]

I am running Apache 2.4.10 (Debian Jessie) with dav and davfs module. My client
program tries to PUT a series of files and at some point Apache crashes during
a read-syscall.

More precisely, the client tries to put 32768 files each with 4k bytes of
random binary data. The files are enumerated from 00/00.bin through 07/ff.bin,
this means the PUT requests are "PUT /webdav/00/00.bin" up to "PUT
/webdav/07/ff.bin" whereby "/webdav" is the directory that is managed by the
davfs module. The directory and all subdirectories (00 to 7f) already exist.

The back trace of the Apache process from a core dump is:


#0  0x00007f28f0fcdadd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x000056342357a9b7 in read (__nbytes=1, __buf=0x7ffef51cfd83,
__fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  ap_mpm_podx_check (pod=<optimized out>) at mpm_unix.c:535
#3  0x00007f28edcb3524 in child_main (child_num_arg=0) at event.c:2262
#4  0x00007f28edcb7cbd in make_child (s=0x7f28f1a9ede0, slot=0) at event.c:2349
#5  0x00007f28edcb7d45 in startup_children (number_to_start=1) at event.c:2375
#6  0x00007f28edcb877e in event_run (_pconf=0x5, plog=0x7f28f1a9a028,
s=0x7f28f1a9ede0) at event.c:2715
#7  0x0000563423553e7e in ap_run_mpm (pconf=0x7f28f1ac6028,
plog=0x7f28f1a9a028, s=0x7f28f1a9ede0) at mpm_common.c:94
#8  0x000056342354d3c3 in main (argc=3, argv=0x7ffef51d01b8) at main.c:777

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to