[Desktop-packages] [Bug 864010] Re: lightdm segfault in libglib after xorg segfault

2011-11-24 Thread Juha Tiensyrjä
I have been experiencing the same kind of crashes with my Kubuntu
Oneiric installs. I am using kdm instead of lightdm, but the crash seems
very much alike. I will attach a kdm.log. Please let me know if there is
anything I can do to help!

** Attachment added: "kdm.log"
   
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/864010/+attachment/2607296/+files/kdm.log

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/864010

Title:
  lightdm segfault in libglib after xorg segfault

Status in “lightdm” package in Ubuntu:
  Incomplete
Status in “xorg-server” package in Ubuntu:
  Incomplete

Bug description:

  After typing my password into the new greeter I was given a black screen with 
just the pointer
  at midcentre; which wouldn't move.

  dmesg shows:

  [  274.801957] show_signal_msg: 21 callbacks suppressed
  [  274.801966] lightdm[1025]: segfault at 022be720 ip 
7fee2a0822de sp 7fee27966af0 error 4 in 
libglib-2.0.so.0.3000.0[7fee29ffd000+f4000]
  [  274.803046] init: lightdm main process (956) killed by SEGV signal
  [  275.034456] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id

  There is no X server running, looking at /var/log/Xorg.0.log it ends
  with:

  [   288.858] (II) intel(0): EDID vendor "SEC", prod id 13875
  [   288.858] (II) intel(0): Printing DDC gathered Modelines:
  [   288.858] (II) intel(0): Modeline "1280x800"x0.0   68.94  1280 1296 1344 
1408  800 801 804 816 -hsync -vsync (49.0 kHz)

  so doesn't look like it seg'd.
  There is no /var/crash entry (even though apport is enabled)

  I did notice (after a successful restart of lightdm and login - so maybe this 
is the next instance):
  /var/log/lightdm/x-0.log had:

  *** glibc detected *** /usr/bin/X: double free or corruption (!prev): 
0x01c3e750 ***
  === Backtrace: =
  /lib/x86_64-linux-gnu/libc.so.6(+0x78a96)[0x7fda6de28a96]
  /lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7fda6de2cd7c]
  /usr/lib/xorg/modules/drivers/intel_drv.so(+0x24502)[0x7fda6bff9502]
  /usr/bin/X(FreeResource+0x124)[0x44e384]
  /usr/bin/X[0x42b6ae]
  /usr/bin/X[0x42fb89]
  /usr/bin/X[0x4232fe]
  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fda6ddd130d]
  /usr/bin/X[0x4235ed]
  === Memory map: 
  0040-005d4000 r-xp  08:01 2329796
/usr/bin/Xorg
  007d3000-007d6000 r--p 001d3000 08:01 2329796
/usr/bin/Xorg
  007d6000-007e6000 rw-p 001d6000 08:01 2329796
/usr/bin/Xorg
  007e6000-007f4000 rw-p  00:00 0 
  0176e000-01c5a000 rw-p  00:00 0  
[heap]
  7fda6000-7fda60021000 rw-p  00:00 0 
  7fda60021000-7fda6400 ---p  00:00 0 
  7fda6619e000-7fda6699e000 rw-s 104691000 00:05 5660  
/dev/dri/card0
  7fda6699e000-7fda6719e000 rw-s 103e91000 00:05 5660  
/dev/dri/card0
  7fda6719e000-7fda6799e000 rw-s 103691000 00:05 5660  
/dev/dri/card0
  7fda6799e000-7fda679aa000 r-xp  08:01 932940 
/lib/x86_64-linux-gnu/libnss_files-2.13.so
  7fda679aa000-7fda67ba9000 ---p c000 08:01 932940 
/lib/x86_64-linux-gnu/libnss_files-2.13.so
  7fda67ba9000-7fda67baa000 r--p b000 08:01 932940 
/lib/x86_64-linux-gnu/libnss_files-2.13.so
  7fda67baa000-7fda67bab000 rw-p c000 08:01 932940 
/lib/x86_64-linux-gnu/libnss_files-2.13.so
  7fda67bab000-7fda67bb5000 r-xp  08:01 932942 
/lib/x86_64-linux-gnu/libnss_nis-2.13.so
  7fda67bb5000-7fda67db5000 ---p a000 08:01 932942 
/lib/x86_64-linux-gnu/libnss_nis-2.13.so
  7fda67db5000-7fda67db6000 r--p a000 08:01 932942 
/lib/x86_64-linux-gnu/libnss_nis-2.13.so
  7fda67db6000-7fda67db7000 rw-p b000 08:01 932942 
/lib/x86_64-linux-gnu/libnss_nis-2.13.so
  7fda67db7000-7fda67dce000 r-xp  08:01 932937 
/lib/x86_64-linux-gnu/libnsl-2.13.so
  7fda67dce000-7fda67fcd000 ---p 00017000 08:01 932937 
/lib/x86_64-linux-gnu/libnsl-2.13.so
  7fda67fcd000-7fda67fce000 r--p 00016000 08:01 932937 
/lib/x86_64-linux-gnu/libnsl-2.13.so
  7fda67fce000-7fda67fcf000 rw-p 00017000 08:01 932937 
/lib/x86_64-linux-gnu/libnsl-2.13.so
  7fda67fcf000-7fda67fd1000 rw-p  00:00 0 

  7fda67fd1000-7fda67fd9000 r-xp  08:01 932938 
/lib/x86_64-linux-gnu/libnss_compat-2.13.so
  7fda67fd9000-7fda681d8000 ---p 8000 08:01 932938 
/lib/x86_64-linux-gnu/libnss_compat-2.13.so
  7fda681d8000-7fda681d9000 r--p 7000 08:01 932938 
/lib/x86_64-linux-gnu/libnss_compat-2.13.so
  7fda681d9000-7fda681da000 rw-p 8000 08:01 932938

[Desktop-packages] [Bug 864010] Re: lightdm segfault in libglib after xorg segfault

2011-11-25 Thread Juha Tiensyrjä
Some more information.

I can reproduce the crash always in the following way:

1) Boot the machine.
2) Log in to KDE. Everything works, including 3d effects.
3) Log out of KDE. KDM starts.
4) Log back in -> X crashes, KDM restarts immediately.
5) Log in again -> KDE disables 3d effects and allows logging in.

Sometimes if I try to enable effects after 5), I can crash X again. But
that does not happen every time.

It also might be relevant that I can reproduce the crash on both my
desktop machine and my laptop, both of which are running Oneiric and
both of which have Intel integrated graphics. I have not seen similar
behavior with my work desktop, which has discrete nVidia graphics.

uname -a: Linux desktop 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:27:26 UTC 
2011 x86_64 x86_64 x86_64 GNU/Linux
lspci graphics information: 00:02.0 VGA compatible controller: Intel 
Corporation Core Processor Integrated Graphics Controller (rev 12)
Intel X driver version: 2:2.15.901-1ubuntu2.1

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/864010

Title:
  lightdm segfault in libglib after xorg segfault

Status in “lightdm” package in Ubuntu:
  Incomplete
Status in “xorg-server” package in Ubuntu:
  Incomplete

Bug description:

  After typing my password into the new greeter I was given a black screen with 
just the pointer
  at midcentre; which wouldn't move.

  dmesg shows:

  [  274.801957] show_signal_msg: 21 callbacks suppressed
  [  274.801966] lightdm[1025]: segfault at 022be720 ip 
7fee2a0822de sp 7fee27966af0 error 4 in 
libglib-2.0.so.0.3000.0[7fee29ffd000+f4000]
  [  274.803046] init: lightdm main process (956) killed by SEGV signal
  [  275.034456] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id

  There is no X server running, looking at /var/log/Xorg.0.log it ends
  with:

  [   288.858] (II) intel(0): EDID vendor "SEC", prod id 13875
  [   288.858] (II) intel(0): Printing DDC gathered Modelines:
  [   288.858] (II) intel(0): Modeline "1280x800"x0.0   68.94  1280 1296 1344 
1408  800 801 804 816 -hsync -vsync (49.0 kHz)

  so doesn't look like it seg'd.
  There is no /var/crash entry (even though apport is enabled)

  I did notice (after a successful restart of lightdm and login - so maybe this 
is the next instance):
  /var/log/lightdm/x-0.log had:

  *** glibc detected *** /usr/bin/X: double free or corruption (!prev): 
0x01c3e750 ***
  === Backtrace: =
  /lib/x86_64-linux-gnu/libc.so.6(+0x78a96)[0x7fda6de28a96]
  /lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7fda6de2cd7c]
  /usr/lib/xorg/modules/drivers/intel_drv.so(+0x24502)[0x7fda6bff9502]
  /usr/bin/X(FreeResource+0x124)[0x44e384]
  /usr/bin/X[0x42b6ae]
  /usr/bin/X[0x42fb89]
  /usr/bin/X[0x4232fe]
  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fda6ddd130d]
  /usr/bin/X[0x4235ed]
  === Memory map: 
  0040-005d4000 r-xp  08:01 2329796
/usr/bin/Xorg
  007d3000-007d6000 r--p 001d3000 08:01 2329796
/usr/bin/Xorg
  007d6000-007e6000 rw-p 001d6000 08:01 2329796
/usr/bin/Xorg
  007e6000-007f4000 rw-p  00:00 0 
  0176e000-01c5a000 rw-p  00:00 0  
[heap]
  7fda6000-7fda60021000 rw-p  00:00 0 
  7fda60021000-7fda6400 ---p  00:00 0 
  7fda6619e000-7fda6699e000 rw-s 104691000 00:05 5660  
/dev/dri/card0
  7fda6699e000-7fda6719e000 rw-s 103e91000 00:05 5660  
/dev/dri/card0
  7fda6719e000-7fda6799e000 rw-s 103691000 00:05 5660  
/dev/dri/card0
  7fda6799e000-7fda679aa000 r-xp  08:01 932940 
/lib/x86_64-linux-gnu/libnss_files-2.13.so
  7fda679aa000-7fda67ba9000 ---p c000 08:01 932940 
/lib/x86_64-linux-gnu/libnss_files-2.13.so
  7fda67ba9000-7fda67baa000 r--p b000 08:01 932940 
/lib/x86_64-linux-gnu/libnss_files-2.13.so
  7fda67baa000-7fda67bab000 rw-p c000 08:01 932940 
/lib/x86_64-linux-gnu/libnss_files-2.13.so
  7fda67bab000-7fda67bb5000 r-xp  08:01 932942 
/lib/x86_64-linux-gnu/libnss_nis-2.13.so
  7fda67bb5000-7fda67db5000 ---p a000 08:01 932942 
/lib/x86_64-linux-gnu/libnss_nis-2.13.so
  7fda67db5000-7fda67db6000 r--p a000 08:01 932942 
/lib/x86_64-linux-gnu/libnss_nis-2.13.so
  7fda67db6000-7fda67db7000 rw-p b000 08:01 932942 
/lib/x86_64-linux-gnu/libnss_nis-2.13.so
  7fda67db7000-7fda67dce000 r-xp  08:01 932937 
/lib/x86_64-linux-gnu/libnsl-2.13.so
  7fda67dce000-7fda67fcd000 ---p 00017000 08:01 932937 
/lib/x86_64-linux-gnu/libnsl-2.13.so
  7fda67fcd000-7fda67fce000 r--p 00016000 08:01 932937