After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 621383 - gtksourceview-2.10.3: FAIL: test-languagemanager
gtksourceview-2.10.3: FAIL: test-languagemanager
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: General
3.2.x
Other Linux
: Normal critical
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-12 15:29 UTC by Pacho Ramos
Modified: 2013-02-20 21:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
backtrace taken automatically by bug-buddy (9.03 KB, text/plain)
2010-06-12 15:29 UTC, Pacho Ramos
Details

Description Pacho Ramos 2010-06-12 15:29:47 UTC
Created attachment 163476 [details]
backtrace taken automatically by bug-buddy

I get the following even from upstream sources manually compiling them:

Making check in po
make[1]: Entering directory `/home/pacho/gtksourceview-2.10.3/po'
INTLTOOL_EXTRACT=/usr/bin/intltool-extract srcdir=. /usr/bin/intltool-update --gettext-package gtksourceview-2.0 --pot
rm -f missing notexist
srcdir=. /usr/bin/intltool-update -m
if [ -r missing -o -r notexist ]; then \
	  exit 1; \
	fi
make[1]: Leaving directory `/home/pacho/gtksourceview-2.10.3/po'
Making check in docs
make[1]: Entering directory `/home/pacho/gtksourceview-2.10.3/docs'
Making check in reference
make[2]: Entering directory `/home/pacho/gtksourceview-2.10.3/docs/reference'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/pacho/gtksourceview-2.10.3/docs/reference'
make[2]: Entering directory `/home/pacho/gtksourceview-2.10.3/docs'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/home/pacho/gtksourceview-2.10.3/docs'
make[1]: Leaving directory `/home/pacho/gtksourceview-2.10.3/docs'
Making check in tests
make[1]: Entering directory `/home/pacho/gtksourceview-2.10.3/tests'
make  check-TESTS
make[2]: Entering directory `/home/pacho/gtksourceview-2.10.3/tests'
/LanguageManager/get-default: OK
/LanguageManager/get-language: OK
/LanguageManager/guess-language: **
GtkSourceView:ERROR:test-languagemanager.c:56:test_guess_language: child process (30881) did not fail as expected
/home/pacho/gtksourceview-2.10.3/tests/.libs/test-languagemanager: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
FAIL: test-languagemanager
/PrintCompositor/buffer-ref: OK
/PrintCompositor/buffer-view-ref: OK
PASS: test-printcompositor
==============================================================================
1 of 2 tests failed
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=gtksourceview
==============================================================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/pacho/gtksourceview-2.10.3/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/pacho/gtksourceview-2.10.3/tests'
make: *** [check-recursive] Error 1

Downstream bug report:
http://bugs.gentoo.org/show_bug.cgi?id=312503#c4

Full build.log:
http://bugs.gentoo.org/show_bug.cgi?id=312503#c5
Comment 1 Pacho Ramos 2010-06-12 15:30:45 UTC
Pasting here since, if I don't misremember, gnome bugzilla is able to detect duplicated traces this way:

System: Linux 2.6.34-ck #1 PREEMPT Sun May 30 21:54:55 CEST 2010 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10706000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Shiki-Gentoo
Icon Theme: gnome-gentoo
GTK+ Modules: canberra-gtk-module, gnomebreakpad

Memory status: size: 176271360 vsize: 176271360 resident: 9457664 share: 1236992 rss: 9457664 rss_rlim: 18446744073709551615
CPU usage: start_time: 1276356461 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/home/pacho/gtksourceview-2.10.3/tests/.libs/test-languagemanager'

[?1034hTraceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2400.1-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]
0x00002b4f94ab756e in waitpid () from /lib/libpthread.so.0

Thread 1 (Thread 0x2b4f9a106b80 (LWP 30881))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 IA__g_spawn_sync
    at gspawn.c line 386
  • #2 IA__g_spawn_command_line_sync
    at gspawn.c line 700
  • #3 ??
    from /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
  • #4 <signal handler called>
  • #5 raise
    from /lib/libc.so.6
  • #6 abort
    from /lib/libc.so.6
  • #7 IA__g_logv
    log_level=<value optimized out>, format=<value optimized out>, args1=
Comment 2 Pacho Ramos 2010-07-06 11:49:11 UTC
This trace looks better:
System: Linux 2.6.34-ck #1 PREEMPT Sun May 30 21:54:55 CEST 2010 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10706000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: gnome
GTK+ Modules: canberra-gtk-module, gnomebreakpad

Memory status: size: 179134464 vsize: 179134464 resident: 9818112 share: 1302528 rss: 9818112 rss_rlim: 18446744073709551615
CPU usage: start_time: 1276356263 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/var/tmp/portage/x11-libs/gtksourceview-2.10.3/work/gtksourceview-2.10.3/tests/.libs/test-languagemanager'

[?1034hTraceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2400.1-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]
0x00002b3b80a6c56e in waitpid () from /lib/libpthread.so.0

Thread 1 (Thread 0x2b3b860bc540 (LWP 23488))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 IA__g_spawn_sync
    at gspawn.c line 386
  • #2 IA__g_spawn_command_line_sync
    at gspawn.c line 700
  • #3 ??
    from /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
  • #4 <signal handler called>
  • #5 raise
    from /lib/libc.so.6
  • #6 abort
    from /lib/libc.so.6
  • #7 IA__g_logv
    at gmessages.c line 549
  • #8 IA__g_log
    at gmessages.c line 569
  • #9 gtk_source_language_manager_guess_language
    from /var/tmp/portage/x11-libs/gtksourceview-2.10.3/work/gtksourceview-2.10.3/gtksourceview/.libs/libgtksourceview-2.0.so.0
  • #10 test_guess_language
  • #11 test_case_run
    at gtestutils.c line 1138
  • #12 g_test_run_suite_internal
    at gtestutils.c line 1187
  • #13 g_test_run_suite_internal
    at gtestutils.c line 1197
  • #14 IA__g_test_run_suite
    at gtestutils.c line 1246
  • #15 main
A debugging session is active.

	Inferior 1 [process 23488] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]


---- Critical and fatal warnings logged during execution ----

** GtkSourceView **: gtk_source_language_manager_guess_language: assertion `filename != NULL || content_type != NULL' failed 


----------- .xsession-errors (1487266 sec old) ---------------------
icewm-session: Warning: File still open: fd=5, target='pipe:[7477]' (missing FD_CLOEXEC?)
icewm-session: Warning: Closing file descriptor: 5
icewm-session: Warning: File still open: fd=10, target='pipe:[788541]' (missing FD_CLOEXEC?)
icewm-session: Warning: Closing file descriptor: 10
icewm-session: Warning: File still open: fd=5, target='pipe:[7477]' (missing FD_CLOEXEC?)
icewm-session: Warning: Closing file descriptor: 5
icewm-session: Warning: File still open: fd=10, target='pipe:[788541]' (missing FD_CLOEXEC?)
icewm-session: Warning: Closing file descriptor: 10
icewm-session: Warning: File still open: fd=5, target='pipe:[7477]' (missing FD_CLOEXEC?)
icewm-session: Warning: Closing file descriptor: 5
icewm-session: Warning: File still open: fd=10, target='pipe:[788541]' (missing FD_CLOEXEC?)
icewm-session: Warning: Closing file descriptor: 10
icewmtray: using /root/.icewm for private configuration files
icewmbg: using /root/.icewm for private configuration files
IceWM: using /root/.icewm for private configuration files
Comment 3 Pacho Ramos 2011-11-05 19:28:12 UTC
This is still valid with 3.2.3
Comment 4 Sébastien Wilmet 2013-02-20 21:15:01 UTC
make check and make distcheck currently succeeds, so I close this bug.

Feel free to reopen it if it still fails on your system.