Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] pass search results in segfault
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1477
Location: /uk/sheffield

PostPosted: Fri Dec 06, 2024 9:31 am    Post subject: [SOLVED] pass search results in segfault Reply with quote

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 :oops: ) 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
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2135

PostPosted: Fri Dec 06, 2024 10:54 am    Post subject: Reply with quote

Please try just-pushed tree-2.2.1 (see bug 945033).
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23093

PostPosted: Fri Dec 06, 2024 1:06 pm    Post subject: Re: pass search results in segfault Reply with quote

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
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1477
Location: /uk/sheffield

PostPosted: Fri Dec 06, 2024 7:52 pm    Post subject: Reply with quote

@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
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2135

PostPosted: Fri Dec 06, 2024 9:20 pm    Post subject: Reply with quote

You're welcome!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum