Bug#629351: Segfault on startup (Loongson2F mipsel system)

2013-05-30 Thread Xiyue Deng
Package: gnome-settings-daemon
Version: 3.4.2+git20121218.7c1322-3
Followup-For: Bug #629351

Sorry for the long long delay. It took time to fix the X server issue on my
Yeeloong mipsel box.

It turned out this issue still persists, and the same solution, dropping
"-Wl,-z,defs" from LDFLAGS still fixes the problem. I'm attaching the patch
that modifies debian/rules that also exclude mipsel from add the flag, together
with ia64. 

Long story: after X server started to work, gdm3 would display the "Oh no!
Something has gone wrong" dialog, the same as #687569 [1]. However it was not
cause by graphic driver, and after inspecting :0-greeter.log, it turned out it
was actually gnome-settings-daemon that segfaulted.

As stated above, this bug renders GNOME unusable on mipsel on wheezy. As the
change is trivial, I would like to suggest incorporate the patch on stable
release as well, and include it in the next point release.

Thanks.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687569

-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: mipsel (mips64)

Kernel: Linux 3.2.0-4-loongson-2f
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-settings-daemon depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.12.1-3
ii  dpkg 1.16.10
ii  gsettings-desktop-schemas3.4.2-3
ii  libatk1.0-0  2.4.0-2
ii  libc62.13-38
ii  libcairo-gobject21.12.2-3
ii  libcairo21.12.2-3
ii  libcanberra-gtk3-0   0.28-6
ii  libcanberra0 0.28-6
ii  libcolord1   0.1.21-1
ii  libcomerr2   1.42.5-1.1
ii  libcups2 1.5.3-5
ii  libdbus-glib-1-2 0.100.2-1
ii  libfontconfig1   2.9.0-7.1
ii  libgcrypt11  1.5.0-5
ii  libgdk-pixbuf2.0-0   2.26.1-1
ii  libglib2.0-0 2.33.12+really2.32.4-5
ii  libgnome-desktop-3-2 3.4.2-1
ii  libgnomekbd7 3.4.0.2-1
ii  libgnutls26  2.12.20-7
ii  libgssapi-krb5-2 1.10.1+dfsg-5
ii  libgtk-3-0   3.4.2-6
ii  libgudev-1.0-0   175-7.2
ii  libk5crypto3 1.10.1+dfsg-5
ii  libkrb5-31.10.1+dfsg-5
ii  liblcms2-2   2.2+git20110628-2.2
ii  libnotify4   0.7.5-1
ii  libnspr4 2:4.9.2-1
ii  libnspr4-0d  2:4.9.2-1
ii  libnss3  2:3.14.3-1
ii  libnss3-1d   2:3.14.3-1
ii  libpackagekit-glib2-14   0.7.6-3
ii  libpango1.0-01.30.0-1
ii  libpolkit-gobject-1-00.105-3
ii  libpulse-mainloop-glib0  2.0-6.1
ii  libpulse02.0-6.1
ii  libsqlite3-0 3.7.13-1+deb7u1
ii  libupower-glib1  0.9.17-1
ii  libwacom20.6-1
ii  libx11-6 2:1.5.0-1+deb7u1
ii  libxfixes3   1:5.0-4+deb7u1
ii  libxi6   2:1.6.1-1+deb7u1
ii  libxklavier165.2.1-1
ii  libxtst6 2:1.2.1-1+deb7u1
ii  nautilus-data3.4.2-1+build1
ii  zlib1g   1:1.2.7.dfsg-13

Versions of packages gnome-settings-daemon recommends:
ii  pulseaudio  2.0-6.1

Versions of packages gnome-settings-daemon suggests:
ii  gnome-screensaver3.4.1-1
ii  metacity [x-window-manager]  1:2.34.3-4
ii  x11-xserver-utils7.7~3

-- no debconf information
diff -urN gnome-settings-daemon-3.4.2+git20121218.7c1322/debian/rules gnome-settings-daemon-3.4.2+git20121218.7c1322.new/debian/rules
--- gnome-settings-daemon-3.4.2+git20121218.7c1322/debian/rules	2012-05-24 22:45:53.0 -0700
+++ gnome-settings-daemon-3.4.2+git20121218.7c1322.new/debian/rules	2013-05-29 21:36:24.584047598 -0700
@@ -7,7 +7,7 @@
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
 
-ifneq ($(DEB_HOST_ARCH_CPU),ia64)
+ifneq ($(DEB_HOST_ARCH_CPU),$(filter $(DEB_HOST_ARCH_CPU),ia64 mipsel))
   LDFLAGS += -Wl,-z,defs
 endif
 

Bug#629351: Segfault on startup (Loongson2F mipsel system)

2012-01-02 Thread Deng Xiyue
Hi Joss,

On Mon, Jan 2, 2012 at 6:13 AM, Josselin Mouette  wrote:
> Le dimanche 01 janvier 2012 à 16:21 -0800, Deng Xiyue a écrit :
>> Similar problem was reported on ia64 and mipsel, which saw the problem
>> with -Wl,-z,-defs flag when building gnome-settings-daemon.
>
> If the problem is the same as the one on ia64, I can apply the same
> workaround.
>
> I suppose mips is affected too?
>

The situation is that I can't confirm whether g-s-d 3.0+ is still
affected before I fix the X server of my mipsel box. I'll add more
information once that is done.

> --
>  .''`.      Josselin Mouette
> : :' :
> `. `'
>  `-



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#629351: Segfault on startup (Loongson2F mipsel system)

2012-01-02 Thread Josselin Mouette
Le dimanche 01 janvier 2012 à 16:21 -0800, Deng Xiyue a écrit : 
> Similar problem was reported on ia64 and mipsel, which saw the problem
> with -Wl,-z,-defs flag when building gnome-settings-daemon.

If the problem is the same as the one on ia64, I can apply the same
workaround.

I suppose mips is affected too?

-- 
 .''`.  Josselin Mouette
: :' :
`. `'
  `-


signature.asc
Description: This is a digitally signed message part


Bug#629351: Segfault on startup (Loongson2F mipsel system)

2012-01-01 Thread Deng Xiyue
Hi,

On Sun, Jan 1, 2012 at 11:19 AM, Julien Cristau  wrote:
> On Mon, Jun  6, 2011 at 04:18:08 +0800, manphiz-gu...@users.alioth.debian.org 
> wrote:
>
>> Package: gnome-settings-daemon
>> Version: 2.30.2-3
>> Severity: grave
>>
>> The daemon segmentation fault on loading the plugins of
>> /usr/lib/gnome-settings-daemon-2.0/*.so. The log of running
>> "gnome-settings-daemon --no-daemon --debug" is attached.
>>
>> Please note that it segfaults on any *.so loading, not just
>> libxrandr.so, which is verified by disabling each *.so file that causes
>> the segfault. Also, the system is a Loongson2F based laptop running on
>> mipsel.
>>
> This bug sounds like an issue in your toolchain, not in g-s-d...  I'm
> not sure it deserves grave severity.
>

Similar problem was reported on ia64 and mipsel, which saw the problem
with -Wl,-z,-defs flag when building gnome-settings-daemon. Bugs were
filed against binutils. Now that 3.0+ was released but my loongson2f
mipsel box has problem starting X recently. I'll add more info once
that problem is fixed.

> Cheers,
> Julien



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#629351: Segfault on startup (Loongson2F mipsel system)

2012-01-01 Thread Julien Cristau
On Mon, Jun  6, 2011 at 04:18:08 +0800, manphiz-gu...@users.alioth.debian.org 
wrote:

> Package: gnome-settings-daemon
> Version: 2.30.2-3
> Severity: grave
> 
> The daemon segmentation fault on loading the plugins of
> /usr/lib/gnome-settings-daemon-2.0/*.so. The log of running
> "gnome-settings-daemon --no-daemon --debug" is attached.
> 
> Please note that it segfaults on any *.so loading, not just
> libxrandr.so, which is verified by disabling each *.so file that causes
> the segfault. Also, the system is a Loongson2F based laptop running on
> mipsel.
> 
This bug sounds like an issue in your toolchain, not in g-s-d...  I'm
not sure it deserves grave severity.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#629351: Segfault on startup (Loongson2F mipsel system)

2011-06-06 Thread Deng Xiyue
On Mon, Jun 6, 2011 at 2:34 AM, Josselin Mouette  wrote:
> Le dimanche 05 juin 2011 à 22:02 -0700, Deng Xiyue a écrit :
>> Rebuilt gnome-settings-daemon as indicated at [1], and installed
>> libglib-2.0-dbg and libc6-dbg. Still the first frame is unknown, but
>> hope that the rest will be helpful.
>>
>> [1] http://wiki.debian.org/HowToGetABacktrace
>
> Thanks. It crashes in the plugin register_type macro, which explains why
> it is the case for all plugins.
>
> Does it happen with 3.0 from experimental too? The plugin registration
> code was greatly simplified.
>

It seems upgrading to 3.0 triggers a lot of removal of gnome package.
Is there any recommended steps to upgrade to 3.0 packages?

> Cheers,
> --
>  .''`.      Josselin Mouette
> : :' :
> `. `'
>  `-
>
>



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#629351: Segfault on startup (Loongson2F mipsel system)

2011-06-06 Thread Josselin Mouette
Le dimanche 05 juin 2011 à 22:02 -0700, Deng Xiyue a écrit : 
> Rebuilt gnome-settings-daemon as indicated at [1], and installed
> libglib-2.0-dbg and libc6-dbg. Still the first frame is unknown, but
> hope that the rest will be helpful.
> 
> [1] http://wiki.debian.org/HowToGetABacktrace

Thanks. It crashes in the plugin register_type macro, which explains why
it is the case for all plugins.

Does it happen with 3.0 from experimental too? The plugin registration
code was greatly simplified.

Cheers,
-- 
 .''`.  Josselin Mouette
: :' :
`. `'
  `-




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#629351: Segfault on startup (Loongson2F mipsel system)

2011-06-05 Thread Deng Xiyue
On Sun, Jun 5, 2011 at 2:31 PM, Josselin Mouette  wrote:
> Le lundi 06 juin 2011 à 04:18 +0800,
> manphiz-gu...@users.alioth.debian.org a écrit :
>> Package: gnome-settings-daemon
>> Version: 2.30.2-3
>> Severity: grave
>>
>> The daemon segmentation fault on loading the plugins of
>> /usr/lib/gnome-settings-daemon-2.0/*.so. The log of running
>> "gnome-settings-daemon --no-daemon --debug" is attached.
>>
>> Please note that it segfaults on any *.so loading, not just
>> libxrandr.so, which is verified by disabling each *.so file that causes
>> the segfault. Also, the system is a Loongson2F based laptop running on
>> mipsel.
>
> Please rebuild the package with debugging symbols and provide a full
> backtrace.
>

Rebuilt gnome-settings-daemon as indicated at [1], and installed
libglib-2.0-dbg and libc6-dbg. Still the first frame is unknown, but
hope that the rest will be helpful.

[1] http://wiki.debian.org/HowToGetABacktrace

> Thanks,
> --
>  .''`.      Josselin Mouette
> : :' :
> `. `'
>  `-
>


gnome-settings-daemon-segfault-with-debug-info.log
Description: Binary data


Bug#629351: Segfault on startup (Loongson2F mipsel system)

2011-06-05 Thread Josselin Mouette
Le lundi 06 juin 2011 à 04:18 +0800,
manphiz-gu...@users.alioth.debian.org a écrit : 
> Package: gnome-settings-daemon
> Version: 2.30.2-3
> Severity: grave
> 
> The daemon segmentation fault on loading the plugins of
> /usr/lib/gnome-settings-daemon-2.0/*.so. The log of running
> "gnome-settings-daemon --no-daemon --debug" is attached.
> 
> Please note that it segfaults on any *.so loading, not just
> libxrandr.so, which is verified by disabling each *.so file that causes
> the segfault. Also, the system is a Loongson2F based laptop running on
> mipsel.

Please rebuild the package with debugging symbols and provide a full
backtrace.

Thanks,
-- 
 .''`.  Josselin Mouette
: :' :
`. `'
  `-


signature.asc
Description: This is a digitally signed message part


Bug#629351: Segfault on startup (Loongson2F mipsel system)

2011-06-05 Thread manphiz-guest
Package: gnome-settings-daemon
Version: 2.30.2-3
Severity: grave

The daemon segmentation fault on loading the plugins of
/usr/lib/gnome-settings-daemon-2.0/*.so. The log of running
"gnome-settings-daemon --no-daemon --debug" is attached.

Please note that it segfaults on any *.so loading, not just
libxrandr.so, which is verified by disabling each *.so file that causes
the segfault. Also, the system is a Loongson2F based laptop running on
mipsel.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (600, 'testing'), (300, 'unstable'), (200, 'experimental')
Architecture: mipsel (mips64)

Kernel: Linux 2.6.38-loongson-2f (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-settings-daemon depends on:
ii  gconf22.32.3-2   GNOME configuration database syste
ii  libc6 2.13-4 Embedded GNU C Library: Shared lib
ii  libcairo2 1.10.2-6   The Cairo 2D vector graphics libra
ii  libdbus-1-3   1.5.0-2simple interprocess messaging syst
ii  libdbus-glib-1-2  0.92-1 simple interprocess messaging syst
ii  libfontconfig12.8.0-2.2  generic font configuration library
ii  libgconf2-4   2.32.3-2   GNOME configuration database syste
ii  libgdk-pixbuf2.0-02.23.3-3   GDK Pixbuf library
ii  libglib2.0-0  2.28.6-1   The GLib library of C routines
ii  libgnome-desktop-2-17 2.30.2-2   Utility library for loading .deskt
ii  libgnome2-common  2.32.1-1   The GNOME library - common files
ii  libgnomekbd4  2.30.2-2   GNOME library to manage keyboard c
ii  libgstreamer-plugins-base0.10 0.10.34-1  GStreamer libraries from the "base
ii  libgstreamer0.10-00.10.34-1  Core GStreamer libraries and eleme
ii  libgtk2.0-0   2.24.4-3   The GTK+ graphical user interface 
ii  libnotify1 [libnotify1-gtk2.1 0.5.0-2sends desktop notifications to a n
ii  libx11-6  2:1.4.3-1  X11 client-side library
ii  libxi62:1.4.2-1  X11 Input extension library
ii  libxklavier16 5.1-1  X Keyboard Extension high-level AP

gnome-settings-daemon recommends no packages.

Versions of packages gnome-settings-daemon suggests:
ii  gnome-screensaver 2.30.0-3   GNOME screen saver and locker
ii  metacity [x-window-manager]   1:2.34.0-1 lightweight GTK+ window manager
ii  x11-xserver-utils 7.6+2  X server utilities

-- no debconf information
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
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 "mipsel-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/bin/gnome-settings-daemon...(no debugging symbols 
found)...done.
(gdb) set args --no-daemon --debug
(gdb) run
Starting program: /usr/bin/gnome-settings-daemon --no-daemon --debug
[Thread debugging using libthread_db enabled]
** (gnome-settings-daemon:3190): DEBUG: Successfully connected to D-Bus
** (gnome-settings-daemon:3190): DEBUG: Starting settings manager
** (gnome-settings-daemon:3190): DEBUG: Loading settings plugins from dir: 
/usr/lib/gnome-settings-daemon-2.0/
** (gnome-settings-daemon:3190): DEBUG: Loading plugin: 
/usr/lib/gnome-settings-daemon-2.0/font.gnome-settings-plugin
** (gnome-settings-daemon:3190): DEBUG: GnomeSettingsPluginInfo: name='Font' 
file='/usr/lib/gnome-settings-daemon-2.0/font.gnome-settings-plugin' 
location='font'
** (gnome-settings-daemon:3190): DEBUG: Loading plugin: 
/usr/lib/gnome-settings-daemon-2.0/keyboard.gnome-settings-plugin
** (gnome-settings-daemon:3190): DEBUG: GnomeSettingsPluginInfo: 
name='Keyboard' 
file='/usr/lib/gnome-settings-daemon-2.0/keyboard.gnome-settings-plugin' 
location='keyboard'
** (gnome-settings-daemon:3190): DEBUG: Loading plugin: 
/usr/lib/gnome-settings-daemon-2.0/mouse.gnome-settings-plugin
** (gnome-settings-daemon:3190): DEBUG: GnomeSettingsPluginInfo: name='Mouse' 
file='/usr/lib/gnome-settings-daemon-2.0/mouse.gnome-settings-plugin' 
location='mouse'
** (gnome-settings-daemon:3190): DEBUG: Loading plugin: 
/usr/lib/gnome-settings-daemon-2.0/xrandr.gnome-settings-plugin
** (gnome-settings-daemon:3190): DEBUG: GnomeSettingsPluginInfo: name='XRandR' 
file='/usr/lib/gnome-settings-daemon-2.0/xrandr.gnome-settings-plugin' 
location='xrandr'
** (gnome-settings-daemon:3190): DEBUG: Loading plugin: 
/usr/lib/gnome-settings-daemon-2.0/sound.gnome-settings-plugin
** (gnome-settings-daemon:3190): DEBUG: GnomeSettingsPluginInfo: name='Sound' 
file='/usr/lib/gnome-sett