-
Notifications
You must be signed in to change notification settings - Fork 52
Description
I tried the build of ctwm from https://pkgsrc.smartos.org/packages/Darwin/14.5/arm64/All/ctwm-4.1.0nb2.tgz today on an M4 MacBook running 15.7 (and xquartz 2.8.5) and encountered hangs almost immediately after startup.
I happen to have a simplified build for the latest ctwm source from GitHub handy so I tried that and it works A-OK. (I am of course running XQuartz full-screen.)
I'm not sure how to go about debugging this -- I briefly tried getting dtrace to tell me something, but it didn't seem to be usable, not that I really know how to use it. Perhaps I can change how I start it so that I can run it under a debugger after getting a terminal window opened, but I'm not sure that'll be of much use unless I also have the work directory with objects and source for the build available.
One main difference I noticed is in the shared libraries each uses, though perhaps it's just that my build explicitly links with all the necessary libraries while the pkg build only links with the top-level dependencies:
# otool -L /opt/pkg/bin/ctwm /usr/local/bin/ctwm
/opt/pkg/bin/ctwm:
/opt/pkg/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.1.0)
/opt/pkg/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
/opt/pkg/lib/libX11.6.dylib (compatibility version 11.0.0, current version 11.0.0)
/opt/pkg/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)
/opt/pkg/lib/libXmu.6.dylib (compatibility version 9.0.0, current version 9.0.0)
/opt/pkg/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0)
/opt/pkg/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0)
/opt/pkg/lib/libjpeg.8.dylib (compatibility version 8.0.0, current version 8.3.2)
/opt/pkg/lib/libXrandr.2.dylib (compatibility version 5.0.0, current version 5.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1345.120.2)
/usr/local/bin/ctwm:
/opt/pkg/lib/libjpeg.8.dylib (compatibility version 8.0.0, current version 8.3.2)
/opt/pkg/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0)
/opt/pkg/lib/libXmu.6.dylib (compatibility version 9.0.0, current version 9.0.0)
/opt/pkg/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0)
/opt/pkg/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.1.0)
/opt/pkg/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
/opt/pkg/lib/libXrandr.2.dylib (compatibility version 5.0.0, current version 5.0.0)
/opt/pkg/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)
/opt/pkg/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)
/opt/pkg/lib/libX11.6.dylib (compatibility version 11.0.0, current version 11.0.0)
/opt/pkg/lib/libxcb.1.dylib (compatibility version 3.0.0, current version 3.0.0)
/opt/pkg/lib/libXau.6.dylib (compatibility version 7.0.0, current version 7.0.0)
/opt/pkg/lib/libXdmcp.6.dylib (compatibility version 7.0.0, current version 7.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1351.0.0)