Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
June 04, 2014 [Issue 12848] crash in _d_run_main() on some unicode command line argument (Win32) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12848 --- Comment #1 from Martin Krejcirik <mk@krej.cz> --- https://github.com/D-Programming-Language/druntime/blob/master/src/rt/dmain2.d#L303 Actually this assert fails, because argc contains wrong number of arguments (wargc is right). argc is set before C main(), where startup code calls GetCommandLineA and then _setargv, which fails to recognize correctly number of arguments. Also argv string is in the Windows charset at this stage. So the solution seem to be either to fix the startup code or to "fix" argc and argv later using windows API W functions. -- |
June 05, 2014 [Issue 12848] crash in _d_run_main() on some unicode command line argument (Win32) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12848 Martin Krejcirik <mk@krej.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Martin Krejcirik <mk@krej.cz> --- https://github.com/D-Programming-Language/druntime/pull/827 -- |
June 05, 2014 [Issue 12848] crash in _d_run_main() on some unicode command line argument (Win32) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12848 --- Comment #3 from Martin Krejcirik <mk@krej.cz> --- This is also a regression against v2.060 -- |
June 06, 2014 [Issue 12848] crash in _d_run_main() on some unicode command line argument (Win32) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12848 github-bugzilla@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- |
June 06, 2014 [Issue 12848] crash in _d_run_main() on some unicode command line argument (Win32) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12848 --- Comment #4 from github-bugzilla@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/aafddb4232e51f0f401c7440e8333e471dc2c35c Fix Issue 12848 - crash in _d_run_main() on some Unicode command line argument (Windows) https://github.com/D-Programming-Language/druntime/commit/ea801f5d47a33ea0e991416af44f7f7230f8a531 Merge pull request #827 from tramker/issue_12848 Fix Issue 12848 - crash in _d_run_main() on some Unicode command line -- |
July 12, 2014 [Issue 12848] [REG2.061] crash in _d_run_main() on some unicode command line argument (Win32) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12848 Martin Krejcirik <mk@krej.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|crash in _d_run_main() on |[REG2.061] crash in |some unicode command line |_d_run_main() on some |argument (Win32) |unicode command line | |argument (Win32) Severity|normal |regression -- |
Copyright © 1999-2021 by the D Language Foundation