Date: Fri, 25 Aug 2006 22:02:18 +0400 From: Roman Bogorodskiy <novel@freebsd.org> To: Joe Marcus Clarke <marcus@marcuscom.com> Cc: gnome@freebsd.org Subject: Re: problems with dbus 0.62 Message-ID: <20060825180218.GA21165@novel.fannet.ru> In-Reply-To: <1156485735.27932.33.camel@shumai.marcuscom.com> References: <20060820213735.GB1227@underworld.novel.ru> <1156485735.27932.33.camel@shumai.marcuscom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Joe Marcus Clarke wrote: > On Sun, 2006-08-20 at 21:37 +0000, Roman Bogorodskiy wrote: > > Hi, > >=20 > > I have a problem with porting bmpx 0.21.0. When I start it, a coredump > > occurs somewhere in dbus. Here's a backtrace: > >=20 > > Program received signal SIGSEGV, Segmentation fault. > > [Switching to Thread 0x805e50400 (LWP 100141)] > > 0x0000000802525009 in array_copy (type=3D34458988128, src=3D0x50) at db= us-gvalue-utils.c:689 > > 689 dbus-gvalue-utils.c: No such file or directory. > > in dbus-gvalue-utils.c > > Current language: auto; currently c > > (gdb) bt > > #0 0x0000000802525009 in array_copy (type=3D34458988128, src=3D0x50) a= t dbus-gvalue-utils.c:689 > > #1 0x0000000802521750 in proxy_collect_value (value=3D0x7fffffffd8a8, = n_collect_values=3D1, collect_values=3D0x7fffffffd830, > > collect_flags=3D0) at dbus-gtype-specialized.c:158 > > #2 0x0000000804ef40fa in g_signal_emit_valist () from /usr/local/lib/l= ibgobject-2.0.so.0 > > #3 0x0000000804ef48a3 in g_signal_emit () from /usr/local/lib/libgobje= ct-2.0.so.0 > > #4 0x000000000060373d in (anonymous namespace)::playlist_callback_trac= klist_items_added (playlist=3D0x806082d00, > > added_rows=3D0x80608c300, n_added_rows=3D0, control=3D0x806083940) = at system_control.cpp:1312 > > #5 0x00000000006c437e in bmpx_VOID__POINTER_INT (closure=3D0x805e97030= , return_value=3D0x0, n_param_values=3D3, > > param_values=3D0x7fffffffded0, invocation_hint=3D0x7fffffffdd50, ma= rshal_data=3D0x0) at bmp-marshalers.c:159 > > #6 0x0000000804edee19 in g_closure_invoke () from /usr/local/lib/libgo= bject-2.0.so.0 > > #7 0x0000000804ef3028 in g_signal_has_handler_pending () from /usr/loc= al/lib/libgobject-2.0.so.0 > > #8 0x0000000804ef44d3 in g_signal_emit_valist () from /usr/local/lib/l= ibgobject-2.0.so.0 > > #9 0x0000000804ef48a3 in g_signal_emit () from /usr/local/lib/libgobje= ct-2.0.so.0 > > #10 0x00000000005b70ee in bmp_playlist_insert_items (playlist=3D0x80608= 2d00, list=3D@0x7fffffffe1d0, index=3D40) > > at playlist.cpp:507 > > #11 0x0000000000603999 in bmp_system_control_add_uri_list (control=3D0x= 806083940, strv=3D0x80609dbb0, position=3D-1, clear=3D0, > > start_playback=3D0, index=3D0, position_out=3D0x7fffffffe31c, error= =3D0x0) at system_control.cpp:1387 > > #12 0x00000000005b5774 in (anonymous namespace)::load_playlist (playlis= t=3D0x806082d00) at playlist.cpp:113 > > #13 0x00000000005b792e in bmp_playlist_load_playlist (playlist=3D0x8060= 82d00) at playlist.cpp:635 > > #14 0x0000000000576038 in main (argc=3D1, argv=3D0x7fffffffe540) at mai= n.cpp:660 > > (gdb) > >=20 > > However, this behaviour cannot be reproduced on linux systems with the = same dbus version. > >=20 > > Some details: > >=20 > > I'm running -CURRENT (two weeks old or so), FreeBSD/amd64, /etc/malloc.= conf -> aj (I have > > exactly the same with /etc/malloc.conf -> AJ). As for bmpx, you could d= ownload it here: > > http://files.beep-media-player.org/releases/0.21/bmpx-0.21.0.tar.bz2. I= t builds fine on > > FreeBSD so it would not be much problem to compile it. >=20 > Seems to me like a bug in bmpx at line 1312. At both lines 1181 and > 12000, the BMP_SYSTEM_CONTROL_SIGNAL_TRACKLIST_ITEMS_ADDED signal is > defined to pass two arguments: an integer array, and an integer. > However, at line 1312, the signal is emitted with no arguments. >=20 > Try changing line 1312 to: >=20 > g_signal_emit (G_OBJECT (control), signals[BMP_SYSTEM_CONTROL_SIGNAL_TRAC= KLIST_ITEMS_ADDED], 0, added_rows, n_added_rows); >=20 > And see if that helps. Yeah, it works! Thanks a lot! --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iQCVAwUBRO87KoB0WzgdqspGAQK3+gQAuVpfI3qUKErKQF+zFJLlAf/kIOAPFo98 qq8FBIwDvPgzPNTwAwVciZVhyLTS1dOe+rfxBDV7V9c0BClnQ9psWtGIFDkyfTXE ldgM5i2tIzqmOGGKxrgtspyDaTPdBiQpyEiQTVyle3ejpITZZmDbxYz7M9FbRrzQ jCh3fRusiZ0= =NBAP -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060825180218.GA21165>