[ltt-dev] lttv-gui segmentation fault when exiting

Mathieu Desnoyers compudj at krystal.dyndns.org
Mon Oct 25 09:11:41 EDT 2010

Yes, it's a known teardown problem with LTTV lttv/module.c. Given that
it does not affect the rest of LTTV execution, we currently have no
resources to fix it.

Basically, when module.c unloads a library, it still keeps a reference
to the in-library "list" entry, even through the memory is unmapped.

LTTV lib loading uses lazy binding, so all this works, but it does not
work for unload in this "unload all" case.

If anyone is willing to have a look, feel free to do so.



* Lu, Lianhao (lianhao.lu at intel.com) wrote:
> Hi guys,
> I ran into a segmentation fault when exiting lttv-gui.
> Configuration: Ubuntu 10.04 x86_64, lttv v0.12.35
> Operations to reproduce the bug:
> 1. run lttv-gui
> 2. exit lttv-gui through menu File->Quit
> When segmentation fault happened, the following information was displayed on the screen:
> ** Message: statistics viewer : background computation data ready.
> ** Message: statistics viewer : background computation data ready.
> /usr/local/bin/lttv-gui: line 10: 29632 Segmentation fault      $LTTV_CMD.real -m lttvwindow -m guievents -m guifilter -m guicontrolflow -m resourceview -m guistatistics -m guitracecontrol $*
> Best Regards,
> -Lianhao Lu
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev

Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.

More information about the lttng-dev mailing list