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

2012-06-24 Thread Maarten Lankhorst
Hey,

Op 24-06-12 07:03, Piyush Roy schreef:
 Hi Marteen,

 Even in virtual console it freezes.

 Steps I performed.

 1) Login to my desktop session
 2) Run command pgrep Xorg to get the pid. Lets say 1122
 3) Then I pressed control-alt-f2 to go to virtual console.
 4) Run command pgrep Xorg to get the pid and it was same i.e 1122
 5) Run command sudo gdb /usr/bin/Xorg 21 | tee gdb-Xorg.txt
 6) Inside gdb console I ran attach 1122

 On step it showed it showed some output

 GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
 Copyright (C) 2012 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type show copying
 and show warranty for details.
 This GDB was configured as x86_64-linux-gnu.
 For bug reporting instructions, please see:
 http://bugs.launchpad.net/gdb-linaro/...
 Reading symbols from /usr/bin/Xorg...Reading symbols from 
 /usr/lib/debug/usr/bin/Xorg...done.
 done.
 (gdb) attach 1157
 Attaching to program: /usr/bin/Xorg, process 1157
 Reading symbols from /lib/x86_64-linux-gnu/libudev.so.0...(no debugging 
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libudev.so.0
 Reading symbols from /lib/x86_64-linux-gnu/libgcrypt.so.11...(no debugging 
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libgcrypt.so.11
 Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...(no debugging symbols 
 found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2
 Reading symbols from /usr/lib/x86_64-linux-gnu/libpciaccess.so.0...(no 
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libpciaccess.so.0
 Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...(no debugging 
 symbols found)...done.
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1.
 Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libpixman-1.so.0...(no 
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libpixman-1.so.0
 Reading symbols from /usr/lib/libXfont.so.1...(no debugging symbols 
 found)...done.
 Loaded symbols for /usr/lib/libXfont.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXau.so.6...(no debugging 
 symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXau.so.6
 Reading symbols from /usr/lib/x86_64-linux-gnu/libXdmcp.so.6...(no debugging 
 symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
 Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...(no debugging symbols 
 found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
 Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...(no debugging symbols 
 found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/librt.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...(no debugging symbols 
 found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
 Reading symbols from /lib/x86_64-linux-gnu/libgpg-error.so.0...(no debugging 
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libgpg-error.so.0
 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols 
 found)...done.
 Loaded symbols for /lib64/ld-linux-x86-64.so.2
 Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols 
 found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1
 Reading symbols from /usr/lib/x86_64-linux-gnu/libfreetype.so.6...(no 
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libfreetype.so.6
 Reading symbols from /lib/x86_64-linux-gnu/libbz2.so.1.0...(no debugging 
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libbz2.so.1.0
 Reading symbols from /usr/lib/libfontenc.so.1...(no debugging symbols 
 found)...done.
 Loaded symbols for /usr/lib/libfontenc.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...(no debugging 
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libgcc_s.so.1
 Reading symbols from /usr/lib/xorg/modules/extensions/libextmod.so...Reading 
 symbols from 
 /usr/lib/debug/usr/lib/xorg/modules/extensions/libextmod.so...done.
 done.
 Loaded symbols for /usr/lib/xorg/modules/extensions/libextmod.so
 Reading symbols from /usr/lib/xorg/modules/extensions/libdbe.so...Reading 
 symbols from /usr/lib/debug/usr/lib/xorg/modules/extensions/libdbe.so...done.
 done.
 Loaded symbols for /usr/lib/xorg/modules/extensions/libdbe.so
 Reading symbols from /usr/lib/xorg/modules/extensions/libglx.so...Reading 
 symbols from /usr/lib/debug/usr/lib/xorg/modules/extensions/libglx.so...done.
 done.
 Loaded symbols for /usr/lib/xorg/modules/extensions/libglx.so
 Reading symbols from /usr/lib/xorg/modules/extensions/librecord.so...Reading 
 symbols from 
 

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

2012-06-23 Thread Maarten Lankhorst
Hey,

Op 23-06-12 02:59, Piyush Roy schreef:
 Yes, I am doing it locally. Not ssh. I have no way to ssh. Is it not
 good to do it locally ? If so then I am afraid I cant give output
 regarding this bug.

If you are doing it from inside the X server itself, the first thing
attaching a debugger does is stopping the program to be debugged.

Since that's X, it wouldn't surprise me if that's why it locks, since it would
need X to draw updates before you can see the output.

You could switch to a virtual console from x with control-alt-f2 and run
it there then switch back to the x server with alt-f1 or alt-f7 usually.

~Maarten

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

Title:
  Xorg crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/994688/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-06-22 Thread Maarten Lankhorst
Hey,

Op 22-06-12 16:01, Piyush Roy schreef:
 I already said in my previous comment that when I run gdb to debug xorg,
 the system freezes indefinitely. I have run this command

 sudo gdb /usr/bin/Xorg 21 | tee gdb-Xorg.txt

 ** Attachment added: gdb-Xorg.txt

 https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/994688/+attachment/3200327/+files/gdb-Xorg.txt

Try typing 'cont' and then hit enter, else debugger will attach but wait for 
input.

~Maarten

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

Title:
  Xorg crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/994688/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2012-06-22 Thread Maarten Lankhorst
Hey,

Op 22-06-12 19:16, Piyush Roy schreef:
 I think even gdb hangs.

 At least from this bug I conclude that Bug #342588.

 =

 Hi Maarten,
 I tried to follow ur steps but it does not accepts any input at all. Here, 
 are the steps which I perform

 1) Run this command sudo gdb /usr/bin/Xorg 21 | tee gdb-Xorg.txt
 2) In gdb prompt, I attach pid of Xorg found using pgrep Xorg lets say 1122. 
 And I attach the process 
 (gdb) attach 1122.

 Then the system hangs and nothing works. Then I have to cut the power
 and then I start the system again.

 Please Help !!!

By any chance are you doing it inside the X server you're trying to debug or 
are you using ssh?

~Maarten

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

Title:
  Xorg crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/994688/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs