Date: Mon, 19 Mar 2007 07:26:38 +0100 From: "Pascal Hofstee" <caelian@gmail.com> To: gnome@freebsd.org Subject: libintl.so.8 causes SIGABORT in update-desktop-database Message-ID: <d8a0b7620703182326t39f03176o962a32ac9a6965ec@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
After the recent gettext update ... some ports now refuse to update because during the port upgrade phase update-desktop-database is dumping core. I checked that the binary in question is installed by the gnome-desktop-file-utils ports so i figured i should probably try to start looking there. The following is a core dump of update-desktop-database generated during the make reinstall phase: (this backtrace was built using libthr ... libpthread causes the same breakage) Script started on Mon Mar 19 07:13:59 2007 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you ar= e welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... warning: core file may not match specified executable file. Core was generated by `update-desktop-data'. Program terminated with signal 6, Aborted. Reading symbols from /usr/local/lib/libglib-2.0.so.0...done. Loaded symbols for /usr/local/lib/libglib-2.0.so.0 Reading symbols from /usr/local/lib/libicui18n.so.36...done. Loaded symbols for /usr/local/lib/libicui18n.so.36 Reading symbols from /usr/local/lib/libintl.so.8...done. Loaded symbols for /usr/local/lib/libintl.so.8 Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/libicuuc.so.36...done. Loaded symbols for /usr/local/lib/libicuuc.so.36 Reading symbols from /usr/local/lib/libicudata.so.36...done. Loaded symbols for /usr/local/lib/libicudata.so.36 Reading symbols from /usr/lib/libthr.so.2...done. Loaded symbols for /usr/lib/libthr.so.2 Reading symbols from /usr/lib/libstdc++.so.5...done. Loaded symbols for /usr/lib/libstdc++.so.5 Reading symbols from /lib/libm.so.4...done. Loaded symbols for /lib/libm.so.4 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x2841d803 in kill () from /lib/libc.so.7 [New Thread 0x29210200 (LWP 100097)] (gdb) thread apply all bt full Thread 1 (Thread 0x29210200 (LWP 100097)): #0 0x2841d803 in kill () from /lib/libc.so.7 No symbol table info available. #1 0x2841d7a0 in raise () from /lib/libc.so.7 No symbol table info available. #2 0x2841c4b0 in abort () from /lib/libc.so.7 No symbol table info available. #3 0x28258598 in libintl_recursive_lock_init (lock=3D0x2825ad9c) at ../../gettext-runtime/intl/lock.c:266 =09attributes =3D 0x29204250 #4 0x28258602 in libintl_recursive_lock_lock (lock=3D0x2825ad9c) at ../../gettext-runtime/intl/lock.c:280 No locals. #5 0x28253f72 in _nl_load_domain (domain_file=3D0x292301f0, domainbinding= =3D0x0) at ../../gettext-runtime/intl/loadmsgcat.c:798 =09lock =3D {recmutex =3D 0x0, guard =3D 0x29220700, initialized =3D 0} =09fd =3D -1 =09size =3D 673521773 =09st =3D {st_dev =3D 671551768, st_ino =3D 3217024404, st_mode =3D 21517, st_nlink =3D 10245, st_uid =3D 671584704, st_gid =3D 673557468, st_rdev =3D 3217024452, st_atimespec =3D {tv_sec =3D 671437793, tv_nsec =3D 671551768}, st_mtimespec =3D {tv_sec =3D 673529648, tv_nsec =3D -1077942844}, st_ctimespec =3D {tv_sec =3D 671425859, ---Type <return> to continue, or q <return> to quit--- tv_nsec =3D 671569636}, st_size =3D -4629728510317953023, st_blocks =3D 2950300853740758646, st_blksize =3D 1, st_flags =3D 6715816= 96, st_gen =3D 673557436, st_lspare =3D 0, st_birthtimespec =3D {tv_sec =3D 6= 90095424, tv_nsec =3D -1077942712}} =09data =3D (struct mo_file_header *) 0x1 =09use_mmap =3D 0 =09domain =3D (struct loaded_domain *) 0xbfbfe574 =09revision =3D 0 =09nullentry =3D 0x0 =09nullentrylen =3D 686946900 #6 0x2825374f in _nl_find_domain (dirname=3D0x0, locale=3D0xbfbfe670 "en", domainname=3D0xbfbfe690 "LC_MESSAGES/glib20.mo", domainbinding=3D0x2920= 83e0) at ../../gettext-runtime/intl/finddomain.c:172 =09cnt =3D 0 =09retval =3D (struct loaded_l10nfile *) 0x29220540 =09language =3D 0xbfbfe670 "en" =09modifier =3D 0x0 =09territory =3D 0xbfbfe673 "GB" =09codeset =3D 0xbfbfe676 "UTF-8" =09normalized_codeset =3D 0x292021f0 "utf8" =09alias_value =3D 0x0 =09mask =3D 7 =09lock =3D 0x29208420 #7 0x28256878 in libintl_dcigettext (domainname=3D0x281166ed "glib20", ---Type <return> to continue, or q <return> to quit--- msgid1=3D0x280e2ae8 "Key file does not have key '%s'", msgid2=3D0x0, plural=3D0, n=3D0, category=3D6) at ../../gettext-runtime/intl/dcigette= xt.c:733 =09cnt =3D -1077942671 =09domain =3D (struct loaded_l10nfile *) 0x29210200 =09binding =3D (struct binding *) 0x292083e0 =09categoryname =3D 0xbfbfe671 "n" =09categoryvalue =3D 0xbfbfef0b "" =09dirname =3D 0x282593a5 "/usr/local/share/locale" =09xdomainname =3D 0xbfbfe690 "LC_MESSAGES/glib20.mo" =09single_locale =3D 0xbfbfe670 "en" =09retval =3D 0x29204150 "Desktop Entry" =09retlen =3D 0 =09saved_errno =3D 2 =09search =3D (struct known_translation_t *) 0xbfbfe671 =09foundp =3D (struct known_translation_t **) 0x0 =09msgid_len =3D 32 =09domainname_len =3D 6 #8 0x28253443 in libintl_dcgettext (domainname=3D0x0, msgid=3D0x0, categor= y=3D0) at ../../gettext-runtime/intl/dcgettext.c:49 No locals. #9 0x2825347c in libintl_dgettext (domainname=3D0x0, msgid=3D0x0) at ../../gettext-runtime/intl/dgettext.c:52 No locals. #10 0x280d7a49 in _glib_gettext (str=3D0x0) at gutils.c:3061 ---Type <return> to continue, or q <return> to quit--- =09_glib_gettext_initialized =3D 1 #11 0x280a703e in IA__g_key_file_get_value (key_file=3D0x292082c0, group_name=3D0x29204150 "Desktop Entry", key=3D0x804a1c6 "MimeType", error=3D0xbfbfe828) at gkeyfile.c:1211 =09group =3D (GKeyFileGroup *) 0x0 =09pair =3D (GKeyFileKeyValuePair *) 0x0 =09value =3D (gchar *) 0x0 =09__PRETTY_FUNCTION__ =3D "IA__g_key_file_get_value" #12 0x280a75fa in IA__g_key_file_get_string_list (key_file=3D0x292082c0, group_name=3D0x7fffffdf <Address 0x7fffffdf out of bounds>, key=3D0x804a1c6 "MimeType", length=3D0x0, error=3D0xbfbfe858) at gkeyfi= le.c:1412 =09key_file_error =3D (GError *) 0x0 =09value =3D (gchar *) 0x138 <Address 0x138 out of bounds> =09string_value =3D (gchar *) 0x292082c0 "=C0\003!)`A )`A )=B0\003!)\r\034" =09values =3D (gchar **) 0x292082c0 =09i =3D -1077943280 =09len =3D 690487588 =09p =3D (GSList *) 0x7fffffdf =09pieces =3D (GSList *) 0x0 =09__PRETTY_FUNCTION__ =3D "IA__g_key_file_get_string_list" #13 0x0804961d in ?? () No symbol table info available. #14 0x292082c0 in ?? () No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #15 0x29204150 in ?? () No symbol table info available. #16 0x0804a1c6 in ?? () No symbol table info available. #17 0x00000000 in ?? () No symbol table info available. #18 0xbfbfe858 in ?? () No symbol table info available. #19 0x29250380 in ?? () No symbol table info available. #20 0x00000000 in ?? () No symbol table info available. #21 0x29250380 in ?? () No symbol table info available. #22 0x29220240 in ?? () No symbol table info available. #23 0x29280124 in ?? () No symbol table info available. #24 0xbfbfe898 in ?? () No symbol table info available. #25 0x08049821 in ?? () No symbol table info available. #26 0x29220240 in ?? () No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #27 0x29250380 in ?? () No symbol table info available. #28 0xbfbfe888 in ?? () No symbol table info available. #29 0x2809f048 in IA__g_hash_table_new_full (hash_func=3D0x29220240, key_equal_func=3D0, key_destroy_func=3D0, value_destroy_func=3D0) at gh= ash.c:147 =09hash_table =3D (GHashTable *) 0x29220240 Previous frame inner to this frame (corrupt stack?) (gdb) Script done on Mon Mar 19 07:14:31 2007 If any of you could shed some light on this it would be appreciated ... The system in question installed and ran a full gnome-2.16 desktop built just a day before the gettext update without any issues. The system is in fact barely 3 days old, so i am really inclined to believe it's not bad hardware. This is observed on a FreeBSD/i386 CURRENT system installed from the latest CURRENT snapshot. --=20 Pascal Hofstee
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d8a0b7620703182326t39f03176o962a32ac9a6965ec>