[Bug 55292] New: winegcc: Crash when accessing argv[0] when program is built with -mno-cygwin
https://bugs.winehq.org/show_bug.cgi?id=55292 Bug ID: 55292 Summary: winegcc: Crash when accessing argv[0] when program is built with -mno-cygwin Product: Wine Version: 8.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winecrt0 Assignee: wine-bugs(a)winehq.org Reporter: esteve.varela(a)gmail.com Distribution: --- When a program is built with -mno-cygwin, it crashes straight away when accessing anything in argv: $ echo -e '#include <stdio.h>\nint main(int argc,char *argv[]){printf("%s\\n",argv[0]);}' > test.c $ winegcc -mconsole -mno-cygwin test.c $ ./a.out *loud noise of breaking windows, cats screaming, sirens blaring* Incidentally, this works without -mno-cygwin, but then you have no access to windows CRT functions... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55292 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55292 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|winecrt0 |-unknown --- Comment #1 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Please provide the console output. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55292 --- Comment #2 from esteve.varela(a)gmail.com --- Segmentation fault -- 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.
participants (1)
-
WineHQ Bugzilla