[Freeswitch-users] Module Loading Timeout Exit on Start-up
Shane Mitchell
shane.mitchell at fonedynamics.com.au
Wed Feb 8 04:24:27 MSK 2017
Hi Michael,
The module is written in C# using mod_managed. I have created a barebones CSX file to illustrate the issue, available here: https://pastebin.freeswitch.org/view/a9e03c6e
The last part of the console log is shown here: https://pastebin.freeswitch.org/view/0f2a230f
The test should count up to 60, but only counts to 30 before the process crashes.
In Windows Event viewer, the following information is displayed:
Faulting application name: FreeSwitchConsole.exe, version: 1.5.15.0, time stamp: 0x54ace818
Faulting module name: MSVCR100.dll, version: 10.0.40219.325, time stamp: 0x4df2bcac
Exception code: 0x40000015
Fault offset: 0x00000000000761c9
Faulting process id: 0xcea8
Faulting application start time: 0x01d281a878a2c8c2
Faulting application path: C:\Program Files\FreeSWITCH\FreeSwitchConsole.exe
Faulting module path: C:\Windows\system32\MSVCR100.dll
I'm not sure if this is isolated to mod_managed / CLR, or Windows, or if this occurs more broadly.
Any ideas?
Cheers,
Shane Mitchell
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris
Sent: Wednesday, 8 February 2017 7:42 AM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Module Loading Timeout Exit on Start-up
I can’t think of what that might be. Do you get any logs when that fails to point me towards what you are hitting? The modules loading is done in the main thread from the executable and we don’t have anything I can think of that times out there.
> On Feb 7, 2017, at 4:34 PM, Shane Mitchell wrote:
>
> Hi all,
>
> Just a quick question before I start searching through the source.
>
> On FS start-up, there seems to be a 30 second timeout FS allows for modules to load, after which FS will exit. I appreciate that modules should take less than this to load, but I'm running into this timeout mainly during development, for various reasons, including when debugging the loading logic of the module (hence debugging has become a bit of a race!).
>
> Is there any way to disable or extend this module load timeout?
>
> Thanks in advance,
>
> Shane Mitchell
>
>
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list