
Hi,
I get an exception when calling "smiparse" on a few MIB modules (I call "smiLoadModule" and the debugger steps into the catch-block when calling "smiparse"). Do you have any hints (because I don't have the source of the "parse")? When I try to step into the "smiparse" I'm asked for the module "BISON.SIMPLE"!?
Regards,
Heiko

Hi!
Heiko> I get an exception when calling "smiparse" on a few MIB modules Heiko> (I call "smiLoadModule" and the debugger steps into the Heiko> catch-block when calling "smiparse"). Do you have any hints Heiko> (because I don't have the source of the "parse")?
Yes, there are probably some memory leaks and illegal free()d memory areas. I use only a Linux system to develop and run libsmi without problems. If you want to delve into the code, it is available from http://www.ibr.cs.tu-bs.de/projects/libsmi/.
Heiko> When I try to step into the "smiparse" I'm asked for the module Heiko> "BISON.SIMPLE"!?
bison.simple is part of bison, the GNU yacc variant that is used for libsmi. If you want to build libsmi from scratch, you need a proper bison setup.
-frank
participants (2)
-
Frank Strauss
-
Heiko.Eichberger@RSBICK.rohde-schwarz.com