Summary: | ASTERISK-14687: Asterisk crashes when voicemail can't access data files | ||
Reporter: | Mark Murawski (kobaz) | Labels: | |
Date Opened: | 2009-08-20 17:24:36 | Date Closed: | 2009-09-08 14:40:47 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_voicemail |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | [Aug 20 17:57:46] WARNING[19349]: app_voicemail.c:1095 create_dirpath: ast_mkdir '/var/spool/asterisk/voicemail/internal/209/Old' failed: Permission denied [Aug 20 17:57:46] ERROR[19349]: app.c:1095 ast_lock_path_lockfile: Unable to create lock file '/var/spool/asterisk/voicemail/internal/209/Old': No such file or directory [Aug 20 17:57:46] ERROR[19349]: app.c:1126 ast_unlock_path_lockfile: Could not unlock path '/var/spool/asterisk/voicemail/internal/209/Old': No such file or directory [Aug 20 17:57:46] ERROR[19349]: app.c:1095 ast_lock_path_lockfile: Unable to create lock file '/var/spool/asterisk/voicemail/internal/209/Old': No such file or directory | ||
Comments: | By: Jason Parker (jparker) 2009-08-21 11:21:23 Can you add a backtrace so we can see where it's crashing? By: Mark Murawski (kobaz) 2009-08-21 11:39:24 #0 0xb7d69ff4 in readdir64 () from /lib/libc.so.6 #1 0xb7418b48 in open_mailbox (vms=0xb67a01f0, vmu=0xb67a62b0, box=<value optimized out>) at app_voicemail.c:3038 #2 0xb74192c7 in vm_execmain (chan=0x828b2a8, data=0xb67a8f28) at app_voicemail.c:7834 #3 0x080e9eb4 in pbx_exec (c=0x828b2a8, app=0x81fdff0, data=0xb67a8f28) at pbx.c:942 #4 0x080f5432 in pbx_extension_helper (c=0x828b2a8, con=0x0, context=0x828b430 "checkOwnVoicemail", exten=0x828b480 "s", priority=2, label=0x0, callerid=0x827e2d8 "5502", action=E_SPAWN, found=0xb67ab358, combined_find_spawn=1) at pbx.c:3111 ASTERISK-1 0x080f84ac in __ast_pbx_run (c=0x828b2a8, args=0x0) at pbx.c:3614 ASTERISK-2 0x080f9c70 in pbx_thread (data=0x828b2a8) at pbx.c:3974 ASTERISK-3 0x0813455b in dummy_start (data=0x827e390) at utils.c:861 ASTERISK-4 0xb7cc2383 in start_thread () from /lib/libpthread.so.0 ASTERISK-5 0xb7dae63e in clone () from /lib/libc.so.6 By: Jason Parker (jparker) 2009-08-21 13:13:02 This may have actually been fixed a few days ago in r212628. The backtrace looks a little different, but see ASTERISK-14657. By: Jason Parker (jparker) 2009-08-21 13:13:43 (please try testing with something newer than that revision and let us know if it's still an issue, so we can close this if necessary) By: Tilghman Lesher (tilghman) 2009-09-03 12:15:13 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 By: Mark Michelson (mmichelson) 2009-09-08 14:12:11 Reopening at reporters request in #asterisk-bugs. By: Mark Murawski (kobaz) 2009-09-08 14:13:58 Tested with asterisk 1.6.1.6, still crashing. #0 0xb7d6d874 in readdir64 () from /lib/i686/cmov/libc.so.6 #1 0xb71506d8 in last_message_index (vms=0xb6d09168, vmu=0xb6d0f27c, box=<value optimized out>) at app_voicemail.c:3451 #2 open_mailbox (vms=0xb6d09168, vmu=0xb6d0f27c, box=<value optimized out>) at app_voicemail.c:6985 #3 0xb715621b in vm_execmain (chan=0x83d6638, data=0xb6d11f08) at app_voicemail.c:8936 #4 0x080f7d1e in pbx_exec (c=0x83d6638, app=0x828f500, data=0xb6d11f08) at pbx.c:960 ASTERISK-1 0x081037e2 in pbx_extension_helper (c=0x83d6638, con=0x0, context=0x83d68a8 "_cos_internal+local+ld+intl", exten=0x83d68f8 "1", priority=1, label=0x0, callerid=0x83d6b90 "203", action=E_SPAWN, found=0xb6d14348, combined_find_spawn=1) at pbx.c:3201 ASTERISK-2 0x081072b4 in ast_spawn_extension (c=0x83d6638, args=0x0) at pbx.c:3656 ASTERISK-3 __ast_pbx_run (c=0x83d6638, args=0x0) at pbx.c:3745 ASTERISK-4 0x08108e70 in pbx_thread (data=0x83d6638) at pbx.c:4032 ASTERISK-5 0x0814860b in dummy_start (data=0x83d7198) at utils.c:968 ASTERISK-6 0xb7cbb4e5 in start_thread () from /lib/i686/cmov/libpthread.so.0 ASTERISK-7 0xb7db50de in clone () from /lib/i686/cmov/libc.so.6 By: Mark Murawski (kobaz) 2009-09-08 14:39:55 This is fixed in trunk By: Jason Parker (jparker) 2009-09-08 14:40:46 In the future, please do not request to have a bug be reopened until you test what is provided. |