View previous topic :: View next topic |
Author |
Message |
slackline Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/141987918147da339eb1b0d.png)
Joined: 01 Apr 2005 Posts: 1477 Location: /uk/sheffield
|
Posted: Fri Dec 06, 2024 9:31 am Post subject: [SOLVED] pass search results in segfault |
|
|
Recently I've found that when I pass search anything in app-admin/pass it results in a segmentation fault...
Code: |
❱ pass search anything
Search Terms: anything
/usr/bin/pass: line 412: 1149 Segmentation fault tree -N -C -l --noreport -P "${terms%|*}" --prune --matchdirs --ignore-case "$PREFIX"
1150 Done | tail -n +2
1151 Done | sed -E 's/\.gpg(\x1B\[[0-9]+m)?( ->|$)/\1\2/g'
❱ dmesg | tail
...
[508397.291339] tree[31183]: segfault at 55da50000000 ip 00007f73adc76cb9 sp 00007fff5f8b6c10 error 4 in libc.so.6[a0cb9,7f73adbfa000+150000] likely on CPU 6 (core 2, socket 0)
[508397.291355] Code: ae 12 00 a8 04 74 26 48 8b 15 13 a5 12 00 48 8d 04 95 00 00 00 00 48 f7 d8 48 85 d2 48 c7 c2 00 00 00 fc 48 0f 44 c2 48 21 f0 <48> 8b 38 31 d2 e8 5d d5 ff ff 64 89 2b 48 83 c4 18 5b 5d c3 0f 1f
[508604.032495] tree[32542]: segfault at 55acec000000 ip 00007feb54d20cb9 sp 00007fffecf76670 error 4 in libc.so.6[a0cb9,7feb54ca4000+150000] likely on CPU 3 (core 3, socket 0)
[508604.032508] Code: ae 12 00 a8 04 74 26 48 8b 15 13 a5 12 00 48 8d 04 95 00 00 00 00 48 f7 d8 48 85 d2 48 c7 c2 00 00 00 fc 48 0f 44 c2 48 21 f0 <48> 8b 38 31 d2 e8 5d d5 ff ff 64 89 2b 48 83 c4 18 5b 5d c3 0f 1f
[508772.572699] tree[1149]: segfault at 555dc0000000 ip 00007f339b61ccb9 sp 00007ffdda242850 error 4 in libc.so.6[a0cb9,7f339b5a0000+150000] likely on CPU 5 (core 1, socket 0)
[508772.572713] Code: ae 12 00 a8 04 74 26 48 8b 15 13 a5 12 00 48 8d 04 95 00 00 00 00 48 f7 d8 48 85 d2 48 c7 c2 00 00 00 fc 48 0f 44 c2 48 21 f0 <48> 8b 38 31 d2 e8 5d d5 ff ff 64 89 2b 48 83 c4 18 5b 5d c3 0f 1f
|
First thing I tried was to re-emerge both pass and tree (the later because that appears to be the actual programme that is causing the segmentation fault but no joy, still get segmentation faults.
I've the same version of [b]pass[b] installed on other systems (albeit non-Gentoo ) and don't see segfaults there when searching.
Stumped as to how to resolve this, any ideas or suggestions appreciated. _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth
Last edited by slackline on Fri Dec 06, 2024 7:59 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sam_ Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/7738740495f7d1acc45bdb.jpg)
Joined: 14 Aug 2020 Posts: 2135
|
Posted: Fri Dec 06, 2024 10:54 am Post subject: |
|
|
Please try just-pushed tree-2.2.1 (see bug 945033). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 23093
|
Posted: Fri Dec 06, 2024 1:06 pm Post subject: Re: pass search results in segfault |
|
|
slackline wrote: | Recently I've found that when I pass search anything in [app-admin/pass](https://www.passwordstore.org/) it results in a segmentation fault... | The Gentoo forums use BBcode, not Markdown. Most of the decoration attempts in your post will not work. That seems not to be a problem here since sam_ already has an on-topic answer for you, but next time, you may want to Preview before you Submit your post. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
slackline Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/141987918147da339eb1b0d.png)
Joined: 01 Apr 2005 Posts: 1477 Location: /uk/sheffield
|
Posted: Fri Dec 06, 2024 7:52 pm Post subject: |
|
|
@sam_ : That has done the trick, thank you.
@Hu : Apologies for the markdown, I type most things I wrote in either Markdown (or org-mode) and forgot these forums are BBCode (although remembered in a few places). Always feels weird writing in-line code in bold. Will pay more attention in the future. _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sam_ Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/7738740495f7d1acc45bdb.jpg)
Joined: 14 Aug 2020 Posts: 2135
|
Posted: Fri Dec 06, 2024 9:20 pm Post subject: |
|
|
You're welcome! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|