[prev in list] [next in list] [prev in thread] [next in thread]
List: sems
Subject: Re: [Sems] First Steps in SEMS, Problem
From: Stefan Sayer <stefan.sayer () iptego ! com>
Date: 2009-03-12 12:56:59
Message-ID: 49B9069B.7030201 () iptego ! com
[Download RAW message or body]
Hello,
if you run sems with
gdb --args sems -f sems.conf -D 3 -E
and if the exception occurs do a 'backtrace', what does it show?
Alternatively, in these cases you can run
ulimit -c unlimited
before starting sems, and later do
gdb sems core.<pid>
Are you using the latest SEMS version?
it is recommended to use SEMS 1.1 or trunk version, i.e. do
svn co https://svn.berlios.de/svnroot/repos/sems/trunk/
You can find the example applications in
apps/examples
apps/examples/tutorial
Sorry if the application development tutorial pdf still references an
old version.
Regards
Stefan
o Bernd Simmet [03/12/09 10:12]:
> Hello
>
>
>
> I’m trying to make my first steps with SEMS.
>
> The problem is that even the tutorial-application don’t work. I tried
> the myjukebox-application, it works the first time an DTMF-Event is
> received. But the second time an DTMF_Event is received, I get a
> Segmentation Fault.
>
>
>
> My Debug-Output is:
>
>
>
> First DTMF-Event:
>
> (24341) DEBUG: process (AmSession.cpp:542): AmSession::process
>
> (24341) DEBUG: process (AmSession.cpp:560): Session received DTMF, event
> = 5, duration = 0
>
> (24341) DEBUG: onDtmf (MyJukebox.cpp:60): MyJukeboxDialog::onDtmf, got
> event 5, duration 0.
>
> (24341) DEBUG: wav_read_header (wav_hdr.c:126): trying to read WAV file
>
> (24341) DEBUG: wav_read_header (wav_hdr.c:129): tag = <RIFF>
>
> (24341) DEBUG: wav_read_header (wav_hdr.c:137): file size = <13964>
>
> (24341) DEBUG: wav_read_header (wav_hdr.c:140): tag = <WAVE>
>
> (24341) DEBUG: wav_read_header (wav_hdr.c:147): tag = <fmt >
>
> (24341) DEBUG: wav_read_header (wav_hdr.c:155): chunk_size = <16>
>
> (24341) DEBUG: wav_read_header (wav_hdr.c:159): fmt = <01>
>
> (24341) DEBUG: wav_read_header (wav_hdr.c:163): channels = <1>
>
> (24341) DEBUG: wav_read_header (wav_hdr.c:167): rate = <8000>
>
> (24341) DEBUG: wav_read_header (wav_hdr.c:174): bits/sample = <16>
>
> (24341) DEBUG: wav_read_header (wav_hdr.c:195): tag = <data>
>
> (24341) DEBUG: wav_read_header (wav_hdr.c:199): chunk size = <13928>
>
> (24341) DEBUG: setBufferSize (AmBufferedAudio.cpp:61): set output buffer
> size to 0 low thresh 0, fill thresh 0
>
> (24341) DEBUG: processEvents (AmEventQueue.cpp:71): event processed
>
> (24341) DEBUG: run (AmSession.cpp:404):
> 5b11ed3a2af85f6660a5634b3f658ab2@212.125.39.73 dlg.getUACTransPending() = 0
>
>
>
> Second DTMF-Event:
>
> (24341) DEBUG: process (MyJukebox.cpp:75): AmSession::process
>
> (24341) DEBUG: process (AmSession.cpp:542): AmSession::process
>
> (24341) DEBUG: process (AmSession.cpp:560): Session received DTMF, event
> = 4, duration = 0
>
> (24341) DEBUG: onDtmf (MyJukebox.cpp:60): MyJukeboxDialog::onDtmf, got
> event 4, duration 0.
>
> /bin/bash: line 1: 24341 Segmentation fault /usr/sbin/sems -f
> /etc/sems/sems.conf
>
> [FAILED]
>
>
>
> thanks in advance,
>
>
>
> Bernd
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Sems mailing list
> Sems@lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/sems
--
Stefan Sayer
VoIP Services
stefan.sayer@iptego.com
www.iptego.com
IPTEGO GmbH
Wittenbergplatz 1
10789 Berlin
Germany
Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann
_______________________________________________
Sems mailing list
Sems@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/sems
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic