After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 655925 - gnome-settings-daemon crashed with SIGSEGV in gsd_power_manager_start()
gnome-settings-daemon crashed with SIGSEGV in gsd_power_manager_start()
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: power
3.1.x
Other Linux
: Normal critical
: ---
Assigned To: Richard Hughes
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2011-08-03 18:30 UTC by Rachid Achellal
Modified: 2011-08-10 03:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
stacktrace (531.58 KB, text/plain)
2011-08-03 20:03 UTC, Rachid Achellal
Details

Description Rachid Achellal 2011-08-03 18:30:45 UTC
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: gnome-settings-daemon 3.1.4-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-7.8-server 3.0.0
Uname: Linux 3.0.0-7-server x86_64
Architecture: amd64
Date: Wed Jul 27 19:07:07 2011
ExecutablePath: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.2)
ProcCmdline: /usr/lib/gnome-settings-daemon/gnome-settings-daemon
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7f2345758247 <gsd_power_manager_start+135>:	mov 0x8(%rax),%rcx
 PC (0x7f2345758247) ok
 source "0x8(%rax)" (0x00000008) not located in a known VMA region (needed readable region)!
 destination "%rcx" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gnome-settings-daemon
StacktraceTop:
 gsd_power_manager_start () from /usr/lib/gnome-settings-daemon-3.0/libpower.so
 ?? () from /usr/lib/gnome-settings-daemon-3.0/libpower.so
 gnome_settings_plugin_info_activate ()
 _start ()
Title: gnome-settings-daemon crashed with SIGSEGV in gsd_power_manager_start()
UpgradeStatus: Upgraded to oneiric on 2011-07-27 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

StacktraceTop:
 gsd_power_manager_start () from /usr/lib/gnome-settings-daemon-3.0/libpower.so
 ?? () from /usr/lib/gnome-settings-daemon-3.0/libpower.so
 gnome_settings_plugin_info_activate ()
 _start ()
Comment 1 Rachid Achellal 2011-08-03 20:03:29 UTC
Created attachment 193203 [details]
stacktrace
Comment 2 Fabio Durán Verdugo 2011-08-03 21:05:07 UTC
Paste here the trace

ThreadStacktrace:
 .
 Thread 5 (Thread 18024):
 #0  0x00007f2350114093 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
         resultvar = 18446744073709551100
         oldtype = 0
         result = <value optimized out>
 #1  0x00007f2350425ac8 in g_main_context_poll (context=0x20a4ce0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.29.14/./glib/gmain.c:3474
         poll_func = 0x7f2350434070 <g_poll>
 #2  g_main_context_iterate (context=0x20a4ce0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.29.14/./glib/gmain.c:3156
         max_priority = 2147483647
         timeout = -1
         some_ready = <value optimized out>
         nfds = 3
         allocated_nfds = <value optimized out>
         fds = 0x210fb50
 #3  0x00007f23504262f2 in g_main_loop_run (loop=0x20a4c90) at /build/buildd/glib2.0-2.29.14/./glib/gmain.c:3369
         __PRETTY_FUNCTION__ = "g_main_loop_run"
 #4  0x00007f2350df3516 in gdbus_shared_thread_func (user_data=<value optimized out>) at /build/buildd/glib2.0-2.29.14/./gio/gdbusprivate.c:276
         data = 0x20a4cb0
 #5  0x00007f235044b086 in g_thread_create_proxy (data=0x210eab0) at /build/buildd/glib2.0-2.29.14/./glib/gthread.c:1962
         thread = 0x210eab0
         __PRETTY_FUNCTION__ = "g_thread_create_proxy"
 #6  0x00007f2351284d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
 No symbol table info available.
 #7  0x00007f23501211dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 No locals.
 #8  0x0000000000000000 in ?? ()
 No symbol table info available.
 .
 Thread 4 (Thread 18022):
 #0  0x00007f2350114093 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
         resultvar = 18446744073709551100
         oldtype = 0
         result = <value optimized out>
 #1  0x00007f2350425ac8 in g_main_context_poll (context=0x20f48d0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.29.14/./glib/gmain.c:3474
         poll_func = 0x7f2350434070 <g_poll>
 #2  g_main_context_iterate (context=0x20f48d0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.29.14/./glib/gmain.c:3156
         max_priority = 2147483647
         timeout = -1
         some_ready = <value optimized out>
         nfds = 1
         allocated_nfds = <value optimized out>
         fds = 0x7f2340001160
 #3  0x00007f23504262f2 in g_main_loop_run (loop=0x7f2340001140) at /build/buildd/glib2.0-2.29.14/./glib/gmain.c:3369
         __PRETTY_FUNCTION__ = "g_main_loop_run"
 #4  0x00007f2346968a0b in ?? () from /usr/lib/gio/modules/libdconfsettings.so
 No symbol table info available.
 #5  0x00007f235044b086 in g_thread_create_proxy (data=0x20f4420) at /build/buildd/glib2.0-2.29.14/./glib/gthread.c:1962
         thread = 0x20f4420
         __PRETTY_FUNCTION__ = "g_thread_create_proxy"
 #6  0x00007f2351284d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
 No symbol table info available.
 #7  0x00007f23501211dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 No locals.
 #8  0x0000000000000000 in ?? ()
 No symbol table info available.
 .
 Thread 3 (Thread 18021):
 #0  0x00007f2351289f2b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
 No symbol table info available.
 #1  0x00007f23506d94d5 in g_cond_timed_wait_posix_impl (cond=<value optimized out>, entered_mutex=<value optimized out>, abs_time=<value optimized out>) at /build/buildd/glib2.0-2.29.14/./gthread/gthread-posix.c:242
         result = <value optimized out>
         end_time = {tv_sec = 1311786427, tv_nsec = 648577000}
         timed_out = <value optimized out>
         __PRETTY_FUNCTION__ = "g_cond_timed_wait_posix_impl"
 #2  0x00007f23503fa14f in g_async_queue_pop_intern_unlocked (queue=0x20eeec0, try=0, end_time=0x7f234736cc10) at /build/buildd/glib2.0-2.29.14/./glib/gasyncqueue.c:415
         retval = <value optimized out>
         __PRETTY_FUNCTION__ = "g_async_queue_pop_intern_unlocked"
 #3  0x00007f235044d5e1 in g_thread_pool_wait_for_new_task (data=<value optimized out>) at /build/buildd/glib2.0-2.29.14/./glib/gthreadpool.c:274
         end_time = {tv_sec = 1311786427, tv_usec = 648577}
         task = <value optimized out>
 #4  g_thread_pool_thread_proxy (data=<value optimized out>) at /build/buildd/glib2.0-2.29.14/./glib/gthreadpool.c:308
         task = 0x2123c90
         pool = 0x20eed50
 #5  0x00007f235044b086 in g_thread_create_proxy (data=0x20f2150) at /build/buildd/glib2.0-2.29.14/./glib/gthread.c:1962
         thread = 0x20f2150
         __PRETTY_FUNCTION__ = "g_thread_create_proxy"
 #6  0x00007f2351284d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
 No symbol table info available.
 #7  0x00007f23501211dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 No locals.
 #8  0x0000000000000000 in ?? ()
 No symbol table info available.
 .
 Thread 2 (Thread 18020):
 #0  0x00007f2351289f2b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
 No symbol table info available.
 #1  0x00007f23506d94d5 in g_cond_timed_wait_posix_impl (cond=<value optimized out>, entered_mutex=<value optimized out>, abs_time=<value optimized out>) at /build/buildd/glib2.0-2.29.14/./gthread/gthread-posix.c:242
         result = <value optimized out>
         end_time = {tv_sec = 1311786427, tv_nsec = 644019000}
         timed_out = <value optimized out>
         __PRETTY_FUNCTION__ = "g_cond_timed_wait_posix_impl"
 #2  0x00007f23503fa14f in g_async_queue_pop_intern_unlocked (queue=0x20eeec0, try=0, end_time=0x7f2347b6dc10) at /build/buildd/glib2.0-2.29.14/./glib/gasyncqueue.c:415
         retval = <value optimized out>
         __PRETTY_FUNCTION__ = "g_async_queue_pop_intern_unlocked"
 #3  0x00007f235044d5e1 in g_thread_pool_wait_for_new_task (data=<value optimized out>) at /build/buildd/glib2.0-2.29.14/./glib/gthreadpool.c:274
         end_time = {tv_sec = 1311786427, tv_usec = 644019}
         task = <value optimized out>
 #4  g_thread_pool_thread_proxy (data=<value optimized out>) at /build/buildd/glib2.0-2.29.14/./glib/gthreadpool.c:308
         task = 0x20faa80
         pool = 0x20eed50
 #5  0x00007f235044b086 in g_thread_create_proxy (data=0x20e8aa0) at /build/buildd/glib2.0-2.29.14/./glib/gthread.c:1962
         thread = 0x20e8aa0
         __PRETTY_FUNCTION__ = "g_thread_create_proxy"
 #6  0x00007f2351284d8c in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
 No symbol table info available.
 #7  0x00007f23501211dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
 No locals.
 #8  0x0000000000000000 in ?? ()
 No symbol table info available.
 .
 Thread 1 (Thread 18012):
 #0  0x00007f2345758247 in engine_coldplug (manager=0x20f80b0, error=0x7ffff93a95b8) at gsd-power-manager.c:1055
         i = <value optimized out>
         array = 0x0
         device = <value optimized out>
         ret = <value optimized out>
         error = 0x0
 #1  gsd_power_manager_start (manager=0x20f80b0, error=0x7ffff93a95b8) at gsd-power-manager.c:2131
 No locals.
 #2  0x00007f234575857c in impl_activate (plugin=0x211ce10) at gsd-power-plugin.c:78
         res = <value optimized out>
         error = 0x0
 #3  0x000000000040539d in _activate_plugin (info=0x21165a0) at gnome-settings-plugin-info.c:408
         res = 1
 #4  gnome_settings_plugin_info_activate (info=0x21165a0) at gnome-settings-plugin-info.c:431
         __PRETTY_FUNCTION__ = "gnome_settings_plugin_info_activate"
 #5  0x0000000000404325 in maybe_activate_plugin (info=0x21165a0, user_data=<value optimized out>) at gnome-settings-manager.c:94
         res = <value optimized out>
 #6  0x00007f23504426b7 in g_slist_foreach (list=<value optimized out>, func=0x404310 <maybe_activate_plugin>, user_data=0x0) at /build/buildd/glib2.0-2.29.14/./glib/gslist.c:885
         next = 0x209b510
 #7  0x000000000040462a in _load_all (manager=0x20e8190, error=<value optimized out>) at gnome-settings-manager.c:302
 No locals.
 #8  gnome_settings_manager_start (manager=0x20e8190, error=<value optimized out>) at gnome-settings-manager.c:435
         ret = 0
 #9  0x00000000004037e8 in main (argc=1, argv=0x7ffff93a9798) at main.c:443
         res = <value optimized out>
         error = 0x0
Comment 3 Akhil Laddha 2011-08-04 03:49:24 UTC
Crash is critical
Comment 4 Richard Hughes 2011-08-04 07:59:55 UTC
I don't see how gsd-power-manager.c:1055 could crash with ret=FALSE and error=NULL. Could you try with the non-ubuntu-patched sources upstream and see if you also get a crash please. Thanks.
Comment 5 Rachid Achellal 2011-08-10 02:10:22 UTC
Richard, The issue is solved after the upgrade to Ubuntu Oneiric Alpha 3.
This bugreport can be closed.
Comment 6 Fabio Durán Verdugo 2011-08-10 03:50:01 UTC
as per comment 5 I close the bug