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@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of bawajan
Sent: Tuesday, July 17, 2012 8:55 AM
To: freeswitch-users@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@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

Join Us At ClueCon - Aug 7-9, 2012

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

_________________________________________________________________________
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

Join Us At ClueCon - Aug 7-9, 2012

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