Skip to contentSkip to conversation

New: [drm:drm_do_vm_shm_fault], shm_fault 0x0 with compiz++

Bug 26415 [email protected] 1 participant 7 messages Feb 3, 2010 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=26415

Summary: [drm:drm_do_vm_shm_fault], shm_fault 0x0 with compiz++
Product: DRI
Version: XOrg CVS
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=33028)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33028)
Xorg.log

Linux oddysseus 2.6.33-rc6 #36 Tue Feb 2 09:07:13 CET 2010 i686 GNU/Linux

Architecture:          i686
CPU(s):                1
Vendor ID:             GenuineIntel
CPU family:            15
Model:                 2
Stepping:              7
CPU MHz:               1800.000

Thinkpad T40 (1GB RAM)

01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]

I am trying for about three month to start compiz++ (v0.9), but no success yet.

Therefore I am building most from git:

kernel 2.6.33-rc6
bigreqsproto
compositeproto
damageproto
dri2proto
drm
evieproto
fixesproto
fontsproto
glproto
inputproto
kbproto
libfontenc
libpciaccess
libX11
libXau
libxcb
libXcomposite
libXdamage
libXext
libXfixes
libXfont
libXi
libXinerama
libXi.ren
libxkbfile
libXrandr
libxtrans
libXtst
libXv
libXvMC
libXxf86vm
macros
mesa
oldlogs
pixman
proto
pthread-stubs
randrproto
recordproto
renderproto
resourceproto
scrnsaverproto
util
videoproto
x11proto
xcmiscproto
xev
xextproto
xf86dgaproto
xf86driproto
xf86-input-evdev
xf86-input-keyboard
xf86-input-mouse
xf86-input-synaptics
xf86-video-ast
xf86-video-ati
xf86-video-v4l
xf86-video-vesa
xf86vidmodeproto
xineramaproto
xkbcomp
xkeyboard-config
xserver

These libs and progs are compiling fine. after that, I compile compiz with ccmake as usually. But everytime I start compiz, the xorg -server is crashing and I found these messages in dmesg:

Feb  3 12:49:27 oddysseus kernel: [42222.273953] [drm:drm_addmap_core], offset
= 0x00000000, size = 0x00002000, type = 2
Feb  3 12:49:27 oddysseus kernel: [42222.273984] [drm:drm_addmap_core], 8192 13
f805e000
Feb  3 12:49:27 oddysseus kernel: [42222.276170] [drm:drm_mmap_locked], start =
0xb779a000, end = 0xb779c000, page offset = 0xf805e
Feb  3 12:49:27 oddysseus kernel: [42222.276181] [drm:drm_vm_open_locked],
0xb779a000,0x00002000
Feb  3 12:49:27 oddysseus kernel: [42222.276202] [drm:drm_do_vm_shm_fault],
shm_fault 0x0
Feb  3 12:49:27 oddysseus kernel: [42222.276215] [drm:drm_do_vm_shm_fault],
shm_fault 0x1000
Feb  3 12:49:27 oddysseus kernel: [42222.276295] [drm:drm_ioctl], pid=10882,

cmd=0xc04064a0, nr=0xa0, dev 0xe200, auth=1

will attach now the importest logs and debugs

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#1 lore raw

[Bug 26415] [drm:drm_do_vm_shm_fault], shm_fault 0x0 with compiz++

http://bugs.freedesktop.org/show_bug.cgi?id=26415

--- Comment #1 from Christian Hartmann <[email protected]> 2010-02-03 08:17:37 PST --- Created an attachment (id=33029)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33029)
debug.log

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#2 lore raw

[Bug 26415] [drm:drm_do_vm_shm_fault], shm_fault 0x0 with compiz++

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26415

--- Comment #2 from Christian Hartmann <[email protected]> 2010-02-03 08:17:57 PST --- Created an attachment (id=33030)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33030)
xorg.gdb logfile

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#3 lore raw

[Bug 26415] [drm:drm_do_vm_shm_fault], shm_fault 0x0 with compiz++

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26415

--- Comment #3 from Christian Hartmann <[email protected]> 2010-02-03 08:18:17 PST --- Created an attachment (id=33031)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33031)
compiz gdb logfile

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#4 lore raw

[Bug 26415] [drm:drm_do_vm_shm_fault], shm_fault 0x0 with compiz++

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26415

--- Comment #4 from Christian Hartmann <[email protected]> 2010-02-03 08:21:17 PST --- Created an attachment (id=33032)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33032)
dmesg

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#5 lore raw

[Bug 26415] [drm:drm_do_vm_shm_fault], shm_fault 0x0 with compiz++

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=26415

--- Comment #5 from Christian Hartmann <[email protected]> 2010-02-03 08:57:45 PST --- here is a 2nd try of starting compiz++:

(gdb) c
Continuing.
/usr/local/bin/compiz (core) - Warn: Unknown option '--ignore-dekstop-hints'

/usr/local/bin/compiz (core) - Debug: Could not stat() file /home/chris/.compiz/plugins/libcore.so : No such file or directory /usr/local/bin/compiz (core) - Debug: Could not stat() file /usr/local/lib/compiz/libcore.so : No such file or directory /usr/local/bin/compiz (core) - Debug: Could not stat() file /home/chris/.compiz/plugins/libccp.so : No such file or directory
Backend : ini
Integration : true
Profile : default
Adding plugins
Initializing core options...done
^C
Program received signal SIGINT, Interrupt.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fe1424 in __kernel_vsyscall ()
#1 0xb7b12abb in *__GI___poll (fds=0xbfffe9b4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:83
#2 0xb7e810cb in _xcb_conn_wait (c=0x811ef48, cond=0xbfffe9fc, vector=0x0, count=0x0) at xcb_conn.c:308
#3 0xb7e83475 in xcb_wait_for_reply (c=0x811ef48, request=487, e=0xbfffea88) at xcb_in.c:390
#4 0xb7ed65ee in _XReply (dpy=0x811e428, rep=0xbfffeac4, extra=0, discard=1) at xcb_io.c:461
#5 0xb7eb48d6 in _XGetWindowAttributes (dpy=0x811e428, w=12582917, attr=0x814bdf0) at GetWAttrs.c:115
#6 0xb7eb4a42 in XGetWindowAttributes (dpy=0x811e428, w=12582917, attr=0x814bdf0) at GetWAttrs.c:150
#7 0x080d5888 in CompWindow (this=0x814a678, id=12582917, aboveId=12582913) at /home/chris/apps/compiz/git/core/src/window.cpp:4764
#8 0x080edab4 in CompScreen::handleEvent (this=0x8119150, event=0xbfffedc8) at /home/chris/apps/compiz/git/core/src/event.cpp:1018
#9 0x080b3b8e in PrivateScreen::processEvents (this=0x8119188) at /home/chris/apps/compiz/git/core/src/screen.cpp:782
#10 0x080b606f in CompScreen::eventLoop (this=0x8119150) at /home/chris/apps/compiz/git/core/src/screen.cpp:135
#11 0x080a0347 in main (argc=7, argv=0xbfffefd4) at /home/chris/apps/compiz/git/core/src/main.cpp:221
(gdb) frame 2
#2 0xb7e810cb in _xcb_conn_wait (c=0x811ef48, cond=0xbfffe9fc, vector=0x0, count=0x0) at xcb_conn.c:308
308 ret = poll(&fd, 1, -1);
(gdb) info frame
Stack level 2, frame at 0xbfffe9d0:
eip = 0xb7e810cb in _xcb_conn_wait (xcb_conn.c:308); saved eip 0xb7e83475 called by frame at 0xbfffea50, caller of frame at 0xbfffe990 source language c.
Arglist at 0xbfffe9c8, args: c=0x811ef48, cond=0xbfffe9fc, vector=0x0,
count=0x0
Locals at 0xbfffe9c8, Previous frame's sp is 0xbfffe9d0
Saved registers:
ebx at 0xbfffe9bc, ebp at 0xbfffe9c8, esi at 0xbfffe9c0, edi at 0xbfffe9c4,
eip at 0xbfffe9cc

While Xorg is GiveUp ()

Reading symbols from /usr/lib/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libexpat.so.1
0xb77bc424 in __kernel_vsyscall ()
(gdb) c

Program received signal SIGTERM, Terminated.
0xb77bc424 in __kernel_vsyscall ()
(gdb) bt

#0  0xb77bc424 in __kernel_vsyscall ()
#1  0xb756952d in ___newselect_nocancel () from /lib/i686/cmov/libc.so.6
#2  0x080a3ee8 in WaitForSomething (pClientsReady=0x84ce7a0) at WaitFor.c:229
#3  0x0806dbbe in Dispatch () at dispatch.c:375
#4  0x08066b75 in main (argc=9, argv=0xbfffe074, envp=0x0) at main.c:287

(gdb) bt full
#0 0xb77bc424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb756952d in ___newselect_nocancel () from /lib/i686/cmov/libc.so.6 No locals.
#2 0x080a3ee8 in WaitForSomething (pClientsReady=0x84ce7a0) at WaitFor.c:229

        i = <value optimized out>
        waittime = {tv_sec = 64, tv_usec = 402628}
        wt = 0xbfffdf20
        timeout = <value optimized out>
        clientsReadable = {fds_bits = {0 <repeats 32 times>}}
        clientsWritable = {fds_bits = {136621568, -1218560012, -1219437946, 16,

96, -1073750440, 1, -1073750316, -1219066405, 136241504, 32, 136196940, 139261320, 32, -1073750408, 135189790, 13, -1073750316, 1, 136196940, -1073750356, 136196940, -1073750376, 135184687, 139261320, -1073750316, 1, 134709666, 137929112, -1219424083, -1073750280, 134899650}}
selecterr = 11
nready = <value optimized out>
devicesReadable = {fds_bits = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-1219437946, 0, 0, 0, 0, 0, 0, 0, -1218554944, 0, 136, 139269528, 16, -1222459308, 0, 0, -1219437946, 0, -1222555124, 136485152, -1073750472, -1222607569}}
now = 59974082
someReady = 0
#3 0x0806dbbe in Dispatch () at dispatch.c:375

        result = 0
        client = 0x84d0d48
        nready = -1
        start_tick = 100
#4  0x08066b75 in main (argc=9, argv=0xbfffe074, envp=0x0) at main.c:287
        i = 1
        alwaysCheckForInput = {0, 1}

(gdb) next
Single stepping until exit from function __kernel_vsyscall, which has no line number information.
GiveUp (sig=15) at utils.c:417
417 {
(gdb)

Program received signal SIGTRAP, Trace/breakpoint trap.
418 int olderrno = errno;

in dmesg I see similar the same messages in dmesg as above

Signature · 11 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--
#6 lore raw

[Bug 26415] [drm:drm_do_vm_shm_fault], shm_fault 0x0 with compiz++

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=26415

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #6 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/93.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel