Summary:ASTERISK-10462: [crash] asterisk segfaults using tab completion
Reporter:jmls (jmls)Labels:
Date Opened:2007-10-06 06:09:42Date Closed:2007-10-07 01:32:21
Versions:Frequency of
Environment:Attachments:( 0) bt-10905.txt
Description:I have a queue defined with one dynamic member.
in the cli, if I enter
help queue remove <tab> <tab>
asterisk terminates with a segfault.


the attached bt full shows where the problem is. At line 1860 in cli.c, buf is null
Comments:By: James Golovich (jamesgolovich) 2007-10-06 10:32:24

The problem with this is likely in app_queue.c:complete_queue_remove_member.  It might depend on having some queues setup because I couldn't reproduce it on my system that has no queues setup.

I don't have any time right now to look into it deeper, but will tonight when I get home.

Thought I would throw this out there in case someone else has some time to look into it

By: James Golovich (jamesgolovich) 2007-10-06 22:55:50

I wasn't able to reproduce this and so I dug a bit and I suspect this issue has already been reported and fixed.  In bug ASTERISK-10444

By: jmls (jmls) 2007-10-07 01:32:21

can confirm that this was fixed by 10884. Don't know why I couldn't find it before - perhaps I didn't search closed bugs. *smack*. Naughty jmls !

Sorry, but thanks !