serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Stieger" <Andreas.Stie...@gmx.de>
Subject Re: svn commit: r1758902 - /serf/branches/1.3.x/test/server/test_server.c
Date Fri, 21 Apr 2017 19:26:12 GMT
Hi,

> URL: http://svn.apache.org/viewvc?rev=1758902&view=rev
> Log:
> On the 1.3.x branch: Apply the test server fix from r1711233, of
> dropping APR_SO_REUSEADDR on binding an address.

> -    apr_socket_opt_set(serv_sock, APR_SO_REUSEADDR, 1);

This change segfaults for me:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff70d58e1 in impl_pollset_add (pollset=0x7ffff7fa30a0, descriptor=0x7fffffffda00)
    at poll/unix/epoll.c:174
174             ret = epoll_ctl(pollset->p->epoll_fd, EPOLL_CTL_ADD,

with libapr1 1.5.1, openssl 1.0.2j on openSUSE Leap 42.2

r1711233 mentions a segfault fix on on the trunk code:
  (_mhRunServerLoop): Avoid segfault when called after setupTCPServer fails

Is there something equivalent on the previous code in 1.3.x?

Andreas

Mime
View raw message