Summary: | ASTERISK-08694: module unload app_playback.so twice will segfault * | ||
Reporter: | Clod Patry (junky) | Labels: | |
Date Opened: | 2007-01-30 23:31:02.000-0600 | Date Closed: | 2007-06-30 09:19:58 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_playback |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) playback_twice.txt | |
Description: | in the CLI, if you unload twice that module, you get a segfault polux*CLI> module unload app_playback.so == Unregistered application 'Playback' polux*CLI> module unload app_playback.so polux*CLI> Disconnected from Asterisk server Attempting to reconnect for 30 seconds ****** ADDITIONAL INFORMATION ****** bt is attached. same behavior occurs in 53001 too. Tested with few other apps (like app_followme.so) and that segfault doesnt occurs. Tested with SVN-branch-1.2-r52954 and everything is fine. | ||
Comments: | By: Clod Patry (junky) 2007-01-30 23:50:55.000-0600 new bt with non-optimized values uploaded. By: Joshua C. Colp (jcolp) 2007-02-05 10:03:40.000-0600 Fixed in 1.4 as of revision 53150 and trunk as of revision 53151. By: Clod Patry (junky) 2007-02-05 10:53:30.000-0600 It isnt crashing after the 2nd unload, which is correct but it segfault on the next load *CLI> module unload app_playback.so == Unregistered application 'Playback' *CLI> module unload app_playback.so Unable to unload resource app_playback.so *CLI> module load app_playback.so Segmentation fault (core dumped) [root@10.2.110.195 /]# (gdb) bt #0 ast_config_destroy (cfg=0x101453c0) at config.c:215 #1 0x3024b904 in load_module () at app_playback.c:454 #2 0x3024b904 in load_module () at app_playback.c:454 #3 0x3024b904 in load_module () at app_playback.c:454 #4 0x3024b904 in load_module () at app_playback.c:454 ASTERISK-1 0x3024b904 in load_module () at app_playback.c:454 ASTERISK-2 0x3024b904 in load_module () at app_playback.c:454 ASTERISK-3 0x3024b904 in load_module () at app_playback.c:454 ASTERISK-4 0x3024b904 in load_module () at app_playback.c:454 Previous frame inner to this frame (corrupt stack?) (gdb) By: Clod Patry (junky) 2007-02-05 10:54:08.000-0600 same issues are still present. By: Joshua C. Colp (jcolp) 2007-02-05 11:07:41.000-0600 Fixed in 1.4 as of revision 53152 and trunk as of revision 53153. By: Clod Patry (junky) 2007-02-05 11:21:05.000-0600 I think not, since the exact scenario (2 unload + 1 load) results in a segfault. same bt. By: Clod Patry (junky) 2007-02-07 10:58:43.000-0600 any update here? By: Joshua C. Colp (jcolp) 2007-02-07 11:07:18.000-0600 Fixed in 1.4 as of revision 53399 and trunk as of revision 53400. |