Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icBC2-0004XZ-Re for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Dec 2019 16:38:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1icBC1-0005p3-LR for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Dec 2019 16:38:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icBC1-0005ov-95 for pgsql-bugs@lists.postgresql.org; Tue, 03 Dec 2019 16:38:29 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icBBu-0005fo-4W for pgsql-bugs@lists.postgresql.org; Tue, 03 Dec 2019 16:38:28 +0000 Received: by mail-wm1-x341.google.com with SMTP id t14so4238271wmi.5 for ; Tue, 03 Dec 2019 08:38:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=/T7JWU1CHiF+qDbMzft7qdBijRKvdcKzpcw2rulC2eE=; b=YtbsueCkrtSkWu7AbCsxjIq+sazmsTwAC+mWjtxSjLad7d8J7OrsAKHDH2wYBGAUz4 55tF8F1xUuwCN5ld1hGJJbTC5Edmpib0aD5R+2KEpMOzhI74SAV3WhOa0h5fGf28I7Ke MZGc1Tivf/UKO+OrJNsgKbtisCnUNfbCjATMxq1915+qiJYztuey84J3/8HLzCWc0Pp0 dEXZoBrLyq7tGcehcSeD1lJxUOWqYG94LwrRtOD1kuqiMlNvkGakB+y81oPImNqtEQx6 NCFWSdPXzry1TTMJm4hwDlFZVM914m0kITDAifVOyCRYac6GWNWUTEk9qVwgKALq2UnR vbdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=/T7JWU1CHiF+qDbMzft7qdBijRKvdcKzpcw2rulC2eE=; b=D++ICQ1H41osKEtt3gzEXFbS3ahaYZwoLjZGJ/4bWF9safxVFSNmWRuVkAiEA/QgIh PRfK6MaSli6oPDDzJ6am4q9YsdqdMy1eIPFPF6EPdoeec0o1QmDKqgqp8PBK3GYeRMTq dx2ivOH93/OWJ9xXULRiNBQUhwAq7XdZFFbc6HabP0u3Rb0r6fjgs013s4uncA4Pm0+u yuCmqYTzQkWVp8mwP0U2VK8BOJNpcI18RMOLBWHoP2plxc6pQHdQOPCNY+yTtqkgUgQw 5YSYkWbQ1FHoDF2Ew3m18dEusXkLCxcA/aUPuLSszfeJlOFXK8Gk95Ar1dlqu2Sx9VsE G0Ag== X-Gm-Message-State: APjAAAUwXXHJhNi4CdCAER87c3swO+iQkXZeSdqaAolT06Z8dQ6YbTdC +lt4M3ojR+vFUrHcXfMPPQtG6w== X-Google-Smtp-Source: APXvYqxUzte0YturXU4sGJFudCR0xlEXXeJncwMEwDp37/WIb0f49hrpcfXfYDs/Ntg9z4i1mihGBg== X-Received: by 2002:a7b:c24c:: with SMTP id b12mr25614508wmj.16.1575391100699; Tue, 03 Dec 2019 08:38:20 -0800 (PST) Received: from localhost (static-84-42-175-93.net.upcbroadband.cz. [84.42.175.93]) by smtp.gmail.com with ESMTPSA id n14sm3516100wmi.26.2019.12.03.08.38.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Dec 2019 08:38:20 -0800 (PST) Date: Tue, 3 Dec 2019 17:38:18 +0100 From: Tomas Vondra To: MOHAN KUMAR DORAIRAJ Cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16145: Not able to terminate active session Message-ID: <20191203163818.vi4ocgg7mfo53fbz@development> References: <16145-d617c77db801047b@postgresql.org> <20191203141147.lofq3gwn3u3vkkze@development> <20191203155458.jaauye67db32omk4@development> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, Dec 04, 2019 at 12:26:14AM +0800, MOHAN KUMAR DORAIRAJ wrote: >Dear Tomas > >Please find the info > > >-bash-4.2$ gdb -p 16647 >GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-115.el7 >Copyright (C) 2013 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later > >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. Type "show copying" >and "show warranty" for details. >This GDB was configured as "x86_64-redhat-linux-gnu". >For bug reporting instructions, please see: >. >Attaching to process 16647 >Reading symbols from /usr/pgsql-11/bin/postgres...Reading symbols from >/usr/pgsql-11/bin/postgres...(no debugging symbols found)...done. >(no debugging symbols found)...done. >Reading symbols from /lib64/libpthread.so.0...(no debugging symbols >found)...done. >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/libthread_db.so.1". >... >Reading symbols from /db/oraclnt/12.2.0/lib/libnque12.so...(no debugging >symbols found)...done. >Loaded symbols for /db/oraclnt/12.2.0/lib/libnque12.so >0x00007f5503e826e0 in __read_nocancel () from /lib64/libpthread.so.0 >Missing separate debuginfos, use: debuginfo-install >postgresql11-server-11.2-2PGDG.rhel7.x86_64 >(gdb) quit >A debugging session is active. > > Inferior 1 [process 16647] will be detached. > >Quit anyway? (y or n) y >Detaching from program: /usr/pgsql-11/bin/postgres, process 16647 > This is still just the initial info gdb shows after attaching to the process. You need to do "bt" or "backtrace" before quitting. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services