From owner-freebsd-hackers@freebsd.org Sun May 1 16:46:25 2016 Return-Path: Delivered-To: freebsd-hackers@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 D937DB29990 for ; Sun, 1 May 2016 16:46:25 +0000 (UTC) (envelope-from trafdev@mail.ru) Received: from smtp21.mail.ru (smtp21.mail.ru [94.100.179.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A614108A for ; Sun, 1 May 2016 16:46:24 +0000 (UTC) (envelope-from trafdev@mail.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Type:MIME-Version:Date:Message-ID:Subject:From:To; bh=s51i1oKboBPd6Q1ag+WpBgwZLiQ0D3Lns1fa/8I+j94=; b=TC8EopatuxKdouA/CxOoWvZs9C4lkJZtV+Rk+BSLjpNMmzhmLl44CSO2CR+mvBrSKHeHxv+K1/KoX/5Dniu6B6wnbxDMO3yYS9xnhvm2yQOaaEDwkSsyj+wqc5f2HQIezZj/v5daAILmlWYtLmGxzxoUwvgubJhsxO9tSL0DcXE=; Received: from c-50-156-112-176.hsd1.ca.comcast.net ([50.156.112.176]:44391 helo=[192.168.1.116]) by smtp21.mail.ru with esmtpa (envelope-from ) id 1awuVb-0006hE-9J for freebsd-hackers@freebsd.org; Sun, 01 May 2016 19:46:16 +0300 To: freebsd-hackers@freebsd.org From: trafdev Subject: corrupted stack (backtrace) from sigaction handler Message-ID: <94c8456c-a9b4-77a5-6622-418fc59d61d7@mail.ru> Date: Sun, 1 May 2016 09:46:10 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 X-Mras: OK Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2016 16:46:26 -0000 Hello! Could you launch attached code on your machine and respond with an output (and FreeBSD version). Here is mine (FreeBSD 10.2) output: stack dump [0] 0x40d4e5 <_Z9stackdumpPKc+0x85> at /ara/devel/sandbox/new/cpp/Release/cpp stack dump [1] 0x40dafd <_Z13signalHandleriP9__siginfoPv+0x3d> at /ara/devel/sandbox/new/cpp/Release/cpp stack dump [2] 0x801f30997 at /lib/libthr.so.3 stack dump [3] 0x801f301a8 at /lib/libthr.so.3 All info before signalHandler (foo/foo2 functions) is missed.