From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 24 00:26:42 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AB70AAD2 for ; Tue, 24 Feb 2015 00:26:42 +0000 (UTC) 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 903778D6 for ; Tue, 24 Feb 2015 00:26:42 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1O0QgIA023327 for ; Tue, 24 Feb 2015 00:26:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 197599] devel/librest: does not pass the tests Date: Tue, 24 Feb 2015 00:26:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cmt@burggraben.net X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 00:26:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197599 --- Comment #6 from cmt@burggraben.net --- The "oauth" test dumps core like this: (gdb) bt #0 0x0000000801931a90 in g_string_append_uri_escaped () from /usr/local/lib/libglib-2.0.so.0 #1 0x0000000800831911 in sign_hmac (proxy=0x80642c0b0, call=0x80923a0b0, oauth_params=0x809148de0) at oauth-proxy-call.c:149 #2 0x0000000800831476 in _prepare (call=0x80923a0b0, error=0x7fffffffd870) at oauth-proxy-call.c:292 #3 0x000000080082aee7 in prepare_message (call=0x80923a0b0, error_out=0x7fffffffd970) at rest-proxy-call.c:830 and: 149 g_string_append_uri_escaped (text, url_str, NULL, FALSE); (gdb) print url_str $1 = 0x664e580 Lo and behold, there was a warning on the assignment to just that url_str: oauth-proxy-call.c:130:11: warning: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] url_str = rest_proxy_call_get_url (call); which explains the garbage address in url_str. And for real, upstream fixed that bug without realising it's impact: https://git.gnome.org/browse/librest/commit/?id=b50ace7738ea03817acdad87fb2b338a86018329 -- You are receiving this mail because: You are the assignee for the bug.