ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: ConTeXt + teTeX 0.9-981012/Linux: SegFault
@ 1998-10-15  9:35 Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 1998-10-15  9:35 UTC (permalink / raw)
  Cc: ntg-context, teTe

Tobias Burnus wrote:

> Hi teTeXers and contexters,

PDFTEX uses an additional map file. Is that set up ok? Normally TeX only
uses tfm data, no vf data, but pdftex does, because it has to include
the fonts. (BTW, I never used virtual fonts myself.)

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ConTeXt + teTeX 0.9-981012/Linux: SegFault
@ 1998-10-19 17:15 Olaf Weber
  0 siblings, 0 replies; 4+ messages in thread
From: Olaf Weber @ 1998-10-19 17:15 UTC (permalink / raw)


Tobias Burnus writes:

> concerning TeX/eTeX of teTeX 0.9-981012 Olaf Weber
> <olaf@infovore.xs4all.nl> found the reason for this.

> In texmf.cnf, there is:
>   max_strings.context = 55000
>   max_strings = 15000             % max number of strings

> using 'tex --ini --fmt=context cont-de' the first line is read, but
> when calling tex \&context the second line is read, and since
> cont-de needs 18053 strings, it segment faults.

> If context is linked to tex (ln -s tex context) and tex is called
> 'context' then it doesn't happen.

Also, if the command line is
	tex --progname=context \&context file
things will work.

> (Since in teTeX cont-* is soft linked to pdftex, which presently
> doesn't work, I used (e)TeX and failed.)

> Olaf Weber will provide three patches to solve this bug/problem. See
> teTeX-pretest mailing list.

To be precise, I've made one patch available which should solve the
problem of tex dumping core during the undump.  While investigating
the bug I've seen some other, halfway related, problems which will be
addressed in web2c 7.3.  I don't expect to release patches for those
problems.

-- 
Olaf Weber


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ConTeXt + teTeX 0.9-981012/Linux: SegFault
@ 1998-10-18 15:39 Tobias Burnus
  0 siblings, 0 replies; 4+ messages in thread
From: Tobias Burnus @ 1998-10-18 15:39 UTC (permalink / raw)


Hi all,

concerning TeX/eTeX of teTeX 0.9-981012 Olaf Weber
<olaf@infovore.xs4all.nl> found the reason for this.

In texmf.cnf, there is:
  max_strings.context = 55000
  max_strings = 15000             % max number of strings

using 'tex --ini --fmt=context cont-de' the first line is read, but when
calling
tex \& context  the second line is read, and since cont-de needs 18053
strings, it segment faults.

If context is linked to tex (ln -s tex context) and tex is called
'context' then it doesn't happen.

(Since in teTeX cont-* is soft linked to pdftex, which presently doesn't
work, I used (e)TeX and failed.)

Olaf Weber will provide three patches to solve this bug/problem. See
teTeX-pretest mailing list.

Tobias


^ permalink raw reply	[flat|nested] 4+ messages in thread

* ConTeXt + teTeX 0.9-981012/Linux: SegFault
@ 1998-10-14 19:39 Tobias Burnus
  0 siblings, 0 replies; 4+ messages in thread
From: Tobias Burnus @ 1998-10-14 19:39 UTC (permalink / raw)


Hi teTeXers and contexters,

I just installed (from scratch) teTeX 0.9-981012 unter Linux 2.0.35/libc5/gcc 2.7.2.1
unsing 'make world'
I use the updated ConTeXt version from http://frambach.eco.rug.nl/pragma/zipped/

Using the buggy teTeX PDFTeX (which compiled w/o any problems) I get:

strace cont-de file:
> open("/usr/lib/teTeX/share/texmf/fonts/tfm/public/cm/cmtt10.tfm", O_RDONLY) = 8
> fstat(8, {st_mode=S_IFREG|0644, st_size=768, ...}) = 0
> mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40cdb000
> read(8, "\0\300\0\22\0\0\0\177\0\2\0\20\0"..., 4096) = 768
> close(8)                                = 0
> munmap(0x40cdb000, 4096)                = 0
> write(1, " [1.1", 5 [1.1)                    = 5
> open("file.pdf", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 8
> access("./cmr12.vf", R_OK)              = -1 ENOENT (No such file or directory)
> access("./cmr12.vf", R_OK)              = -1 ENOENT (No such file or directory)
> write(1, "\n", 1
> )                       = 1
> --- SIGSEGV (Segmentation fault) ---
> +++ killed by SIGSEGV +++

(there is no cm*.vf according to 'locate')

> Using tex instead (other fmt file) I get:
> write(1, "This is TeX, Version 3.14159 (We"..., 41This is TeX, Version 3.14159 (Web2C 7.2)
> ) = 41
> access("./cont-de.fmt", R_OK)           = -1 ENOENT (No such file or directory)
> access("/usr/lib/teTeX/share/texmf/web2c/cont-de.fmt", R_OK) = 0
> stat("/usr/lib/teTeX/share/texmf/web2c/cont-de.fmt", {st_mode=S_IFREG|0644, st_size=2705858, ...}) = 0
> open("/usr/lib/teTeX/share/texmf/web2c/cont-de.fmt", O_RDONLY) = 3
> fstat(3, {st_mode=S_IFREG|0644, st_size=2705858, ...}) = 0
> mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4000c000
> read(3, "\30\276\342\4\17\377\377\377\0\0"..., 4096) = 4096
> mmap(0, 208896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400d2000
> mmap(0, 212992, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40105000
> mmap(0, 8802304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40139000
> brk(0x8106000)                          = 0x8106000
> read(3, "\0\0:\331\0\0;\4\0\0;\26\0\0;N\0"..., 4096) = 4096
> read(3, "\0\0o\233\0\0o\257\0\0o\302\0\0o"..., 4096) = 4096
> read(3, "\0\0\235g\0\0\235u\0\0\235\200\0"..., 4096) = 4096
> read(3, "\0\0\310\344\0\0\310\356\0\0\310"..., 4096) = 4096
> read(3, "\0\0\377\363\0\1\0\3\0\1\0\24\0\1"..., 4096) = 4096
> read(3, "\0\0019\213\0\0019\230\0\0019\246"..., 4096) = 4096
> read(3, "\0\1{\302\0\1{\305\0\1{\310\0\1{"..., 4096) = 4096
> read(3, "\0\1\265\0\0\1\265\v\0\1\265\26\0"..., 4096) = 4096
> read(3, "\0\1\357O\0\1\357a\0\1\357u\0\1\357"..., 4096) = 4096
> read(3, "\0\2+\325\0\2+\344\0\2+\364\0\2+"..., 4096) = 4096
> read(3, "\0\2g\273\0\2g\320\0\2g\351\0\2g"..., 4096) = 4096
> read(3, "\0\2\264]\0\2\264m\0\2\264\202\0"..., 4096) = 4096
> read(3, "\0\3\36\v\0\3\0361\0\3\36[\0\3\36"..., 4096) = 4096
> read(3, "\0\3l\214\0\3l\225\0\3l\237\0\3l"..., 4096) = 4096
> read(3, "\0\3\340\350\0\3\340\371\0\3\341"..., 4096) = 4096
> --- SIGSEGV (Segmentation fault) ---
> +++ killed by SIGSEGV +++

Any ideas???

Regards,

Tobias


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-10-19 17:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-15  9:35 ConTeXt + teTeX 0.9-981012/Linux: SegFault Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
1998-10-19 17:15 Olaf Weber
1998-10-18 15:39 Tobias Burnus
1998-10-14 19:39 Tobias Burnus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).