[Stgt-devel] segfault in the ssc code ...

Richard Sharpe realrichardsharpe
Fri Jul 25 23:31:15 CEST 2008


There is a segfault in the ssc code when using it with the smc code
because it seems that bs_ssc_open is not called when you move a tape
into the transfer unit.

I am currently looking at what the best approach is here, but it seems
the smc.c code calls target.c:dtd_load_unload which calls
backed_file_open, but it seems that nothing calls bs_thread_open, so
later when a bs_thread_cmd_submit is called, the pending_list is not
initialized and we segfault.

I am currently wading through the code to see if I can figure out
where this should be set up. It would seem like it should be done when
we move a unit into the transfer station in the smc.c code but I am
not sure.

More information about the stgt mailing list