Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id F0CF0781E34 for <~alpine/apk-tools@lists.alpinelinux.org>; Thu, 20 Feb 2020 23:30:27 +0000 (UTC) Received: by mail-pj1-f48.google.com with SMTP id fa20so172299pjb.1 for <~alpine/apk-tools@lists.alpinelinux.org>; Thu, 20 Feb 2020 15:30:27 -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=3DOzl8hogNsuvnoYXZ+Uz6u1VWz3KpDR2/i1qXq9fmU=; b=yzEAr8Wy+IKwAmorYy/1La90Sr9SGuDSsp6qZpOgNcPXQtMnAGQbKnWLcukePscJdf ZbctMGU7w59HtXixq3qnmJpENxv5MAVsVzUSCqlpKiqqKYcrCu7Spv4iE12q+y6WA21h P51QYW6yj0b2wONvx3Va5kCO82W5au7YAgeyQm5ElvRToe1NRWYP9UdDHRMMzaA4IWmc 11jgVGy1tYrMvCJBfdathIf5MNXj/fQcIRxwknh9iQnHDWpRRSASi2EVEkbhz6wLCWC/ f8ZiJ99hJqD0ypkWWO9zGEuvD3z+BVCktxVUzjKEOi88AXwBgxaOa/xSS8Xkh1xQgCLF 83GA== 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=3DOzl8hogNsuvnoYXZ+Uz6u1VWz3KpDR2/i1qXq9fmU=; b=Dj6cU15MME6r8aFh1m5YFzGV6GBjN7UA1LHCR6fzBNo6fnuT5QjvG55NQjWqmEELcV wfLs6vS+PQqZwXcQ8qmS2ZkWya15BKx69rtrQxmhI6pYjs1CBBK3YaRZmzCh5KUKn2I6 0F8n8awXf9mS48/EjW3ttpoCzVrVFSaCKLllNtMgZn0ahX3Kcmkefa0uGP/IGQnqO0C6 mrxta4Ob3l5ZJgGJ1htOx8krNmj/v/xe3aW70FbQyxp0fjceCxu/MgazXJ2WhZWQmzDX Hu6LJ0qJlHPVZ54iWIbErSVimwpsBC3PhYimFGcjJBAUiQTDDVt7W5d8KOQlOyf9j4Dl Pgtw== X-Gm-Message-State: APjAAAWe/0SN+ugjfwdBb+782OGYkShzXqjqAVt3vvRahygIjpezpG8A /C/yaoKsUrk92c86Y//7i2G3UUsOoKo7qqDyIeuvYQ== X-Google-Smtp-Source: APXvYqwJjHKxy9mTSMzFSHVm4R3CB+jwNghDx8Yyr+drAVk6QHXNHtsFYx1LZWPWQIrxmd2XSubGeFQ0Z1vAtOkKW6s= X-Received: by 2002:a17:90a:ac18:: with SMTP id o24mr6522519pjq.33.1582241425786; Thu, 20 Feb 2020 15:30:25 -0800 (PST) MIME-Version: 1.0 References: <20200214105215.6873e402@vostro.wlan> <62f21c96-ff43-83e4-5b7f-2e65e6d72729@adelielinux.org> <20200217111200.08405b9c@vostro.wlan> <20200217123334.031047d1@vostro.wlan> <20200219102519.052724f1@vostro.wlan> In-Reply-To: <20200219102519.052724f1@vostro.wlan> From: Carl Chave Date: Thu, 20 Feb 2020 18:30:14 -0500 Message-ID: Subject: Re: APK Package Name Issue on armel port To: Timo Teras Cc: ~alpine/apk-tools@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" 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?) On Wed, Feb 19, 2020 at 3:25 AM Timo Teras wrote: > > Hi, > > On Tue, 18 Feb 2020 18:47:21 -0500 > Carl Chave wrote: > > > > Timo, I think you nailed it! Seems to be working. I will recreate > > > the root filesystem with the patched apk-tools and follow your > > > advice about using: > > > echo 4 > /proc/cpu/alignment > > > > Hi Timo, I did some more testing tonight with the patched apk-tools > > and while things have improved, there still appears to be some issues > > lurking: > > > > localhost:~# echo 4 > /proc/cpu/alignment > > > > localhost:~# cat /proc/cpu/alignment > > User: 259 > > System: 0 (0x0) > > Skipped: 0 > > Half: 0 > > Word: 0 > > DWord: 0 > > Multi: 0 > > User faults: 4 (signal) > > > > localhost:~# apk list > > Bus error > > Now you have signal sent to the process. Could you use gdb to get a > backtrace? That would help identify where the problem is. > > Thanks >