Segmentation fault in smiLoadModule

Hi!
I'm getting a segmentation fault in smiLoadModule when the mibs imported by the mib I load cannot be found. Also, the error comes *not* while loading the errant module, but when I call smiLoadModule for the next mib. (I get the error messages on screen for the first mib saying such and such modules could not be loaded).
The debugger tells me that smiLoadModule calls loadModule on line (415)in smi.c which then calls a parse function on line (3461) in data.c, which then goes to parser-smi.y in line (2107), where the segmentation fault occurs in structure referred to as $6.
Thanks, Mayank.
-- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to libsmi-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/libsmi/ for more information.

Hi!
sndtrn4> I'm getting a segmentation fault in smiLoadModule when the sndtrn4> mibs imported by the mib I load cannot be found. Also, the sndtrn4> error comes *not* while loading the errant module, but when I sndtrn4> call smiLoadModule for the next mib. (I get the error sndtrn4> messages on screen for the first mib saying such and such sndtrn4> modules could not be loaded).
Please, please, *do not describe* parts of the problem but simply *cut&paste* the data that is needed to reconstruct your problem (maybe compilable C code, .smirc file, how to compile/execute your code, ...). Otherwise I have difficulties to help you.
sndtrn4> The debugger tells me that smiLoadModule calls loadModule on sndtrn4> line (415)in smi.c which then calls a parse function on line sndtrn4> (3461) in data.c, which then goes to parser-smi.y in line sndtrn4> (2107), where the segmentation fault occurs in structure sndtrn4> referred to as $6.
This seems to be not the current libsmi release, since line #2107 of parser-smi.y is in the middle of a RHS of a yacc rule and not embedded C code.
-frank -- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to libsmi-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/libsmi/ for more information.
participants (2)
-
Frank Strauss
-
sndtrn4@hss.hns.com