[Xorg-driver-geode] crash in geode driver
Justin Smith
justinsmith2009 at gmail.com
Thu Jul 30 16:22:09 PDT 2009
Hi Mart,
Thanks for the pointers, I am using LX800 with Ubuntu 8.04 and was
able to get a backtrace as follows. It'd be great if somebody could
look at the backtrace and let me know what could be causing this crash
or if any further information I could provide.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7c206b0 (LWP 3329)]
0xb7afa5a1 in gp_color_bitmap_to_screen_blt (dstoffset=49733504,
srcx=0, width=240, height=0,
data=0xb2962f80
"\200\200\200\200\200\200\200\177{zzzzzzy{zzzzzzyxwwwwwwvuttttttv{",
'}' <repeats 30 times>, "{v", 't' <repeats 127 times>..., pitch=240)
at ../src/cim/cim_gp.c:1373
1373 WRITE_COMMAND_STRING32(8, data, srcoffset, dword_count);
(gdb) bt
#0 0xb7afa5a1 in gp_color_bitmap_to_screen_blt (dstoffset=49733504,
srcx=0, width=240, height=0,
data=0xb2962f80 "\200\200\200\200\200\200\200\177~", '}' <repeats
23 times>, "|}}}}}}}}~~~\177\177\177\200\201\205\210\210\206\203\200\201\201\202\202\201\200\200\200\177",
'}' <repeats 14 times>, "~\177\177", '\200' <repeats 19 times>,
"\177\200\200\200\177~}}}}}}~", '\200' <repeats 15 times>,
"\177\177\177\177~}}}}~~\177", '\200' <repeats 12 times>,
"\177\200\200\200\200\200\200\200\200\201\202\203\204\205\206\207\210\207\206\205\204",
'\203' <repeats 18 times>, "\202\201\200\200\200\200\202\206\213"...,
pitch=240)
at ../src/cim/cim_gp.c:1373
#1 0xb7af5123 in LXCopyFromSys (pGeode=0x821c440,
src=0xb2962f80 "\200\200\200\200\200\200\200\177~", '}' <repeats
23 times>, "|}}}}}}}}~~~\177\177\177\200\201\205\210\210\206\203\200\201\201\202\202\201\200\200\200\177",
'}' <repeats 14 times>, "~\177\177", '\200' <repeats 19 times>,
"\177\200\200\200\177~}}}}}}~", '\200' <repeats 15 times>,
"\177\177\177\177~}}}}~~\177", '\200' <repeats 12 times>,
"\177\200\200\200\200\200\200\200\200\201\202\203\204\205\206\207\210\207\206\205\204",
'\203' <repeats 18 times>, "\202\201\200\200\200\200\202\206\213"...,
dst=49733504,
dstPitch=240, srcPitch=240, h=324, w=240) at lx_video.c:129
#2 0xb7af562a in LXCopyPlanar (pScrni=0x821bf68, id=842094169,
buf=0xb293d000 '\022' <repeats 46 times>,
"\023\023\024\024\024\025\025\025\023\022\020\017\016\r\r\r\017\020\021\023\025\025\025\023\022\020\017\016\r\r\r\r\r\r\f\r\r\r\016\016\016\016\016\016\016\016\016\016\r\r\r\r\016\020\020\020\016\r\v\f\f\f\f\f\r\016\016\017\017\020\016\f\v\v\v\r\017\017\021\024\024\024\022\021\020\020\020\022\022\022\023\023\023\022\021\020\020\020\020",
'\017' <repeats 12 times>, '\020' <repeats 34 times>,
"\021\020\020\020\020\020\020\021\021"..., x1=0, y1=0, x2=480, y2=324,
width=480,
height=324, data=0x8223e84) at lx_video.c:272
#3 0xb7af5e81 in LXPutImage (pScrni=0x821bf68, srcX=0, srcY=0,
drawX=106, drawY=0, srcW=480, srcH=324, drawW=1067, drawH=720,
id=842094169,
buf=0xb293d000 '\022' <repeats 46 times>,
"\023\023\024\024\024\025\025\025\023\022\020\017\016\r\r\r\017\020\021\023\025\025\025\023\022\020\017\016\r\r\r\r\r\r\f\r\r\r\016\016\016\016\016\016\016\016\016\016\r\r\r\r\016\020\020\020\016\r\v\f\f\f\f\f\r\016\016\017\017\020\016\f\v\v\v\r\017\017\021\024\024\024\022\021\020\020\020\022\022\022\023\023\023\022\021\020\020\020\020",
'\017' <repeats 12 times>, '\020' <repeats 34 times>,
"\021\020\020\020\020\020\020\021\021"..., width=480, height=324,
sync=0,
clipBoxes=0xbfe92954, data=0x8223e84, pDraw=0x841a518) at lx_video.c:497
#4 0x080da805 in xf86XVPutImage (client=0x8684810, pDraw=0x841a518,
pPort=0x8223420, pGC=0x86822e0, src_x=<value optimized out>,
src_y=<value optimized out>,
src_w=<value optimized out>, src_h=<value optimized out>, drw_x=0,
drw_y=0, drw_w=<value optimized out>, drw_h=<value optimized out>,
format=0x8220fa8,
data=0xb293d000 '\022' <repeats 46 times>,
"\023\023\024\024\024\025\025\025\023\022\020\017\016\r\r\r\017\020\021\023\025\025\025\023\022\020\017\016\r\r\r\r\r\r\f\r\r\r\016\016\016\016\016\016\016\016\016\016\r\r\r\r\016\020\020\020\016\r\v\f\f\f\f\f\r\016\016\017\017\020\016\f\v\v\v\r\017\017\021\024\024\024\022\021\020\020\020\022\022\022\023\023\023\022\021\020\020\020\020",
'\017' <repeats 12 times>, '\020' <repeats 34 times>,
"\021\020\020\020\020\020\020\021\021"..., sync=0, width=<value
optimized out>,
height=<value optimized out>) at ../../../../hw/xfree86/common/xf86xv.c:1777
#5 0xb7bac608 in XvdiPutImage (client=0x8684810, pDraw=0x841a518,
pPort=0x8223420, pGC=0x86822e0, src_x=<value optimized out>,
src_y=<value optimized out>,
src_w=<value optimized out>, src_h=<value optimized out>,
drw_x=<value optimized out>, drw_y=<value optimized out>, drw_w=<value
optimized out>,
drw_h=<value optimized out>, image=0x8220fa8,
data=0xb293d000 '\022' <repeats 46 times>,
"\023\023\024\024\024\025\025\025\023\022\020\017\016\r\r\r\017\020\021\023\025\025\025\023\022\020\017\016\r\r\r\r\r\r\f\r\r\r\016\016\016\016\016\016\016\016\016\016\r\r\r\r\016\020\020\020\016\r\v\f\f\f\f\f\r\016\016\017\017\020\016\f\v\v\v\r\017\017\021\024\024\024\022\021\020\020\020\022\022\022\023\023\023\022\021\020\020\020\020",
'\017' <repeats 12 times>, '\020' <repeats 34 times>,
"\021\020\020\020\020\020\020\021\021"..., sync=0, width=<value
optimized out>,
height=<value optimized out>) at ../../Xext/xvmain.c:730
#6 0xb7baf476 in ProcXvShmPutImage (client=0x8684810) at
../../Xext/xvdisp.c:1180
#7 0x081506ee in XaceCatchExtProc (client=0x8684810) at ../../Xext/xace.c:299
#8 0x0808d8df in Dispatch () at ../../dix/dispatch.c:502
#9 0x0807471b in main (argc=3, argv=0xbfe93014, envp=Cannot access
memory at address 0x14
) at ../../dix/main.c:452
There isn't much special in my xorg.conf file but here it is:
# xorg configuration
Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Screen0" 0 0
EndSection
Section "Module"
Load "extmod"
Load "fbdevhw"
Load "record"
Load "freetype"
Load "type1"
# to enable Xv, link /dev/videox to video device, eg. ln -s video0 /dev/videox
Load "ztv"
Load "glx"
Load "GLcore"
# Load "v4l"
EndSection
Section "Modes"
Identifier "Cimarron"
modeline "640x480-60" 25.1749 640 656 744 800 480 490 492 525 -HSync -VSync
modeline "800x600-60" 40.0000 800 840 976 1056 600 601 605 628 +HSync +VSync
modeline "1024x768-60" 65.0000 1024 1048 1184 1344 768 771 777 806
-HSync -VSync
modeline "1024x768-60" 65.0000 1024 1048 1184 1344 768 771 777 806
-HSync -VSync
modeline "1024x768-60" 65.0000 1024 1048 1184 1344 768 771 777 806
-HSync -VSync
Section "Monitor"
Identifier "Monitor0"
Vendorname "Geric CRT Display"
Modelname "Moni"
Horizsync 31.5-107.5
Vertrefresh 25-85
Usemodes "Cimarron"
Option "dpms"
EndSection
Section "Device"
Identifier "Geode"
Driver "geode"
Option "SWcursor"
Option "MigrationHeuristic" "greedy"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Geode"
Monitor "Monitor0"
Defaultdepth 24
SubSection "Display"
Depth 24
FbBpp 32
Modes "1024x768" "800x600" "640x480"
EndSubsection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
Section "ServerFlags"
EndSection
On Tue, Jul 28, 2009 at 12:07 PM, Mart
Raudsepp<mart.raudsepp at artecdesign.ee> wrote:
> On T, 2009-07-28 at 11:15 -0700, Justin Smith wrote:
>> Hi folks,
>>
>> I am getting an Xorg server crash while using Git checkout for 2.11.3,
>> when trying to play a video. Any hints where this could be happening,
>> log is below:
>>
>> Backtrace:
>> 0: /usr/bin/X11/X(xf86SigHandler+0x7e) [0x80c780e]
>> 1: [0xb7f39420]
>> 2: /usr/lib/xorg/modules/drivers//geode_drv.so [0xb7b1416a]
>> 3: /usr/lib/xorg/modules/drivers//geode_drv.so [0xb7b14923]
>> 4: /usr/bin/X11/X [0x80da805]
>> 5: /usr/lib/xorg/modules/extensions//libextmod.so(XvdiPutImage+0x178)
>> [0xb7bc3608]
>> 6: /usr/lib/xorg/modules/extensions//libextmod.so [0xb7bc6476]
>> 7: /usr/bin/X11/X [0x81506ee]
>> 8: /usr/bin/X11/X(Dispatch+0x2cf) [0x808d8df]
>> 9: /usr/bin/X11/X(main+0x48b) [0x807471b]
>> 10: /lib/libc.so.6(__libc_start_main+0xe0) [0xb7ce9450]
>> 11: /usr/bin/X11/X(FontFileCompleteXLFD+0x201) [0x8073a91]
>>
>> Fatal server error:
>> Caught signal 11. Server aborting
>
> Could you try getting a more useful backtrace? This one doesn't even
> include debug symbols in the driver itself.
> Just having that might give some better information in the automatic
> backtraces on crashes.
> And then there's the comprehensive way with gdb and co -
> http://xorg.freedesktop.org/wiki/Development/Documentation/ServerDebugging
>
> Also what CPU is it - GX, GX2 or LX, and can you show us your xorg.conf
> and full log (typically Xorg.0.log)
>
>
> Best Regards,
> Mart Raudsepp
>
>
More information about the Xorg-driver-geode
mailing list