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

Peter Dyballa Peter_Dyballa at Web.DE
Mon Aug 4 21:45:31 CEST 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/ 
	398082 bytes, 5553.60 KB/Sec
	updating package definition directory (/usr/local/gwTeX/texmf.pkgs/ 
	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/ 
	repository type: remote package repository
	loading lightweight database file...
	downloading http://ftp.join.uni-muenster.de/pub/software/CTAN/ 
	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  
::Dispose (this=0x2004200) at /Users/pete/Quellen/miktex-2.7.2960/ 

and in a second window gdb shows me:

	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


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

More information about the macostex-archives mailing list