[Bug 26836] New: Memory read error when closing X session
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Mar 2 06:16:09 PST 2010
http://bugs.freedesktop.org/show_bug.cgi?id=26836
Summary: Memory read error when closing X session
Product: xorg
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/Radeon
AssignedTo: xorg-driver-ati at lists.x.org
ReportedBy: suokkos at gmail.com
QAContact: xorg-team at lists.x.org
==25379== Invalid read of size 1
==25379== at 0x4024CF2: strncpy (mc_replace_strmem.c:329)
==25379== by 0x516F589: drmmode_set_mode_major (string3.h:122)
==25379== by 0x5171561: drmmode_set_desired_modes (drmmode_display.c:1274)
==25379== by 0x516CF47: RADEONEnterVT_KMS (radeon_kms.c:852)
==25379== by 0x80D93C0: xf86XVEnterVT (xf86xv.c:1228)
==25379== by 0x80CC653: CMapEnterVT (xf86cmap.c:455)
==25379== by 0x4C417F3: glxDRIEnterVT (glxdri2.c:520)
==25379== by 0x80C1BC4: xf86Wakeup (xf86Events.c:634)
==25379== by 0x8091671: WakeupHandler (dixutils.c:418)
==25379== by 0x81317F9: WaitForSomething (WaitFor.c:231)
==25379== by 0x808CEE7: Dispatch (dispatch.c:386)
==25379== by 0x8072514: main (main.c:397)
==25379== Address 0x4cd71c8 is not stack'd, malloc'd or (recently) free'd
==25379==
^C ddxSigGiveUp: Closing log
I had a fast look to code. mode->name looks like pointing to incorrect memory
address. Is the EnterVT called long time after X has freed the mode objecs?
Valgrind should note that there used to be something in this address even if
there was quite a lot frees and mallocs in between. (this time I sued the
default that is 10M)
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the xorg-driver-ati
mailing list