#10769 LOW Opportu: chrome driver crashes with Screen configuration

Zarro Boogs per Child bugtracker at laptop.org
Thu Mar 17 15:02:44 EDT 2011


#10769: chrome driver crashes with Screen configuration
-----------------------------+----------------------------------------------
 Reporter:  dsd              |                 Owner:  jnettlet                          
     Type:  defect           |                Status:  new                               
 Priority:  low              |             Milestone:  Opportunity                       
Component:  x window system  |               Version:  Development source as of this date
 Keywords:                   |           Next_action:  diagnose                          
 Verified:  0                |   Deployment_affected:                                    
Blockedby:                   |              Blocking:                                    
-----------------------------+----------------------------------------------
 There's something up in the chrome driver with configuration handling.
 This is a low priority bug as the only known effect (#10742) has been
 worked around.

 X is ignoring (to an extent) our configuration file because we don't
 specify a Screen. Judging by the source code, this is by design. If you
 don't specify a Screen section, it just gives you a default monitor,
 without checking if you might have provided one.

 So I added a Screen section (which we can hopefully slim down after it
 starts working):

 {{{
 Section "Screen"
 Identifier "Screen0"
 Device "Configured Video Device"
 Monitor "LCD"
 DefaultDepth 16
 SubSection "Display"
 Depth   16
 Modes   "1200x900"
 Virtual 1200 1200
 EndSubSection
 EndSection
 }}}

 but now I seem to be in the land of untested chrome codepaths. First of
 all this broke X because:

 {{{
 X: symbol lookup error: /usr/lib/xorg/modules/drivers/chrome_drv.so:
 undefined symbol: VIAIsPanelSizeValid
 }}}

 after modifying VIAGetOptions_LCDInfo() to not run that check (and always
 assume validity), I get a new crash:

 {{{
 Backtrace:
 0: X (xorg_backtrace+0x3b) [0x80e7e1b]
 1: X (0x8048000+0x5dc45) [0x80a5c45]
 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xa78c240c]
 3: X (miScreenInit+0x43) [0x81a76d3]
 4: /usr/lib/xorg/modules/libfb.so (fbFinishScreenInit+0x12e) [0xa774535e]
 5: /usr/lib/xorg/modules/libfb.so (fbScreenInit+0x94) [0xa77455b4]
 6: /usr/lib/xorg/modules/drivers/chrome_drv.so (0xa7790000+0x399bf)
 [0xa77c99bf]
 7: X (AddScreen+0x17c) [0x806f71c]
 8: X (InitOutput+0x2ad) [0x80b6bbd]
 9: X (0x8048000+0x1a1d5) [0x80621d5]
 10: /lib/libc.so.6 (__libc_start_main+0xe6) [0x426e36]
 11: X (0x8048000+0x19f71) [0x8061f71]
 Floating point exception at address 0x81a76d3
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/10769>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list