[Mono-list] Open Source PDF generating library - works flawlessly with Mono v1.9

Yawar Amin yawar.amin at gmail.com
Sun Apr 20 22:22:16 EDT 2008


On Sun, Apr 20, 2008 at 9:49 PM, Eugene Dragoev <e_dragoev at yahoo.com> wrote:
> Hello,
>
>
>  I just tested the Open Source Edition of our PDF generating library and it
>  works flawlessly on Linux using Mono v1.9.
>
>  http://pdfjet.com/os/edition.html
>  http://pdfjet.com/news.html
>
>  The library is using BSD license without the advertising clause.
>
>  The generated PDFs are a lot smaller when running under Mono compared to the
>  ones generated under .NET. Other than that everything else is the same.
>
>  If somebody is having printing problems - give it a try :-)
>
>  I am very impressed by the Linux installer for Mono. Very nice and everything
>  went really smooth. I am curious if there are plans for a simple runtime
>  environment (similar to the JRE in the Java world)?
>
>
>  Best Regards,
>
>  ED
>
>  P.S. I thought about benchmarking Java, .NET and Mono using the library - which
>  has exactly the same code, but my concern is that both Java and .NET do not
>  allow benchmarking. (I know about .NET for sure - can't remember about Java)
>  I would think Mono shouldn't have this restriction - is this correct?

Hi Eugene,

I did download and try out your PDFJet library using Mono 1.2.4 (maybe
you don't support that version?) on Ubuntu 7.10. It compiles fine but
the Example_01.exe test program dies mysteriously (at least to me).
Here's a stack trace:

Stacktrace:

  at (wrapper managed-to-native)
System.IO.Compression.DeflateStream.free_z_stream (intptr) <0x00004>
  at (wrapper managed-to-native)
System.IO.Compression.DeflateStream.free_z_stream (intptr)
<0xffffffff>
  at System.IO.Compression.DeflateStream.DisposeCore () <0x0006a>
  at System.IO.Compression.DeflateStream.Dispose (bool) <0x00034>
  at System.IO.Stream.Close () <0x0000d>
  at PDFjet.NET.DeflaterOutputStream.Finish () <0x0000e>
  at PDFjet.NET.PDF.addAllPages (int,int) <0x0032d>
  at PDFjet.NET.PDF.Wrap () <0x0005f>
  at Example_01..ctor () <0x0043c>
  at Example_01.Main (string[]) <0x00020>
  at (wrapper runtime-invoke)
System.Object.runtime_invoke_void_string[]
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	mono [0x8194ca6]
	mono [0x8177154]
	[0xffffe440]
	/lib/tls/i686/cmov/libc.so.6(abort+0x101) [0xb7cb1201]
	/lib/tls/i686/cmov/libc.so.6 [0xb7ce6e5c]
	/lib/tls/i686/cmov/libc.so.6 [0xb7ceed65]
	/lib/tls/i686/cmov/libc.so.6(cfree+0x90) [0xb7cf2800]
	/usr/lib/libz.so.1 [0xb70723bd]
	/usr/lib/libz.so.1(inflateEnd+0x41) [0xb7072681]
	/usr/lib/libMonoPosixHelper.so(free_z_stream+0x30) [0xb7091a5f]
	[0xb71faa0b]
	[0xb71fa97b]
	[0xb71fa8cd]
	[0xb71fa88e]
	[0xb71fa877]
	[0xb71f8fb6]
	[0xb7362b08]
	[0xb7356ead]
	[0xb7356119]
	[0xb7356075]
	mono [0x8176f50]
	mono(mono_runtime_invoke+0x27) [0x80b0b2f]
	mono(mono_runtime_exec_main+0x142) [0x80b5383]
	mono(mono_runtime_run_main+0x27e) [0x80b5631]
	mono(mono_jit_exec+0xbd) [0x805a4cb]
	mono [0x805a5a8]
	mono(mono_main+0x1683) [0x805bdc9]
	mono [0x8059636]
	/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7c9b050]
	mono [0x80595b1]

Cheers,

Yawar


More information about the Mono-list mailing list