Re: current bash.git.devel segfaults on my code

2021-10-24 Thread Alex fxmbsw7 Ratchev
ill check the other more complete url but yours chet u posted twice doesnt say anything about an ending command, nor multiple commands beware im noob with git On Mon, Oct 25, 2021, 00:55 Chet Ramey wrote: > On 10/24/21 4:00 AM, Alex fxmbsw7 Ratchev wrote: > > and whats the cmd to fetch or change

Re: current bash.git.devel segfaults on my code

2021-10-24 Thread Chet Ramey
On 10/24/21 4:00 AM, Alex fxmbsw7 Ratchev wrote: and whats the cmd to fetch or change a commit state instead of newest At some point, you have to be able to read through the things people send you. For instance: https://thoughtbot.com/blog/git-bisect gives you all the information you need.

Re: current bash.git.devel segfaults on my code

2021-10-24 Thread Lawrence Velázquez
On Sun, Oct 24, 2021, at 7:28 AM, Shehu Dikko wrote: > Use this tldr client to get all the git tips you need and much else besides: > > https://github.com/raylee/tldr-sh-client > > tldr: https://tldr.sh There's also #git on irc.libera.chat, if you prefer. -- vq

Re: current bash.git.devel segfaults on my code

2021-10-24 Thread Shehu Dikko
* Alex fxmbsw7 Ratchev [2021-10-24] [gmane.comp.shells.bash.bugs]: > and whats the cmd to fetch or change a commit state instead of newest Use this tldr client to get all the git tips you need and much else besides: https://github.com/raylee/tldr-sh-client tldr: https://tldr.sh regards, s h e

Re: current bash.git.devel segfaults on my code

2021-10-24 Thread Alex fxmbsw7 Ratchev
and whats the cmd to fetch or change a commit state instead of newest On Sun, Oct 24, 2021, 09:53 Alex fxmbsw7 Ratchev wrote: > i am nowhere ready, at slow thinking though i am.. does ' git bisect run ' > support shell syntax, and where to enter the cleanup ' make clean ' there > > On Sun, Oct 2

Re: current bash.git.devel segfaults on my code

2021-10-24 Thread Alex fxmbsw7 Ratchev
i am nowhere ready, at slow thinking though i am.. does ' git bisect run ' support shell syntax, and where to enter the cleanup ' make clean ' there On Sun, Oct 24, 2021, 00:25 Chet Ramey wrote: > On 10/22/21 9:03 PM, Alex fxmbsw7 Ratchev wrote: > > ./bash --noprofile --norc > > > > bash-5.1# ./

Re: current bash.git.devel segfaults on my code

2021-10-23 Thread Chet Ramey
On 10/22/21 9:03 PM, Alex fxmbsw7 Ratchev wrote: ./bash --noprofile --norc bash-5.1# ./bash ../xbl5/xbl malloc: unknown:0: assertion botched malloc: 0x3000211ab0: allocated: last allocated from glob.c:1150 realloc: underflow detected; mh_nbytes out of range Aborting...Aborted bash-5.1# You ha

Re: current bash.git.devel segfaults on my code

2021-10-22 Thread Alex fxmbsw7 Ratchev
remind you this is deb more recent than stable on aarch64 good cpu android 11 phone, accesses via termux then some proot to chroot in error could be manywhere On Sat, Oct 23, 2021, 03:25 Alex fxmbsw7 Ratchev wrote: > bash -xv mystuff > > > + > supported='/@(eval[12]|bin|set|shopt|declare|funct

Re: current bash.git.devel segfaults on my code

2021-10-22 Thread Alex fxmbsw7 Ratchev
bash -xv mystuff + supported='/@(eval[12]|bin|set|shopt|declare|function|alias|pc|runtime)/*' + for arg in "$medir" "$@" + [[ ! -e /root/xbl5 ]] ++ realpath /root/xbl5 + rarg=/root/xbl5 + pos=("$rarg"$supported) malloc: unknown:0: assertion botched malloc: 0x3000211a30: allocated: l

Re: current bash.git.devel segfaults on my code

2021-10-22 Thread Alex fxmbsw7 Ratchev
its my code, as in the topic of this mail, that makes recent git devels segfault, it might as well be unstable version gcc etc fault i have one two lines same in .profile and .bashrc that is source xbl loader with ps1x dir to make it load my ps1... on the glob part there i quoted, also glob.c in a

Re: current bash.git.devel segfaults on my code

2021-10-22 Thread Greg Wooledge
On Sat, Oct 23, 2021 at 03:03:31AM +0200, Alex fxmbsw7 Ratchev wrote: > ./bash --noprofile --norc > > bash-5.1# ./bash ../xbl5/xbl > > malloc: unknown:0: assertion botched > malloc: 0x3000211ab0: allocated: last allocated from glob.c:1150 > realloc: underflow detected; mh_nbytes out of range > Ab

Re: current bash.git.devel segfaults on my code

2021-10-22 Thread Alex fxmbsw7 Ratchev
./bash --noprofile --norc bash-5.1# ./bash ../xbl5/xbl malloc: unknown:0: assertion botched malloc: 0x3000211ab0: allocated: last allocated from glob.c:1150 realloc: underflow detected; mh_nbytes out of range Aborting...Aborted bash-5.1# On Fri, Oct 22, 2021, 17:14 Chet Ramey wrote: > On 10/20

Re: current bash.git.devel segfaults on my code

2021-10-22 Thread Chet Ramey
On 10/20/21 8:27 PM, Alex fxmbsw7 Ratchev wrote: i see makes sense i was hoping for finished cmds to test / save debugging info , rather than for example this git docs i can say it for anyone, ..imho 99 % to all docs are.. not for me like how to check bash devel version and version history

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Alex fxmbsw7 Ratchev
u're as friendly as the psychiatry ppl fare well On Thu, Oct 21, 2021, 02:57 Lawrence Velázquez wrote: > On Wed, Oct 20, 2021, at 7:43 PM, Alex fxmbsw7 Ratchev wrote: > > to tell u honestly, im in no state to read freely happily new docs > > I'll be honest as well: If you're not going to put in

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Lawrence Velázquez
On Wed, Oct 20, 2021, at 7:43 PM, Alex fxmbsw7 Ratchev wrote: > to tell u honestly, im in no state to read freely happily new docs I'll be honest as well: If you're not going to put in effort beyond running commands that are spoon-fed to you, then I'm not going to put in effort beyond dumping URLs

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Alex fxmbsw7 Ratchev
fix the alias bug to a release as u said and when that is im willig to skip all devel for release On Thu, Oct 21, 2021, 02:37 Alex fxmbsw7 Ratchev wrote: > as for presentation, and me making it impossible to view ( greycat and > others on irc spitted on me 'u code bad obfuscating only' where i d

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Alex fxmbsw7 Ratchev
as for presentation, and me making it impossible to view ( greycat and others on irc spitted on me 'u code bad obfuscating only' where i dont at all as for presentation as said i tried as always make it in one text objective of few subjects .. On Thu, Oct 21, 2021, 02:34 Alex fxmbsw7 Ratchev wr

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Alex fxmbsw7 Ratchev
erm im not sure.. it is my rc that bashlinker script i wrote in mails topic 'segfaults on >my< code' in specific on alike arr=( "$path"$glob ) i cannot test much else, i code this only, other bash scripts of others i dunno and till they can code dont wanna know so i can only code on my stuff it u

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Chet Ramey
On 10/20/21 8:22 PM, Alex fxmbsw7 Ratchev wrote: i see no good .. again such a stuckcase If you're the only one who can reproduce it, you're going to have to take the lead in debugging it. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brev

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Alex fxmbsw7 Ratchev
erm sorry what On Thu, Oct 21, 2021, 02:22 Chet Ramey wrote: > On 10/20/21 4:57 PM, Alex fxmbsw7 Ratchev wrote: > > look, i do ./bash it segfaults, also when make valgrind, then i do > valgrind > > ./bash it shows what i pasted > > the segfault didnt happen a month or two ago > > The way you pr

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Alex fxmbsw7 Ratchev
i see makes sense i was hoping for finished cmds to test / save debugging info , rather than for example this git docs i can say it for anyone, ..imho 99 % to all docs are.. not for me like how to check bash devel version and version history to mark as good / bad .. is one small question about

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Chet Ramey
On 10/20/21 8:24 PM, Alex fxmbsw7 Ratchev wrote: erm sorry what The issue, if any, is obviously triggered by something in your environment. You can run bash --noprofile --norc to verify that. No one else has access to everything in your environment. I could not reproduce the crash with the par

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Alex fxmbsw7 Ratchev
i see no good .. again such a stuckcase On Thu, Oct 21, 2021, 02:21 Chet Ramey wrote: > On 10/19/21 7:47 PM, Alex fxmbsw7 Ratchev wrote: > > any reply to this ? > > There's nothing helpful there, and nothing that might point to any problem, > much less a solution. > > -- > ``The lyf so short,

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Chet Ramey
On 10/20/21 4:57 PM, Alex fxmbsw7 Ratchev wrote: look, i do ./bash it segfaults, also when make valgrind, then i do valgrind ./bash it shows what i pasted the segfault didnt happen a month or two ago The way you present this makes it impossible for anyone but you to debug it. -- ``The lyf so

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Chet Ramey
On 10/19/21 7:47 PM, Alex fxmbsw7 Ratchev wrote: any reply to this ? There's nothing helpful there, and nothing that might point to any problem, much less a solution. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet R

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Alex fxmbsw7 Ratchev
to tell u honestly, im in no state to read freely happily new docs if u dont specificly help with the cmds, i cannot succeed much On Wed, Oct 20, 2021, 23:59 Alex fxmbsw7 Ratchev wrote: > specific bisect cmds / instructions here welcome > > On Wed, Oct 20, 2021, 23:58 Alex fxmbsw7 Ratchev > wro

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Alex fxmbsw7 Ratchev
specific bisect cmds / instructions here welcome On Wed, Oct 20, 2021, 23:58 Alex fxmbsw7 Ratchev wrote: > ill try to see if those texts on the page make sense to me, some later, im > no fit im sorry > > On Wed, Oct 20, 2021, 23:34 Lawrence Velázquez wrote: > >> On Wed, Oct 20, 2021, at 5:07 PM

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Alex fxmbsw7 Ratchev
ill try to see if those texts on the page make sense to me, some later, im no fit im sorry On Wed, Oct 20, 2021, 23:34 Lawrence Velázquez wrote: > On Wed, Oct 20, 2021, at 5:07 PM, Alex fxmbsw7 Ratchev wrote: > > you got other cmd suggestions i can run to help debugging ? im very > limited > > i

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Lawrence Velázquez
On Wed, Oct 20, 2021, at 5:07 PM, Alex fxmbsw7 Ratchev wrote: > you got other cmd suggestions i can run to help debugging ? im very limited > in bin.c debugging You could bisect the devel branch to determine whether your problem was caused by a change to bash and, if so, which commit is responsibl

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Alex fxmbsw7 Ratchev
you got other cmd suggestions i can run to help debugging ? im very limited in bin.c debugging On Wed, Oct 20, 2021, 22:57 Alex fxmbsw7 Ratchev wrote: > look, i do ./bash it segfaults, also when make valgrind, then i do > valgrind ./bash it shows what i pasted > the segfault didnt happen a month

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Alex fxmbsw7 Ratchev
look, i do ./bash it segfaults, also when make valgrind, then i do valgrind ./bash it shows what i pasted the segfault didnt happen a month or two ago On Wed, Oct 20, 2021, 22:55 Eduardo Bustamante wrote: > On Wed, Oct 20, 2021 at 3:46 AM Alex fxmbsw7 Ratchev > wrote: > > > > it betteted up, it

Re: current bash.git.devel segfaults on my code

2021-10-20 Thread Eduardo Bustamante
On Wed, Oct 20, 2021 at 3:46 AM Alex fxmbsw7 Ratchev wrote: > > it betteted up, it still segfaults without valgrind but valgrind dorsnt > show so many entries anymore > there are 3 valgrind outputs, one without -- two with ine --arg ( the > valgrind supported .. ) and three the two --opts > > the

Re: current bash.git.devel segfaults on my code

2021-10-19 Thread Alex fxmbsw7 Ratchev
any reply to this ? On Thu, Oct 14, 2021, 10:48 Alex fxmbsw7 Ratchev wrote: > this is with ./bash instead of bash as valgrind arg > > valgrind ./bash > > ==32137== Memcheck, a memory error detector > ==32137== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. > ==32137== Using Valg

Re: current bash.git.devel segfaults on my code

2021-10-14 Thread Alex fxmbsw7 Ratchev
this is with ./bash instead of bash as valgrind arg valgrind ./bash ==32137== Memcheck, a memory error detector ==32137== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==32137== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info ==32137== Command: ./bash ==32137=

Re: current bash.git.devel segfaults on my code

2021-10-14 Thread Alex fxmbsw7 Ratchev
im sorry it says /usr/local/bin/bash there, which is debians 5.1.8 release On Thu, Oct 14, 2021, 10:44 Alex fxmbsw7 Ratchev wrote: > so sir, i tried the asan way first but it said it cant work on ptrace ( > probably by proot, some tool to chroot nonroot disros root ) i run it ( > debian startup

Re: current bash.git.devel segfaults on my code

2021-10-14 Thread Alex fxmbsw7 Ratchev
so sir, i tried the asan way first but it said it cant work on ptrace ( probably by proot, some tool to chroot nonroot disros root ) i run it ( debian startup script ) and gives me bash inside deb then anyway valgrind says much i hooe u can gimme further instructions pasted is valgrind bash, exit

Re: current bash.git.devel segfaults on my code

2021-10-13 Thread Alex fxmbsw7 Ratchev
thank you much sir ill examine your instructions On Wed, Oct 13, 2021, 15:27 Chet Ramey wrote: > On 10/12/21 9:15 PM, Alex fxmbsw7 Ratchev wrote: > > could you give me maybe good urls about such to learn ( maybe not too > long > > ones .. ) ? > > You should, with a current bash devel, just be ab

Re: current bash.git.devel segfaults on my code

2021-10-13 Thread Chet Ramey
On 10/12/21 9:15 PM, Alex fxmbsw7 Ratchev wrote: could you give me maybe good urls about such to learn ( maybe not too long ones .. ) ? You should, with a current bash devel, just be able to run make clean make valgrind That disables some bash malloc wrapping functions that confuse valgrind s

Re: current bash.git.devel segfaults on my code

2021-10-12 Thread Alex fxmbsw7 Ratchev
this crash didnt appear, i think, but my code constillation may have chamged, with some weeks or month old dev build On Wed, Oct 13, 2021, 03:15 Alex fxmbsw7 Ratchev wrote: > could you give me maybe good urls about such to learn ( maybe not too long > ones .. ) ? > > i can paste the two missing

Re: current bash.git.devel segfaults on my code

2021-10-12 Thread Alex fxmbsw7 Ratchev
could you give me maybe good urls about such to learn ( maybe not too long ones .. ) ? i can paste the two missing functions or even paste the archive where they come from ( this same project ) it may also be non bash errors cause more newer sw used than usual.. no idea.. to paste minimally addi

Re: current bash.git.devel segfaults on my code

2021-10-12 Thread Chet Ramey
On 10/11/21 11:17 AM, Alex fxmbsw7 Ratchev wrote: > as the topic says > i fetched it earlier today, compiled, and tho it rather segfaults > > due to i dunno to debug this, this mail consists of 3 parts, 1 gdb + bt > ./bash (loading in bashrc a script which makesnit segfault) > and once with gdb ./

current bash.git.devel segfaults on my code

2021-10-11 Thread Alex fxmbsw7 Ratchev
as the topic says i fetched it earlier today, compiled, and tho it rather segfaults due to i dunno to debug this, this mail consists of 3 parts, 1 gdb + bt ./bash (loading in bashrc a script which makesnit segfault) and once with gdb ./bash -vx third part is the code forth part is around where in