On Thu, 2007-10-04 at 07:17 +0100, Mark Ellis wrote:
> On Thu, 2007-10-04 at 05:20 +0000, Iain Buchanan wrote:
> > > Try the attached patch, hopefully it will prevent the segfault. If that
> > > works ok we can start to figure out why the connection is a bit flaky.
> >
> > heh... still crashes:
>
> > I've attached the backtrace.
> >
>
> That backtrace could be remarkably useful, try the new patch attached.
Don't have time to analyse this one (not so good at it anyway) as I'm
about to go...
here is the output, backtrace attached.
** (synce-trayicon:26141): DEBUG: odccm_device_connected_cb: Received
connect from
odccm: /org/synce/odccm/Device/_2C343682_C645_9887_675F_401F60866DD0_
** (synce-trayicon:26141): CRITICAL **: get_device_name_via_rapi:
CeRegOpenKeyEx failed getting device name
*** glibc detected *** synce-trayicon: free(): invalid pointer:
0x080e9b78 ***
may not be able to get on to it again till tomorrow - have to ride home
now :)
thanks & cya,
--
Iain Buchanan <iaindb at netspace dot net dot au>
Caution: breathing may be hazardous to your health.
Program received signal SIGABRT, Aborted.
[Switching to Thread -1227094336 (LWP 26141)]
0xffffe410 in ?? ()
(gdb) thread apply all bt
Thread 1 (Thread -1227094336 (LWP 26141)):
#0 0xffffe410 in ?? ()
#1 0xbf9b56b8 in ?? ()
#2 0x00000006 in ?? ()
#3 0x0000661d in ?? ()
#4 0xb6e0ac79 in *__GI_raise (sig=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#5 0xb6e0c231 in *__GI_abort () at abort.c:88
#6 0xb6e40167 in __libc_message (do_abort=2,
fmt=0xb6eef448 "*** glibc detected *** %s: %s: 0x%s ***\n")
at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
#7 0xb6e457db in malloc_printerr (action=2,
str=0xb6eec384 "free(): invalid pointer", ptr=<value optimized out>)
at malloc.c:5887
#8 0xb6e4738d in *__GI___libc_free (mem=0x80e9b78) at malloc.c:3622
#9 0xb79e70fd in rapi_buffer_free_data () from /usr/lib/librapi.so.2
#10 0xb79e71e4 in rapi_buffer_free () from /usr/lib/librapi.so.2
#11 0xb79e89c0 in rapi_context_free () from /usr/lib/librapi.so.2
#12 0xb79e7088 in CeRapiUninit () from /usr/lib/librapi.so.2
#13 0x080542a2 in wm_device_dispose (obj=0x80834a8) at device.c:745
#14 0xb6fcf708 in IA__g_object_unref (_object=0x80834a8) at gobject.c:1765
#15 0x08057848 in odccm_device_connected_cb (proxy=0x80d1018,
---Type <return> to continue, or q <return> to quit---
obj_path=0x80ad938
"/org/synce/odccm/Device/_2C343682_C645_9887_675F_401F60866DD0_",
user_data=0x8065b18) at odccm-client.c:455
#16 0xb6fd956c in IA__g_cclosure_marshal_VOID__STRING (closure=0x80d44b0,
return_value=0x0, n_param_values=2, param_values=0x80ad890,
invocation_hint=0xbf9b61cc, marshal_data=0x8057201) at gmarshal.c:496
#17 0xb767bbf6 in marshal_dbus_message_to_g_marshaller (closure=0x80d44b0,
return_value=0x0, n_param_values=3, param_values=0xbf9b62bc,
invocation_hint=0xbf9b61cc, marshal_data=0x0) at dbus-gproxy.c:1638
#18 0xb6fcd79a in IA__g_closure_invoke (closure=0x80d44b0, return_value=0x0,
n_param_values=3, param_values=0xbf9b62bc, invocation_hint=0xbf9b61cc)
at gclosure.c:490
#19 0xb6fdd20e in signal_emit_unlocked_R (node=0x80cdf08, detail=801,
instance=0x80d1018, emission_return=0x0, instance_and_params=0xbf9b62bc)
at gsignal.c:2440
#20 0xb6fde6e7 in IA__g_signal_emit_valist (instance=0x80d1018, signal_id=133,
detail=801,
var_args=0xbf9b6504 "[EMAIL
PROTECTED]@�\016\b\220>\r\b\030\020\r\bHe\233�9�\001�\210\203\b\b") at
gsignal.c:2199
#21 0xb6fde8a0 in IA__g_signal_emit (instance=0x80d1018, signal_id=133,
detail=801) at gsignal.c:2243
#22 0xb767cb9f in dbus_g_proxy_manager_filter (connection=0x80d1de8,
message=0x80d3d60, user_data=0x80d4288) at dbus-gproxy.c:1691
#23 0xb70083c1 in dbus_connection_dispatch () from /usr/lib/libdbus-1.so.3
---Type <return> to continue, or q <return> to quit---
#24 0xb767467e in message_queue_dispatch (source=0x80d3eb8, callback=0,
user_data=0x0) at dbus-gmain.c:101
#25 0xb6f3870a in IA__g_main_context_dispatch (context=0x8086798)
at gmain.c:2061
#26 0xb6f3b8cb in g_main_context_iterate (context=0x8086798, block=1,
dispatch=1, self=0x805f190) at gmain.c:2694
#27 0xb6f3bc6e in IA__g_main_loop_run (loop=0x80ada18) at gmain.c:2898
#28 0xb77c12a7 in IA__gtk_main () at gtkmain.c:1144
#29 0x0804f407 in main (argc=2, argv=0xbf9b6894) at main.c:141
(gdb)
(gdb) quit
The program is running. Quit anyway (and detach it)? (y or n) y
Detaching from program: /usr/bin/synce-trayicon, process 26141
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel