|
From: <ar...@sy...> - 2008-02-24 14:43:19
|
Author: arighi
Date: 2008-02-24 08:43:12 -0600 (Sun, 24 Feb 2008)
New Revision: 4406
Modified:
trunk/sbin/si_monitortk
Log:
- do not clean-up si_monitortk threads on exit
This seems to raise a segmentation fault on x86_64 architectures with certain
distro (verified with RHEL4 and RHEL5). Maybe a perl-Tk bug?
Modified: trunk/sbin/si_monitortk
===================================================================
--- trunk/sbin/si_monitortk 2008-02-24 14:39:02 UTC (rev 4405)
+++ trunk/sbin/si_monitortk 2008-02-24 14:43:12 UTC (rev 4406)
@@ -1393,15 +1393,6 @@
$sub_win->destroy() if Exists($sub_win);
# Close the main window.
$window->destroy() if Exists($window);
- # Clean-up all threads.
- print "Cleaning-up threads... ";
- shutdown_xml_loader_thread();
- foreach my $thr (threads->list()) {
- if ($thr->tid && !threads::equal($thr, threads->self)) {
- $thr->join();
- }
- }
- print "done\n";
# Quit program.
exit(0);
}
|