Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id E23D4781E34 for <~alpine/apk-tools@lists.alpinelinux.org>; Fri, 21 Feb 2020 00:32:50 +0000 (UTC) Received: by mail-pg1-f173.google.com with SMTP id j4so110658pgi.1 for <~alpine/apk-tools@lists.alpinelinux.org>; Thu, 20 Feb 2020 16:32:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chave-us.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Pl78nrxFg7nTJJSMSp6xFTSgTQa66ihSJg12/o82TfY=; b=K0Z/PVEwdbDQWbLgz4qnp4b+3YmTTL8P1Lj8lrbzKBPrqXWlNClE6bHoeqdpL8liCB g8Iu9CBGmM3Y9BiDfVR6NhylHdM6jZDMNksmRM05vexfY4E4EIDasTaOjg6vxWYOwKyH lUoTzCLpFS/nkjLi+0JMoEiJ9epS2Bizy7j1rCPCECvWWmRpFHnzW2ykkLrIw5jGsVSM 7F7ta1cSUolFdO3RNz+66QEk6DB2yxn/DOOhOTlZbvFo8Vzkxvo5kAYkBkOjWvxs9yp9 +i8vWRHpH7jT05SGPzlyOB/aTy39Ds3oqTFdp9+AZQNQi63hyYIFnsfYkSTh4w9NRNys bwww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Pl78nrxFg7nTJJSMSp6xFTSgTQa66ihSJg12/o82TfY=; b=RNNnHyztye0rIJU8Ucz+I4d/NzMEknJ3ekUYrj650oozg+peSSFFUxag7qCrNx5wvQ tGljdN8co1+oDzNrJrm67MzQ9v3igTjgFKXoE4T4RZFfqBCzx77TWChn3LG5R0JwH6sA t8xgNWxyrv1zq0UyJF7s+T8lGLKCmKMRp+4w47GM1zWBOWP2UStwcchjoapy1W607r+a oYqmIfXsjDu3PYyQXNFf1yeR/Q2HbUXGlHiCefsWf53h5TLiDdXuVjUuxnIbVqTR12PM kM6vJ/crbyyo/9ZselsXWriGBdNVw+jWsSk93tspRuUkh8w5FwAVH5RuP+tjxHU59vFb R7Vw== X-Gm-Message-State: APjAAAUF/uJniy8tGaGXgj9OmftncGM/LSqApW+7OgcnIXF9s1FRiqDD 9b8JsNLIwCxyiWBNftdWUpECqbtR9TsoRvNHtD59tGumGAI= X-Google-Smtp-Source: APXvYqxeFGcNGOQoxt3T01lCHF87BJLzfznhouCWzZ9M/Pbt4sjnp+jrpZcZG4+4ouD1Pm8exYCovx3s43MAJ20VT2U= X-Received: by 2002:a63:4e63:: with SMTP id o35mr34198089pgl.279.1582245168894; Thu, 20 Feb 2020 16:32:48 -0800 (PST) MIME-Version: 1.0 References: <5a445128-32a6-4797-95d3-c6ec35d611d9@email.android.com> In-Reply-To: <5a445128-32a6-4797-95d3-c6ec35d611d9@email.android.com> From: Carl Chave Date: Thu, 20 Feb 2020 19:32:37 -0500 Message-ID: Subject: Re: APK Package Name Issue on armel port To: ariadne@dereferenced.org Cc: Timo Teras , ~alpine/apk-tools@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Hi Ariadne, I did that originally but when gdb stated that it found no debugging symbols I thought that I needed to recompile. Anyway, here is that output: localhost:~# echo 4 > /proc/cpu/alignment localhost:~# gdb apk GNU gdb (GDB) 8.3.1 Copyright (C) 2019 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 "armv5-alpine-linux-musleabi". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from apk... (No debugging symbols found in apk) (gdb) run Starting program: /sbin/apk apk-tools 2.10.4, compiled for armel. Installing and removing packages: add Add PACKAGEs to 'world' and install (or upgrade) them, while ensuring that all dependencies are met del Remove PACKAGEs from 'world' and uninstall them System maintenance: fix Repair package or upgrade it without modifying main dependencies update Update repository indexes from all remote repositories upgrade Upgrade currently installed packages to match repositories cache Download missing PACKAGEs to cache and/or delete unneeded files from cache Querying information about packages: info Give detailed information about PACKAGEs or repositories list List packages by PATTERN and other criteria dot Generate graphviz graphs policy Show repository policy for packages Repository maintenance: index Create repository index file from FILEs fetch Download PACKAGEs from global repositories to a local directory verify Verify package integrity and signature manifest Show checksums of package contents Use apk --help for command-specific help. Use apk --help --verbose for a full command listing. This apk has coffee making abilities. [Inferior 1 (process 902) exited with code 01] (gdb) backtrace No stack. (gdb) run apk info Starting program: /sbin/apk apk info Program received signal SIGBUS, Bus error. 0x0040b7fc in ?? () (gdb) backtrace #0 0x0040b7fc in ?? () #1 0x0040ddd4 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) On Thu, Feb 20, 2020 at 7:24 PM wrote: > > Hello, > > On Feb 20, 2020 6:30 PM, Carl Chave wrote: > > Timo, > > I'm not very familiar with using gdb. See below and please let me > know how to get you better information. > > localhost:~# gdb /usr/lib/debug/sbin/apk.debug > GNU gdb (GDB) 8.3.1 > Copyright (C) 2019 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 "armv5-alpine-linux-musleabi". > Type "show configuration" for configuration details. > For bug reporting instructions, please see: > . > Find the GDB manual and other documentation resources online at: > . > > For help, type "help". > Type "apropos word" to search for commands related to "word"... > Reading symbols from /usr/lib/debug/sbin/apk.debug... > (gdb) run > Starting program: /usr/lib/debug/sbin/apk.debug > warning: Unable to find dynamic linker breakpoint function. > GDB will be unable to debug shared library initializers > and track explicitly loaded dynamic code. > Warning: > Cannot insert breakpoint -1. > Cannot access memory at address 0x46ac > > (gdb) backtrace > #0 0x76fb58e0 in ?? () > #1 0x00000000 in ?? () > Backtrace stopped: previous frame identical to this frame (corrupt stack?) > > You should run the apk binary with gdb, not the apk.debug binary. > > Ariadne