| Summary: | X segfaults on ATI RC410 [Radeon Xpress 200] on startup (in driCreateNewScreen ()) when KMS is disabled | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Reinout van Schouwen <reinout> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | balcaen.john, cazzaniga.sandro, dmorganec, thierry.vignaud |
| Version: | Cauldron | Keywords: | NEEDINFO |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | x11-driver-video-ati | CVE: | |
| Status comment: | |||
| Attachments: |
Xorg log
lspcidrake -v Xorg.0.log + Full Xorg gdb log with backtrace Backtrace of crash with 2.6.38.1 |
||
|
Description
Reinout van Schouwen
2011-02-20 19:08:58 CET
Created attachment 17 [details]
Xorg log
From the bugreport : Backtrace: [ 24.185] 0: /usr/bin/Xorg (xorg_backtrace+0x28) [0x4a0b38] [ 24.185] 1: /usr/bin/Xorg (0x400000+0x61129) [0x461129] [ 24.185] 2: /lib64/libpthread.so.0 (0x7f25d7c47000+0xf460) [0x7f25d7c56460] [ 24.185] Segmentation fault at address (nil) [ 24.185] Fatal server error: [ 24.185] Caught signal 11 (Segmentation fault). Server aborting [ 24.185] [ 24.185] Please consult the The X.Org Foundation support at http://bugs.mageia.org for help. CC:
(none) =>
dmorganec Created attachment 18 [details]
lspcidrake -v
Created attachment 19 [details]
Xorg.0.log + Full Xorg gdb log with backtrace
Sandro CAZZANIGA
2011-02-28 08:09:07 CET
CC:
(none) =>
cazzaniga.sandro
Thierry Vignaud
2011-03-16 14:56:40 CET
Attachment 19 description:
Full Xorg gdb log with backtrace =>
Xorg.0.log
Thierry Vignaud
2011-03-16 14:57:24 CET
Attachment 19 description:
Xorg.0.log =>
Xorg.0.log + Full Xorg gdb log with backtrace Your trace looks like it has been edited (no commands, C line not printed, ...). Can you do a "print driDriverAPI.InitScreen" from GDB? Also, if you think this patch fixes it, can you try it? BTW, Bug #383 is a duplicate. Keywords:
(none) =>
NEEDINFO
Thierry Vignaud
2011-03-16 15:04:43 CET
Summary:
X segfaults on ATI RC410 [Radeon Xpress 200] on startup (in driCreateNewScreen ()) =>
X segfaults on ATI RC410 [Radeon Xpress 200] on startup (in driCreateNewScreen ()) when KMS is disabled Reinout, you're not using KMS (which is prefered now, still the driver shouldn't segfault when using UMS). Does it works once you enable KMS? Created attachment 125 [details]
Backtrace of crash with 2.6.38.1
I'll give a try to the patch linked & i'll report here.
I'm not able to compile mesa with patch (or without) in a local iurt chroot it's failing with g++ -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I/usr/include/libdrm -I/usr/include/nouveau -DFEATURE_GL=1 -o nouveau_vieux_dri.so.test ../../../../../src/mesa/drivers/dri/common/dri_test.o nouveau_vieux_dri.so.tmp -ldrm -lexpat -lm -lpthread -ldl -ltalloc -ldrm_nouveau nouveau_vieux_dri.so.tmp: undefined reference to `BIND_RING' nouveau_vieux_dri.so.tmp: undefined reference to `BEGIN_RING_NI' nouveau_vieux_dri.so.tmp: undefined reference to `BEGIN_RING' collect2: ld returned 1 exit status gmake[6]: *** [nouveau_vieux_dri.so] Error 1 gmake[6]: Leaving directory `/home/mikala/rpm/BUILD/Mesa-7.10/src/mesa/drivers/dri/nouveau' gmake[5]: *** [lib] Error 2 gmake[5]: Leaving directory `/home/mikala/rpm/BUILD/Mesa-7.10/src/mesa/drivers/dri/nouveau' gmake[4]: *** [subdirs] Error 1 gmake[4]: Leaving directory `/home/mikala/rpm/BUILD/Mesa-7.10/src/mesa/drivers/dri' gmake[3]: *** [default] Error 1 gmake[3]: Leaving directory `/home/mikala/rpm/BUILD/Mesa-7.10/src/mesa/drivers' gmake[2]: *** [driver_subdirs] Error 2 gmake[2]: Leaving directory `/home/mikala/rpm/BUILD/Mesa-7.10/src/mesa' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/home/mikala/rpm/BUILD/Mesa-7.10/src' make: *** [default] Error 1 error: Bad exit status from /home/mikala/rpm/tmp/rpm-tmp.bv13O1 (%build) (In reply to comment #8) > Reinout, you're not using KMS (which is prefered now, still the driver > shouldn't segfault when using UMS). > Does it works once you enable KMS? I don't know why the driver didn't select KMS (I didn't use UMS on purpose) but I'm happy to report that with updated Mageia packages, the problem does not occur any more. Closing then Status:
NEW =>
RESOLVED |