Package: pdmenu Version: 1.2.92 ----- Forwarded message from Steve Ruiz <[EMAIL PROTECTED]> -----
From: Steve Ruiz <[EMAIL PROTECTED]>
Date: Mon, 4 Feb 2008 11:14:01 -0800
To: [EMAIL PROTECTED]
Subject: Pdmenu bug report - "double free or corruption"
X-Mailer: Apple Mail (2.915)
Hi Joey -
Thought I'd send along a bug report, since my C is a bit rusty (that's an
understatement). We're using pdmenu as a sort of easy/restricted console, and
its working out great - thanks for the great bit of software.
The bug is appearing under a menu we use to manage static routes - a user can
add, delete, or show routes, and the bug occurs when I create a new menu to
delete static routes, but none exist. In this case, the sub-menu consists of
only one item, a helptext. I've had a bit of trouble (I seem to remember)
getting helptext to display as the top item in a menu as well. When I hit
enter on that helptext, then escape a time or two to get out of the menu I get
something like:
** glibc detected *** corrupted double-linked list: 0x00470878 ***
Here are some details of the pdmenurc generated:
so on our main menu, one of the items is: show:_Manage Static
Routes::staticroutes
details for that menu:
menu:staticroutes:Manage Static Routes:Static
exec:_Show Static Routes:display:cat /etc/sysconfig/static-routes 2>/
dev/null
exec:_Add Static Route:pause:/opt/pdmenu/scripts/addStaticRoute.php
group:_Delete Static Routes
exec::makemenu: \
echo "menu:delroute:Delete Static Routes"; \
/opt/pdmenu/scripts/showroute.pl
show:::delroute
remove:::delroute
endgroup
nop
exit:_Exit to Main Menu
The perl script showroute.pl creates a menu that looks like this (when no
static routes are defined):
print "helptext:No Static Routes defined...::Static Routes\n";
When I hit 'enter' on that helptext, and then esc a time or two, i get the
error above. BTW, we're using 1.2.92, haven't yet upgraded to .93.
(Actually, in writing this email, I figured out a better way to accomplish
this, just use a Exit: item instead of a single helptext: item, but the bug
report may still be useful)
thanks!
Steve Ruiz
Sr. Systems Administrator
WebReach, Inc.
(949) 255-5066
[EMAIL PROTECTED]
----- End forwarded message -----
--
see shy jo
signature.asc
Description: Digital signature

