Extension conflict: Difference between revisions
added image of Extensions Manager |
Marcocapelle (talk | contribs) removed Category:Anti-patterns using HotCat per Wikipedia:Categories_for_discussion/Log/2023_January_5#Category:Anti-patterns |
||
(29 intermediate revisions by 25 users not shown) | |||
Line 1: | Line 1: | ||
{{More citations needed|date=September 2018}} |
|||
[[Image:Extensions Manager Mac OS 9.1.png|250px|thumb|right|[[Extensions Manager]] under [[Mac OS 9]]]] |
|||
'''Extension conflicts''' were sometimes a |
'''Extension conflicts''' were sometimes a common nuisance on [[Apple Macintosh]] computers running the [[classic Mac OS]], especially [[System 7 (Macintosh)|System 7]]. [[Extension (Mac OS)|Extension]]s were bundles of code that extended the [[operating system]]'s capabilities by directly patching [[System call|OS calls]], thus receiving control instead of the operating system when applications (including the [[Macintosh Finder|Finder]]) made system calls. Generally, once an extension completed its task, it was supposed to pass on the (possibly modified) system call to the operating system's routine. If multiple extensions want to patch the same system call, they end up receiving the call in a chain, the first extension in line passing it on to the next, and so on in the order they are loaded, until the last extension passes to the operating system. If an extension does not hand the next extension in line what it is expecting, problems occur; ranging from unexpected behavior to full system crashes. This is triggered by several factors such as carelessly programmed and malicious extensions that change or disrupt the way part of the system software works.<ref>{{Cite book|title=Mastering Mac OS X|last=Stauffer|first=Todd|last2=McElhearn|first2=Kirk|publisher=SYBEX|year=2004|isbn=0782142834|location=Almeda, CA|pages=[https://archive.org/details/masteringmacosxt00todd/page/776 776]|url=https://archive.org/details/masteringmacosxt00todd/page/776}}</ref> |
||
In addition, extensions sometimes competed for system resources with [[application software|applications]], utilities and other extensions, leading to [[Crash (computing)|crashes]] and general instability. |
In addition, extensions sometimes competed for system resources with [[application software|applications]], utilities and other extensions, leading to [[Crash (computing)|crashes]] and general instability. Some users happily loaded every extension they could find on their computer, with little or no impact. Others fastidiously avoided any non-essential extensions as a way of avoiding the problem. Many were judicious in the addition of extensions. |
||
⚫ | This problem increased during the mid-1990s as resource-hungry [[multimedia]] technologies such as [[QuickTime]] were installed as extensions. In addition, a number of applications, especially [[Microsoft Office]], required a large number of extensions. Many Macintosh users had hundreds of extensions running on their systems, all of varying age and quality. [[Computer bug|Buggy]], damaged and outdated extensions were the most common cause of problems. Some users had to remember to turn off problematic extensions when running certain programs. |
||
The problem of extension conflicts shouldn't be over-emphasized. Many users happily loaded every extension they could find on their computer, with little or no impact. Others fastidiously avoided any non-essential extensions as a way of avoiding the problem. Others were judicious in the addition of extensions. In any case, it's important to note that extension conflicts weren't as common as people thought they were. |
|||
Later versions of System 7 included the '''Extensions Manager''', which allowed users to disable specific extensions or groups of extensions at startup when troubleshooting the conflict by pressing the spacebar while the computer boots.<ref>{{Cite book|title=Crossing Platforms A Macintosh/Windows Phrasebook: A Dictionary for Strangers in a Strange Land|last=Engst|first=Adam|last2=Pogue|first2=David|publisher=O'Reilly & Associates, Inc.|year=1999|isbn=1565925394|location=Sebastopol, CA|pages=[https://archive.org/details/crossingplatform00engs/page/307 307]|url=https://archive.org/details/crossingplatform00engs/page/307}}</ref> This tool was also accessible by opening the Extensions CDEV in the [[System Preferences|Control Panels]] found in the [[Apple menu]]. [[Conflict Catcher]] and [[Now Software|Now Startup Manager]] were third party utilities that automatically detected conflicts and problematic extensions and other software executing at boot, otherwise a time-consuming task that required users to turn off extensions in sets until they found the conflict, as well as allowing load order to be altered without renaming items.<ref>[https://web.archive.org/web/19970222184912/http://www.nowutilities.com/NSM/compare_cc.html Now Startup Manager 7.0 Versus Conflict Catcher 3]</ref> Extensions were only loaded at startup time, meaning that any attempted change required a reboot. |
|||
⚫ | This problem |
||
⚫ | |||
Later versions of System 7 included the '''Extensions Manager''', which allowed users to turn off specific extensions or groups of extensions at startup. [[Conflict Catcher]], a third party utility, automatically detected conflicts and problematic extensions, otherwise a time-consuming task that required users to turn off extensions in sets until they found the conflict. Extensions were only loaded at startup time, meaning that any attempted change required a reboot. |
|||
⚫ | All of this was mitigated by the ease with which extensions and the operating system itself could be swapped in and out: Instead of modifying configuration files as on other operating systems, extensions and other automatically run software simply had to reside in a particular subfolder of the System Folder to be picked up. And load their order could be altered by renaming items in the Finder, based on descending [[ASCIIbetical order]] for each System subfolder. In addition, the Mac was perfectly happy to have two (or more) System Folders present on a hard drive. Only the "blessed" System Folder would be loaded at startup. So, when a new version of the operating system was to be installed, or a new application, the user could easily duplicate the system folder, perform the install, and then fall back if a problem resulted. |
||
⚫ | |||
Extension conflicts came to an end with the release of [[MacOS|Mac OS X]], which uses a different extension mechanism. Software can still add new features to the Mac but instead of requiring a [[Loadable kernel module#macOS 2|kernel extension]], the new method has allowed Apple to push more and more extensions into [[user space]], which is a safer and more organized approach that cannot destabilize the entire machine.<ref>{{Cite book|title=Mac OS X|url=https://archive.org/details/macosxmissingman00pogu_597|url-access=limited|last=Pogue|first=David|publisher=O'Reilly|year=2003|isbn=0596004508|location=Sebastopol, CA|pages=[https://archive.org/details/macosxmissingman00pogu_597/page/n115 7]}}</ref> |
|||
⚫ | All of this was mitigated by the ease with which extensions and the operating system itself could be swapped in and out: Instead of modifying configuration files as on other operating systems, extensions simply had to reside in a particular |
||
⚫ | |||
Extension conflicts came to an end with the release of Mac OS X, which uses a different extension mechanism. |
|||
⚫ | |||
* [[Configuration management]] |
* [[Configuration management]] |
||
* [[Dependency (computer science)|Dependency management]] |
* [[Dependency (computer science)|Dependency management]] |
||
* [[Dependency hell]] |
|||
* [[DLL hell]] |
* [[DLL hell]] |
||
* [[JAR hell]] |
|||
* [[Portable application]] |
|||
* [[Portable application creators]] |
|||
== |
==References== |
||
{{Reflist}} |
|||
*[http://www.drmac.net/tips/resolve_ec.html How to resolve an extension conflict] |
|||
{{DEFAULTSORT:Extension Conflict}} |
|||
[[Category:Anti-patterns]] |
|||
[[Category:Mac OS]] |
[[Category:Classic Mac OS]] |
Latest revision as of 18:24, 12 February 2023
This article needs additional citations for verification. (September 2018) |
Extension conflicts were sometimes a common nuisance on Apple Macintosh computers running the classic Mac OS, especially System 7. Extensions were bundles of code that extended the operating system's capabilities by directly patching OS calls, thus receiving control instead of the operating system when applications (including the Finder) made system calls. Generally, once an extension completed its task, it was supposed to pass on the (possibly modified) system call to the operating system's routine. If multiple extensions want to patch the same system call, they end up receiving the call in a chain, the first extension in line passing it on to the next, and so on in the order they are loaded, until the last extension passes to the operating system. If an extension does not hand the next extension in line what it is expecting, problems occur; ranging from unexpected behavior to full system crashes. This is triggered by several factors such as carelessly programmed and malicious extensions that change or disrupt the way part of the system software works.[1]
In addition, extensions sometimes competed for system resources with applications, utilities and other extensions, leading to crashes and general instability. Some users happily loaded every extension they could find on their computer, with little or no impact. Others fastidiously avoided any non-essential extensions as a way of avoiding the problem. Many were judicious in the addition of extensions.
This problem increased during the mid-1990s as resource-hungry multimedia technologies such as QuickTime were installed as extensions. In addition, a number of applications, especially Microsoft Office, required a large number of extensions. Many Macintosh users had hundreds of extensions running on their systems, all of varying age and quality. Buggy, damaged and outdated extensions were the most common cause of problems. Some users had to remember to turn off problematic extensions when running certain programs.
Later versions of System 7 included the Extensions Manager, which allowed users to disable specific extensions or groups of extensions at startup when troubleshooting the conflict by pressing the spacebar while the computer boots.[2] This tool was also accessible by opening the Extensions CDEV in the Control Panels found in the Apple menu. Conflict Catcher and Now Startup Manager were third party utilities that automatically detected conflicts and problematic extensions and other software executing at boot, otherwise a time-consuming task that required users to turn off extensions in sets until they found the conflict, as well as allowing load order to be altered without renaming items.[3] Extensions were only loaded at startup time, meaning that any attempted change required a reboot.
The most common time for extension conflicts to start was the release of a new version of the operating system, followed closely by the installation of a complex new application that either conflicted with existing extensions, or installed extensions that conflicted with the existing set.
All of this was mitigated by the ease with which extensions and the operating system itself could be swapped in and out: Instead of modifying configuration files as on other operating systems, extensions and other automatically run software simply had to reside in a particular subfolder of the System Folder to be picked up. And load their order could be altered by renaming items in the Finder, based on descending ASCIIbetical order for each System subfolder. In addition, the Mac was perfectly happy to have two (or more) System Folders present on a hard drive. Only the "blessed" System Folder would be loaded at startup. So, when a new version of the operating system was to be installed, or a new application, the user could easily duplicate the system folder, perform the install, and then fall back if a problem resulted.
Extension conflicts came to an end with the release of Mac OS X, which uses a different extension mechanism. Software can still add new features to the Mac but instead of requiring a kernel extension, the new method has allowed Apple to push more and more extensions into user space, which is a safer and more organized approach that cannot destabilize the entire machine.[4]
See also
[edit]- Configuration management
- Dependency management
- Dependency hell
- DLL hell
- JAR hell
- Portable application
- Portable application creators
References
[edit]- ^ Stauffer, Todd; McElhearn, Kirk (2004). Mastering Mac OS X. Almeda, CA: SYBEX. pp. 776. ISBN 0782142834.
- ^ Engst, Adam; Pogue, David (1999). Crossing Platforms A Macintosh/Windows Phrasebook: A Dictionary for Strangers in a Strange Land. Sebastopol, CA: O'Reilly & Associates, Inc. pp. 307. ISBN 1565925394.
- ^ Now Startup Manager 7.0 Versus Conflict Catcher 3
- ^ Pogue, David (2003). Mac OS X. Sebastopol, CA: O'Reilly. pp. 7. ISBN 0596004508.