[Bug 1033190] Re: cairo-dock crashed with SIGSEGV in g_main_context_check()

Matthieu Baerts matttbe at gmail.com
Fri Aug 10 07:49:27 UTC 2012


I've just re-installed the previous version of DBus (1.4.18) and DBus-
GLib (0.98) and I still have this crash :-/

This is the backtrace of the crash with the latest version of DBus
(1.6.4) and DBus-GLib (0.100)

	#0  _dbus_watch_invalidate (watch=0x0) at ../../dbus/dbus-watch.c:171
	No locals.
	#1  0x00007ffff032c77d in free_watches (transport=transport at entry=0x9bb1a0)
	    at ../../dbus/dbus-transport-socket.c:83
		socket_transport = 0x9bb1a0
	#2  0x00007ffff032c7e9 in socket_disconnect (transport=0x9bb1a0)
	    at ../../dbus/dbus-transport-socket.c:987
		socket_transport = 0x9bb1a0
	#3  0x00007ffff032bba7 in _dbus_transport_disconnect (transport=0x9bb1a0)
	    at ../../dbus/dbus-transport.c:509
	No locals.
	#4  _dbus_transport_disconnect (transport=0x9bb1a0)
	    at ../../dbus/dbus-transport.c:500
	No locals.
	#5  0x00007ffff032c3d5 in _dbus_transport_queue_messages (
	    transport=transport at entry=0x9bb1a0) at ../../dbus/dbus-transport.c:1165
		status = <optimized out>
	#6  0x00007ffff032cdb4 in do_reading (transport=transport at entry=0x9bb1a0)
	    at ../../dbus/dbus-transport-socket.c:851
		buffer = 0x9bb338
		bytes_read = 68
		total = 68
		oom = <optimized out>
	#7  0x00007ffff032d416 in do_reading (transport=0x9bb1a0)
	    at ../../dbus/dbus-transport-socket.c:706
		socket_transport = 0x9bb1a0
	#8  socket_do_iteration (transport=0x9bb1a0, flags=6, 
	    timeout_milliseconds=<optimized out>)
	    at ../../dbus/dbus-transport-socket.c:1162
		need_read = 1
		need_write = 0
		authentication_completed = 0
		socket_transport = 0x9bb1a0
		poll_fd = {fd = 21, events = 1, revents = 1}
		poll_res = <optimized out>
		poll_timeout = <optimized out>
	#9  0x00007ffff032c14d in _dbus_transport_do_iteration (transport=0x9bb1a0, 
	    flags=0, flags at entry=6, timeout_milliseconds=8172008, 
	    timeout_milliseconds at entry=25000) at ../../dbus/dbus-transport.c:976
	No locals.
	#10 0x00007ffff0316e74 in _dbus_connection_do_iteration_unlocked (
	    connection=connection at entry=0x9bb7a0, 
	    pending=pending at entry=0x7fffb0004b10, flags=flags at entry=6, 
	    timeout_milliseconds=timeout_milliseconds at entry=25000)
	    at ../../dbus/dbus-connection.c:1234
	No locals.
	#11 0x00007ffff031821d in _dbus_connection_block_pending_call (
	    pending=pending at entry=0x7fffb0004b10) at ../../dbus/dbus-connection.c:2415
		start_tv_sec = <optimized out>
		start_tv_usec = <optimized out>
		tv_sec = <optimized out>
		tv_usec = <optimized out>
		status = <optimized out>
		connection = 0x9bb7a0
		client_serial = 25
		timeout = 0x7fffb0007520
		timeout_milliseconds = 25000
		elapsed_milliseconds = <optimized out>
	#12 0x00007ffff032619a in dbus_pending_call_block (
	    pending=pending at entry=0x7fffb0004b10) at ../../dbus/dbus-pending-call.c:748
		__FUNCTION__ = "dbus_pending_call_block"
	#13 0x00007ffff5fba853 in dbus_g_proxy_end_call_internal (
	    proxy=proxy at entry=0x19e3560, call_id=call_id at entry=2, 
	    error=error at entry=0x7fffcb8c2c10, first_arg_type=20, 
	    args=args at entry=0x7fffcb8c2ab8) at dbus-gproxy.c:2398
		reply = 0x0
		msgiter = {dummy1 = 0x2, dummy2 = 0x19e3560, dummy3 = 0, dummy4 = 0, 
		  dummy5 = 0, dummy6 = 1, dummy7 = 41106208, dummy8 = 0, dummy9 = 1, 
		  dummy10 = 0, dummy11 = 24, pad1 = 0, pad2 = -149420583, 
		  pad3 = 0x2733b20}
		derror = {name = 0x7fffb0004b10 "\002", message = 0x1425980 "", 
		  dummy1 = 0, dummy2 = 0, dummy3 = 0, dummy4 = 0, dummy5 = 0, 
		  padding1 = 0x19e3580}
		args_unwind = {{gp_offset = 40, fp_offset = 48, 
		    overflow_arg_area = 0x7fffcb8c2c00, 
		    reg_save_area = 0x7fffcb8c2b10}}
		over = 0
		n_retvals_processed = 0
		ret = 0
		valtype = <optimized out>
		pending = 0x7fffb0004b10
		priv = <optimized out>
	#14 0x00007ffff5fbd789 in dbus_g_proxy_call (proxy=proxy at entry=0x19e3560, 
	    method=method at entry=0x7fffd7bf3c77 "CanStop", 
	    error=error at entry=0x7fffcb8c2c10, first_arg_type=<optimized out>, 
	    first_arg_type at entry=0) at dbus-gproxy.c:2763
		ret = <optimized out>
		call_id = 2
		args = {{gp_offset = 40, fp_offset = 48, 
		    overflow_arg_area = 0x7fffcb8c2c00, 
		    reg_save_area = 0x7fffcb8c2b10}}
		in_args = <optimized out>
		priv = 0x19e3580
		__PRETTY_FUNCTION__ = "dbus_g_proxy_call"
	#15 0x00007fffd7bf1a1a in _cd_logout_check_capabilities_async (
	    pSharedMemory=0x26c2260)
	    at /opt/cairo-dock_bzr/cairo-dock-plug-ins/logout/src/applet-logout.c:98
		error = 0x0
		pUPowerClient = <optimized out>
		__PRETTY_FUNCTION__ = "_cd_logout_check_capabilities_async"
		pProxy = 0x19e3560
		seat = <optimized out>
	#16 0x00007ffff6556160 in _cairo_dock_threaded_calculation (pTask=0x2659e60)
	    at /opt/cairo-dock_bzr/cairo-dock-core/src/gldit/cairo-dock-task.c:102
		__PRETTY_FUNCTION__ = "_cairo_dock_threaded_calculation"
	#17 0x00007ffff7166e05 in g_thread_proxy (data=0x2611a30)
	    at /build/buildd/glib2.0-2.33.8/./glib/gthread.c:801
		thread = 0x2611a30
	#18 0x00007ffff79a5e9a in start_thread (arg=0x7fffcb8c3700)
	    at pthread_create.c:308
		__res = <optimized out>
		pd = 0x7fffcb8c3700
		now = <optimized out>
		unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1, -260797604349900424, 
		        140737488343456, 140736608352704, 16623760, 3, 
		        260895338965207416, 260815983608039800}, mask_was_saved = 0}}, 
		  priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, 
		      cleanup = 0x0, canceltype = 0}}}
		not_first_call = 0
		pagesize_m1 = <optimized out>
		sp = <optimized out>
		freesize = <optimized out>
		__PRETTY_FUNCTION__ = "start_thread"
	#19 0x00007ffff5cdf47d in clone ()
	    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
	No locals.
	#20 0x0000000000000000 in ?? ()
	No symbol table info available.

The attachment contains the full stacktrace (with all running threads)

** Attachment added: "gdb.txt"
   https://bugs.launchpad.net/ubuntu/+source/cairo-dock/+bug/1033190/+attachment/3255481/+files/gdb.txt

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

Title:
  cairo-dock crashed with SIGSEGV in g_main_context_check()

Status in “cairo-dock” package in Ubuntu:
  Invalid
Status in “dbus” package in Ubuntu:
  New
Status in “upower” package in Ubuntu:
  Invalid

Bug description:
  Failed when selecting logout

  ProblemType: Crash
  DistroRelease: Ubuntu 12.10
  Package: cairo-dock-core 3.0.2-0ubuntu2
  ProcVersionSignature: Ubuntu 3.5.0-7.7-generic 3.5.0
  Uname: Linux 3.5.0-7-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.4-0ubuntu6
  Architecture: amd64
  CrashCounter: 1
  Date: Sun Aug  5 08:17:13 2012
  ExecutablePath: /usr/bin/cairo-dock
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120511)
  ProcCmdline: cairo-dock
  ProcEnviron:
   LANGUAGE=en_CA:en
   PATH=(custom, no user)
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  SegvAnalysis:
   Segfault happened at: 0x7fb50bf76983 <g_main_context_check+83>:	cmpw   $0x0,0x4(%rdi)
   PC (0x7fb50bf76983) ok
   source "$0x0" ok
   destination "0x4(%rdi)" (0x7d0000000000004) not located in a known VMA region (needed writable region)!
   Stack memory exhausted (SP below stack segment)
  SegvReason: writing unknown VMA
  Signal: 11
  SourcePackage: cairo-dock
  StacktraceTop:
   g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
   ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
   g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
   ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
   ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  Title: cairo-dock crashed with SIGSEGV in g_main_context_check()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  XsessionErrors:
   gnome-session[1848]: WARNING: Error while executing session-migration: Failed to execute child process "session-migration" (No such file or directory)
   gnome-session[1848]: WARNING: Could not parse desktop file /home/bill/.config/autostart/xfce4-settings-helper-autostart.desktop: Key file does not have key 'Name'
   gnome-session[1848]: WARNING: could not read /home/bill/.config/autostart/xfce4-settings-helper-autostart.desktop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cairo-dock/+bug/1033190/+subscriptions




More information about the foundations-bugs mailing list