[Ubuntu-x-swat] [Bug 774978] Re: xserver crashes in RecordAReply when XRecord is enabled in syndaemon

2011-06-08 Thread Ondrej Certik
Thanks Bryce for this wonderful explanation. I was wondering what the
real problem is. Now it's quite clear I think.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-synaptics in Ubuntu.
https://bugs.launchpad.net/bugs/774978

Title:
  xserver crashes in RecordAReply when XRecord is enabled in syndaemon

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 771169] Re: X crashed while browsing with Chromium (librecord.so related?)

2011-05-16 Thread Ondrej Certik
How can we get the full stacktrace for a bug like this? For me, it
happens once every couple days (sometimes once a day, sometimes once a
week). But I can't reproduce it on demand (i.e. while running X under
gdb).

The only solution that I know if is to use a library like this (I wrote
it):

https://github.com/certik/stacktrace

compile it with Xorg, and then wait. I didn't have time to do it yet, so
I don't know if it is actually going to work.

Any help is appreciated.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/771169

Title:
  X crashed while browsing with Chromium (librecord.so related?)

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 778261] Re: Periodic Xorg crashes in intel_drv.so

2011-05-16 Thread Ondrej Certik
*** This bug is a duplicate of bug 771169 ***
https://bugs.launchpad.net/bugs/771169

Marcelo marked it as duplicate for #771169, and it seems it is. Thanks!

Indeed, in all my stacktraces above, the list shared lib is

/usr/lib/xorg/modules/extensions/librecord.so

so the problem is probably there.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/778261

Title:
  Periodic Xorg crashes in intel_drv.so

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 778261] Re: Periodic Xorg crashes in intel_drv.so

2011-05-15 Thread Ondrej Certik
I spent some time yesterday and polished the stacktrace code and
uploaded here:

https://github.com/certik/stacktrace

now we just need to hook this in, test it, and then wait. Hopefully I'll
get to it today.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/778261

Title:
  Periodic Xorg crashes in intel_drv.so

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 778261] Re: Periodic Xorg crashes in intel_drv.so

2011-05-14 Thread Ondrej Certik
Hi Juan, you are right, I just changed the summary.

This bug is supper annoying, as I always loose all my work.  How should
we debug it? The best would be to figure out some way to reproduce it
reliably, but that seems like a very hard problem.

So a better way would be to somehow use the memory addresses in the
stacktrace to figure out where in the code the problem happens, and then
add some debug prints over there. Here is the stacktrace, anyone know
how to proceed?


[  4343.791] 0: /usr/bin/X (xorg_backtrace+0x26) [0x4a2626]
[  4343.791] 1: /usr/bin/X (0x40+0x6219a) [0x46219a]
[  4343.791] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f491f9a+0xfc60) 
[0x7f491f9afc60]
[  4343.791] 3: /usr/lib/xorg/modules/extensions/librecord.so 
(0x7f491d355000+0x2920) [0x7f491d357920]
[  4343.791] 4: /usr/bin/X (_CallCallbacks+0x34) [0x432af4]
[  4343.791] 5: /usr/bin/X (WriteToClient+0x21a) [0x461c9a]
[  4343.791] 6: /usr/lib/xorg/modules/extensions/libdri2.so 
(ProcDRI2WaitMSCReply+0x52) [0x7f491cd3cd82]
[  4343.791] 7: /usr/lib/xorg/modules/extensions/libdri2.so 
(DRI2WaitMSCComplete+0x59) [0x7f491cd3b479]
[  4343.791] 8: /usr/lib/xorg/modules/drivers/intel_drv.so 
(0x7f491cae8000+0x25030) [0x7f491cb0d030]
[  4343.791] 9: /lib/x86_64-linux-gnu/libdrm.so.2 (drmHandleEvent+0x108) 
[0x7f491cf46478]


I have one idea.  The stacktrace above seems to be generated by this
code here:

https://github.com/jolicloud/xorg-
server/blob/2a006327f17f448461aecc715fabef1b0d9caa1f/os/backtrace.c

however, there is a way to obtain way better stacktrace (with files and
line numbers!) using code, that I wrote. So one way to go forward would
be to replace xorg_backtrace() with my own code.


Then, I will introduce some simple bug in the code, like "char *p=NULL; *p=1", 
to test it. If it works, then I'll simply wait couple days, and once it crashes 
again, we'll nail it down.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/778261

Title:
  Periodic Xorg crashes in intel_drv.so

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 778261] Re: Periodic Xorg crashes in intel_drv.so

2011-05-14 Thread Ondrej Certik
** Summary changed:

- Periodic Xorg crashes on Acer 1830T
+ Periodic Xorg crashes in intel_drv.so

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/778261

Title:
  Periodic Xorg crashes in intel_drv.so

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 778261] Re: Periodic Xorg crashes on Acer 1830T

2011-05-14 Thread Ondrej Certik
** Summary changed:

- Xorg crash
+ Periodic Xorg crashes on Acer 1830T

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/778261

Title:
  Periodic Xorg crashes on Acer 1830T

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 778261] Re: Xorg crash

2011-05-14 Thread Ondrej Certik
And it crashed again today. I will keep reporting every single crash.
There should be a pattern emerging, that hopefully will allow me to
debug what is going on.

Last crash was when I was accessing a web site in Chrome, just in the
moment when the website was to be rendered.

This crash happened again, when the site
https://github.com/ipython/ipython was about to be rendered in Chrome.

** Attachment added: "Xorg.0.log.old"
   
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/778261/+attachment/2128718/+files/Xorg.0.log.old

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/778261

Title:
  Periodic Xorg crashes on Acer 1830T

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 778261] Re: Xorg crash

2011-05-14 Thread Ondrej Certik
Another crash today, attaching relevant log.

** Attachment added: "Xorg.0.log.old"
   
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/778261/+attachment/2127907/+files/Xorg.0.log.old

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/778261

Title:
  Xorg crash

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 778261] Re: Xorg crash

2011-05-06 Thread Ondrej Certik
So do you think it's a bug in the kernel (drivers)? E.g. some kernel
version will work better than others?

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/778261

Title:
  Xorg crash

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 778261] Re: Xorg crash

2011-05-05 Thread Ondrej Certik
Info about the crash is in XorgLogOld.txt:


Backtrace:
[   247.478] 0: /usr/bin/X (xorg_backtrace+0x26) [0x4a2626]
[   247.478] 1: /usr/bin/X (0x40+0x6219a) [0x46219a]
[   247.478] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f6f28437000+0xfc60) 
[0x7f6f28446c60]
[   247.478] 3: /usr/lib/xorg/modules/extensions/librecord.so 
(0x7f6f25dec000+0x2920) [0x7f6f25dee920]
[   247.478] 4: /usr/bin/X (_CallCallbacks+0x34) [0x432af4]
[   247.478] 5: /usr/bin/X (WriteToClient+0x21a) [0x461c9a]
[   247.478] 6: /usr/lib/xorg/modules/extensions/libdri2.so 
(ProcDRI2WaitMSCReply+0x52) [0x7f6f257d3d82]
[   247.478] 7: /usr/lib/xorg/modules/extensions/libdri2.so 
(DRI2WaitMSCComplete+0x59) [0x7f6f257d2479]
[   247.478] 8: /usr/lib/xorg/modules/drivers/intel_drv.so 
(0x7f6f2557f000+0x25030) [0x7f6f255a4030]
[   247.479] 9: /lib/x86_64-linux-gnu/libdrm.so.2 (drmHandleEvent+0x108) 
[0x7f6f259dd478]
[   247.479] 10: /usr/bin/X (WakeupHandler+0x4b) [0x4322fb]
[   247.479] 11: /usr/bin/X (WaitForSomething+0x1b6) [0x45c786]
[   247.479] 12: /usr/bin/X (0x40+0x2e032) [0x42e032]
[   247.479] 13: /usr/bin/X (0x40+0x21a7e) [0x421a7e]
[   247.479] 14: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xff) 
[0x7f6f27380eff]
[   247.479] 15: /usr/bin/X (0x40+0x21629) [0x421629]
[   247.479] Segmentation fault at address 0x7f6f221c2010
[   247.479] 
Caught signal 11 (Segmentation fault). Server aborting
[   247.479] 
Please consult the The X.Org Foundation support 
 at http://wiki.x.org
 for help. 
[   247.479] Please also check the log file at "/var/log/Xorg.0.log" for 
additional information.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/778261

Title:
  Xorg crash

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 778261] [NEW] Xorg crash

2011-05-05 Thread Ondrej Certik
Public bug reported:

Binary package hint: xorg

>From time to time (e.g. once in a week) the X server crashes without a
reason, I have not figured out any way to reproduce it. It just crashes,
once I was using a browser (Chrome), once I was editing a file in vim in
a terminal, etc. It has crashed probably at least 10x since I am using
Natty (the last couple months). I have Aspire 1830T-68U118 laptop.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xorg 1:7.6+4ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
CompizPlugins: 
[core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
CompositorRunning: compiz
DRM.card0.DP.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes: 
 edid-base64:
DRM.card0.HDMI.A.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes: 
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1366x768
 edid-base64: 
AP///wAGr1wgAAESAQOAGg54CpmFlVVWkigiUFQBAQEBAQEBAQEBAQEBAQEBlhlWKFAACDAYECQAAJAQAAAYDwAg/gBBVU8KICAgICAgICAg/gBCMTE2WFcwMiBWMCAKAPg=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes: 
 edid-base64:
Date: Thu May  5 20:28:58 2011
DistUpgraded: Log time: 2011-04-10 23:15:15.683162
DistroCodename: natty
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] 
(rev 02) (prog-if 00 [VGA controller])
   Subsystem: Acer Incorporated [ALI] Device [1025:040e]
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: Acer Aspire 1830T
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic 
root=UUID=c1cc0765-e24e-455d-9397-00714eded174 ro quiet splash vt.handoff=7
Renderer: Unknown
SourcePackage: xorg
Symptom: display
Title: Xorg crash
UpgradeStatus: Upgraded to natty on 2011-04-11 (24 days ago)
dmi.bios.date: 09/28/2010
dmi.bios.vendor: INSYDE
dmi.bios.version: V1.20
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: JV10_CS
dmi.board.vendor: Intel Corp.
dmi.board.version: Base Board Version
dmi.chassis.type: 1
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: 
dmi:bvnINSYDE:bvrV1.20:bd09/28/2010:svnAcer:pnAspire1830T:pvrV1.20:rvnIntelCorp.:rnJV10_CS:rvrBaseBoardVersion:cvnChassisManufacturer:ct1:cvrChassisVersion:
dmi.product.name: Aspire 1830T
dmi.product.version: V1.20
dmi.sys.vendor: Acer
version.compiz: compiz 1:0.9.4+bzr20110415-0ubuntu2
version.ia32-libs: ia32-libs 20090808ubuntu13
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:0.0.16+git20110107+b795ca6e-0ubuntu7

** Affects: xorg (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug compiz-0.9 crash natty running-unity ubuntu

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/778261

Title:
  Xorg crash

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 778261] Re: Xorg crash

2011-05-05 Thread Ondrej Certik
-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/778261

Title:
  Xorg crash

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp