Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Xpra 0.10.1 crash on startup on FreeBSD
[lorne@xenon ~/xpra-new/xpra-0.10.1]$ PYTHONPATH=$PWD/install/lib/python /usr/local/bin/gdb /usr/local/bin/python2.7
GNU gdb (GDB) 7.6 [GDB v7.6 for FreeBSD]
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "x86_64-portbld-freebsd9.1".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/python2.7...done.
(gdb) run ./install/bin/xpra --no-daemon start :102
Starting program: /usr/local/bin/python2.7 ./install/bin/xpra --no-daemon start :102
[New LWP 100118]
[New Thread 801407400 (LWP 100118)]
(EE) config/hal: NewInputDeviceRequest failed (2)
(EE) config/hal: NewInputDeviceRequest failed (2)
** (Xpra:95035): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** (Xpra:95035): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
** (Xpra:95035): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Xlib: extension "RANDR" missing on display ":102".
Xlib: extension "RANDR" missing on display ":102".
2013-08-22 16:25:00,688 server uuid is 28006e0fa9ef43bdbcf9d9479550a7e2
Xlib: extension "RANDR" missing on display ":102".
2013-08-22 16:25:00,738 error loading or registering our dbus notifications forwarder:
2013-08-22 16:25:00,739 No module named dbus.service
2013-08-22 16:25:00,739 if you do not have a dedicated dbus session for this xpra instance,
2013-08-22 16:25:00,739 you should use the '--no-notifications' flag
2013-08-22 16:25:00,740
2013-08-22 16:25:00,747 pulseaudio server started with pid 95046
pulseaudio: not found
2013-08-22 16:25:00,783 xpra server version 0.10.1
2013-08-22 16:25:00,784 running with pid 95035
GLib (gthread-posix.c): Unexpected error from C library during 'pthread_mutex_unlock': Operation not permitted. Aborting.
Program received signal SIGABRT, Aborted.
[Switching to Thread 801407400 (LWP 100118)]
0x000000080106924c in thr_kill () from /lib/libc.so.7
(gdb) bt
#0 0x000000080106924c in thr_kill () from /lib/libc.so.7
#1 0x000000080110b85b in abort () from /lib/libc.so.7
#2 0x0000000806e9e72e in g_thread_abort (status=1, function=0x806ef6562 "pthread_mutex_unlock") at gthread-posix.c:76
#3 0x0000000806e9e8d5 in g_mutex_unlock (mutex=0x80153d850) at gthread-posix.c:230
#4 0x000000080a2da1d2 in gdk_threads_impl_unlock () at gdk.c:437
#5 0x0000000809d0c513 in IA__gtk_main () at gtkmain.c:1256
#6 0x000000080986e0fd in _wrap_gtk_main (self=0x0) at ./gtk.override:1240
#7 0x00000000004b6ee4 in call_function (pp_stack=0x7fffffffc370, oparg=0) at ./../Python/ceval.c:4005
#8 0x00000000004b34b5 in PyEval_EvalFrameEx (f=0x80f9ab0a0, throwflag=0) at ./../Python/ceval.c:2666
#9 0x00000000004b7507 in fast_function (func=0x80f9cc488, pp_stack=0x7fffffffc6d0, n=1, na=1, nk=0) at ./../Python/ceval.c:4107
#10 0x00000000004b7308 in call_function (pp_stack=0x7fffffffc6d0, oparg=0) at ./../Python/ceval.c:4042
#11 0x00000000004b34b5 in PyEval_EvalFrameEx (f=0x80fa9ac20, throwflag=0) at ./../Python/ceval.c:2666
#12 0x00000000004b7507 in fast_function (func=0x80f9c65f0, pp_stack=0x7fffffffca30, n=1, na=1, nk=0) at ./../Python/ceval.c:4107
#13 0x00000000004b7308 in call_function (pp_stack=0x7fffffffca30, oparg=0) at ./../Python/ceval.c:4042
#14 0x00000000004b34b5 in PyEval_EvalFrameEx (f=0x80159a120, throwflag=0) at ./../Python/ceval.c:2666
#15 0x00000000004b53fc in PyEval_EvalCodeEx (co=0x804583d30, globals=0x801bcdde0, locals=0x0, args=0x8019896d8, argcount=5, kws=0x801989700, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at ./../Python/ceval.c:3253
#16 0x00000000004b75f3 in fast_function (func=0x80459bcf8, pp_stack=0x7fffffffcf30, n=5, na=5, nk=0) at ./../Python/ceval.c:4117
#17 0x00000000004b7308 in call_function (pp_stack=0x7fffffffcf30, oparg=5) at ./../Python/ceval.c:4042
#18 0x00000000004b34b5 in PyEval_EvalFrameEx (f=0x801989420, throwflag=0) at ./../Python/ceval.c:2666
#19 0x00000000004b53fc in PyEval_EvalCodeEx (co=0x801850f30, globals=0x80175a2a0, locals=0x0, args=0x8014dd6e8, argcount=2, kws=0x8014dd6f8, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at ./../Python/ceval.c:3253
#20 0x00000000004b75f3 in fast_function (func=0x8044777d0, pp_stack=0x7fffffffd430, n=2, na=2, nk=0) at ./../Python/ceval.c:4117
#21 0x00000000004b7308 in call_function (pp_stack=0x7fffffffd430, oparg=2) at ./../Python/ceval.c:4042
#22 0x00000000004b34b5 in PyEval_EvalFrameEx (f=0x8014dd560, throwflag=0) at ./../Python/ceval.c:2666
#23 0x00000000004b53fc in PyEval_EvalCodeEx (co=0x801437db0, globals=0x8015557a0, locals=0x8015557a0, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at ./../Python/ceval.c:3253
#24 0x00000000004acb87 in PyEval_EvalCode (co=0x801437db0, globals=0x8015557a0, locals=0x8015557a0) at ./../Python/ceval.c:667
#25 0x00000000004e1a6b in run_mod (mod=0x8018ccbc0, filename=0x7fffffffdd41 "./install/bin/xpra", globals=0x8015557a0, locals=0x8015557a0, flags=0x7fffffffd9d0,
arena=0x8014d4480) at ./../Python/pythonrun.c:1365
#26 0x00000000004e19e9 in PyRun_FileExFlags (fp=0x80135c620, filename=0x7fffffffdd41 "./install/bin/xpra", start=257, globals=0x8015557a0, locals=0x8015557a0,
closeit=1, flags=0x7fffffffd9d0) at ./../Python/pythonrun.c:1351
#27 0x00000000004e0820 in PyRun_SimpleFileExFlags (fp=0x80135c620, filename=0x7fffffffdd41 "./install/bin/xpra", closeit=1, flags=0x7fffffffd9d0)
at ./../Python/pythonrun.c:943
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) up
#1 0x000000080110b85b in abort () from /lib/libc.so.7
(gdb)
#2 0x0000000806e9e72e in g_thread_abort (status=1, function=0x806ef6562 "pthread_mutex_unlock") at gthread-posix.c:76
76 abort ();
(gdb) list
71 g_thread_abort (gint status,
72 const gchar *function)
73 {
74 fprintf (stderr, "GLib (gthread-posix.c): Unexpected error from C library during '%s': %s. Aborting.\n",
75 function, strerror (status));
76 abort ();
77 }
78
79 /* {{{1 GMutex */
80
(gdb) up
#3 0x0000000806e9e8d5 in g_mutex_unlock (mutex=0x80153d850) at gthread-posix.c:230
230 g_thread_abort (status, "pthread_mutex_unlock");
(gdb) list
225 g_mutex_unlock (GMutex *mutex)
226 {
227 gint status;
228
229 if G_UNLIKELY ((status = pthread_mutex_unlock (g_mutex_get_impl (mutex))) != 0)
230 g_thread_abort (status, "pthread_mutex_unlock");
231 }
232
233 /**
234 * g_mutex_trylock:
(gdb) up
#4 0x000000080a2da1d2 in gdk_threads_impl_unlock () at gdk.c:437
437 g_mutex_unlock (gdk_threads_mutex);
(gdb) list
432
433 static void
434 gdk_threads_impl_unlock (void)
435 {
436 if (gdk_threads_mutex)
437 g_mutex_unlock (gdk_threads_mutex);
438 }
439
440 /**
441 * gdk_threads_init:
(gdb) up
#5 0x0000000809d0c513 in IA__gtk_main () at gtkmain.c:1256
1256 GDK_THREADS_LEAVE ();
(gdb) list
1251 }
1252 g_list_free (functions);
1253
1254 if (g_main_loop_is_running (main_loops->data))
1255 {
1256 GDK_THREADS_LEAVE ();
1257 g_main_loop_run (loop);
1258 GDK_THREADS_ENTER ();
1259 gdk_flush ();
1260 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment