Skypopen segfault again
Hi Giovanni, Seems segfault again, this is the updated version. FreeSWITCH Version 1.0.head (git-a57336b 2011-05-03 22-40-43 -0500) Started Core was generated by `./freeswitch -core -nc'. Program terminated with signal 11, Segmentation fault. #0 0x00007f0f027ce028 in switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1082 1082 switch_assert(session->channel); (gdb) bt full #0 0x00007f0f027ce028 in switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1082 __PRETTY_FUNCTION__ = "switch_core_session_get_channel" #1 0x00007f0eed7d5d0a in dtmf_received (tech_pvt=0x7f0eeda1e9e0, value=0x7f0eecd6e560 "*") at mod_skypopen.c:2138 session = 0x0 channel = 0x0 __func__ = "dtmf_received" #2 0x00007f0eed7e21dd in skypopen_signaling_read (tech_pvt=0x7f0eeda1e9e0) at skypopen_protocol.c:537 read_from_pipe = "CALL 7025 DTMF *", '\000' <repeats 4079 times> message = "CALL\000\067\060\062\065\000DTMF\000*", '\000' <repeats 4079 times> message_2 = "CALL 7025 DTMF *", '\000' <repeats 4079 times> buf = 0x0 obj = "CALL", '\000' <repeats 507 times> id = "7025", '\000' <repeats 507 times> prop = "DTMF", '\000' <repeats 507 times> value = "*", '\000' <repeats 510 times> where = 0x0 stringp = 0x7f0eecd6ed68 a = 17 howmany = 17 i = 16 __func__ = "skypopen_signaling_read" #3 0x00007f0eed7cec65 in skypopen_signaling_thread_func (thread=0x7f0ef408ad28, obj=0x7f0eeda1e9e0) at mod_skypopen.c:1399 tech_pvt = 0x7f0eeda1e9e0 res = 0 forever = 1 event = 0x0 __func__ = "skypopen_signaling_thread_func" #4 0x00007f0f0287b317 in dummy_worker (opaque=0x7f0ef408ad28) at threadproc/unix/thread.c:138 thread = 0x7f0ef408ad28 #5 0x00007f0f01cfc8ba in start_thread () from /lib/libpthread.so.0 No symbol table info available. #6 0x00007f0f0122802d in clone () from /lib/libc.so.6 No symbol table info available. #7 0x0000000000000000 in ?? () No symbol table info available. (gdb)
Please report bugs at http://jira.freeswitch.org On 6 June 2011 07:24, Anton VG <anton.vazir@gmail.com> wrote:
Hi Giovanni, Seems segfault again, this is the updated version. FreeSWITCH Version 1.0.head (git-a57336b 2011-05-03 22-40-43 -0500) Started
Core was generated by `./freeswitch -core -nc'. Program terminated with signal 11, Segmentation fault. #0 0x00007f0f027ce028 in switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1082 1082 switch_assert(session->channel); (gdb) bt full #0 0x00007f0f027ce028 in switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1082 __PRETTY_FUNCTION__ = "switch_core_session_get_channel" #1 0x00007f0eed7d5d0a in dtmf_received (tech_pvt=0x7f0eeda1e9e0, value=0x7f0eecd6e560 "*") at mod_skypopen.c:2138 session = 0x0 channel = 0x0 __func__ = "dtmf_received" #2 0x00007f0eed7e21dd in skypopen_signaling_read (tech_pvt=0x7f0eeda1e9e0) at skypopen_protocol.c:537 read_from_pipe = "CALL 7025 DTMF *", '\000' <repeats 4079 times> message = "CALL\000\067\060\062\065\000DTMF\000*", '\000' <repeats 4079 times> message_2 = "CALL 7025 DTMF *", '\000' <repeats 4079 times> buf = 0x0 obj = "CALL", '\000' <repeats 507 times> id = "7025", '\000' <repeats 507 times> prop = "DTMF", '\000' <repeats 507 times> value = "*", '\000' <repeats 510 times> where = 0x0 stringp = 0x7f0eecd6ed68 a = 17 howmany = 17 i = 16 __func__ = "skypopen_signaling_read" #3 0x00007f0eed7cec65 in skypopen_signaling_thread_func (thread=0x7f0ef408ad28, obj=0x7f0eeda1e9e0) at mod_skypopen.c:1399 tech_pvt = 0x7f0eeda1e9e0 res = 0 forever = 1 event = 0x0 __func__ = "skypopen_signaling_thread_func" #4 0x00007f0f0287b317 in dummy_worker (opaque=0x7f0ef408ad28) at threadproc/unix/thread.c:138 thread = 0x7f0ef408ad28 #5 0x00007f0f01cfc8ba in start_thread () from /lib/libpthread.so.0 No symbol table info available. #6 0x00007f0f0122802d in clone () from /lib/libc.so.6 No symbol table info available. #7 0x0000000000000000 in ?? () No symbol table info available. (gdb)
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Thanks for note Steven, but before reporting Bug, we have to make sure this is really BUG :), like this time 2011/6/6 Steven Ayre <steveayre@gmail.com>:
Please report bugs at http://jira.freeswitch.org
On 6 June 2011 07:24, Anton VG <anton.vazir@gmail.com> wrote:
Hi Giovanni, Seems segfault again, this is the updated version. FreeSWITCH Version 1.0.head (git-a57336b 2011-05-03 22-40-43 -0500) Started
Core was generated by `./freeswitch -core -nc'. Program terminated with signal 11, Segmentation fault. #0 0x00007f0f027ce028 in switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1082 1082 switch_assert(session->channel); (gdb) bt full #0 0x00007f0f027ce028 in switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1082 __PRETTY_FUNCTION__ = "switch_core_session_get_channel" #1 0x00007f0eed7d5d0a in dtmf_received (tech_pvt=0x7f0eeda1e9e0, value=0x7f0eecd6e560 "*") at mod_skypopen.c:2138 session = 0x0 channel = 0x0 __func__ = "dtmf_received" #2 0x00007f0eed7e21dd in skypopen_signaling_read (tech_pvt=0x7f0eeda1e9e0) at skypopen_protocol.c:537 read_from_pipe = "CALL 7025 DTMF *", '\000' <repeats 4079 times> message = "CALL\000\067\060\062\065\000DTMF\000*", '\000' <repeats 4079 times> message_2 = "CALL 7025 DTMF *", '\000' <repeats 4079 times> buf = 0x0 obj = "CALL", '\000' <repeats 507 times> id = "7025", '\000' <repeats 507 times> prop = "DTMF", '\000' <repeats 507 times> value = "*", '\000' <repeats 510 times> where = 0x0 stringp = 0x7f0eecd6ed68 a = 17 howmany = 17 i = 16 __func__ = "skypopen_signaling_read" #3 0x00007f0eed7cec65 in skypopen_signaling_thread_func (thread=0x7f0ef408ad28, obj=0x7f0eeda1e9e0) at mod_skypopen.c:1399 tech_pvt = 0x7f0eeda1e9e0 res = 0 forever = 1 event = 0x0 __func__ = "skypopen_signaling_thread_func" #4 0x00007f0f0287b317 in dummy_worker (opaque=0x7f0ef408ad28) at threadproc/unix/thread.c:138 thread = 0x7f0ef408ad28 #5 0x00007f0f01cfc8ba in start_thread () from /lib/libpthread.so.0 No symbol table info available. #6 0x00007f0f0122802d in clone () from /lib/libc.so.6 No symbol table info available. #7 0x0000000000000000 in ?? () No symbol table info available. (gdb)
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
A segfault is always a bug, just one that was already fixed in this case. ;) Good luck with the upgrade. -Steve On 6 June 2011 09:16, Anton VG <anton.vazir@gmail.com> wrote:
Thanks for note Steven, but before reporting Bug, we have to make sure this is really BUG :), like this time
2011/6/6 Steven Ayre <steveayre@gmail.com>:
Please report bugs at http://jira.freeswitch.org
On 6 June 2011 07:24, Anton VG <anton.vazir@gmail.com> wrote:
Hi Giovanni, Seems segfault again, this is the updated version. FreeSWITCH Version 1.0.head (git-a57336b 2011-05-03 22-40-43 -0500) Started
Core was generated by `./freeswitch -core -nc'. Program terminated with signal 11, Segmentation fault. #0 0x00007f0f027ce028 in switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1082 1082 switch_assert(session->channel); (gdb) bt full #0 0x00007f0f027ce028 in switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1082 __PRETTY_FUNCTION__ = "switch_core_session_get_channel" #1 0x00007f0eed7d5d0a in dtmf_received (tech_pvt=0x7f0eeda1e9e0, value=0x7f0eecd6e560 "*") at mod_skypopen.c:2138 session = 0x0 channel = 0x0 __func__ = "dtmf_received" #2 0x00007f0eed7e21dd in skypopen_signaling_read (tech_pvt=0x7f0eeda1e9e0) at skypopen_protocol.c:537 read_from_pipe = "CALL 7025 DTMF *", '\000' <repeats 4079 times> message = "CALL\000\067\060\062\065\000DTMF\000*", '\000' <repeats 4079 times> message_2 = "CALL 7025 DTMF *", '\000' <repeats 4079 times> buf = 0x0 obj = "CALL", '\000' <repeats 507 times> id = "7025", '\000' <repeats 507 times> prop = "DTMF", '\000' <repeats 507 times> value = "*", '\000' <repeats 510 times> where = 0x0 stringp = 0x7f0eecd6ed68 a = 17 howmany = 17 i = 16 __func__ = "skypopen_signaling_read" #3 0x00007f0eed7cec65 in skypopen_signaling_thread_func (thread=0x7f0ef408ad28, obj=0x7f0eeda1e9e0) at mod_skypopen.c:1399 tech_pvt = 0x7f0eeda1e9e0 res = 0 forever = 1 event = 0x0 __func__ = "skypopen_signaling_thread_func" #4 0x00007f0f0287b317 in dummy_worker (opaque=0x7f0ef408ad28) at threadproc/unix/thread.c:138 thread = 0x7f0ef408ad28 #5 0x00007f0f01cfc8ba in start_thread () from /lib/libpthread.so.0 No symbol table info available. #6 0x00007f0f0122802d in clone () from /lib/libc.so.6 No symbol table info available. #7 0x0000000000000000 in ?? () No symbol table info available. (gdb)
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
That was fixed in git... Are you sure you have skypopen code that contains the fix? Can you go in mod-skypopen source directory and do a "git log ." and report here the first few lines? Are you sure you're using that code? (eg: compiled and installed)? Also, can you report one wninga or errora line generated by skypopen (it contains the revision number), eg when you load it. You can find it in the freeswitch log. I'll check again the code, anyway. -giovanni On 6/6/11, Anton VG <anton.vazir@gmail.com> wrote:
Hi Giovanni, Seems segfault again, this is the updated version. FreeSWITCH Version 1.0.head (git-a57336b 2011-05-03 22-40-43 -0500) Started
Core was generated by `./freeswitch -core -nc'. Program terminated with signal 11, Segmentation fault. #0 0x00007f0f027ce028 in switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1082 1082 switch_assert(session->channel); (gdb) bt full #0 0x00007f0f027ce028 in switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1082 __PRETTY_FUNCTION__ = "switch_core_session_get_channel" #1 0x00007f0eed7d5d0a in dtmf_received (tech_pvt=0x7f0eeda1e9e0, value=0x7f0eecd6e560 "*") at mod_skypopen.c:2138 session = 0x0 channel = 0x0 __func__ = "dtmf_received" #2 0x00007f0eed7e21dd in skypopen_signaling_read (tech_pvt=0x7f0eeda1e9e0) at skypopen_protocol.c:537 read_from_pipe = "CALL 7025 DTMF *", '\000' <repeats 4079 times> message = "CALL\000\067\060\062\065\000DTMF\000*", '\000' <repeats 4079 times> message_2 = "CALL 7025 DTMF *", '\000' <repeats 4079 times> buf = 0x0 obj = "CALL", '\000' <repeats 507 times> id = "7025", '\000' <repeats 507 times> prop = "DTMF", '\000' <repeats 507 times> value = "*", '\000' <repeats 510 times> where = 0x0 stringp = 0x7f0eecd6ed68 a = 17 howmany = 17 i = 16 __func__ = "skypopen_signaling_read" #3 0x00007f0eed7cec65 in skypopen_signaling_thread_func (thread=0x7f0ef408ad28, obj=0x7f0eeda1e9e0) at mod_skypopen.c:1399 tech_pvt = 0x7f0eeda1e9e0 res = 0 forever = 1 event = 0x0 __func__ = "skypopen_signaling_thread_func" #4 0x00007f0f0287b317 in dummy_worker (opaque=0x7f0ef408ad28) at threadproc/unix/thread.c:138 thread = 0x7f0ef408ad28 #5 0x00007f0f01cfc8ba in start_thread () from /lib/libpthread.so.0 No symbol table info available. #6 0x00007f0f0122802d in clone () from /lib/libc.so.6 No symbol table info available. #7 0x0000000000000000 in ?? () No symbol table info available. (gdb)
-- Sent from my mobile device Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Anton, fix was: commit 2146583663a5067f6ff71df1e48c3bb900e89db8 Author: Giovanni Maruzzelli <gmaruzz@gmail.com> Date: Sat May 21 02:45:39 2011 -0500 the code you're running seems to be older than the fix. -giovanni On Mon, Jun 6, 2011 at 8:24 AM, Anton VG <anton.vazir@gmail.com> wrote:
Hi Giovanni, Seems segfault again, this is the updated version. FreeSWITCH Version 1.0.head (git-a57336b 2011-05-03 22-40-43 -0500) Started
Core was generated by `./freeswitch -core -nc'. Program terminated with signal 11, Segmentation fault. #0 0x00007f0f027ce028 in switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1082 1082 switch_assert(session->channel); (gdb) bt full #0 0x00007f0f027ce028 in switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1082 __PRETTY_FUNCTION__ = "switch_core_session_get_channel" #1 0x00007f0eed7d5d0a in dtmf_received (tech_pvt=0x7f0eeda1e9e0, value=0x7f0eecd6e560 "*") at mod_skypopen.c:2138 session = 0x0 channel = 0x0 __func__ = "dtmf_received" #2 0x00007f0eed7e21dd in skypopen_signaling_read (tech_pvt=0x7f0eeda1e9e0) at skypopen_protocol.c:537 read_from_pipe = "CALL 7025 DTMF *", '\000' <repeats 4079 times> message = "CALL\000\067\060\062\065\000DTMF\000*", '\000' <repeats 4079 times> message_2 = "CALL 7025 DTMF *", '\000' <repeats 4079 times> buf = 0x0 obj = "CALL", '\000' <repeats 507 times> id = "7025", '\000' <repeats 507 times> prop = "DTMF", '\000' <repeats 507 times> value = "*", '\000' <repeats 510 times> where = 0x0 stringp = 0x7f0eecd6ed68 a = 17 howmany = 17 i = 16 __func__ = "skypopen_signaling_read" #3 0x00007f0eed7cec65 in skypopen_signaling_thread_func (thread=0x7f0ef408ad28, obj=0x7f0eeda1e9e0) at mod_skypopen.c:1399 tech_pvt = 0x7f0eeda1e9e0 res = 0 forever = 1 event = 0x0 __func__ = "skypopen_signaling_thread_func" #4 0x00007f0f0287b317 in dummy_worker (opaque=0x7f0ef408ad28) at threadproc/unix/thread.c:138 thread = 0x7f0ef408ad28 #5 0x00007f0f01cfc8ba in start_thread () from /lib/libpthread.so.0 No symbol table info available. #6 0x00007f0f0122802d in clone () from /lib/libc.so.6 No symbol table info available. #7 0x0000000000000000 in ?? () No symbol table info available. (gdb)
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Hm... I see my FS reports 5 may, and fix was 21 of may... but I was completely sure I have updated it that time. Will check again. Maybe I mixed up which of the boxes was updated and which not. Sorry for confusion... 2011/6/6 Giovanni Maruzzelli <gmaruzz@gmail.com>:
Anton,
fix was:
commit 2146583663a5067f6ff71df1e48c3bb900e89db8 Author: Giovanni Maruzzelli <gmaruzz@gmail.com> Date: Sat May 21 02:45:39 2011 -0500
the code you're running seems to be older than the fix.
-giovanni
On Mon, Jun 6, 2011 at 8:24 AM, Anton VG <anton.vazir@gmail.com> wrote:
Hi Giovanni, Seems segfault again, this is the updated version. FreeSWITCH Version 1.0.head (git-a57336b 2011-05-03 22-40-43 -0500) Started
Core was generated by `./freeswitch -core -nc'. Program terminated with signal 11, Segmentation fault. #0 0x00007f0f027ce028 in switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1082 1082 switch_assert(session->channel); (gdb) bt full #0 0x00007f0f027ce028 in switch_core_session_get_channel (session=0x0) at src/switch_core_session.c:1082 __PRETTY_FUNCTION__ = "switch_core_session_get_channel" #1 0x00007f0eed7d5d0a in dtmf_received (tech_pvt=0x7f0eeda1e9e0, value=0x7f0eecd6e560 "*") at mod_skypopen.c:2138 session = 0x0 channel = 0x0 __func__ = "dtmf_received" #2 0x00007f0eed7e21dd in skypopen_signaling_read (tech_pvt=0x7f0eeda1e9e0) at skypopen_protocol.c:537 read_from_pipe = "CALL 7025 DTMF *", '\000' <repeats 4079 times> message = "CALL\000\067\060\062\065\000DTMF\000*", '\000' <repeats 4079 times> message_2 = "CALL 7025 DTMF *", '\000' <repeats 4079 times> buf = 0x0 obj = "CALL", '\000' <repeats 507 times> id = "7025", '\000' <repeats 507 times> prop = "DTMF", '\000' <repeats 507 times> value = "*", '\000' <repeats 510 times> where = 0x0 stringp = 0x7f0eecd6ed68 a = 17 howmany = 17 i = 16 __func__ = "skypopen_signaling_read" #3 0x00007f0eed7cec65 in skypopen_signaling_thread_func (thread=0x7f0ef408ad28, obj=0x7f0eeda1e9e0) at mod_skypopen.c:1399 tech_pvt = 0x7f0eeda1e9e0 res = 0 forever = 1 event = 0x0 __func__ = "skypopen_signaling_thread_func" #4 0x00007f0f0287b317 in dummy_worker (opaque=0x7f0ef408ad28) at threadproc/unix/thread.c:138 thread = 0x7f0ef408ad28 #5 0x00007f0f01cfc8ba in start_thread () from /lib/libpthread.so.0 No symbol table info available. #6 0x00007f0f0122802d in clone () from /lib/libc.so.6 No symbol table info available. #7 0x0000000000000000 in ?? () No symbol table info available. (gdb)
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
participants (3)
-
Anton VG
-
Giovanni Maruzzelli
-
Steven Ayre