Sorry, I forgot you also wanted to know which Linux.

wspage@ASUS:~/Desktop$ uname -r
5.4.0-120-generic
wspage@ASUS:~/Desktop$ cat /etc/os-release
NAME="Linux Mint"
VERSION="20.3 (Una)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20.3"
VERSION_ID="20.3"
HOME_URL="https://www.linuxmint.com/";
SUPPORT_URL="https://forums.linuxmint.com/";
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/";
PRIVACY_POLICY_URL="https://www.linuxmint.com/";
VERSION_CODENAME=una
UBUNTU_CODENAME=focal

On Fri, 17 Jun 2022 at 12:19, Bill Page <bill.p...@newsynthesis.org> wrote:
>
> When I do this
>
> wspage@ASUS:~/Desktop$ echo 1000000 | sudo tee /proc/sys/kernel/ns_last_pid
>
> and then run fricas I get
>
> wspage@ASUS:~/Desktop$ fricas
>
> debugger invoked on a SIMPLE-ERROR in thread
> #<THREAD "main thread" RUNNING {10005C85B3}>:
>   Error opening shared object "libssl.so.1.0.0":
>   libssl.so.1.0.0: cannot open shared object file: No such file or directory.
>
> Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
>
> restarts (invokable by number or by possibly-abbreviated name):
>   0: [CONTINUE       ] Skip this shared object and continue.
>   1: [RETRY          ] Retry loading this shared object.
>   2: [CHANGE-PATHNAME] Specify a different pathname to load the shared
> object from.
>   3: [ABORT          ] Exit from the current thread.
>
> (SB-SYS:DLOPEN-OR-LOSE #S(SB-ALIEN::SHARED-OBJECT :PATHNAME
> #P"libssl.so.1.0.0" :NAMESTRING "libssl.so.1.0.0" :HANDLE NIL
> :DONT-SAVE NIL))
> 0] (HyperDoc) Error opening FriCAS server. Retrying ...
> (HyperDoc) Couldn't connect to FriCAS server!
> (HyperDoc) Couldn't connect to FriCAS server!
> ^C
> ^C does not break out of the loop and the session appears hung. So ...
> ^Z
> [1]+  Stopped                 fricas
> wspage@ASUS:~/Desktop$ kill %1
>
> On Fri, 17 Jun 2022 at 08:59, Qian Yun <oldk1...@gmail.com> wrote:
> >
> > Hello everyone,
> >
> > I would like to know if your system is affected as well.
> > You can simply bump your system's next PID by:
> >
> >      echo 1000000 | sudo tee /proc/sys/kernel/ns_last_pid
> >
> > Run "fricas" and see if it has buffer overflow error message.
> >
> > If you do have such error message, please reply this email
> > with your Linux distro's version.
> >
> > If you do not have problem, you can reply if you like.
> >
> > - Thanks,
> > - Qian
> >
> > On 6/17/22 20:46, Qian Yun wrote:
> > > And we do not propagate CFLAGS properly, so we can not
> > > use "make CFLAGS=-D_FORTIFY_SOURCE=1" to slip in this
> > > workaround.
> > >
> > > - Qian
> > >
> > > On 6/13/22 23:03, Qian Yun wrote:
> > >> Hi Waldek,
> > >>
> > >> The original problem still exists:
> > >>
> > >> I can still get
> > >>      "*** buffer overflow detected ***: terminated"
> > >> when PID goes over 1 million.
> > >>
> > >> That's because on my system GCC has auto hardening feature.
> > >> (This feature should be popular on other distros as well.)
> > >> To be precise, GCC automatically compiles with
> > >> "-D_FORTIFY_SOURCE=2".  This is adding runtime checks
> > >> that gives this particular error.
> > >>
> > >> Turning it down to "-D_FORTIFY_SOURCE=1" can prevent
> > >> this problem.
> > >>
> > >> However, I still think using "0-9a-z" to encode socket
> > >> address is a better solution.
> > >>
> > >> - Qian
> > >>
> > >> On 9/9/20 18:30, Waldek Hebisch wrote:
> > >>> On Wed, Sep 09, 2020 at 06:08:32PM +0800, oldk1331 wrote:
> > >>>>
> > >>>>> What about the attached patch.  It skips 'memset' which seem
> > >>>>> to be not needed at all and cleans up relevant parts.
> > >>>>
> > >>>> Hi Waldek, I'm afraid you forget to include the attachment.
> > >>>>
> > >>> Oops, second time.
> >
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "FriCAS - computer algebra system" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to fricas-devel+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/fricas-devel/c7fcd63a-e746-bbf0-3a4a-160efe4dc485%40gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/CAC6x94T4w-SzMmNsaR3CgMo%3DA8kxLY8S1REF41oz27tJ2VMz%3Dg%40mail.gmail.com.

Reply via email to