Closed sezero closed 5 months ago
Thanks for your bug report. I will fix it ASAP.
Please could you give me copy of libxmp.dll.
Here you go (both built with ow1.9): win32dll.zip, os2dll.zip
Here you go (both built with ow1.9): win32dll.zip, os2dll.zip
Curiously, the segfault happens only with the win32 dll and not with the os/2 dll...
Thanks I see what problem is. It is related to deallocation of output library name which is replaced during importing records to already dealocated memory block. It happens only for Windows target library and when create it from DLL by import records. It is part of code that need review it is not transparent code and there are changed pointers during processing between short module name and full path file name. I add transparent deallocation for short module name but it is changed (internaly during importing symbols from Windows DLL) and now fail if wlib do cleanup. I temporary remove this deallocation and after fixing importing import records from DLL I wll add it again.
The 'Last-CI-build' from https://github.com/open-watcom/open-watcom-v2/commit/79e1b3d52a8e97800c8f34e86e671d44182e6060 does seem to have worked around the issue.
Thanks for confirmation. I will do permanent fix later. I think little rework import records handling for library will be necessary.
I finished with librarian (wlib) code review and various fixes for buffer overflow etc.
Something seems to have broken between yesterday's and today's 'Current-build'
This is from a CI workflow run on a windows host:
Happens on linux, as well: