Path: csiph.com!news.mixmin.net!aioe.org!.POSTED.nyPK7k8oeDafdNpooDsxZQ.user.gioia.aioe.org!not-for-mail From: Mateusz Viste Newsgroups: pl.comp.os.linux.programowanie Subject: Re: ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Nie ma takiego pliku ani katalogu Date: Thu, 20 Aug 2020 14:36:49 +0200 Organization: . . . Lines: 28 Message-ID: <20200820143649.45b72fab@mateusz> References: <20200814200505.3b77dc82@mateusz> <20200820103955.7c6a9db1@mateusz> NNTP-Posting-Host: nyPK7k8oeDafdNpooDsxZQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.9.2 Xref: csiph.com pl.comp.os.linux.programowanie:2218 2020-08-20 o 14:32 +0200, RM napisa=C5=82: > W dniu 20.08.2020 o=C2=A013:48, RM pisze: >=20 > > kod: > > =C2=A0=C2=A0=C2=A0=C2=A0TRACE("php_result_dir before:" << php_result_d= ir.length() <<=20 > > ",argv[2] before:" << strlen(argv[2])); > > produkuje: > > =C2=A0=C2=A0=C2=A0=C2=A0php_result_dir before:9574696,argv[2] before:72 > > Nie wiem o co chodzi bo jedyn=C4=85 modyfikacj=C4=99 jak=C4=85 robi=C4= =99 na > > php_result_dir wcze=C5=9Bniej jest: > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 php_result_dir =3D ""; > > w konstruktorze (zrobi=C5=82em Find in Files w VSCode). =20 >=20 > Jak przedtem zrobi=C4=99 php_result_dir.clear() to mam na tej instrukcji= =20 > SIGSEGV Segmentation fault. To potwierdza raczej, =C5=BCe =C5=BAle inicjalizujesz/alokujesz (czy co tam innego trzeba zrobi=C4=87 w C++) obiekt php_result_dir, i wywo=C5=82uj=C4= =85c jego metody trafiasz w dziur=C4=99 czasoprzestrzenn=C4=85. W jaki spos=C3=B3b st= worzy=C5=82e=C5=9B ten obiekt? Mateusz