ManagedEslTest.2010 throws System.AccessViolationException
Hi all! I made some more experiments with ManagedEslTest. I have tried to build a functioning one with Win 7 64bit with VS2010 and with VS2012, neither worked, the symptoms, are the same. On the other hand FSClient build and run in Release mode. Can you give any hint what should I check in ManagedEslTest solution? Thanks: Ferenc Hi! I would like to build an ESL application on 32bit Windows 7 with Visual Studio 2010. I git cloned Freeswitch stable. It was compiled with success. I opened libs\esl\managed\Managed_esl_2010.sln, as a whole solution. It was compiled as well. If I start ManagedEslTest.2010 in VS, it seems to be running fine. If I compile it with Debug mode and run it from command line, it seems to be running fine. If i compile it with Release mode and run it outside VS it throws:System.AccessViolationException @ CSharp_ESLevent_Serialize(Void* jarg1, SByte* jarg2) libs\esl\managed\esl_wrap.cpp, line: 414 I have found only this JIRA 'issue': - http://jira.freeswitch.org/browse/ESL-63 and this so entry: - http://stackoverflow.com/questions/19912087/initialising-the-core-using-free... which are about similar problems, but they didn't really helped, because x64 is not involved here. If you could help, i would really appreciate it. Thank you in advance: Ferenc Sárközy
I had the exact the same problem yesterday when running on Windows Server 2008. I did some testing and I found that the crash happens when SWIG_csharp_string_callback is called. I am not sure how to fix this issue. I opened an ew Jira http://jira.freeswitch.org/browse/ESL-81 Duvid Rottenberg On Thu, Dec 5, 2013 at 3:24 AM, Ferenc Sárközy <sarkozyf@gmail.com> wrote:
Hi all! I made some more experiments with ManagedEslTest. I have tried to build a functioning one with Win 7 64bit with VS2010 and with VS2012, neither worked, the symptoms, are the same. On the other hand FSClient build and run in Release mode. Can you give any hint what should I check in ManagedEslTest solution? Thanks: Ferenc
Hi! I would like to build an ESL application on 32bit Windows 7 with Visual Studio 2010. I git cloned Freeswitch stable. It was compiled with success. I opened libs\esl\managed\Managed_esl_2010.sln, as a whole solution. It was compiled as well. If I start ManagedEslTest.2010 in VS, it seems to be running fine. If I compile it with Debug mode and run it from command line, it seems to be running fine. If i compile it with Release mode and run it outside VS it throws:System.AccessViolationException @ CSharp_ESLevent_Serialize(Void* jarg1, SByte* jarg2) libs\esl\managed\esl_wrap.cpp, line: 414
I have found only this JIRA 'issue': - http://jira.freeswitch.org/browse/ESL-63 and this so entry: - http://stackoverflow.com/questions/19912087/initialising-the-core-using-free... which are about similar problems, but they didn't really helped, because x64 is not involved here. If you could help, i would really appreciate it.
Thank you in advance: Ferenc Sárközy
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I don't think anyone has updated the unit test project to go a long with the code. It should really be deleted from the tree. --Dave _____ From: Ferenc Sárközy [mailto:sarkozyf@gmail.com] To: freeswitch-users@lists.freeswitch.org Sent: Thu, 05 Dec 2013 00:24:28 -0800 Subject: [Freeswitch-users] ManagedEslTest.2010 throws System.AccessViolationException Hi all! I made some more experiments with ManagedEslTest. I have tried to build a functioning one with Win 7 64bit with VS2010 and with VS2012, neither worked, the symptoms, are the same. On the other hand FSClient build and run in Release mode. Can you give any hint what should I check in ManagedEslTest solution? Thanks: Ferenc Hi! I would like to build an ESL application on 32bit Windows 7 with Visual Studio 2010. I git cloned Freeswitch stable. It was compiled with success. I opened libs\esl\managed\Managed_esl_2010.sln, as a whole solution. It was compiled as well. If I start ManagedEslTest.2010 in VS, it seems to be running fine. If I compile it with Debug mode and run it from command line, it seems to be running fine. If i compile it with Release mode and run it outside VS it throws:System.AccessViolationException @ CSharp_ESLevent_Serialize(Void* jarg1, SByte* jarg2) libs\esl\managed\esl_wrap.cpp, line: 414 I have found only this JIRA 'issue': - http://jira.freeswitch.org/browse/ESL-63 and this so entry: - http://stackoverflow.com/questions/19912087/initialising-the-core-using-free... which are about similar problems, but they didn't really helped, because x64 is not involved here. If you could help, i would really appreciate it. Thank you in advance: Ferenc Sárközy
It is not a unit test, just a few line of console app, to demonstrate the usage of the managed esl lib. On Fri, Dec 6, 2013 at 2:11 AM, Dave R. Kompel <drk@drkngs.net> wrote:
I don't think anyone has updated the unit test project to go a long with the code. It should really be deleted from the tree.
--Dave
------------------------------ *From:* Ferenc Sárközy [mailto:sarkozyf@gmail.com] *To:* freeswitch-users@lists.freeswitch.org *Sent:* Thu, 05 Dec 2013 00:24:28 -0800 *Subject:* [Freeswitch-users] ManagedEslTest.2010 throws System.AccessViolationException
Hi all! I made some more experiments with ManagedEslTest. I have tried to build a functioning one with Win 7 64bit with VS2010 and with VS2012, neither worked, the symptoms, are the same. On the other hand FSClient build and run in Release mode. Can you give any hint what should I check in ManagedEslTest solution? Thanks: Ferenc
Hi! I would like to build an ESL application on 32bit Windows 7 with Visual Studio 2010. I git cloned Freeswitch stable. It was compiled with success. I opened libs\esl\managed\Managed_esl_2010.sln, as a whole solution. It was compiled as well. If I start ManagedEslTest.2010 in VS, it seems to be running fine. If I compile it with Debug mode and run it from command line, it seems to be running fine. If i compile it with Release mode and run it outside VS it throws:System.AccessViolationException @ CSharp_ESLevent_Serialize(Void* jarg1, SByte* jarg2) libs\esl\managed\esl_wrap.cpp, line: 414
I have found only this JIRA 'issue': - http://jira.freeswitch.org/browse/ESL-63 and this so entry: - http://stackoverflow.com/questions/19912087/initialising-the-core-using-free... which are about similar problems, but they didn't really helped, because x64 is not involved here. If you could help, i would really appreciate it.
Thank you in advance: Ferenc Sárközy
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Dave R. Kompel
-
Duvid Rottenberg
-
Ferenc Sárközy
-
Sárközy Ferenc