Re: Stack overflow check does not work with qemu linux-user emulation

2025-05-19 Thread Andreas Schwab
On Mai 15 2025, Bruno Haible wrote: > - glibc iconv modules are not installed (on Debian/Ubuntu). How does this have anything to do with qemu? -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely

Re: Stack overflow check does not work with qemu linux-user emulation

2025-05-15 Thread Bruno Haible via Bug reports for the GNU m4 macro processor
Eric Blake wrote: > It could very well be a bug in qemu's user-mode emulation not handling > stack overflow in the same way a native program would do. Definitely. In my experience, qemu's user-mode emulation has the following limitations: - Catching stack overflow is not supported. - ioctl() are n

Re: Stack overflow check does not work with qemu linux-user emulation

2025-05-15 Thread Eric Blake
Adding gnulib, for Bruno's help in debugging a stack overflow question: On Thu, May 15, 2025 at 12:33:58PM +0200, Andreas Schwab wrote: > $ echo 'define(a,a(a))a' | qemu-x86_64 src/m4 > src/m4: internal error detected; please report this bug to : > Segmentation fault Thanks for the report. Was