Bug 25054 - Unable to map new windows
Summary: Unable to map new windows
Status: RESOLVED DUPLICATE of bug 24964
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high critical
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-12 09:28 UTC by David Ronis
Modified: 2009-11-16 19:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (11.81 KB, text/plain)
2009-11-12 09:54 UTC, David Ronis
no flags Details

Description David Ronis 2009-11-12 09:28:15 UTC
I've been following xorg via the git master.  Something has broken in the last day or so:  I start X via startx,  several apps (including xterm) get started by xinit and then start gnome is started.  
In turn, gnome starts several other apps.   Once things steady down, I find that some things, while running according to ps, don't map their main UIs nor do they if I start them manually from the xterm window started by xinit (including new xterms).  Nothing is displayed on the parent console, nor in the output I capture from startx.

Some programs work fine, but others (firefox, skype) don't; they seem to run but the UI never maps.


I've attached the log file.
Comment 1 David Ronis 2009-11-12 09:54:55 UTC
Created attachment 31135 [details]
Xorg.0.log
Comment 2 David Ronis 2009-11-12 10:42:19 UTC
I started X from a remote host and caught the following.  Don't know if it's related, but I'm pretty sure that this didn't happen in the past (also strange that it doesn't get caught by the redirect).
X and gnome are still running.


startx >& startx.log
*** glibc detected *** /opt/gnome/bin/gnome-session: double free or corruption (fasttop): 0x080ac8b0 ***
======= Backtrace: =========
//lib/libc.so.6[0xb68b4564]
//lib/libc.so.6(cfree+0x90)[0xb68b8010]
/usr/lib/libSM.so.6(_SmsProcessMessage+0x17ea)[0xb77bf81a]
======= Memory map: ========
08048000-0807d000 r-xp 00000000 03:02 1689840    /opt/garnome-svn-2.28/bin/gnome-session
0807d000-0807e000 rw-p 00034000 03:02 1689840    /opt/garnome-svn-2.28/bin/gnome-session
0807e000-08124000 rw-p 00000000 00:00 0          [heap]
b5d00000-b5d21000 rw-p 00000000 00:00 0 
b5d21000-b5e00000 ---p 00000000 00:00 0 
b5e05000-b5f06000 rw-p 00000000 00:00 0 
b5f06000-b5f22000 r-xp 00000000 03:02 3152113    /usr/local/lib/libelf.so.0.8.10
b5f22000-b5f23000 rw-p 0001b000 03:02 3152113    /usr/local/lib/libelf.so.0.8.10
b5f51000-b5fa1000 r-xp 00000000 03:02 1109927    /opt/garnome-svn-2.28/lib/bug-buddy/libbreakpad.so.0.0.0
b5fa1000-b5fa2000 rw-p 0004f000 03:02 1109927    /opt/garnome-svn-2.28/lib/bug-buddy/libbreakpad.so.0.0.0
b5fa2000-b5fb0000 r-xp 00000000 03:02 1304115    /opt/garnome-svn-2.28/lib/gtk-2.0/modules/libgnomebreakpad.so
b5fb0000-b5fb1000 rw-p 0000d000 03:02 1304115    /opt/garnome-svn-2.28/lib/gtk-2.0/modules/libgnomebreakpad.so
b5fb1000-b5fdc000 r-xp 00000000 03:02 1304094    /opt/garnome-svn-2.28/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
b5fdc000-b5fdd000 rw-p 0002a000 03:02 1304094    /opt/garnome-svn-2.28/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
b5fdd000-b5fde000 ---p 00000000 00:00 0 
b5fde000-b67dd000 rw-p 00000000 00:00 0 
b67dd000-b67e6000 r-xp 00000000 03:02 2515030    /lib/libnss_files-2.7.so
b67e6000-b67e7000 r--p 00008000 03:02 2515030    /lib/libnss_files-2.7.so
b67e7000-b67e8000 rw-p 00009000 03:02 2515030    /lib/libnss_files-2.7.so
b67e8000-b67f0000 r-xp 00000000 03:02 2515032    /lib/libnss_nis-2.7.so
b67f0000-b67f1000 r--p 00007000 03:02 2515032    /lib/libnss_nis-2.7.so
b67f1000-b67f2000 rw-p 00008000 03:02 2515032    /lib/libnss_nis-2.7.so
b67f2000-b6828000 r--p 00000000 03:02 3581361    /usr/lib/locale/en_US/LC_CTYPE
b6828000-b682b000 rw-p 00000000 00:00 0 
b682b000-b6848000 r-xp 00000000 03:02 4392749    /usr/lib/libgcc_s.so.1
b6848000-b6849000 rw-p 0001c000 03:02 4392749    /usr/lib/libgcc_s.so.1
b6849000-b698e000 r-xp 00000000 03:02 2515021    /lib/libc-2.7.so
b698e000-b698f000 ---p 00145000 03:02 2515021    /lib/libc-2.7.so
b698f000-b6991000 r--p 00145000 03:02 2515021    /lib/libc-2.7.so
b6991000-b6992000 rw-p 00147000 03:02 2515021    /lib/libc-2.7.so
b6992000-b6996000 rw-p 00000000 00:00 0 

b6996000-b6998000 r-xp 00000000 03:02 2515024    /lib/libdl-2.7.so
b6998000-b6999000 r--p 00001000 03:02 2515024    /lib/libdl-2.7.so
b6999000-b699a000 rw-p 00002000 03:02 2515024    /lib/libdl-2.7.so
b699a000-b699f000 r-xp 00000000 03:02 4393008    /usr/lib/libXdmcp.so.6.0.0
b699f000-b69a0000 rw-p 00004000 03:02 4393008    /usr/lib/libXdmcp.so.6.0.0
b69a0000-b69a3000 r-xp 00000000 03:02 4392986    /usr/lib/libXau.so.6.0.0
b69a3000-b69a4000 rw-p 00002000 03:02 4392986    /usr/lib/libXau.so.6.0.0
b69a4000-b69bb000 r-xp 00000000 03:02 4392992    /usr/lib/libxcb.so.1.1.0
b69bb000-b69bc000 rw-p 00016000 03:02 4392992    /usr/lib/libxcb.so.1.1.0
b69bc000-b6b14000 r-xp 00000000 03:02 4393021    /usr/lib/libX11.so.6.3.0
b6b14000-b6b17000 rw-p 00158000 03:02 4393021    /usr/lib/libX11.so.6.3.0
b6b17000-b6b18000 rw-p 00000000 00:00 0 
b6b18000-b6b29000 r-xp 00000000 03:02 4393044    /usr/lib/libXext.so.6.4.0
b6b29000-b6b2a000 rw-p 00011000 03:02 4393044    /usr/lib/libXext.so.6.4.0
b6b2a000-b6b2b000 rw-p 00000000 00:00 0 
b6b2b000-b6b38000 r-xp 00000000 03:02 4393009    /usr/lib/libXi.so.6.1.0
b6b38000-b6b39000 rw-p 0000c000 03:02 4393009    /usr/lib/libXi.so.6.1.0
b6b39000-b6b3e000 r-xp 00000000 03:02 4392980    /usr/lib/libXtst.so.6.1.0
b6b3e000-b6b3f000 rw-p 00004000 03:02 4392980    /usr/lib/libXtst.so.6.1.0
b6b3f000-b6c1d000 r-xp 00000000 03:02 831249     /opt/garnome-svn-2.28/lib/libglib-2.0.so.0.2200.2
b6c1d000-b6c1e000 rw-p 000de000 03:02 831249     /opt/garnome-svn-2.28/lib/libglib-2.0.so.0.2200.2
b6c1e000-b6c60000 r-xp 00000000 03:02 831267     /opt/garnome-svn-2.28/lib/libgobject-2.0.so.0.2200.2
b6c60000-b6c61000 rw-p 00042000 03:02 831267     /opt/garnome-svn-2.28/lib/libgobject-2.0.so.0.2200.2
b6c61000-b6c68000 r-xp 00000000 03:02 2515037    /lib/librt-2.7.so
b6c68000-b6c69000 r--p 00006000 03:02 2515037    /lib/librt-2.7.so
b6c69000-b6c6a000 rw-p 00007000 03:02 2515037    /lib/librt-2.7.so
b6c6a000-b6c7d000 r-xp 00000000 03:02 2515035    /lib/libpthread-2.7.so
b6c7d000-b6c7e000 r--p 00012000 03:02 2515035    /lib/libpthread-2.7.so
b6c7e000-b6c7f000 rw-p 00013000 03:02 2515035    /lib/libpthread-2.7.so
b6c7f000-b6c82000 rw-p 00000000 00:00 0 
b6c82000-b6cdb000 r-xp 00000000 03:02 1831136    /opt/garnome-svn-2.28/lib/libdbus-1.so.3.5.0
b6cdb000-b6cdc000 r--p 00058000 03:02 1831136    /opt/garnome-svn-2.28/lib/libdbus-1.so.3.5.0
b6cdc000-b6cdd000 rw-p 00059000 03:02 1831136    /opt/garnome-svn-2.28/lib/libdbus-1.so.3.5.0
b6cdd000-b6cfe000 r-xp 00000000 03:02 1831140    /opt/garnome-svn-2.28/lib/libdbus-glib-1.so.2.1.0
b6cfe000-b6cff000 rw-p 00021000 03:02 1831140    /opt/garnome-svn-2.28/lib/libdbus-glib-1.so.2.1.0
b6cff000-b6d03000 r-xp 00000000 03:02 831259     /opt/garnome-svn-2.28/lib/libgthread-2.0.so.0.2200.2
b6d03000-b6d04000 rw-p 00003000 03:02 831259     /opt/garnome-svn-2.28/lib/libgthread-2.0.so.0.2200.2
b6d04000-b6d07000 r-xp 00000000 03:02 831248     /opt/garnome-svn-2.28/lib/libgmodule-2.0.so.0.2200.2
b6d07000-b6d08000 rw-p 00002000 03:02 831248     /opt/garnome-svn-2.28/lib/libgmodule-2.0.so.0.2200.2
b6d08000-b6d65000 r-xp 00000000 03:02 831193     /opt/garnome-svn-2.28/lib/libORBit-2.so.0.1.0
b6d65000-b6d70000 rw-p 0005d000 03:02 831193     /opt/garnome-svn-2.28/lib/libORBit-2.so.0.1.0
b6d70000-b6d72000 rw-p 00000000 00:00 0 
b6d72000-b6da6000 r-xp 00000000 03:02 1826869    /opt/garnome-svn-2.28/lib/libgconf-2.so.4.1.5
b6da6000-b6da9000 rw-p 00033000 03:02 1826869    /opt/garnome-svn-2.28/lib/libgconf-2.so.4.1.5
b6da9000-b6daf000 r-xp 00000000 03:02 3121238    /usr/lib/libusb-0.1.so.4.4.4
b6daf000-b6db1000 rw-p 00005000 03:02 3121238    /usr/lib/libusb-0.1.so.4.4.4
b6db1000-b6dbb000 r-xp 00000000 03:02 1925184    /opt/garnome-svn-2.28/lib/libdevkit-power-gobject.so.1.0.0
b6dbb000-b6dbc000 rw-p 0000a000 03:02 1925184    /opt/garnome-svn-2.28/lib/libdevkit-power-gobject.so.1.0.0
b6dbc000-b6de0000 r-xp 00000000 03:02 828363     /opt/garnome-svn-2.28/lib/libexpat.so.1.5.2
Comment 3 Julien Cristau 2009-11-13 00:34:48 UTC
> --- Comment #2 from David Ronis <David.Ronis@McGill.CA>  2009-11-12 10:42:19 PST ---
> *** glibc detected *** /opt/gnome/bin/gnome-session: double free or corruption
> (fasttop): 0x080ac8b0 ***
> ======= Backtrace: =========
> //lib/libc.so.6[0xb68b4564]
> //lib/libc.so.6(cfree+0x90)[0xb68b8010]
> /usr/lib/libSM.so.6(_SmsProcessMessage+0x17ea)[0xb77bf81a]
> ======= Memory map: ========

This one is probably #24964.
Comment 4 David Ronis 2009-11-13 11:25:47 UTC
Thanks for the quick reply.  I see why you think that this is realated to 24964; however, that seems to have been around for a month, and I've been updating more or less every day.  It should have shown up much earlier no?

Comment 5 David Ronis 2009-11-16 14:17:50 UTC
I've bebuilt xserver, xf86-video-ati, libSM and libICE with debugging symbols (as well as all of gnome):  The crash gives slightly more information:

*** glibc detected *** /opt/gnome/bin/gnome-session: double free or corruption (fasttop): 0x080b46b0 ***
======= Backtrace: =========
//lib/libc.so.6[0xb6916564]
//lib/libc.so.6(cfree+0x90)[0xb691a010]
/usr/lib/libSM.so.6(_SmsProcessMessage+0x1ebf)[0xb7825838]
/usr/lib/libICE.so.6(IceProcessMessages+0x507)[0xb780adcb]
/opt/gnome/bin/gnome-session[0x8058d61]
/opt/garnome-svn-2.29/lib/libglib-2.0.so.0[0xb6c0db8b]
/opt/garnome-svn-2.29/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f8)[0xb6bd7178]
/opt/garnome-svn-2.29/lib/libglib-2.0.so.0[0xb6bda930]
/opt/garnome-svn-2.29/lib/libglib-2.0.so.0(g_main_loop_run+0x1bf)[0xb6bdad9f]
/opt/garnome-svn-2.29/lib/libgtk-x11-2.0.so.0(gtk_main+0xb9)[0xb74e9b89]
/opt/gnome/bin/gnome-session(main+0x3db)[0x806361b]
//lib/libc.so.6(__libc_start_main+0xe0)[0xb68c1390]
/opt/gnome/bin/gnome-session[0x8053241]
==
Comment 6 David Ronis 2009-11-16 19:44:48 UTC
Alan Coopersmith reverted the libSM fix:  Revert "Fix memory leak for SM_DeleteProperties"  (commit 8aa8879e10b12e478ab14b90afd1001b4abd316) and the problem seems to have gone away.

Close this and thanks.

David
Comment 7 Alan Coopersmith 2009-11-16 19:57:47 UTC

*** This bug has been marked as a duplicate of bug 24964 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.