** ERROR **: Process.vala:232: Should never reach here
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AllTray |
Fix Released
|
Low
|
Unassigned |
Bug Description
I'm using alltray 0.7.3 to try and launch an old X application I wrote (it uses Xt). When I start it (alltray MyApp) one of two things happen: 1. It runs, but doesn't show up in the notification area; 2. It cores with the error in the summary on the console. gdb gives the following backtrace:
Core was generated by `alltray XVoiceFax'.
Program terminated with signal 5, Trace/breakpoint trap.
[New process 4930]
#0 IA__g_logv (log_domain=0x0, log_level=
format=
args1=
512 g_private_set (g_log_depth, GUINT_TO_POINTER (depth));
(gdb) thread apply all bt full
Thread 1 (process 4930):
#0 IA__g_logv (log_domain=0x0, log_level=
format=
args1=
depth = 0
domain = <value optimized out>
data = (gpointer) 0x0
log_func = (GLogFunc) 0xb7cab5f0 <IA__g_
domain_fatal_mask = 5
test_level = G_LOG_FLAG_FATAL
was_recursion = 0
i = <value optimized out>
#1 0xb7cabff6 in IA__g_log (log_domain=0x0, log_level=
format=
at gmessages.c:526
No locals.
#2 0x08052254 in _all_tray_
self=0x8062af0) at Process.c:476
No locals.
#3 0xb7ca29ac in g_timeout_dispatch (source=0x808c950, callback=0,
user_
No locals.
---Type <return> to continue, or q <return> to quit---
#4 0xb7ca2288 in IA__g_main_
at gmain.c:1814
No locals.
#5 0xb7ca5898 in g_main_
block=<value optimized out>, dispatch=1, self=0x808a7c0) at gmain.c:2445
max_priority = 2147483647
timeout = 2165
some_ready = 1
nfds = <value optimized out>
allocated_nfds = <value optimized out>
fds = <value optimized out>
__PRETTY_
#6 0xb7ca5d1f in IA__g_main_loop_run (loop=0x808afc0) at gmain.c:2653
self = (GThread *) 0x808a7c0
__PRETTY_
#7 0xb78e3439 in IA__gtk_main () at gtkmain.c:1205
tmp_list = (GList *) 0xbf902bbc
functions = (GList *) 0x0
init = (GtkInitFunction *) 0x0
loop = (GMainLoop *) 0x808afc0
#8 0x0804d72b in all_tray_
_inner_error_ = (GError *) 0x0
_tmp2_ = (WnckScreen *) 0xbf902bbc
---Type <return> to continue, or q <return> to quit---
_tmp1_ = <value optimized out>
__PRETTY_
#9 0x0804e09b in all_tray_
at AllTray.c:775
atray = <value optimized out>
_tmp1_ = (AllTrayProgram *) 0x8066618
_tmp2_ = <value optimized out>
#10 0x0804e0e0 in main (argc=2, argv=0xbf902c94) at AllTray.c:781
I'm on a 686 slackware 12.2 box running a current version of gnome (2.27.3) and use gcc 4.4.0 to compile.
Related branches
Changed in alltray: | |
status: | Fix Committed → Fix Released |
It looks to me like the XVoiceFax application needs to be updated. The error message from Process.vala that is being shown happens after AllTray attempts to find an application the normal way, that fails, and then it tries really hard to find a window that matches the spawned process.
This requires that the target application (either directly, or through use of its toolkit) comply with current standards (namely, the ICCCM and the EWMH). Partial compliance may also work; try just setting _NET_WM_PID on the windows that the application generates to see if that fixes it (at least with AllTray).
I'll fix AllTray to better report this error condition. Thanks for the report!