Bug 122873 - [PATCH] textproc/aspell 0.60.6 dumps core checking a TeX file.
Summary: [PATCH] textproc/aspell 0.60.6 dumps core checking a TeX file.
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: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-17 23:10 UTC by rsmith
Modified: 2008-04-19 08:50 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (7.31 KB, patch)
2008-04-17 23:10 UTC, rsmith
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rsmith 2008-04-17 23:10:00 UTC
	When trying to spell a TeX file aspell dumped core, complaining
	that the configuration symbol 'f-tex-command' was not defined.

	Some digging around turned out that the script
	gen/mk-static-filter.pl is broken. It generates an incorrect
	gen/static_filters.src.cpp. Specifically, the variables pointing
	to the first and last members of arrays are not set correctly
	(first and last both point to the beginning of the array, even for
	non-empty arrays!).

	As a workaround I have included a patch that makes
	mk-static-filter.pl return immediately, and includes a correct
	static_filters.src.cpp. :-)

Fix: ------ patch for textproc/aspell ------
How-To-Repeat: 	Run aspell -t on a file. It will dump core.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-04-17 23:10:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->thierry

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-04-19 08:46:35 UTC
thierry     2008-04-19 07:46:27 UTC

  FreeBSD ports repository

  Modified files:
    textproc/aspell      Makefile 
  Added files:
    textproc/aspell/files patch-gen_mk-static-filter.pl 
  Log:
  - Disable wide char utf8 cursor control for $OSVERSION < 602107; (1)
  
  - Fix segfault when checking TeX files. (2)
  
  Reported by:    Pav (1)
  PR:             ports/122873 (2)
  Submitted by:   Roland Smith <rsmith (at) xs4all.nl> (2)
  Patch from:     Kevin Atkinson <kevina (at) gnu.org> (author) (2)
  
  Revision  Changes    Path
  1.89      +10 -2     ports/textproc/aspell/Makefile
  1.1       +11 -0     ports/textproc/aspell/files/patch-gen_mk-static-filter.pl (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2014-06-01 06:46:58 UTC
State Changed
From-To: open->closed


Thanks for the report! 

Note: I have not committed your work-around, but a patch obtained from 
the author.