| Summary: | mgaapplet crashed (Can't locate syscall.ph in @INC) due to live upgrade of perl | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Frédéric "LpSolit" Buclin <LpSolit> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | Normal | CC: | marja11, pleny29, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | mgaonline-2.77.30-2.mga2 | CVE: | |
| Status comment: | |||
|
Description
Frédéric "LpSolit" Buclin
2011-10-14 15:25:23 CEST
Hum you got hit because of live upgrade of perl-5.14.1 to 5.14.2 which altered the location of syscall.ph I'm surprised this module wasn't cached CC:
(none) =>
thierry.vignaud (In reply to comment #1) > Hum you got hit because of live upgrade of perl-5.14.1 to 5.14.2 which altered > the location of syscall.ph > > I'm surprised this module wasn't cached no one reproduced it, so far, so it seems to have been a one time thing :) CC:
(none) =>
marja11 Closing, because it happened only one time in now very old cauldron and wasn't reproduced Status:
NEW =>
RESOLVED Even if your cas was not supported (you actually performed a live upgrade of cauldron), this can actually still happen. If there's a new major perl version, we'll still lazy load syscalls.ph in MDK::Common::System. While it's usually OK for most programs (no wasted RAM for not used feature), it's not for mgaaplet that usually lives quite longer that other programs. So mgaapplet shoud load system.ph Status:
RESOLVED =>
UNCONFIRMED Or I could move cmp_kernel_versions() somewhere else, that would prevent loading useless modules for mgaaplet. Probably in common.pm which is used by all users of cmp_kernel_versions(). That also saves 5mb off net_applet (11% of its resident memory) and 7Mb off mga_applet (14%) :-) Fixed in drakxtools-13.92 Status:
UNCONFIRMED =>
RESOLVED |