Saturday, August 28, 2010

Fixing Segfaults After Upgrading to -Current

If you happened to upgrade to -Current (August 27) and having so many segfaults on many applications both in 32/64bit systems, then you are not alone. Many (including me) have experienced this as well. On my case, it was VMWare Workstation 7.1.1 who got segfaulted after upgrading to -Current.

The culprit is the new zlib-1.2.5. This version requires newer libxml2-2.7.7, but this package hasn't arrived in -Current yet. Robby Workman posted a link in this thread and i found it working. After compiling libxml2-2.7.7 from source using Slackware's SlackBuild script, i don't get any segfaults anymore in VMWare.

So, for those who wanted to upgrade to -Current, you have two options:
  1. Upgrade libxml2 as well to libxml2-2.7.7 or
  2. Skip zlib-1.2.5 package for now and stick with 1.2.3
Update (29 August): Fixes for this problem has been resolved in the latest -Current update, so you only need to upgrade to libxml2-2.7.7 provided in the update and you will have no more segfaults.