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 4279A6EC5F; Tue, 20 Apr 2021 02:57:19 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 4279A6EC5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1618876639; bh=cHO4nBwy8NzwJIlaUYyXhwfJUyZU6MKhV2u6hOcS4WI=; 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=qH9tWn14B4oi5hnbi3tWopp3rpOjV9HWjGiWGAj2JFnQ7udeejDez7r3zklFv+GdS aSXmahCdjhv5k1isTVpoI67JovzfNaNtb9dGUgqZqiGH5qOqgMrxijwD9UgC1pAwFv 1lnmuRygH571kgCtaadKBmhcdq79l2XApKtHKeQY= Received: from smtp16.mail.ru (smtp16.mail.ru [94.100.176.153]) (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 AE2F26EC5F for ; Tue, 20 Apr 2021 02:57:17 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org AE2F26EC5F Received: by smtp16.mail.ru with esmtpa (envelope-from ) id 1lYdlU-0005O3-Kb; Tue, 20 Apr 2021 02:57:17 +0300 Date: Tue, 20 Apr 2021 02:57:34 +0300 To: Igor Munkin Message-ID: <20210419235734.ubykubzjdv5rzusg@tkn_work_nb> References: <7f444b92bacefea0e3a0b2d2846737d9791626ea.1614256802.git.imun@tarantool.org> <20210315163046.lobxpj7pgy7tvgiu@tkn_work_nb> <20210419204209.GE29703@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210419204209.GE29703@tarantool.org> X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD92FFCB8E6708E7480B1C8842CE613979723F2FB4628545A35182A05F538085040A3994A8242B06A3A1DF2A8C404F75839279AEA5B000BAAC1F3EBF0E42787B6C1 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7C8DD139BC0BB8586EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637C05E8F374EA5A79AEA1F7E6F0F101C67CDEEF6D7F21E0D1D9295C2E9FA3191EE1B59CA4C82EFA65827E28C45532F9426815B2068F6F82432BB0A4F435E46E6718B35066C979671628AA50765F790063759AE0FC166F3FB89389733CBF5DBD5E913377AFFFEAFD269A417C69337E82CC2CC7F00164DA146DAFE8445B8C89999729449624AB7ADAF37F6B57BC7E64490611E7FA7ABCAF51C92176DF2183F8FC7C07E7E81EEA8A9722B8941B15DA834481F9449624AB7ADAF37BA3038C0950A5D3613377AFFFEAFD2691661749BA6B9773583875F10470907937B076A6E789B0E97A8DF7F3B2552694A1E7802607F20496D49FD398EE364050FB28585415E75ADA9F206494F22AA87D6B3661434B16C20AC78D18283394535A9E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B642416645EBD45DC2089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A2368A440D3B0F6089093C9A16E5BC824A2A04A2ABAA09D25379311020FFC8D4AD51E8B488323FA7607F87F225CFBC3974 X-C1DE0DAB: 0D63561A33F958A5E97159398078E252152E802803B0DBEFE59A9430154F7395D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA7502E6951B79FF9A3F410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34AC6E62257D6CD1C9AD1E70C8DB0FCAE47D0EA83275073EDCF82314F766D69EFDEF0665E82EB4589E1D7E09C32AA3244C6757DD95254975124AB673515CE2E10F5A1673A01BA68E40FACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojocJA+pXcDulc8fKZmSChvw== X-Mailru-Sender: FFAA8E4AEE17E37C3731A083A1A85ADED9D83DE05C0DB1C7A57F8AA647646152B7EA9FE7735C3DBFC664A44C781FCEA7C77752E0C033A69EDF9F2CE1E9CF805D8CD356D4F938FF726C18EFA0BB12DBB0 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH] tools: implement toolchain for crash artefacts 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" > > Okay, now I got the tarabrt.sh script somehow: > > > > | # curl -LfsS https://raw.githubusercontent.com/tarantool/tarantool/929982bf49e4d177ea33876bee91845c9528d038/tools/tarabrt.sh >tarabrt.sh > > | # chmod a+x tarabrt.sh > > | (Don't read the content, just run.) > > | # ./tarabrt.sh --help > > | ~ tarabrt.sh: unrecognized option '--help' > > Unfortunately, I have nothing to do here: this is returned by . Can we add --help option to 's optstring? > > | # ./tarabrt.sh -h > > | ~ <..skipped..> > > | ~ - Manual usage. User can simply pack all necessary artefacts by running the > > | ~ following command. > > | ~ $ /path/to/tarabrt.sh -c ./core -d /tmp > > | ~ <..skipped..> > > | # ./tarabrt.sh -c ./core -d /tmp > > | ~ ./tarabrt.sh: line 115: file: command not found > > | ~ gdb is not installed, but it is obligatory for collecting the > > | ~ loaded shared libraries from the core dump. > > | ~ > > | ~ You can proceed collecting the artefacts manually later by running > > | ~ the following command: > > | ~ $ tarabrt.sh -e /usr/bin/tarantool -c ./core > > | (Okay, I'll install file and gdb now.) > > I'll added the check that file is installed. Diff is below: > > <..skipped the diff..> > > > | # yum install -y file gdb > > | # file core > > | ~ core: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from 'tarantool', real uid: 0, effective uid: 0, real gid: 0, effective gid: 0, execfn: '/usr/bin/tarantool', platform: 'x86_64' > > | (Repeat the attempt to create the archive.) > > | # ./tarabrt.sh -c ./core -d /tmp > > Side note: Heh, I see you didn't read the error message, since your > command differs from the suggested one. Not exactly. I found that the command fails due to lack of and commands, so decided to repeat it as is after installing them. If this would fail too I would proceed with the suggested command with -e.