From owner-freebsd-ports-bugs@freebsd.org Fri Sep 30 07:51:11 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83CBEC03ACC for ; Fri, 30 Sep 2016 07:51:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5336410B0 for ; Fri, 30 Sep 2016 07:51:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8U7pBBV025310 for ; Fri, 30 Sep 2016 07:51:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 213113] www/nginx: module http_upstream_sticky crashes with SIGSEGV Date: Fri, 30 Sep 2016 07:51:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: frank.brendel@eurolog.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: osa@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2016 07:51:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213113 Bug ID: 213113 Summary: www/nginx: module http_upstream_sticky crashes with SIGSEGV Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: osa@FreeBSD.org Reporter: frank.brendel@eurolog.com Flags: maintainer-feedback?(osa@FreeBSD.org) Assignee: osa@FreeBSD.org Hi, the upstream_sticky module don't work with nginx 1.10 anymore. It compiles = with the warning /usr/ports/www/nginx/work/nginx-goodies-nginx-sticky-module-ng-c825ea7c5c91= //ngx_http_sticky_module.c:340:21: warning: incompatible integer to pointer conversion assigning to 'ngx_http_upstream_rr_peer_t *' (aka 'struct ngx_http_upstream_rr_peer_s *') from 'int' [-Wint-conversion] iphp->rrp.current =3D iphp->selected_peer; ^ ~~~~~~~~~~~~~~~~~~~ This is because the structure of ngx_http_upstream_rr_peer_data_t has chang= ed in nginx 1.10. See /usr/ports/www/nginx/work/nginx-1.10.1/src/http/ngx_http_upstream_round_rob= in.h nginx 1.8 typedef struct { ngx_http_upstream_rr_peers_t *peers; ngx_uint_t current; uintptr_t *tried; uintptr_t data; } ngx_http_upstream_rr_peer_data_t; nginx 1.10 typedef struct { ngx_http_upstream_rr_peers_t *peers; ngx_http_upstream_rr_peer_t *current; uintptr_t *tried; uintptr_t data; } ngx_http_upstream_rr_peer_data_t; Kind regards Frank --=20 You are receiving this mail because: You are the assignee for the bug.=