Ticket #2242 (new defect)

Opened 10 years ago

Last modified 10 years ago

[Xglamo] crash with xcompmgr

Reported by: Richard.Kralovic Owned by: openmoko-devel
Priority: normal Milestone:
Component: unknown Version: FSO-MS2
Severity: normal Keywords: Xglamo, composite, crash
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible:

Description

I was playing a bit with the composite extension and xcompmgr (FSO milestone 5, kernel 2.6.28, xserver-kdrive-glamo-1_1.3.0.0+gitr9b28d998424c77fbc057dd3a022ccbb122793a52-r3). It works quite ok, but Xglamo crashes occasionaly. It is quite easily reporducible - just run xcompmgr and open a lot of applications. I was able to get the following backtrace in gdb:

#0 0x000577f4 in KdOffscreenAlloc? ()
#1 0x00050888 in kaaMoveInPixmap ()
#2 0x000509f4 in kaaPixmapUseScreen ()
#3 0x00050ba8 in kaaCopyNtoN ()
#4 0x000696ac in fbCopyRegion ()
#5 0x00069cbc in fbDoCopy ()
#6 0x0004fd28 in kaaCopyArea ()
#7 0x000ed180 in cwCopyArea ()
#8 0x000e8de4 in damageCopyArea ()
#9 0x000ed180 in cwCopyArea ()
#10 0x000e8de4 in damageCopyArea ()
#11 0x000398d0 in ProcCopyArea? ()
#12 0x000b3b1c in XaceCatchDispatchProc? ()
#13 0x0003b4c8 in Dispatch ()
#14 0x0002376c in main ()

You can see the full core dump at http://kedrigern.dcs.fmph.uniba.sk/~riso/xglamo.dump

Attachments

koffscreen.c.patch (579 bytes) - added by Richard.Kralovic 10 years ago.

Change History

comment:1 in reply to: ↑ description Changed 10 years ago by Richard.Kralovic

I have found some bugs in koffscreen.c. Xglamo is more stable now, although I haven't tested it very much yet. Patch to hw/kdrive/src/koffscreen.c is attached.

Changed 10 years ago by Richard.Kralovic

Note: See TracTickets for help on using tickets.