- Posts: 1
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about iOS development and PDF
crash on page_render() for specific pdf file
IP: 192.168.0.71
11 years 4 months ago #7795
by yo113
crash on page_render() for specific pdf file was created by yo113
hello..
I observed one crash on page_render method for specific pdf file of properties on ios.
the pdf file having following properties
Creater : CorelDRAW
PDF Producer: Corel PDF Engine Version 14.0.0.701
PDF Version : 1.5
and one more thing to discuss that following pdf file of properties is redering properly there is no problem with this kind of pdf file
Creator : CorelDRAW Version 12.0
PDF Producer: Corel PDF Engine Version 1.0.0.458
PDF Version : 1.3
below is the method where the crash happens and it is reproduced on android too.
Page_render( PDF_PAGE page, PDF_DIB dib, PDF_MATRIX matrix, bool show_annots, PDF_RENDER_MODE mode );
I observed one crash on page_render method for specific pdf file of properties on ios.
the pdf file having following properties
Creater : CorelDRAW
PDF Producer: Corel PDF Engine Version 14.0.0.701
PDF Version : 1.5
and one more thing to discuss that following pdf file of properties is redering properly there is no problem with this kind of pdf file
Creator : CorelDRAW Version 12.0
PDF Producer: Corel PDF Engine Version 1.0.0.458
PDF Version : 1.3
below is the method where the crash happens and it is reproduced on android too.
Page_render( PDF_PAGE page, PDF_DIB dib, PDF_MATRIX matrix, bool show_annots, PDF_RENDER_MODE mode );
IP: 192.168.0.71
11 years 4 months ago #7800
by radaee
Replied by radaee on topic crash on page_render() for specific pdf file
may you share the PDF file? so we can debug it.
IP: 192.168.0.71
11 years 3 months ago #8208
by henryph
Replied by henryph on topic crash on page_render() for specific pdf file
Hi,
I also experienced similar issue (that my app crashes on page_render() for specific pdf file)
With the aid of some crash logging tools,
I can know the crash lines information.
"CRDPath::pro_draw_line_cap_square(CRDPath&, _RDPOINTF const&, RDFIX const&, float) const + 1097470 "
Another piece of information is that,
for this same pdf,
if I generate it with iOS7+, nothing happened (this only happens in iOS 6)
I also experienced similar issue (that my app crashes on page_render() for specific pdf file)
With the aid of some crash logging tools,
I can know the crash lines information.
"CRDPath::pro_draw_line_cap_square(CRDPath&, _RDPOINTF const&, RDFIX const&, float) const + 1097470 "
Another piece of information is that,
for this same pdf,
if I generate it with iOS7+, nothing happened (this only happens in iOS 6)
IP: 192.168.0.71
11 years 3 months ago #8214
by radaee
Replied by radaee on topic crash on page_render() for specific pdf file
no sample file?
i have to guess codes.
i have to guess codes.
Time to create page: 0.451 seconds