Summary: | ASTERISK-17558: Getting segfault while reloading second time. | ||
Reporter: | Krzysztof Urbaniak (urban) | Labels: | |
Date Opened: | 2011-03-15 05:11:44 | Date Closed: | 2011-10-18 12:22:53 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | CEL/cel_pgsql |
Versions: | 1.8.2 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ( 0) backtrace.txt | |
Description: | When reloading second time on 1.8.2.3 a compiled with CEL i'll allways get segfault. ****** ADDITIONAL INFORMATION ****** os: CentOS 5.5 postgresql version: 9.0 arch: x86_64 #0 resetPQExpBuffer (str=0x2aaaac20b740) at pqexpbuffer.c:149 #1 0x00002aaab26f73cb in printfPQExpBuffer (str=0x2aaaac20b740, fmt=0x2aaab26fd408 "could not send data to server: %s\n") at pqexpbuffer.c:237 #2 0x00002aaab26f0328 in pqSendSome (conn=0x2aaaac20b2f0, len=1) at fe-misc.c:844 #3 0x00002aaab26e936b in closePGconn (conn=0x2aaaac20b2f0) at fe-connect.c:2607 #4 0x00002aaab26e937e in PQfinish (conn=0x2aaaac20b2f0) at fe-connect.c:2703 ASTERISK-1 0x00002aaac20ccb03 in my_unload_module () at cel_pgsql.c:344 ASTERISK-2 0x00002aaac20cdbb1 in reload () at cel_pgsql.c:560 ASTERISK-3 0x00000000004dd86a in ast_module_reload (name=0x0) at loader.c:737 ASTERISK-4 0x00000000004850e7 in handle_reload (e=0x80fd30, cmd=-4, a=0x42267420) at cli.c:288 ASTERISK-5 0x000000000048d45d in ast_cli_command_full (uid=-1, gid=-1, fd=24, s=0x2aaaac22f247 "module reload") at cli.c:2474 ASTERISK-6 0x00002aaab7ec24cc in cli_alias_passthrough (e=0x2aaaac22f168, cmd=-4, a=0x422678c0) at res_clialiases.c:128 ASTERISK-7 0x000000000048d45d in ast_cli_command_full (uid=0, gid=0, fd=24, s=0x42267ba0 "reload") at cli.c:2474 ASTERISK-8 0x000000000048d5ce in ast_cli_command_multiple_full (uid=0, gid=0, fd=24, size=7, s=0x42267e00 "reload") at cli.c:2497 ASTERISK-9 0x000000000043bbd8 in netconsole (vconsole=0x8700e0) at asterisk.c:1266 ASTERISK-10 0x00000000005610b4 in dummy_start (data=0x4d83f90) at utils.c:970 ASTERISK-11 0x0000003d3d20673d in start_thread () from /lib64/libpthread.so.0 ASTERISK-12 0x0000003d3cad3f6d in clone () from /lib64/libc.so.6 | ||
Comments: | By: Krzysztof Urbaniak (urban) 2011-03-18 04:10:09 This issue is also present in version 1.8.3.1. By: Leif Madsen (lmadsen) 2011-03-31 13:08:00 Please provide a backtrace per the documentation here: https://wiki.asterisk.org/wiki/display/AST/Debugging By: Krzysztof Urbaniak (urban) 2011-04-05 02:47:48 Attached backtrace as specified in documentation. By: Sean Bright (seanbright) 2011-09-16 13:52:45.789-0500 This appears to have been fixed in later revisions, specifically: http://svnview.digium.com/svn/asterisk?view=revision&revision=305603 If you apply the patch from that commit, does it solve your problem? By: Paul Belanger (pabelanger) 2011-10-18 12:22:45.197-0500 Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested. Further information can be found at http://www.asterisk.org/developers/bug-guidelines |