From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 828586EC58; Sat, 20 Feb 2021 13:46:32 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 828586EC58 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1613817992; bh=DWsywpvkhgBUkX7ORLwNAC/8TNzYS/48Wq5naD0vNrw=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=qz8oZX/gOoNLDDY1fY2Zvj4WC5zwYxsG6B7Wao0I1WnknAoJ+FLl6w8sYd44PW2FF vWSSh79SkKD+RO5FMB0DdvGSHJJCNnOThHpOMGL2pQpFmKYeAfCDyZzCnIej40UtLl F6aq9xLfYtml5EX0H9Pk7W98w4PRTMHgwwH/An50= Received: from smtp31.i.mail.ru (smtp31.i.mail.ru [94.100.177.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id B1A3E6EC58 for ; Sat, 20 Feb 2021 13:46:30 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org B1A3E6EC58 Received: by smtp31.i.mail.ru with esmtpa (envelope-from ) id 1lDPmO-0000Vu-C0; Sat, 20 Feb 2021 13:46:29 +0300 Date: Sat, 20 Feb 2021 13:46:30 +0300 To: Igor Munkin Message-ID: <20210220104630.wiwxhkjfimsx2swa@tkn_work_nb> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD975C3EC174F56692243410BA6471F01668A37AB103014B813182A05F538085040FEE747891D6208911C6D03F8319B269615EE61821516FBC709A4CE0485ECF897 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7BCC85671EC7A750CEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637D7F1BE85E7B0CA818638F802B75D45FF5571747095F342E8C7A0BC55FA0FE5FCBE462577C01A1BBAF92D0316C1D757921F70F90ADEB4787A389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C07E7E81EEA8A9722B8941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B6E5E764EB5D94DBD4CC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB8D32BA5DBAC0009BE9E8FC8737B5C22498E72D773681294B276E601842F6C81A12EF20D2F80756B5F7E9C4E3C761E06A776E601842F6C81A127C277FBC8AE2E8B4D6DFD11D8C3F533D81D268191BDAD3D698AB9A7B718F8C442539A7722CA490C13377AFFFEAFD26923F8577A6DFFEA7CE31A2885C41F97C493EC92FD9297F6715571747095F342E857739F23D657EF2BD5E8D9A59859A8B6F7FD1A3A8AE6177F089D37D7C0E48F6C5571747095F342E857739F23D657EF2B6825BDBE14D8E70203BCE74C6109AD10E5BFE6E7EFDEDCD789D4C264860C145E X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A24A6D60772A99906F8E1CD14B953EB46DE4FDA4F254F83039355D89D7DBCDD132 X-C1DE0DAB: 0D63561A33F958A5E380F80FCB6C0C05A2C48A1D1CAD8E2E5ED039944340F414D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA75448CF9D3A7B2C848410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D341B5517184E88C1BDDFD8F4EF8498F9E8C281384C7F962F03F578DB3789DC3A9D4E126AED7AAA82801D7E09C32AA3244C52148A89A209DDAD117B676F133B7A9AB038C9161EF167A1AD832FF50B3043B1 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioj2CfMKaWP9xsnsXhWXsKE4w== X-Mailru-Sender: FFAA8E4AEE17E37C3731A083A1A85ADECB91FF8EFD84FE60372E3A2BC5E44BE2B7EA9FE7735C3DBFC664A44C781FCEA7C77752E0C033A69EDF9F2CE1E9CF805D8CD356D4F938FF726C18EFA0BB12DBB0 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH] WIP: introduce tooling for coredumps X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Alexander Turenko via Tarantool-patches Reply-To: Alexander Turenko Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" On Thu, Feb 11, 2021 at 09:48:28PM +0300, Igor Munkin wrote: > Signed-off-by: Igor Munkin > --- > > WARNING: This patch doesn't require full and precise review now. I > chose those folks from core team, who either works with customer reports > a lot or liked the ticket[1]. I hope I missed nobody, but if I did the > patch is available in our ml. > > I've polished a bit two scripts I often use: > * tarabrt.sh (so called tarcore.sh) -- this is the script collecting a > tarball with the coredump the right way: with the binary, all loaded > shared libs, Tarantool version (this is a separate exercise to get it > from the binary built with -O2). Besides, I made the tarball struct > unified so it can be easily processed with the second script. > * gdb.sh -- the auxiliary script originally written by Sasha Tu, that > needed to be adjusted to the customer artefacts every time. Since we > will have a unified layout I enhanced it a bit to automatically load > the coredump via gdb the right way. > > Check this out[2], try both scripts and reach me with your feedback! > > [1]: https://github.com/tarantool/tarantool/issues/5569 > [2]: https://github.com/tarantool/tarantool/tree/imun/gh-5569-coredump-tooling > > tools/gdb.sh | 33 +++++++++++++++ > tools/tarabrt.sh | 102 +++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 135 insertions(+) > create mode 100755 tools/gdb.sh > create mode 100755 tools/tarabrt.sh Thanks! I looked over the scripts and nothing confuses me. I didn't test, though.