From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Artyom Poptsov Newsgroups: gmane.lisp.guile.bugs Subject: bug#19883: The =?UTF-8?Q?=E2=80=9Cfinalized=E2=80=9D?= SMOB type Date: Sun, 09 Oct 2016 10:51:25 +0300 Message-ID: <87vax2klj6.fsf__47497.7120211863$1476036590$gmane$org@elephant.savannah> References: <87mvieh7mu.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1476036590 1922 195.159.176.226 (9 Oct 2016 18:09:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Oct 2016 18:09:50 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cc: 19883@debbugs.gnu.org, guile-devel To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Oct 09 20:09:45 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btIXJ-00056l-35 for guile-bugs@m.gmane.org; Sun, 09 Oct 2016 20:09:21 +0200 Original-Received: from localhost ([::1]:45161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btIXH-0007Ab-FD for guile-bugs@m.gmane.org; Sun, 09 Oct 2016 14:09:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btIX6-00078z-0P for bug-guile@gnu.org; Sun, 09 Oct 2016 14:09:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btIX1-0007sL-9V for bug-guile@gnu.org; Sun, 09 Oct 2016 14:09:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btIX1-0007sH-62 for bug-guile@gnu.org; Sun, 09 Oct 2016 14:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1btIX1-0000Ua-2Y for bug-guile@gnu.org; Sun, 09 Oct 2016 14:09:03 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87twyln70f.fsf@fencepost.gnu.org> Resent-From: Artyom Poptsov Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 09 Oct 2016 18:09:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19883 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 19883-submit@debbugs.gnu.org id=B19883.14760365201843 (code B ref 19883); Sun, 09 Oct 2016 18:09:03 +0000 Original-Received: (at 19883) by debbugs.gnu.org; 9 Oct 2016 18:08:40 +0000 Original-Received: from localhost ([127.0.0.1]:50216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btIWd-0000Te-M1 for submit@debbugs.gnu.org; Sun, 09 Oct 2016 14:08:40 -0400 Original-Received: from mail-lf0-f43.google.com ([209.85.215.43]:32891) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bt8uA-0007PF-ER for 19883@debbugs.gnu.org; Sun, 09 Oct 2016 03:52:19 -0400 Original-Received: by mail-lf0-f43.google.com with SMTP id x79so68011777lff.0 for <19883@debbugs.gnu.org>; Sun, 09 Oct 2016 00:52:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version; bh=ibR0wfxJ4FlM3S6zlx6I7EQvjXLKXiJqYoz3mR2iW/o=; b=s3hsPL9T6Ru9AGTQWSOtaNDF5LJ9d3ZsQ5QkVy4JKM1BVkSxyWMCvJoLPbvi1gYfun 0tUOaIAuhVet+7ZQiZ8YYSK4LFGFh+ZjcERCXeIJy7NjFJqg6x6O43oW4IHx311AU4v4 A1jjUG7P57QLM3aIFyOuB8xpmHCWvHEpjwacqSAYqImgG4grMdES4HkRDydObULm+fab SNihr0FBQX4uPqmgSoC/AwP368Xbg5C0Z2tRMmihqRHRvC0LqPl6YV1NSdvbL8+lW4Aa gs2+5C2inS9I9Hq2MAY8VQ+y8j2yYWAvSt+Nr7cH1VH3iXjM+XJhB8Zt0AJvMomtO0p8 nATA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:message-id :user-agent:mime-version; bh=ibR0wfxJ4FlM3S6zlx6I7EQvjXLKXiJqYoz3mR2iW/o=; b=WdgXSeyrd1i/pumGe0iCFGY9El96DAwGLgLRFjSL3dOBUO4YFdfwKMKXQGgIZ6r6ar wNhnMLnB7+baSTagDjYR4I+qkdygGenrRwIM3ENnKLAEWcw1KxeM1NM4jyyV3+w9ePu9 khWHFCk7PG1osELonxqZFeEMXNlyUfCj2QVPulpetYsw89JsFqoS3/ZGMnRGiyD4TD4m h3s06voK7dpDWwO2KEAS8td0QaxDkxukiAi5nDo6CfbZ5nrOX2VrnZJ1pJ1UfkwuJ6Wz lrOgj1LczkJD8dYQvfl6aCMgKvkFelD2TWyjiE5fQX6EdB+dBc92uYwIm6goLDepkL8h df1Q== X-Gm-Message-State: AA6/9RkAlar3K5Re+c8Gye02JwzpxVktKLpei3Kdbd96RDZZ1ROvzBj420hE9r4t4OIpyg== X-Received: by 10.46.0.152 with SMTP id e24mr10955064lji.21.1475999532063; Sun, 09 Oct 2016 00:52:12 -0700 (PDT) Original-Received: from elephant.savannah (93-120-179-209.dynamic.mts-nn.ru. [93.120.179.209]) by smtp.gmail.com with ESMTPSA id r20sm4994657lfr.19.2016.10.09.00.52.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Oct 2016 00:52:10 -0700 (PDT) X-Mailman-Approved-At: Sun, 09 Oct 2016 14:08:38 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8418 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello Ludovic, thanks for pointing that out. IIRC, I saw this kind of errors during testing but I thought I fixed them. What Guile-SSH version do you use? Here's 'free_session' procedure from Guile-SSH version 0.10.0: =2D-8<---------------cut here---------------start------------->8--- size_t free_session (SCM session_smob) { if (! SCM_SMOB_PREDICATE (session_tag, session_smob)) { _ssh_log (SSH_LOG_FUNCTIONS, "free_session", "%s", "already freed"); return 0; } struct session_data *data =3D _scm_to_session_data (session_smob); [...] return 0; } =2D-8<---------------cut here---------------end--------------->8--- As you can see, there's additional smob check before accessing the smob's data. Please let me know if the problem manifest itself in the latest Guile-SSH version. Thanks! =2D Artyom =2D-=20 Artyom V. Poptsov ; GPG Key: 0898A02F Home page: http://poptsov-artyom.narod.ru/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCgAGBQJX+fcEAAoJEOnFotkImKAvoMsH+wQlXUXHEwbdCAlgbicv3IZe 2mj+zhZKi6cROgMhbXe7yoR6ywNQKRNEopeESQJ3EP3uS7TWDtr0WpABPxkeULpm taPLuV8+pkVyZiMBlJSM63RYyryS7/Rvg0g4nB3666RP09qpUoTUE6rtiLlCuR3Y +U5xx7zGYmVfL/0VkH+894+sz5uQW+BbetvUSjCeRsar8jA6d/aGmNEMDb7xlyok WqfJo4nI1H8c5G90FD9U4lLrceCBGFnMIJ4RENhogmEBiMlY3l+SoiR8QtsEHlE9 LzH5gDJNsyt8ZbByjl4sP3UZKgs8l5hl/WWFxwZ8dXcBmI9ANYwmCxIEv3h2AOw= =e13y -----END PGP SIGNATURE----- --=-=-=--