Tizen 2.2 porting Xorg crashes on power up and display does not come up

Tizen 2.2 porting Xorg crashes on power up and display does not come up

BY 23 Sep 2013 General Support

Hi,

I am trying to port tizen 2.2 onto armv7l based chipset supporting linux fb.

While powering up I am seeing Xorg crash as:

Jan  1 09:01:21 localhost daemon.info kernel: [   82.111429] enlightenment_start[1298]: ESTART: 14.11277 [2.13288] – DELAYED MODULE LOAD: conf_applications
Jan  1 09:01:21 localhost daemon.info kernel: [   82.112955] enlightenment_start[1298]: ESTART: 14.11335 [0.00058] – SLEEP
Jan  1 09:01:22 localhost user.debug kernel: [   83.369449] Xorg: unhandled page fault (11) at 0x00000004, code 0x017
Jan  1 09:01:22 localhost user.alert kernel: [   83.369510] pgd = de9f4000
Jan  1 09:01:22 localhost user.alert kernel: [   83.369510] [00000004] *pgd=a5d58831, *pte=00000000, *ppte=00000000
Jan  1 09:01:22 localhost user.warn kernel: [   83.369540] 
Jan  1 09:01:22 localhost user.warn kernel: [   83.369571] Pid: 782, comm:                 Xorg
Jan  1 09:01:22 localhost user.warn kernel: [   83.369571] CPU: 0    Tainted: G        W    (3.0.8 #5)
Jan  1 09:01:22 localhost user.warn kernel: [   83.369601] PC is at 0xc1978
Jan  1 09:01:22 localhost user.warn kernel: [   83.369601] LR is at 0x20
Jan  1 09:01:22 localhost user.warn kernel: [   83.369601] pc : [<000c1978>]    lr : [<00000020>]    psr: 20000030
Jan  1 09:01:22 localhost user.warn kernel: [   83.369632] sp : be9f7718  ip : 40000002  fp : 00181a88
Jan  1 09:01:22 localhost user.warn kernel: [   83.369632] r10: 00000100  r9 : be9f777c  r8 : 00000000
Jan  1 09:01:22 localhost user.warn kernel: [   83.369632] r7 : 00000000  r6 : 001940f0  r5 : 00158bc4  r4 : 002b8b40
Jan  1 09:01:22 localhost user.warn kernel: [   83.369662] r3 : 0016b4e0  r2 : 00000000  r1 : 00000000  r0 : 00000002
Jan  1 09:01:22 localhost user.warn kernel: [   83.369662] Flags: nzCv  IRQs on  FIQs on  Mode USER_32  ISA Thumb  Segment user
Jan  1 09:01:22 localhost user.warn kernel: [   83.369693] Control: 10c5787d  Table: a65f406a  DAC: 00000015
 
While debugging the core dump:
(gdb) bt
#0  CreatePicture (pid=0, pDrawable=0x194250, pFormat=0x0, vmask=256, vlist=0xbea7e790, client=0x16e860, error=0xbea7e78c) at picture.c:776
#1  0x00096908 in compNewPixmap (pWin=<optimized out>, x=0, y=0, w=452, h=640) at compalloc.c:580
#2  0x00097322 in compAllocPixmap (pWin=0x288d80) at compalloc.c:617
#3  0x00096098 in compCheckRedirect (pWin=0x288d80) at compwindow.c:165
#4  0x000962f0 in compRealizeWindow (pWin=0x288d80) at compwindow.c:265
#5  0x0005107a in RealizeTree (pWin=0x288d80) at window.c:2497
#6  0x00052eea in MapWindow (pWin=0x288d80, client=0x287120) at window.c:2589
#7  0x00030602 in ProcMapWindow (client=0x287120) at dispatch.c:794
#8  0x00033e82 in Dispatch () at dispatch.c:428
#9  0x000287a8 in main (argc=16, argv=0xbea7eb04, envp=<optimized out>) at main.c:295
 
So actually pFormat is null and from CreatePicture source this null reference results in the segfault.
I see that the client is enlightenment_start from the structure of client ptr.
 
Could somebody provide pointers as to what could be going wrong?
 
Thanks and Regards,
Satirtha Nandy

 

Written by