[Bug 50257] Regression: startup crash/infinite loop on FreeBSD

WineHQ Bugzilla wine-bugs at winehq.org
Tue Dec 29 04:55:45 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=50257

Paul Gofman <pgofman at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pgofman at codeweavers.com

--- Comment #11 from Paul Gofman <pgofman at codeweavers.com> ---
(In reply to Gen Otsuji from comment #6)
> Hi, all.
> 
> ---------------------------------------
> #include <stdio.h>
> #include <malloc.h>
> void * malloc(size_t size){
>         putchar('A');
>         return NULL;
> }
> int main(void){
>         char *p=malloc(20);
>         return 0;
> }
> ---------------------------------------
> This code gets segfault on FreeBSD 12.2R.
> this bug has similar issue I think.

FWIW this example segfaults on Linux when compiled and run natively with no
Wine involved:
> gcc ./test.c -o test
> ./test
Segmentation fault (core dumped)

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list