Facing very different type of issue after porting freetype

Ashwani kesharwani <[email protected]>
Newsgroups gmane.comp.fonts.freetype.user,gmane.comp.fonts.freetype.devel
Message-ID <CACg=y_bk_qOQFEaD_mXD0mEOQ19117S5V3QXR6r60S4hJU4KDA@mail.gmail.com>
Hi support team,
I'm facing some issues after porting.
while I'm passing unsigned char Ubuntu[34816]  which is Ubuntu-R.ttf file.
By using bin2c python script i converted into an C array.
while is passed this array to the function i'm getting all those error.
error = FT_New_Memory_Face( library,
ubuntu_font,    /* first byte in memory */
34816,      /* size in bytes        */
0,         /* face_index           */
&face );

  This issue i found from generated bin which show some memory fault
_sys_open
??:?
0x0000d2c2
_sys_open
??:?
0x0000ca92
freopen
??:?
0x0000d93c
_initio
??:?
0x0000c232
__rt_lib_init_atexit_1
??:?
0x0000c246
__rt_entry_li
??:?
jlink shown this error
Debug fault is caused by halt requested in NVIC
Debug fault is caused by BKPT instruction executed

Best Regards,


*Ashwani Kesharwani*

Software Engineer - Firmware

[email protected] <[email protected]>

+91-8957458622

*KaHa Technologies Private Limited | A subsidiary of Imagine Marketing Pvt.
Ltd.*

*www.coveiot.com <http://www.coveiot.com>*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.