[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#376188: xserver aborts with sigsegv when xawtv starts



On Sat, 2006-07-01 at 04:16 +0900, Junichi Uekawa wrote:
> 
> Backtrace:
> 0: /usr/X11R6/bin/X(xf86SigHandler+0x7e) [0x474d1e]
> 1: /lib/libc.so.6 [0x2b8982b12e90]
> 2: /usr/X11R6/bin/X(Dispatch+0x120) [0x447990]
> 3: /usr/X11R6/bin/X(main+0x455) [0x430905]
> 4: /lib/libc.so.6(__libc_start_main+0xda) [0x2b8982aff4ca]
> 5: /usr/X11R6/bin/X(FontFileCompleteXLFD+0x9a) [0x42fbea]
> 
> Fatal server error:
> Caught signal 11.  Server aborting

Hmm, as it seems to crash in a fairly innocuous place, this smells like
memory corruption. Could you try and get a backtrace with gdb?


> $ uname -a 
> Linux dancer64 2.6.17dancer-gbf7e8511-dirty #1 PREEMPT Fri Jun 30 09:04:58 JST 2006 x86_64 GNU/Linux

Does running in 32 bit make a difference?


Or does the attached patch happen to make any difference?


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer

diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 149cb2e..0ad22c8 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -2500,9 +2432,7 @@ static Bool RADEONPreInitVRAM(ScrnInfoPt
 
     if (info->FBDev)
 	pScrn->videoRam      = fbdevHWGetVidmem(pScrn) / 1024;
-    else if ((info->ChipFamily == CHIP_FAMILY_RS100) ||
-	     (info->ChipFamily == CHIP_FAMILY_RS200) ||
-	     (info->ChipFamily == CHIP_FAMILY_RS300)) {
+    else if (info->IsIGP) {
         CARD32 tom = INREG(RADEON_NB_TOM);
 
 	pScrn->videoRam = (((tom >> 16) -
diff --git a/src/radeon_video.c b/src/radeon_video.c
index 07270a1..f664386 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -1357,9 +1357,7 @@ #endif
        on the right edge video output.  */
 
 
-    if ((info->ChipFamily == CHIP_FAMILY_RS100) || 
-	(info->ChipFamily == CHIP_FAMILY_RS200) ||
-	(info->ChipFamily == CHIP_FAMILY_RS300)) {
+    if (info->IsIGP) {
         /* Force the overlay clock on for integrated chips
 	 */
         OUTPLL(pScrn, RADEON_VCLK_ECP_CNTL,

Reply to: