[OS X TeX] segmentation fault / bus error with mpm

Peter Dyballa Peter_Dyballa at Web.DE
Mon Aug 4 15:45:31 EDT 2008


Am 03.08.2008 um 16:24 schrieb Alex Hamann:

> I ran
> initexmf -u
> successfully.

This is intended for MiKTeX. It does not help in any way mpm.

>
> sudo mpm --update-db
> however gave me "segmentation fault" on my first 3 tries and after  
> opening a new shell window I now get "Bus Error".

I used --verbose as an additional option for miktex-2.7.2960:

	downloading http://ftp.join.uni-muenster.de/pub/software/CTAN/ 
systems/win32/miktex/tm/packages/miktex-zzdb2-2.7.tar.lzma...
	398082 bytes, 5553.60 KB/Sec
	updating package definition directory (/usr/local/gwTeX/texmf.pkgs/ 
tpm/packages)...
	installed 1618 package definition files
	Illegal instruction (core dumped)

The crash happened after the downloaded archive was unpacked. The  
crashes are independent of locale settings ... And another:

	env LANG=C LC_CTYPE=C ./mpm --install-root=/usr/local/gwTeX/ 
texmf.pkgs --verbose --find-updates
	opening repository http://ftp.join.uni-muenster.de/pub/software/CTAN/ 
systems/win32/miktex/tm/packages/...
	repository type: remote package repository
	loading lightweight database file...
	downloading http://ftp.join.uni-muenster.de/pub/software/CTAN/ 
systems/win32/miktex/tm/packages/miktex-zzdb1-2.7.tar.lzma...
	80302 bytes, 3921.00 KB/Sec
	DBlight digest: b6aef09790cdde192a6abc180a02f48f
	Illegal instruction (core dumped)

> I also get bus error after trying to install various packages, even  
> though the packages seem to get installed.

This was my impression, too, when I first was trying to use mpm 2.7.  
Because of the crashes, I now remember, I gave up using mpm 2.7. Does  
it offer anything mpm 2.5 has not?

One bad thing is that gdb fails to work with the cores produced. But  
– it works well to debug a live operation:

	DBlight digest: b6aef09790cdde192a6abc180a02f48f
	
	Program received signal EXC_BAD_ACCESS, Could not access memory.
	Reason: KERN_INVALID_ADDRESS at address: 0x62000008
	0x00246564 in  
MiKTeX::Packages::D6AAD62216146D44B580E92711724B78::PackageInstallerImpl 
::Dispose (this=0x2004200) at /Users/pete/Quellen/miktex-2.7.2960/ 
Libraries/MiKTeX/PackageManager/PackageInstaller.cpp:2941

and in a second window gdb shows me:

	void
	PackageInstallerImpl::Dispose ()
	{
	  if (pThread != 0)
	    {
	      delete pThread;
	      pThread = 0;
	    }
	  if (trace_mpm.get() != 0)
	    {
	      trace_mpm->Close ();
	      trace_mpm.reset ();
	    }
	  if (trace_error.get() != 0)
	    {
#2941»»	      trace_error->Close ();
	      trace_error.reset ();
	    }
	}

I can't debug more, because C++ seems to be a bit different than C ...

--
Mit friedvollen Grüßen

   Pete

Es macht schon Spaß, Leute zu hassen: nie gehen die Ideen aus!





More information about the MacOSX-TeX mailing list