Summary: | ASTERISK-01015: chan_h323 will dumps core with CLI reload | ||
Reporter: | heison (heison) | Labels: | |
Date Opened: | 2004-02-09 17:08:03.000-0600 | Date Closed: | 2004-09-25 02:54:43 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_h323 |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Current CVS compiled with h323. After started with safe_asterisk, and connected via asterisk -vvvvvr: [root@pbx asterisk]# asterisk -vvvvvr == Parsing '/etc/asterisk/asterisk.conf': Found Asterisk CVS-02/04/04-11:13:55, Copyright (C) 1999-2004 Digium. Written by Mark Spencer <markster@digium.com> ========================================================================= Connected to Asterisk CVS-02/04/04-11:13:55 currently running on pbx (pid = 17021) Asterisk Ready. -- Remote UNIX connection pbx*CLI> reload pbx*CLI> /usr/sbin/safe_asterisk: line 77: 17021 Segmentation fault (core dumped) asterisk ${ASTARGS} 1>&/dev/${TTY} </dev/${TTY} Asterisk ended with exit status 139 Asterisk exited on signal 11. Automatically restarting Asterisk. Disconnected from Asterisk server Executing last minute cleanups [root@pbx asterisk]# This is repeatable. | ||
Comments: | By: Brian West (bkw918) 2004-02-09 19:28:51.000-0600 Not an asterisk bug... issues in openh323 and pwlib. What versions are you using? chan_h323 will not work on some systems.. .just will not work at all gives stranges results or what you describe. By: heison (heison) 2004-02-11 11:29:25.000-0600 Below is the back trace of /tmp/core.16836 [root@pbx tmp]# ls -l core.16836 -rw------- 1 root root 147173376 Feb 9 18:00 core.16836 (gdb) bt #0 0x4002a89e in pthread_mutex_lock () from /lib/tls/libpthread.so.0 #1 0x080523c7 in ast_sched_wait (con=0x0) at sched.c:147 #2 0x41f8069a in h323_do_trace (fd=0, argc=0, argv=0x0) at chan_h323.c:1294 #3 0x400292b6 in start_thread () from /lib/tls/libpthread.so.0 By: Brian West (bkw918) 2004-02-11 16:47:31.000-0600 didn't you get this working finally? By: heison (heison) 2004-02-11 16:51:27.000-0600 I got it working with the old versions as JerJer developed on, not with the new one that he recommends in the README. The backtrace was from the recommended versions: Open H.323 v1.12.2 & PWLib v1.5.2 I could get it to build and it runs, but core dump on reloads By: Paul Cadach (pcadach) 2004-02-15 00:38:09.000-0600 Looks like memory destroyed on your backtrace or OpenH323/Asterisk are compiled with --fomit-frame-pointer optimization (or with -O key). By: jerjer (jerjer) 2004-03-04 01:59:11.000-0600 Cannot duplicate |