Mageia Bugzilla – Attachment 4146 Details for
Bug 10289
MCC & mgapplet segfault due to glib2.0/webkit threads (perl segfaulting when having a custom signal handler for SIG_CHILD)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
workaround thie issue
10289.diff (text/plain), 531 bytes, created by
Thierry Vignaud
on 2013-06-18 19:12:43 CEST
(
hide
)
Description:
workaround thie issue
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2013-06-18 19:12:43 CEST
Size:
531 bytes
patch
obsolete
>diff --git a/control-center b/control-center >index 47ffa2f..0e2f1a2 100755 >--- a/control-center >+++ b/control-center >@@ -1087,11 +1087,11 @@ $wait_darea->realize; > $SIG{USR1} = 'IGNORE'; > $SIG{USR2} = 'IGNORE'; > $SIG{TERM} = \&quit_global; >-$SIG{CHLD} = \&sig_child; >+ > > $window_splash->destroy; > undef $window_splash; >-Glib::Timeout->add(200, sub { sig_child('CHLD', 1); 1 }); >+Glib::Timeout->add(500, sub { $SIG{CHLD} = \&sig_child; sig_child('CHLD', 1); 1 }); > > if ($program) { > if (my $sub = $tool_callbacks{$program}) {
diff --git a/control-center b/control-center index 47ffa2f..0e2f1a2 100755 --- a/control-center +++ b/control-center @@ -1087,11 +1087,11 @@ $wait_darea->realize; $SIG{USR1} = 'IGNORE'; $SIG{USR2} = 'IGNORE'; $SIG{TERM} = \&quit_global; -$SIG{CHLD} = \&sig_child; + $window_splash->destroy; undef $window_splash; -Glib::Timeout->add(200, sub { sig_child('CHLD', 1); 1 }); +Glib::Timeout->add(500, sub { $SIG{CHLD} = \&sig_child; sig_child('CHLD', 1); 1 }); if ($program) { if (my $sub = $tool_callbacks{$program}) {
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10289
:
4145
|
4146
|
4669
|
4722
|
4723
|
4732
|
4738