Seg. fault on graceful restart

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Seg. fault on graceful restart

Postby Ikonn » 31. October 2013 00:38

Hello,

This issue occurs only while using 32-bit version of XAMPP on a 64-bit OS. I am having an issue with 1.8.2-2 (also present on 1.8.1) where Apache starts having a ton of segmentation faults after doing apachereload, running CentOS 6. First not all the threads come back (some die with a segmentation fault), but second loading any page after that gives a segmentation fault, and more pages more segmentation faults. The pages themselves are served fine, and I would not have even noticed this if I was not looking at the error_log. I turned Apache's loglevel to debug, but there is absolutely no useful information from that related to the segmentation fault. It is both that some threads seg. fault shutting down on reload, and some starting up. I have straced one of the ones shutting down and it gives the following,

strace -f -e verbose=all -v -p 11629
Process 11629 attached - interrupt to quit
[ Process PID=11629 runs in 32 bit mode. ]
restart_syscall(<... resuming interrupted call ...>) = 0
poll([{fd=6, events=POLLIN}, {fd=4, events=POLLIN}], 2, 10000) = 1 ([{fd=4, revents=POLLIN}])
accept(4, {sa_family=AF_INET6, sin6_port=htons(42081), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 13
--- SIGUSR1 (User defined signal 1) @ 0 (0) ---
close(6) = 0
close(4) = 0
sigreturn() = 13
fcntl64(13, F_GETFD) = 0
fcntl64(13, F_SETFD, FD_CLOEXEC) = 0
semop(16089121, {{0, 1, SEM_UNDO}}, 1) = -1 EINVAL (Invalid argument)
gettimeofday({1383176259, 564641}, NULL) = 0
getsockname(13, {sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
fcntl64(13, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1383176259, 565221}, NULL) = 0
gettimeofday({1383176259, 565370}, NULL) = 0
read(13, "OPTIONS * HTTP/1.0\r\nUser-Agent: "..., 8000) = 98
gettimeofday({1383176259, 565717}, NULL) = 0
gettimeofday({1383176259, 565854}, NULL) = 0
gettimeofday({1383176259, 565964}, NULL) = 0
gettimeofday({1383176259, 566155}, NULL) = 0
gettimeofday({1383176259, 566263}, NULL) = 0
access("/etc/sysconfig/32bit_ssse3_memcpy_via_32bit_ssse3_memmove", F_OK) = -1 ENOENT (No such file or directory)
gettimeofday({1383176259, 566785}, NULL) = 0
writev(13, [{"HTTP/1.1 200 OK\r\nDate: Wed, 30 O"..., 110}], 1) = 110
gettimeofday({1383176259, 567021}, NULL) = 0
write(10, "::1 - - [30/Oct/2013:19:37:39 -0"..., 64) = 64
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
chdir("/opt/lampp") = 0
rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_INTERRUPT}, {SIG_DFL, [], SA_RESETHAND}, 8) = 0
kill(11629, SIGSEGV) = 0
sigreturn() = 1
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 11629 detached

Seems to die very reliably after that write(10...) command.
Ikonn
 
Posts: 27
Joined: 23. January 2011 03:30
Operating System: GNU/Linux Debian

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 34 guests