[Home]

Summary:ASTERISK-08582: [patch] GetGroupCount causes a Seg Fault!
Reporter:ewieling (ewieling)Labels:
Date Opened:2007-01-15 16:20:28.000-0600Date Closed:2007-01-15 17:10:36.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20070115__bug8822.diff.txt
Description:*CLI>
   -- Executing CheckGroup("SIP/northpark-082a11c0", "2") in new stack
Jan 15 16:15:27 WARNING[28350]: app_groupcount.c:153 group_check_exec: The CheckGroup application has been deprecated, please use a combination of the GotoIf application and the GROUP_COUNT() function.
   -- Executing GetGroupCount("SIP/northpark-082a11c0", "") in new stack
Jan 15 16:15:27 WARNING[28350]: app_groupcount.c:65 group_count_exec: The GetGroupCount application has been deprecated, please use the GROUP_COUNT function.
Segmentation fault
[root@pbx-1 tmp]#
Comments:By: ewieling (ewieling) 2007-01-15 16:28:01.000-0600

(gdb) bt
#0  0x4018db80 in strncpy () from /lib/i686/libc.so.6
#1  0x40b53375 in group_count_exec (chan=0x0, data=0x0) at app_groupcount.c:73
#2  0x00000050 in ?? ()
Cannot access memory at address 0x554f5247
(gdb)

(gdb) bt full
#0  0x4018db80 in strncpy () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x40b53375 in group_count_exec (chan=0x0, data=0x0) at app_groupcount.c:73
       count = 1089328396
       u = (struct localuser *) 0x8190d58
       group = '\0' <repeats 79 times>
       category = '\0' <repeats 20 times>, "GROUP", '\0' <repeats 54 times>
       ret = '\0' <repeats 16 times>, " P?@", '\0' <repeats 59 times>
       grp = 0x40edd50c ""
       deprecation_warning = 1
#2  0x00000050 in ?? ()
No symbol table info available.
Cannot access memory at address 0x554f5247
(gdb)

By: Tilghman Lesher (tilghman) 2007-01-15 17:10:36.000-0600

Fixed in 50987.