problem using mod_managed under linux
Hi. I am trying to use mod_managed on my linux box -- gentoo distribution -- and its driving me ... I wrote a very simple program for a test. The program just sets a dtmf callback and then streams a file and writes a log entry when it sees the dtmf. Under Windows 7 net framework 4, it works just fine. Under Linux, using mono versions 2.8.2 qand 2.10.4, I get the following exception which I will put in a pastebin. http://pastebin.freeswitch.org/17232 And the app is in this one http://pastebin.freeswitch.org/17233 I have tried using gmcs and dmcs thinking it may be a .net framework issue, and if I do it wrong, I can bring down fs itself, but the best I can get under Linux is the exception shown above. Thanks in advance for anything you can come up with on this. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
I'm having the same problem. (http://pastebin.freeswitch.org/17216) Have you tried the Demo.csx to see if it will even run? In my case it won't. It is my opinon that it's because the FreeSwitch.Managed.dll is dependent specifically on C# 4.0, since the same code will run correctly on Windows. I sent a message out to the freeswitch-devs group but I don't think it was approved by the moderator, because I haven't seen it come back through the list. Someone on IRC said that mod_managed isn't maintained anymore, but I see activity in FishEye from last week. On Tue, Aug 30, 2011 at 5:39 AM, <covici@ccs.covici.com> wrote:
Hi. I am trying to use mod_managed on my linux box -- gentoo distribution -- and its driving me ...
I wrote a very simple program for a test. The program just sets a dtmf callback and then streams a file and writes a log entry when it sees the dtmf.
Under Windows 7 net framework 4, it works just fine. Under Linux, using mono versions 2.8.2 qand 2.10.4, I get the following exception which I will put in a pastebin.
http://pastebin.freeswitch.org/17232
And the app is in this one
http://pastebin.freeswitch.org/17233
I have tried using gmcs and dmcs thinking it may be a .net framework issue, and if I do it wrong, I can bring down fs itself, but the best I can get under Linux is the exception shown above.
Thanks in advance for anything you can come up with on this.
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.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
It's probably more related to some cross-appdomain/serialization stuff that's specific to Mono. I wrote mod_managed against Mono 2.4 or so, and I think last time I ran it was 2.6, and only on CentOS 5. Probably something changed and is triggering a bug in mod_managed in the newer builds. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Tim McQueen Sent: Wednesday, August 31, 2011 9:08 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] problem using mod_managed under linux I'm having the same problem. (http://pastebin.freeswitch.org/17216) Have you tried the Demo.csx to see if it will even run? In my case it won't. It is my opinon that it's because the FreeSwitch.Managed.dll is dependent specifically on C# 4.0, since the same code will run correctly on Windows. I sent a message out to the freeswitch-devs group but I don't think it was approved by the moderator, because I haven't seen it come back through the list. Someone on IRC said that mod_managed isn't maintained anymore, but I see activity in FishEye from last week. On Tue, Aug 30, 2011 at 5:39 AM, <covici@ccs.covici.com<mailto:covici@ccs.covici.com>> wrote: Hi. I am trying to use mod_managed on my linux box -- gentoo distribution -- and its driving me ... I wrote a very simple program for a test. The program just sets a dtmf callback and then streams a file and writes a log entry when it sees the dtmf. Under Windows 7 net framework 4, it works just fine. Under Linux, using mono versions 2.8.2 qand 2.10.4, I get the following exception which I will put in a pastebin. http://pastebin.freeswitch.org/17232 And the app is in this one http://pastebin.freeswitch.org/17233 I have tried using gmcs and dmcs thinking it may be a .net framework issue, and if I do it wrong, I can bring down fs itself, but the best I can get under Linux is the exception shown above. Thanks in advance for anything you can come up with on this. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com<mailto:covici@ccs.covici.com> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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
Any chance of you fixing the bug? I think you must be right because in the server stack trace I see a lot of things involving serialization. Michael Giagnocavo <mgg@giagnocavo.net> wrote:
It's probably more related to some cross-appdomain/serialization stuff that's specific to Mono. I wrote mod_managed against Mono 2.4 or so, and I think last time I ran it was 2.6, and only on CentOS 5. Probably something changed and is triggering a bug in mod_managed in the newer builds.
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Tim McQueen Sent: Wednesday, August 31, 2011 9:08 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] problem using mod_managed under linux
I'm having the same problem. (http://pastebin.freeswitch.org/17216)
Have you tried the Demo.csx to see if it will even run? In my case it won't. It is my opinon that it's because the FreeSwitch.Managed.dll is dependent specifically on C# 4.0, since the same code will run correctly on Windows.
I sent a message out to the freeswitch-devs group but I don't think it was approved by the moderator, because I haven't seen it come back through the list. Someone on IRC said that mod_managed isn't maintained anymore, but I see activity in FishEye from last week. On Tue, Aug 30, 2011 at 5:39 AM, <covici@ccs.covici.com<mailto:covici@ccs.covici.com>> wrote: Hi. I am trying to use mod_managed on my linux box -- gentoo distribution -- and its driving me ...
I wrote a very simple program for a test. The program just sets a dtmf callback and then streams a file and writes a log entry when it sees the dtmf.
Under Windows 7 net framework 4, it works just fine. Under Linux, using mono versions 2.8.2 qand 2.10.4, I get the following exception which I will put in a pastebin.
http://pastebin.freeswitch.org/17232
And the app is in this one
http://pastebin.freeswitch.org/17233
I have tried using gmcs and dmcs thinking it may be a .net framework issue, and if I do it wrong, I can bring down fs itself, but the best I can get under Linux is the exception shown above.
Thanks in advance for anything you can come up with on this.
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com<mailto:covici@ccs.covici.com>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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
---------------------------------------------------- Alternatives:
----------------------------------------------------
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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
I tried to remake the .dll using dmcs which is supposed to be for framework v4, but it did not help. Tim McQueen <tim.mcqueen@gmail.com> wrote:
I'm having the same problem. (http://pastebin.freeswitch.org/17216)
Have you tried the Demo.csx to see if it will even run? In my case it won't. It is my opinon that it's because the FreeSwitch.Managed.dll is dependent specifically on C# 4.0, since the same code will run correctly on Windows.
I sent a message out to the freeswitch-devs group but I don't think it was approved by the moderator, because I haven't seen it come back through the list. Someone on IRC said that mod_managed isn't maintained anymore, but I see activity in FishEye from last week.
On Tue, Aug 30, 2011 at 5:39 AM, <covici@ccs.covici.com> wrote:
Hi. I am trying to use mod_managed on my linux box -- gentoo distribution -- and its driving me ...
I wrote a very simple program for a test. The program just sets a dtmf callback and then streams a file and writes a log entry when it sees the dtmf.
Under Windows 7 net framework 4, it works just fine. Under Linux, using mono versions 2.8.2 qand 2.10.4, I get the following exception which I will put in a pastebin.
http://pastebin.freeswitch.org/17232
And the app is in this one
http://pastebin.freeswitch.org/17233
I have tried using gmcs and dmcs thinking it may be a .net framework issue, and if I do it wrong, I can bring down fs itself, but the best I can get under Linux is the exception shown above.
Thanks in advance for anything you can come up with on this.
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.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
---------------------------------------------------- Alternatives:
----------------------------------------------------
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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Right, the managed DLL should be identical. I don't believe there are any C# 4.0 features (are there any besides dynamic?) being used. It's more of a "gotta debug what's going on with Mono 2.8/2.10 with appdomains and see what's up". -Michael -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of covici@ccs.covici.com Sent: Wednesday, August 31, 2011 11:05 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] problem using mod_managed under linux I tried to remake the .dll using dmcs which is supposed to be for framework v4, but it did not help. Tim McQueen <tim.mcqueen@gmail.com> wrote:
I'm having the same problem. (http://pastebin.freeswitch.org/17216)
Have you tried the Demo.csx to see if it will even run? In my case it won't. It is my opinon that it's because the FreeSwitch.Managed.dll is dependent specifically on C# 4.0, since the same code will run correctly on Windows.
I sent a message out to the freeswitch-devs group but I don't think it was approved by the moderator, because I haven't seen it come back through the list. Someone on IRC said that mod_managed isn't maintained anymore, but I see activity in FishEye from last week.
On Tue, Aug 30, 2011 at 5:39 AM, <covici@ccs.covici.com> wrote:
Hi. I am trying to use mod_managed on my linux box -- gentoo distribution -- and its driving me ...
I wrote a very simple program for a test. The program just sets a dtmf callback and then streams a file and writes a log entry when it sees the dtmf.
Under Windows 7 net framework 4, it works just fine. Under Linux, using mono versions 2.8.2 qand 2.10.4, I get the following exception which I will put in a pastebin.
http://pastebin.freeswitch.org/17232
And the app is in this one
http://pastebin.freeswitch.org/17233
I have tried using gmcs and dmcs thinking it may be a .net framework issue, and if I do it wrong, I can bring down fs itself, but the best I can get under Linux is the exception shown above.
Thanks in advance for anything you can come up with on this.
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.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-u sers http://www.freeswitch.org
---------------------------------------------------- Alternatives:
----------------------------------------------------
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-use rs http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.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 even tried this on DEbian squeeze which is using a mono 2.6 something and it still does not work. Michael Giagnocavo <mgg@giagnocavo.net> wrote:
Right, the managed DLL should be identical. I don't believe there are any C# 4.0 features (are there any besides dynamic?) being used. It's more of a "gotta debug what's going on with Mono 2.8/2.10 with appdomains and see what's up".
-Michael
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of covici@ccs.covici.com Sent: Wednesday, August 31, 2011 11:05 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] problem using mod_managed under linux
I tried to remake the .dll using dmcs which is supposed to be for framework v4, but it did not help.
Tim McQueen <tim.mcqueen@gmail.com> wrote:
I'm having the same problem. (http://pastebin.freeswitch.org/17216)
Have you tried the Demo.csx to see if it will even run? In my case it won't. It is my opinon that it's because the FreeSwitch.Managed.dll is dependent specifically on C# 4.0, since the same code will run correctly on Windows.
I sent a message out to the freeswitch-devs group but I don't think it was approved by the moderator, because I haven't seen it come back through the list. Someone on IRC said that mod_managed isn't maintained anymore, but I see activity in FishEye from last week.
On Tue, Aug 30, 2011 at 5:39 AM, <covici@ccs.covici.com> wrote:
Hi. I am trying to use mod_managed on my linux box -- gentoo distribution -- and its driving me ...
I wrote a very simple program for a test. The program just sets a dtmf callback and then streams a file and writes a log entry when it sees the dtmf.
Under Windows 7 net framework 4, it works just fine. Under Linux, using mono versions 2.8.2 qand 2.10.4, I get the following exception which I will put in a pastebin.
http://pastebin.freeswitch.org/17232
And the app is in this one
http://pastebin.freeswitch.org/17233
I have tried using gmcs and dmcs thinking it may be a .net framework issue, and if I do it wrong, I can bring down fs itself, but the best I can get under Linux is the exception shown above.
Thanks in advance for anything you can come up with on this.
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.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-u sers http://www.freeswitch.org
---------------------------------------------------- Alternatives:
----------------------------------------------------
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-use rs http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.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
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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
participants (3)
-
covici@ccs.covici.com
-
Michael Giagnocavo
-
Tim McQueen