dbus-binding-tool in glib-server mode crash

ivan fernandez calvo ivan.fernandez at sacnet.es
Tue Apr 1 10:01:18 PDT 2008


the binding tool dbus-binding-tool crash with this file in glib-server
mode , in client mode and CreateInterface (from java-binding) no have
problems.

<node name="/com/sac/messageDBus">
	<node name="One">
		<interface name="com.sac.messageDBus.One">
			<method name="example" />
		</interface>
	</node>
	<node name="Two">
		<interface name="com.sac.messageDBus.Two">
			<method name="example" />
		</interface>
	</node>
</node>

commandline :

dbus-binding-tool --mode=glib-server --prefix=messageDBus
--output=messageDBus_servidor.h  example.xml

Error:

*** glibc detected *** dbus-binding-tool: free(): invalid pointer:
0x0805d1b0 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7d08915]
/lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7d0c380]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb7e61411]
/usr/lib/libglib-2.0.so.0(g_string_free+0x5c)[0xb7e7bdec]
dbus-binding-tool[0x804dcb5]
dbus-binding-tool[0x804e7cb]
dbus-binding-tool[0x804f045]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7cb3450]
dbus-binding-tool[0x804b4e1]
======= Memory map: ========
08048000-08058000 r-xp 00000000 03:01
1001357    /usr/bin/dbus-binding-tool
08058000-08059000 rw-p 00010000 03:01
1001357    /usr/bin/dbus-binding-tool
08059000-0807a000 rw-p 08059000 00:00 0          [heap]
b7900000-b7921000 rw-p b7900000 00:00 0
b7921000-b7a00000 ---p b7921000 00:00 0
b7a62000-b7a6e000 r-xp 00000000 03:01 1295150    /lib/libgcc_s.so.1
b7a6e000-b7a6f000 rw-p 0000b000 03:01 1295150    /lib/libgcc_s.so.1
b7a6f000-b7a78000 r-xp 00000000 03:01
247154     /lib/i686/cmov/libnss_files-2.7.so
b7a78000-b7a7a000 rw-p 00008000 03:01
247154     /lib/i686/cmov/libnss_files-2.7.so
b7a7a000-b7a82000 r-xp 00000000 03:01
247156     /lib/i686/cmov/libnss_nis-2.7.so
b7a82000-b7a84000 rw-p 00007000 03:01
247156     /lib/i686/cmov/libnss_nis-2.7.so
b7a84000-b7a8b000 r-xp 00000000 03:01
247152     /lib/i686/cmov/libnss_compat-2.7.so
b7a8b000-b7a8d000 rw-p 00006000 03:01
247152     /lib/i686/cmov/libnss_compat-2.7.so
b7a8d000-b7c3e000 r--p 00000000 03:01
2097483    /usr/lib/locale/locale-archive
b7c3e000-b7c40000 rw-p b7c3e000 00:00 0
b7c40000-b7c42000 r-xp 00000000 03:01
246988     /lib/i686/cmov/libdl-2.7.so
b7c42000-b7c44000 rw-p 00001000 03:01
246988     /lib/i686/cmov/libdl-2.7.so
b7c44000-b7c58000 r-xp 00000000 03:01
247159     /lib/i686/cmov/libpthread-2.7.so
b7c58000-b7c5a000 rw-p 00013000 03:01
247159     /lib/i686/cmov/libpthread-2.7.so
b7c5a000-b7c5c000 rw-p b7c5a000 00:00 0
b7c5c000-b7c82000 r-xp 00000000 03:01
575698     /usr/lib/libpcre.so.3.12.1
b7c82000-b7c83000 rw-p 00025000 03:01
575698     /usr/lib/libpcre.so.3.12.1
b7c83000-b7c9a000 r-xp 00000000 03:01 722507     /lib/libselinux.so.1
b7c9a000-b7c9c000 rw-p 00016000 03:01 722507     /lib/libselinux.so.1
b7c9c000-b7c9d000 rw-p b7c9c000 00:00 0
b7c9d000-b7de4000 r-xp 00000000 03:01
246622     /lib/i686/cmov/libc-2.7.so
b7de4000-b7de5000 r--p 00147000 03:01
246622     /lib/i686/cmov/libc-2.7.so
b7de5000-b7de7000 rw-p 00148000 03:01
246622     /lib/i686/cmov/libc-2.7.so
b7de7000-b7dea000 rw-p b7de7000 00:00 0
b7dea000-b7dfe000 r-xp 00000000 03:01
247057     /lib/i686/cmov/libnsl-2.7.so
b7dfe000-b7e00000 rw-p 00013000 03:01
247057     /lib/i686/cmov/libnsl-2.7.so
b7e00000-b7e02000 rw-p b7e00000 00:00 0
b7e02000-b7e20000 r-xp 00000000 03:01
575046     /usr/lib/libexpat.so.1.0.0
b7e20000-b7e22000 rw-p 0001d000 03:01
575046     /usr/lib/libexpat.so.1.0.0
b7e22000-b7ecf000 r-xp 00000000 03:01
770570     /usr/lib/libglib-2.0.so.0.1600.1
b7ecf000-b7ed0000 rw-p 000ad000 03:01
770570     /usr/lib/libglib-2.0.so.0.1600.1
b7ed0000-b7f0b000 r-xp 00000000 03:01
770597     /usr/lib/libgobject-2.0.so.0.1600.1
b7f0b000-b7f0c000 rw-p 0003b000 03:01
770597     /usr/lib/libgobject-2.0.so.0.1600.1
b7f0c000-b7f0d000 rw-p b7f0c000 00:00 0
b7f0d000-b7f42000 r-xp 00000000 03:01
770938     /usr/lib/libdbus-1.so.3.4.0
b7f42000-b7f44000 rw-p 00034000 03:01
770938     /usr/lib/libdbus-1.so.3.4.0
b7f44000-b7f5e000 r-xp 00000000 03:01
803319     /usr/lib/libdbus-glib-1.so.2.1.0
b7f5e000-b7f5f000 rw-p 0001a000 03:01
803319     /usr/lib/libdbus-glib-1.so.2.1.0
b7f7a000-b7f7c000 rw-p b7f7a000 00:00 0
b7f7c000-b7f98000 r-xp 00000000 03:01 1329393    /lib/ld-2.7.so
b7f98000-b7f9a000 rw-p 0001b000 03:01 1329393    /lib/ld-2.7.so
bfe43000-bfe59000 rw-p bffea000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]

-- 
SISTEMAS AVANZADOS DE CONTROL, S.A.
Iván Fernández Calvo
Departamento de Ingeniería
Edificio Prisma
C/ Colquide 6, planta baja
28230 Las Rozas, MADRID
Teléfono 91 636 35 40 Ext.: 208
Fax: 91 637 83 72
e-mail: ivan.fernandez at sacnet.es
web: www.sacnet.es 

--
La presente comunicación tiene carácter confidencial y es para el 
exclusivo uso del destinatario indicado en la misma. Si Ud. no es 
el destinatario indicado, le informamos que cualquier forma de 
distribución, reproducción o uso de esta comunicación y/o de la 
información contenida en la misma están estrictamente prohibidos 
por la ley. Si Ud. ha recibido esta comunicación por error, por 
favor, notifíquelo inmediatamente al remitente contestando a este 
mensaje y proceda a continuación a destruirlo. Gracias por su colaboración.

This communication contains confidential information. It is for the
exclusive use of the intended addressee. If you are not the intended
addressee, please note that any form of distribution, copying or use of
this communication or the information in it is strictly prohibited by
law. If you have received this communication in error, please
immediately notify the sender by reply e-mail and destroy this message.
Thank you for your cooperation. 



More information about the dbus mailing list