Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spout crashing on SPOUTLIBRARY::SetSpoutLogLevel() #352

Closed
MartinPulec opened this issue Oct 30, 2023 · 3 comments
Closed

Spout crashing on SPOUTLIBRARY::SetSpoutLogLevel() #352

MartinPulec opened this issue Oct 30, 2023 · 3 comments
Assignees
Labels

Comments

@MartinPulec
Copy link
Collaborator

Originally posted by @zbynekdrlik in #348 (comment)

UltraGrid crashes when setting log level (both capture and display part) with following stacktrace (uv -t spout):

#0  0x00007ffffa771a77 in ucrtbase!_wtol () from C:\WINDOWS\System32\ucrtbase.dll
#1  0x00007ffffa772304 in ucrtbase!_wctomb_s_l () from C:\WINDOWS\System32\ucrtbase.dll
#2  0x00007ffffa772ed1 in ucrtbase!.stdio_common_vsprintf_s () from C:\WINDOWS\System32\ucrtbase.dll
#3  0x00007fffdc2e5c4f in SpoutLibrary!?_doLog@spoututils@@YAXW4SpoutLogLevel@1@PEBDPEAD@Z ()
   from C:\tools\msys64\home\toor\ultragrid-devel\bin\SpoutLibrary.dll
#4  0x00007fffdc2e26d2 in SpoutLibrary!??4spoutSenderNames@@QEAAAEAV0@AEBV0@@Z ()
   from C:\tools\msys64\home\toor\ultragrid-devel\bin\SpoutLibrary.dll
#5  0x00007ff6acc367cf in vidcap_spout_init (params=<optimized out>, state=0x41043ea0) at src/video_capture/spout.cpp:190
#6  0x00007ff6acba6c5d in initialize_video_capture (parent=0x14fb50, param=0x487d20, state=0x14fb38) at src/video_capture.cpp:158
#7  0x00007ff6accc573a in main (argc=3, argv=0x4d3cf0) at src/main.cpp:1403

reproducible in continuous (5ac3f93), 1.8.6, 1.8.5 but not in 1.8.4 and below.

MartinPulec added a commit that referenced this issue Oct 30, 2023
@MartinPulec MartinPulec self-assigned this Oct 30, 2023
MartinPulec added a commit that referenced this issue Oct 30, 2023
@zbynekdrlik
Copy link

Ready for testing fixes :)

@MartinPulec
Copy link
Collaborator Author

Ready for testing fixes :)

Already built here. I've just waited for the build to be finished before reporting – it takes some half an hour.

@MartinPulec
Copy link
Collaborator Author

It looks like the issue is caused by the Spout pre-built library (version 2.007.010) no longer being compatible with the Spout headers in Git (version 2.007.012). When the library is built from sources in the Git, the problem no longer occurs. If this is correct, also other problems may occur.

Anyways, the libraries are not expected to be included in the repository in future as indicated in leadedge/Spout2#103.

MartinPulec added a commit that referenced this issue Nov 8, 2023
closes GH-352

It looks like the pre-build library BUILD/Binaries/x64/SpoutLibrary.dll
is no longer compatible with the headers in Git.

Pre-built library version is 2.007.010 while the latest version on GitHub
is Spout 2.007.012. When building Spout from sources, the referenced
issue no longer occurs. Also the libraries are not expected to be included
in the Git in future (leadedge/Spout2#103).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants