{"action":"opened","issue":{"url":"https://api.github.com/repos/open-watcom/open-watcom-v2/issues/458","repository_url":"https://api.github.com/repos/open-watcom/open-watcom-v2","labels_url":"https://api.github.com/repos/open-watcom/open-watcom-v2/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/open-watcom/open-watcom-v2/issues/458/comments","events_url":"https://api.github.com/repos/open-watcom/open-watcom-v2/issues/458/events","html_url":"https://github.com/open-watcom/open-watcom-v2/issues/458","id":324643700,"number":458,"title":"wpp386 compiler is crashing on attempt to compile one file of my project","user":{"login":"Wohlstand","id":6751442,"avatar_url":"https://avatars1.githubusercontent.com/u/6751442?v=4","gravatar_id":"","url":"https://api.github.com/users/Wohlstand","html_url":"https://github.com/Wohlstand","followers_url":"https://api.github.com/users/Wohlstand/followers","following_url":"https://api.github.com/users/Wohlstand/following{/other_user}","gists_url":"https://api.github.com/users/Wohlstand/gists{/gist_id}","starred_url":"https://api.github.com/users/Wohlstand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wohlstand/subscriptions","organizations_url":"https://api.github.com/users/Wohlstand/orgs","repos_url":"https://api.github.com/users/Wohlstand/repos","events_url":"https://api.github.com/users/Wohlstand/events{/privacy}","received_events_url":"https://api.github.com/users/Wohlstand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-19T16:55:25Z","updated_at":"2018-05-19T16:55:25Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Once I trying to compile my project, I getting the weird crash of `wpp386` (both `binnt` and `binl` versions):\r\n```\r\nvitaly@whl-pc-001l ~/Qt/Tools/ow-travis-2.0/binl $ ./wpp386 /home/vitaly/_git_repos/libADLMIDI/src/adlmidi.cpp -i=\"../h\" -i=/home/vitaly/_git_repos/libADLMIDI/include -w4 -e25 -zq -od -d2 -zro -6r -bt=dos -fo=.obj -mf -xs -xr\r\n\r\nОшибка сегментирования\r\n```\r\n`Ошибка сегментирования` means \"Segmentation failure\"\r\n\r\nSame attempt to run under GDB:\r\n```\r\nvitaly@whl-pc-001l ~/Qt/Tools/ow-travis-2.0/binl $ gdb --args ./wpp386 /home/vitaly/_git_repos/libADLMIDI/src/adlmidi.cpp -i=\"../h\" -i=/home/vitaly/_git_repos/libADLMIDI/include -w4 -e25 -zq -od -d2 -zro -6r -bt=dos -fo=.obj -mf -xs -xr\r\nGNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1\r\nCopyright (C) 2016 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\r\nand \"show warranty\" for details.\r\nThis GDB was configured as \"x86_64-linux-gnu\".\r\nType \"show configuration\" for configuration details.\r\nFor bug reporting instructions, please see:\r\n<http://www.gnu.org/software/gdb/bugs/>.\r\nFind the GDB manual and other documentation resources online at:\r\n<http://www.gnu.org/software/gdb/documentation/>.\r\nFor help, type \"help\".\r\nType \"apropos word\" to search for commands related to \"word\"...\r\nReading symbols from ./wpp386...(no debugging symbols found)...done.\r\n(gdb) run\r\nStarting program: /home/vitaly/Qt/Tools/ow-travis-2.0/binl/wpp386 /home/vitaly/_git_repos/libADLMIDI/src/adlmidi.cpp -i=../h -i=/home/vitaly/_git_repos/libADLMIDI/include -w4 -e25 -zq -od -d2 -zro -6r -bt=dos -fo=.obj -mf -xs -xr\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x08078c58 in ConvCtlTypeInit_ ()\r\n(gdb) bt\r\n#0  0x08078c58 in ConvCtlTypeInit_ ()\r\n#1  0x080791ad in ConvCtlInit_ ()\r\n#2  0x0804be3c in setupCastImplicit_ ()\r\n#3  0x0804bf68 in doCastImplicit_ ()\r\n#4  0xffffcc2c in ?? ()\r\nBacktrace stopped: previous frame inner to this frame (corrupt stack?)\r\n(gdb)\r\n```\r\n\r\nwhere I have got next stack trace:\r\n```\r\n#0  0x08078c58 in ConvCtlTypeInit_ ()\r\n#1  0x080791ad in ConvCtlInit_ ()\r\n#2  0x0804be3c in setupCastImplicit_ ()\r\n#3  0x0804bf68 in doCastImplicit_ ()\r\n#4  0xffffcc2c in ?? ()\r\n```\r\n\r\nSame attempt to run a compilation under via `wpp386`  from `binnt`:\r\n```\r\nZ:\\home\\vitaly\\Qt\\Tools\\ow-travis-2.0\\binnt>wpp386 Z:\\home\\vitaly\\_git_repos\\libADLMIDI\\src\\adlmidi.cpp -i=\"../h\" -i=Z:/home/vitaly/_git_repos/libADLMIDI/include -w4 -e25 -zq -od -d2 -zro -6r -bt=dos -fo=.obj -mf -xs -xr\r\nThe instruction at 0x00441668 referenced memory at 0x0000001c.\r\nThe memory could not be read.\r\nException fielded by 0x00402fc0\r\nEAX=0x00000000 EBX=0x00000000 ECX=0x0033f64c EDX=0x00000000\r\nESI=0x0033f64c EDI=0x00eb54ac EBP=0x00526b7c ESP=0x0033f61c\r\nEIP=0x00441668 EFL=0x00010246 CS =0x00000023 SS =0x0000002b\r\nDS =0x0000002b ES =0x0000002b FS =0x00000063 GS =0x0000006b\r\nStack dump (SS:ESP)\r\n0x0033f64c 0x0033f64c 0x00441bbd 0x0033f64c 0x00008001 0x00414d3c \r\n0x00e5c71c 0x01070a64 0x00e5c71c 0x00414e68 0x00000000 0x0033f64c \r\n0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 \r\n0x01000704 0x01070a64 0x01070aa4 0x00000000 0x00000000 0x00000000 \r\n0x00000000 0x01010703 0x00eb54ac 0x00527398 0x00526b7c 0x00000000 \r\n0x00000000 0x00c111fc 0x00527398 0x00526010 0x00000000 0x00000000 \r\n0x00528001 0x00000000 0x00000000 0x00477724 0x00eb522c 0x0041500c \r\n0x00000000 0x01070aa4 0x00ed047c 0x00421176 0x003809a0 0x0047d4a2 \r\n0x0033f6f4 0x003e9610 0x00000000 0x0047d4ba 0x00000000 0x0047e271 \r\n0x00000000 0x010598c0 0x01055180 0x00000000 0x00000004 0x005265b5 \r\n0x00000000 0x00000000 0x00eb522c 0x003e9610 0x003e9610 0x0047d3df \r\n0x00000000 0x003e9610 0x00000000 0x0047e1be 0x003809a0 0x0047d4a2\r\n```\r\n\r\nWine is 3.8, WineDev from Wine-HQ's repo\r\n\r\nHowever, through `owcc` stuff is compiling fine (via my hand-made CMake toolchain, however it fails to link due missing AR redefinition I need to fix in my toolchain)"}}
{"actor":{"display_login":"Wohlstand"}}