kirushyk / kms-windows

Port of Kurento Media Server for Windows
http://www.kurento.org
37 stars 18 forks source link

Kurento Server crashes #13

Open ArJavBi opened 7 years ago

ArJavBi commented 7 years ago

Hello, after building, I tried to start kurento server .exe and I get the following error message:

image

Any idea how to fix this?

Thanks,

Best regards

petergerten commented 6 years ago

I got the same error after building :(

petergerten commented 6 years ago

@kirushyk Are your release files built with the same script you put into contrib? I got a lot more files and everything seems bloated (kurento-media-server.exe is ~40MB) - is this a debug build?

In any case - same as the orignal poster - I am stuck with the boost error mentioned above.

petergerten commented 6 years ago

Was anyone else successful in building from source and having a working binary?

petergerten commented 6 years ago

@kirushyk just saw your post in the interest group list. I do a gree that merging it would be the best in the long term.

For now - do you have any hint on getting a source code build working? @ArJavBi and I are both struggling with the above error when building from source.

petergerten commented 6 years ago

Did anyone got this running. It seems that @kirushyk must have had it running at least once? Sad that he would not even give any hint on this at all.

kirushyk commented 6 years ago

Oh course I had this running. Have you tried debugging your crash? :-)

petergerten commented 6 years ago

@kirushyk I rebuilt everything again in a more reproducible way: Dockerfile:

FROM fedora:25
RUN dnf -y install autoconf automake mingw32-filesystem cmake mingw32-gcc-c++ maven \
  mingw32-boost gettext-devel bison flex mingw32-glib2 mingw32-orc mingw32-libtheora \
  mingw32-libvorbis mingw32-opus mingw32-libsigc++20 mingw32-glibmm24 yasm mingw32-openssl \
  mingw32-libtiff mingw32-libpng mingw32-OpenEXR mingw32-jasper libtool glib2-devel gtk-doc \
  mingw32-atk mingw32-cairo mingw32-gtk3 mingw32-speex mingw32-wavpack mingw32-libsoup sudo zip wget nasm make

Then the only change: CMAKEVERSION="3.9" and ran kms-windows-port.sh int that container.

The output binaries are tested on a virgin & updated Windows 10 installation. Output:

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::property_tree::ptree_bad_path> >'
  what():  No such node (metadata)

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

I then started kms via WinDbg and got the following output: https://pastebin.com/gaeKVEjU