Segfault in rewrite debug for maintainer mode
Maurice Makaay <[email protected]> Sun, 2 Nov 2003 12:39:23 +0100
| Newsgroups | gmane.comp.gnu.radius.bugs |
|---|---|
| Organization | InterNLnet BV |
| Message-ID | <[email protected]> |
Hi, I have been tracking down a nasty little problem. I have compiled gnu-radius from cvs with --enable-maintainer-mode enabled. In my radius server I had set "level rewrite" for debugging. On startup, the server crashed after parsing my first function in the rewrite file. gdb pointed me to the function debug_print_mtxlist(), which is only called in maintainer mode. There, the code after CASE (Attr) and CASE (Attr_asgn) uses printf() to print out mtx->attr.index->gen.id. It looks like this variable contains NULL, since this one causes the program to segfault. If I leave out the printing this variable, my server can be started. Regards, -- Maurice Makaay