Summary: | ASTERISK-12149: Asterisk SVN and chan_ooh323 | ||
Reporter: | Balgansuren Batsukh (balgaa) | Labels: | |
Date Opened: | 2008-06-05 11:15:36 | Date Closed: | 2011-06-07 14:02:54 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Addons/chan_ooh323 |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk-ooh323-info.txt | |
Description: | Hello, I got repeatedly crash when using chan_ooh323 for 8 concurrent calls. I installed Asterisk-1.4.6-addons chan_ooh323 driver. pbx:/home/balgaa# asterisk -r Asterisk SVN-branch-1.4-r120513, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk SVN-branch-1.4-r120513 currently running on pbx (pid = 11275) Verbosity is at least 6 pbx*CLI> ooh323 show config pbx*CLI> Objective Open H.323 Channel Driver's Config: IP:Port: 0.0.0.0:1720 FastStart yes Tunneling yes CallerId asterisk MediaWaitForConnect no MediaWaitForConnectno Gatekeeper: x.x.x.23 H.323 LogFile: /var/log/asterisk/h323_log Context: default Capability: 0x10d (g723|ulaw|alaw|g729) DTMF Mode: rfc2833 AccountCode: ast_h323 AMA flags: Unknown Aliases: pbx*CLI>100 ObjSysAsterisk I tried compiled Asterisk-SVN with DEBUG-THREADS flag, but don't know how to compile Asterisk-1.4.6-addons such compiler flag. Can you suggest me debugging or other possible way to determine, report problem? Or is chan_ooh323 driver to make condition to crash Asterisk repeatedly? | ||
Comments: | By: Mark Michelson (mmichelson) 2008-06-05 11:20:11 Firstly, please upgrade to 1.4.7 addons since a security vulnerability was just fixed in the ooh323 driver. I don't know if that will also fix your crash, but it doesn't hurt to be running a more secure version if possible. DEBUG_THREADS may not be necessary to determine the cause of the crash. If you compile Asterisk with DONT_OPTIMIZE and then recompile Asterisk and Asterisk-addons, then you should have an unoptimized build. When the crash happens again, upload a backtrace of the crash. Details on obtaining a backtrace can be found in doc/backtrace from the top-level Asterisk source directory. By: Balgansuren Batsukh (balgaa) 2008-06-05 11:44:13 I uploaded ls -l /tmp/ result and gdb asterisk core file, which is before DONT _OPTIMIZE flag. By: Balgansuren Batsukh (balgaa) 2008-06-05 11:45:23 Also I upgrade Asterisk-addons to 1.4.7. I need to do testing tomorrow morning and get back to you again. Right now here midnight, I am in GMT+8 timezone. By: Balgansuren Batsukh (balgaa) 2008-06-08 04:40:38 I compiled Asterisk-SVN with DONT_OPTIMIZE flag, but it doesn't load chan_ooh323.so. It says there: -------------- pbx*CLI> load chan_ooh323 The 'load' command is deprecated and will be removed in a future release. Please use 'module load' instead. [Jun 10 17:13:48] WARNING[29547]: loader.c:631 inspect_module: Module 'chan_ooh323.so' was not compiled with the same compile-time options as this version of Asterisk. [Jun 10 17:13:48] WARNING[29547]: loader.c:632 inspect_module: Module 'chan_ooh323.so' will not be initialized as it may cause instability. [Jun 10 17:13:48] WARNING[29547]: loader.c:670 load_resource: Module 'chan_ooh323' could not be loaded. pbx*CLI> By: Balgansuren Batsukh (balgaa) 2008-06-08 04:42:26 pbx:/usr/src/asterisk-1.4# ls -l /tmp/ total 309588 -rw------- 1 root root 18006016 2008-06-08 18:14 core.pbx.boldsoft.mn-2008-06-08T18:14:42+0800 -rw------- 1 root root 17092608 2008-06-08 20:51 core.pbx.boldsoft.mn-2008-06-08T20:51:25+0800 -rw------- 1 root root 16150528 2008-06-09 11:07 core.pbx.boldsoft.mn-2008-06-09T11:07:05+0800 -rw------- 1 root root 15777792 2008-06-09 11:26 core.pbx.boldsoft.mn-2008-06-09T11:26:26+0800 -rw------- 1 root root 15945728 2008-06-09 11:36 core.pbx.boldsoft.mn-2008-06-09T11:36:17+0800 -rw------- 1 root root 16420864 2008-06-09 11:44 core.pbx.boldsoft.mn-2008-06-09T11:44:13+0800 -rw------- 1 root root 17575936 2008-06-09 12:02 core.pbx.boldsoft.mn-2008-06-09T12:02:06+0800 -rw------- 1 root root 17240064 2008-06-09 12:06 core.pbx.boldsoft.mn-2008-06-09T12:06:20+0800 -rw------- 1 root root 16809984 2008-06-09 13:33 core.pbx.boldsoft.mn-2008-06-09T13:33:47+0800 -rw------- 1 root root 16023552 2008-06-09 13:53 core.pbx.boldsoft.mn-2008-06-09T13:53:18+0800 -rw------- 1 root root 16998400 2008-06-09 14:21 core.pbx.boldsoft.mn-2008-06-09T14:21:52+0800 -rw------- 1 root root 16527360 2008-06-09 14:23 core.pbx.boldsoft.mn-2008-06-09T14:23:08+0800 -rw------- 1 root root 17051648 2008-06-09 14:30 core.pbx.boldsoft.mn-2008-06-09T14:30:46+0800 -rw------- 1 root root 16162816 2008-06-09 14:33 core.pbx.boldsoft.mn-2008-06-09T14:33:59+0800 -rw------- 1 root root 15659008 2008-06-09 14:35 core.pbx.boldsoft.mn-2008-06-09T14:35:24+0800 -rw------- 1 root root 17031168 2008-06-09 15:06 core.pbx.boldsoft.mn-2008-06-09T15:06:00+0800 -rw------- 1 root root 16273408 2008-06-09 15:21 core.pbx.boldsoft.mn-2008-06-09T15:21:07+0800 -rw------- 1 root root 16416768 2008-06-09 15:31 core.pbx.boldsoft.mn-2008-06-09T15:31:34+0800 -rw------- 1 root root 16281600 2008-06-09 15:33 core.pbx.boldsoft.mn-2008-06-09T15:33:21+0800 -rw------- 1 root root 16715776 2008-06-09 15:41 core.pbx.boldsoft.mn-2008-06-09T15:41:31+0800 -rw------- 1 root root 16531456 2008-06-09 15:42 core.pbx.boldsoft.mn-2008-06-09T15:42:40+0800 -rw------- 1 root root 16474112 2008-06-09 15:46 core.pbx.boldsoft.mn-2008-06-09T15:46:59+0800 -rw------- 1 root root 16379904 2008-06-09 15:49 core.pbx.boldsoft.mn-2008-06-09T15:49:10+0800 -rw------- 1 root root 17981440 2008-06-09 15:51 core.pbx.boldsoft.mn-2008-06-09T15:51:04+0800 -rw------- 1 root root 16908288 2008-06-09 15:52 core.pbx.boldsoft.mn-2008-06-09T15:52:18+0800 -rw------- 1 root root 16601088 2008-06-09 15:53 core.pbx.boldsoft.mn-2008-06-09T15:53:58+0800 -rw------- 1 root root 16756736 2008-06-09 15:57 core.pbx.boldsoft.mn-2008-06-09T15:57:58+0800 -rw------- 1 root root 16396288 2008-06-09 16:00 core.pbx.boldsoft.mn-2008-06-09T16:00:47+0800 -rw------- 1 root root 16785408 2008-06-09 16:03 core.pbx.boldsoft.mn-2008-06-09T16:03:42+0800 -rw------- 1 root root 16347136 2008-06-09 16:07 core.pbx.boldsoft.mn-2008-06-09T16:07:03+0800 -rw------- 1 root root 16842752 2008-06-09 16:10 core.pbx.boldsoft.mn-2008-06-09T16:10:03+0800 -rw------- 1 root root 17117184 2008-06-09 16:12 core.pbx.boldsoft.mn-2008-06-09T16:12:37+0800 -rw------- 1 root root 17178624 2008-06-09 16:16 core.pbx.boldsoft.mn-2008-06-09T16:16:56+0800 -rw------- 1 root root 17604608 2008-06-09 16:25 core.pbx.boldsoft.mn-2008-06-09T16:25:00+0800 -rw------- 1 root root 16596992 2008-06-09 16:26 core.pbx.boldsoft.mn-2008-06-09T16:26:28+0800 -rw------- 1 root root 15646720 2008-06-09 16:27 core.pbx.boldsoft.mn-2008-06-09T16:27:06+0800 -rw------- 1 root root 16379904 2008-06-09 16:29 core.pbx.boldsoft.mn-2008-06-09T16:29:50+0800 -rw------- 1 root root 15974400 2008-06-09 16:34 core.pbx.boldsoft.mn-2008-06-09T16:34:36+0800 -rw------- 1 root root 15728640 2008-06-09 16:35 core.pbx.boldsoft.mn-2008-06-09T16:35:25+0800 -rw------- 1 root root 16674816 2008-06-09 16:37 core.pbx.boldsoft.mn-2008-06-09T16:37:16+0800 -rw------- 1 root root 15646720 2008-06-09 16:39 core.pbx.boldsoft.mn-2008-06-09T16:39:56+0800 -rw------- 1 root root 14782464 2008-06-09 16:40 core.pbx.boldsoft.mn-2008-06-09T16:40:06+0800 -rw------- 1 root root 16240640 2008-06-09 16:48 core.pbx.boldsoft.mn-2008-06-09T16:48:08+0800 -rw------- 1 root root 16277504 2008-06-09 16:49 core.pbx.boldsoft.mn-2008-06-09T16:49:27+0800 drwx------ 2 root root 16384 2007-12-08 20:24 lost+found It is core files generated by Asterisk-SVN without DONT_OPTIMIZE. By: Balgansuren Batsukh (balgaa) 2008-06-08 04:43:15 Upgrade 1.4.7 doesn't help too By: Balgansuren Batsukh (balgaa) 2008-06-08 04:47:41 I am using Asterisk on Debian etch (4.0) pbx:/usr/src/asterisk-1.4# cat /proc/version Linux version 2.6.18-6-686 (Debian 2.6.18.dfsg.1-18etch5) (dannf@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Sat May 24 10:24:42 UTC 2008 pbx:/usr/src/asterisk-1.4# uname -a Linux pbx.boldsoft.mn 2.6.18-6-686 #1 SMP Sat May 24 10:24:42 UTC 2008 i686 GNU/Linux pbx:/usr/src/asterisk-1.4# By: Tilghman Lesher (tilghman) 2008-06-08 18:04:14 balgaa: After you type 'make install' in the Asterisk source directory, you'll see a bunch of warnings at the end that there are several modules that were not built by the same build process. You'll need to type 'make clean all install' in the addons directory to get the right combination of options. The -addons build process specifically depends on a header file that MUST be installed on the system (by the Asterisk 'make install' command) BEFORE you recompile -addons, or it will not compile correctly. By: Tilghman Lesher (tilghman) 2008-06-20 18:19:16 Since there has been no further response, I have to conclude that my suggestion fixed the problem. |