Welcome to cobaltfish.com

Beginings of compiling
On 11/01/10 at 23:54 cobaltfish wrote:

I've skipped doing a helo world program and waded in with the source code for navit.
I've cross compiled it to run in the scratchbox emulator/SDK that nokia provide, and even managed to package it into a .deb too. The virtual ui only runs when its in i386 rather than arm mode, and I've had navit work there. However, when I installed the deb compiled for arm onto the handset, and ran navit, it seg faulted.
After much reading around, I have found that the likely source of the problems is with freetype:

 #0  0x410b80c8 in waitpid () from /lib/libc.so.6
#1  0x4105d4ec in do_system () from /lib/libc.so.6
#2  0x4105da04 in system () from /lib/libc.so.6
#3  0x41178b10 in system () from /lib/libpthread.so.0
#4  0x0001b520 in sigsegv (sig=) at debug.c:67
#5  
#6  0x406c5650 in FTC_Manager_LookupFace (manager=0x22fbc8, face_id=0x230ab8, aface=0xbee336cc) at /home/bifh1/fremantle-arm-prereleased.cs2007q3/work/freetype-2.3.9/freetype-2.3.9/src/cache/ftcmanag.c:327
#7  0x406c76f8 in FTC_CMapCache_Lookup (cmap_cache=0x22fcf0, face_id=, cmap_index=2, char_code=87)
    at /home/bifh1/fremantle-arm-prereleased.cs2007q3/work/freetype-2.3.9/freetype-2.3.9/src/cache/ftccmap.c:396
#8  0x406fa9c8 in font_freetype_text_new (text=0x1e2ab4 "Westpark", font=0x22aec0, dx=, dy=) at font_freetype.c:201
#9  0x4023de18 in draw_text (gr=0x86978, fg=0x149520, bg=0x149460, font=0x22aec0, text=0x1e2ab4 "Westpark", p=0xbee63890, dx=64393, dy=12182) at graphics_gtk_drawing_area.c:401
#10 0x000207d0 in displayitem_draw (di=, dummy=, dc=) at graphics.c:857
#11 0x411d07a8 in g_hash_table_foreach () from /usr/lib/libglib-2.0.so.0
#12 0x0001f89c in graphics_displaylist_draw (gra=0x625f0, displaylist=0x5c870, trans=, l=, flags=1) at graphics.c:1696
#13 0x0001fda8 in do_draw (displaylist=0x5c870, cancel=0, flags=1) at graphics.c:1892
#14 0x0001ff90 in graphics_draw (gra=0x625f0, displaylist=0x5c870, mapset=0xc3480, trans=0x5c620, l=0xc6dd8, async=0, cb=0x0, flags=1) at graphics.c:1963
#15 0x00025cdc in navit_draw_async (this_=0x5c478, async=0) at navit.c:203
#16 0x00025cf0 in navit_draw (this_=0x0) at navit.c:209
#17 0x0002a02c in navit_handle_resize (this_=0x5c478, w=1080990344, h=-1092405556) at navit.c:264
#18 0x4075cb90 in gui_internal_resize (data=0xa3200, w=800, h=424) at gui_internal.c:4502
#19 0x00019438 in callback_call (cb=0x81f38, pcount=2, p=0xbee83b08) at callback.c:175
#20 0x00019584 in callback_list_call_attr (l=, type=attr_resize, pcount=2296504, p=0xbee336cc) at callback.c:219
#21 0x000196b4 in callback_list_call_attr_args (cbl=0x0, type=attr_resize, count=2) at callback.c:235
#22 0x4023d860 in configure (widget=0x77458, event=, user_data=) at graphics_gtk_drawing_area.c:653
#23 0x4023eba4 in expose (widget=0x0, event=0xbee83f10, user_data=0x2) at graphics_gtk_drawing_area.c:664
#24 0x4036c630 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x4036c630 in ?? () from /usr/lib/libgtk-x11-2.0.so.0

I found in redhats bugzilla, and a few IRC logs references to aliasing causing the problems in bug 513582 My next steps are either to try and get some freetype libraries recompiled for the phone which have been fixed, or disable the parts that use freetype. The latter is quite a poor option
Once I have something that is remotely worthy of being called alpha quality, I will add it to this site, and try and get it involved somewhere with the community

0 comment(s)

all blog entries : last 30 days

:other pages:< <About Me> >

Valid HTML 4.01! Valid CSS!