Bug 91545 - [patch] texmacs port crashes on startup when built on FreeBSD 6.0-RELEASE-p1
Summary: [patch] texmacs port crashes on startup when built on FreeBSD 6.0-RELEASE-p1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 04:20 UTC by gwright
Modified: 2006-01-10 14:18 UTC (History)
0 users

See Also:


Attachments
texmacs.Makefile.patch (534 bytes, patch)
2006-01-09 04:20 UTC, gwright
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gwright 2006-01-09 04:20:08 UTC
	Texmacs 1.0.6 builds successfully using the current portfile,
	however, when the program is started it fails as soon as
	input is attempted in the main canvas with an allocation
	exception, and the program immediately terminates.

	This behavior did not occur with the previous version of
	texmacs (1.0.5) on FreeBSD 5.4-RELEASE.

Fix: The problem seems to be that disabling texmac's internal
	allocator (by the --disable-fastalloc configure option)
	triggers a bug under FreeBSD 6.0. Changing to the default
	configuration fixed the problem.

	The resulting texmacs was tested by running a maxima
	session and ran successfully.

	A patch which uses the default allocator on FreeBSD 6.0
	and above is attached. It should be applied in
	/usr/ports/editors/texmacs.
How-To-Repeat: 	# cd /usr/ports/editors/texmacs
	# make install
	# cd
	# texmacs

	...and attempt input in the main canvas. The program willr
	generate an exception and terminate.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2006-01-10 12:50:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Take
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2006-01-10 14:18:15 UTC
State Changed
From-To: open->closed

Committed, thanks!