[Freeswitch-users] A fatal error has been detected by the Java Runtime Environment:
shaik bawajan
shaik.bawajan at gmail.com
Sat Jul 21 10:44:57 MSD 2012
Thanks a lot,
It is very helpful to me.
But, the each event are receiving multiple times ( each event coming 3 or 4
times ).
It will happen like this or is there any way to stop this.
here am attaching my java class, where am creating a single thread and
making outbound, playing a file.
The class itself is a Event Listener and am adding below event listeners
from other initiate Class.
client.setEventSubscriptions("plain", "all");
client.addEventFilter("Event-Name", "CHANNEL_CREATE");
client.addEventFilter("Event-Name","BACKGROUND_JOB");
client.addEventFilter("Event-Name","CHANNEL_STATE");
client.addEventFilter("Event-Name","CHANNEL_EXECUTE_COMPLETE");
client.addEventFilter("Event-Name","CHANNEL_HANGUP");
client.addEventFilter("Event-Name","CHANNEL_HANGUP_COMPLETE");
client.addEventFilter("Event-Name","DTMF");
client.addEventFilter("Event-Name","HEARTBEAT");
Thanks in advance,
On Wed, Jul 18, 2012 at 7:30 PM, Hector Geraldino <
Hector.Geraldino at ipsoft.com> wrote:
> Hello,
>
> Trying to help you to solve a crash in the jvm for a multithreaded
> application is damn hard. Doing it using a mailing list is even harder, and
> without looking at your source code is almost impossible.
>
> However I want to recommend you to drop the use of this library (which is
> a java wrapper of the FS core lib written in C) and use the pure Java ESL
> Client (http://wiki.freeswitch.org/wiki/Java_ESL_Client). You will have
> full access to the source code for debug, no dependencies on native
> libraries, and a good set of examples.
>
> Good luck!
>
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of bawajan
> Sent: Tuesday, July 17, 2012 8:55 AM
> To: freeswitch-users at lists.freeswitch.org
> Subject: [Freeswitch-users] A fatal error has been detected by the Java
> Runtime Environment:
>
> Hi,
>
> Am using ESL inbound connection to make calls and have a below flow
> (written in java)
>
> a) originating 15 calls simultaneously with park function
> b) play audio file
> c) creating new thread and passing eslconnection and playing a IVR in
> originate call.
>
> Here while handling events getting the below error :
>
>
> # A fatal error has been
> detected by the Java Runtime Environment:
>
> INFO | jvm 3 | 2012/07/17 17:54:36 | #
> INFO | jvm 3 | 2012/07/17 17:54:36 | # SIGSEGV (0xb) at
> pc=0x00007fc01f1d3943, pid=14759, tid=140463084390144
> INFO | jvm 3 | 2012/07/17 17:54:36 | #
> INFO | jvm 3 | 2012/07/17 17:54:36 | # JRE version: 6.0_25-b06
> INFO | jvm 3 | 2012/07/17 17:54:36 | # Java VM: Java HotSpot(TM)
> 64-Bit
> Server VM (20.0-b11 mixed mode linux-amd64 compressed oops)
> INFO | jvm 3 | 2012/07/17 17:54:36 | # Problematic frame:
> INFO | jvm 3 | 2012/07/17 17:54:36 | # C [libesljni.so+0xd943] long
> double+0x183
> INFO | jvm 3 | 2012/07/17 17:54:36 | #
> INFO | jvm 3 | 2012/07/17 17:54:36 | # An error report file with more
> information is saved as:
> INFO | jvm 3 | 2012/07/17 17:54:36 | #
> /usr/local/freeswitch/hs_err_pid14759.log
> INFO | jvm 3 | 2012/07/17 17:54:36 | #
> INFO | jvm 3 | 2012/07/17 17:54:36 | # If you would like to submit a
> bug report, please visit:
> INFO | jvm 3 | 2012/07/17 17:54:36 | #
> http://java.sun.com/webapps/bugreport/crash.jsp
> INFO | jvm 3 | 2012/07/17 17:54:36 | # The crash happened outside the
> Java Virtual Machine in native code.
> INFO | jvm 3 | 2012/07/17 17:54:36 | # See problematic frame for where
> to report the bug.
>
>
>
> plz let me know, where am doing mistake and how to resolve it.
>
> Thanks in advance.
>
>
> --
> View this message in context:
> http://freeswitch-users.2379917.n2.nabble.com/A-fatal-error-has-been-detected-by-the-Java-Runtime-Environment-tp7580878.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120721/1acf9735/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ExecutorProcess.java
Type: application/octet-stream
Size: 9780 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120721/1acf9735/attachment-0001.obj
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list