Description of problem: I want to start TeXmacs via clicking the icon "GNU TeXmacs" in Applications, but it doesn't response. Then I try to start it via terminal, and it gives me some wrong information as below. It seems that there are some mistakes in its own configure file. Here is what terminal gives me: [user@localhost ~]$ texmacs TeXmacs] Loading corktounicode TeXmacs] Loading cork-unicode-oneway TeXmacs] Loading tmuniversaltounicode TeXmacs] Loading symbol-unicode-oneway TeXmacs] Loading symbol-unicode-math ice-9/psyntax.scm:1259:12: In procedure dobody: ice-9/psyntax.scm:1259:12: Syntax error: /usr/share/TeXmacs/progs/init-texmacs.scm:23:6: definition in expression context, where definitions are not allowed, in form (define %new-read-hook (lambda (sym) (noop))) TeXmacs] Loading corktounicode TeXmacs] Loading unicode-cork-oneway TeXmacs] Loading tmuniversaltounicode TeXmacs] Loading unicode-symbol-oneway TeXmacs] With linked TrueType support Backtrace: In ice-9/boot-9.scm: 157: 11 [catch #t #<catch-closure 2ebc900> ...] In unknown file: ?: 10 [apply-smob/1 #<catch-closure 2ebc900>] In ice-9/boot-9.scm: 157: 9 [catch #t #<catch-closure 32f90e0> #<catch-closure 32f90c0> #f] In unknown file: ?: 8 [apply-smob/1 #<catch-closure 32f90e0>] In ice-9/boot-9.scm: 171: 7 [with-throw-handler #t #<catch-closure 32f9000> #<catch-closure 3302e40>] In unknown file: ?: 6 [apply-smob/1 #<catch-closure 32f9000>] In ice-9/eval.scm: 399: 5 [eval # ()] 387: 4 [eval # ()] 387: 3 [eval # ()] 386: 2 [eval #<memoized (current-buffer)> ()] 393: 1 [eval #<memoized current-buffer> ()] In unknown file: ?: 0 [memoize-variable-access! #<memoized current-buffer> #<directory # 2eacc60>] ERROR: In procedure memoize-variable-access!: ERROR: Unbound variable: current-buffer Segmentation fault (core dumped) Version-Release number of selected component: TeXmacs-1.0.7.18-1.fc19 Additional info: backtrace_rating: 4 cmdline: texmacs.bin crash_function: qt_tm_embedded_widget_rep::query executable: /usr/libexec/TeXmacs/bin/texmacs.bin kernel: 3.9.0-0.rc8.git0.2.fc19.x86_64 runlevel: N 5 uid: 1001 ureports_counter: 4 xsession_errors: Truncated backtrace: Thread no. 1 (10 frames) #0 qt_tm_embedded_widget_rep::query at Plugins/Qt/qt_tm_widget.cpp:999 #1 query<int> at Graphics/Gui/message.hpp:144 #2 get_identifier at Graphics/Gui/message.hpp:229 #3 is_attached at Graphics/Gui/message.hpp:235 #4 attach_view at Texmacs/Data/new_view.cpp:324 #5 window_set_view at Texmacs/Data/new_view.cpp:365 #6 new_buffer_in_new_window at Texmacs/Data/new_window.cpp:210 #7 open_window at Texmacs/Data/new_window.cpp:228 #8 TeXmacs_main at Texmacs/Texmacs/texmacs.cpp:369 #9 invoke_main_func at init.c:337
Created attachment 740991 [details] File: backtrace
Created attachment 740992 [details] File: cgroup
Created attachment 740993 [details] File: core_backtrace
Created attachment 740994 [details] File: dso_list
Created attachment 740995 [details] File: environ
Created attachment 740996 [details] File: limits
Created attachment 740997 [details] File: maps
Created attachment 740998 [details] File: open_fds
Created attachment 740999 [details] File: proc_pid_status
Created attachment 741000 [details] File: var_log_messages
When I try to open TeXmacs from terminal, it gives me this: [user@localhost ~]$ texmacs ;;; note: source file /usr/share/TeXmacs/progs/ice-9/eval.scm ;;; newer than compiled /usr/lib64/guile/2.0/ccache/ice-9/eval.go TeXmacs] Loading corktounicode TeXmacs] Loading cork-unicode-oneway TeXmacs] Loading tmuniversaltounicode TeXmacs] Loading symbol-unicode-oneway TeXmacs] Loading symbol-unicode-math ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /usr/share/guile/2.0/system/base/compile.scm ;;; it seems /usr/share/guile/2.0/system/base/compile.scm ;;; is part of the compiler; skipping auto-compilation ;;; compiling /usr/share/guile/2.0/system/base/syntax.scm ;;; it seems /usr/share/guile/2.0/system/base/syntax.scm ;;; is part of the compiler; skipping auto-compilation ;;; compiling /usr/share/guile/2.0/system/base/language.scm ;;; it seems /usr/share/guile/2.0/system/base/language.scm ;;; is part of the compiler; skipping auto-compilation ;;; compiling /usr/share/guile/2.0/system/base/message.scm ;;; it seems /usr/share/guile/2.0/system/base/message.scm ;;; is part of the compiler; skipping auto-compilation ;;; compiling /usr/share/guile/2.0/srfi/srfi-1.scm ;;; it seems /usr/share/guile/2.0/srfi/srfi-1.scm ;;; is part of the compiler; skipping auto-compilation ;;; compiling /usr/share/guile/2.0/srfi/srfi-9.scm ;;; it seems /usr/share/guile/2.0/srfi/srfi-9.scm ;;; is part of the compiler; skipping auto-compilation ;;; compiling /usr/share/guile/2.0/system/base/ck.scm ;;; it seems /usr/share/guile/2.0/system/base/ck.scm ;;; is part of the compiler; skipping auto-compilation ;;; compiling /usr/share/TeXmacs/progs/ice-9/match.scm ;;; it seems /usr/share/TeXmacs/progs/ice-9/match.scm ;;; is part of the compiler; skipping auto-compilation ;;; compiling /usr/share/guile/2.0/system/vm/vm.scm ;;; it seems /usr/share/guile/2.0/system/vm/vm.scm ;;; is part of the compiler; skipping auto-compilation ;;; compiling /usr/share/TeXmacs/progs/ice-9/regex.scm ;;; it seems /usr/share/TeXmacs/progs/ice-9/regex.scm ;;; is part of the compiler; skipping auto-compilation ;;; compiling /usr/share/TeXmacs/progs/ice-9/optargs.scm ;;; it seems /usr/share/TeXmacs/progs/ice-9/optargs.scm ;;; is part of the compiler; skipping auto-compilation ;;; compiling /usr/share/guile/2.0/system/base/pmatch.scm ;;; it seems /usr/share/guile/2.0/system/base/pmatch.scm ;;; is part of the compiler; skipping auto-compilation ;;; compiling /usr/share/TeXmacs/progs/ice-9/receive.scm ;;; it seems /usr/share/TeXmacs/progs/ice-9/receive.scm ;;; is part of the compiler; skipping auto-compilation ;;; compiling /usr/share/guile/2.0/system/vm/program.scm ;;; compiling /usr/share/guile/2.0/language/objcode/spec.scm ;;; WARNING: compilation of /usr/share/guile/2.0/language/objcode/spec.scm failed: ;;; ERROR: no such language objcode ;;; compiling /usr/share/guile/2.0/system/vm/objcode.scm ;;; WARNING: compilation of /usr/share/guile/2.0/system/vm/objcode.scm failed: ;;; ERROR: no such language objcode ;;; compiling /usr/share/guile/2.0/system/base/target.scm ;;; WARNING: compilation of /usr/share/guile/2.0/system/base/target.scm failed: ;;; ERROR: no such language objcode ;;; compiling /usr/share/guile/2.0/system/foreign.scm ;;; WARNING: compilation of /usr/share/guile/2.0/system/foreign.scm failed: ;;; ERROR: no such language objcode ;;; compiling /usr/share/guile/2.0/srfi/srfi-9/gnu.scm ;;; WARNING: compilation of /usr/share/guile/2.0/srfi/srfi-9/gnu.scm failed: ;;; ERROR: no such language objcode ;;; WARNING: compilation of /usr/share/guile/2.0/system/vm/program.scm failed: ;;; ERROR: no code for module (system vm program) ;;; compiling /usr/share/guile/2.0/system/vm/instruction.scm ;;; WARNING: compilation of /usr/share/guile/2.0/system/vm/instruction.scm failed: ;;; ERROR: no such language objcode ;;; compiling /usr/share/guile/2.0/srfi/srfi-26.scm ;;; WARNING: compilation of /usr/share/guile/2.0/srfi/srfi-26.scm failed: ;;; ERROR: no such language objcode ;;; compiling /usr/share/guile/2.0/language/scheme/spec.scm ;;; WARNING: compilation of /usr/share/guile/2.0/language/scheme/spec.scm failed: ;;; ERROR: no such language objcode ;;; compiling /usr/share/guile/2.0/language/scheme/compile-tree-il.scm ;;; WARNING: compilation of /usr/share/guile/2.0/language/scheme/compile-tree-il.scm failed: ;;; ERROR: no such language objcode ;;; compiling /usr/share/guile/2.0/language/tree-il.scm ;;; WARNING: compilation of /usr/share/guile/2.0/language/tree-il.scm failed: ;;; ERROR: no such language objcode ;;; compiling /usr/share/guile/2.0/srfi/srfi-11.scm ;;; WARNING: compilation of /usr/share/guile/2.0/srfi/srfi-11.scm failed: ;;; ERROR: no such language objcode ;;; compiling /usr/share/guile/2.0/language/scheme/decompile-tree-il.scm ;;; WARNING: compilation of /usr/share/guile/2.0/language/scheme/decompile-tree-il.scm failed: ;;; ERROR: no such language objcode ;;; compiling /usr/share/TeXmacs/progs/ice-9/vlist.scm ;;; WARNING: compilation of /usr/share/TeXmacs/progs/ice-9/vlist.scm failed: ;;; ERROR: no such language objcode ;;; compiling /usr/share/TeXmacs/progs/ice-9/format.scm ;;; WARNING: compilation of /usr/share/TeXmacs/progs/ice-9/format.scm failed: ;;; ERROR: no such language objcode ;;; compiling /usr/share/TeXmacs/progs/ice-9/i18n.scm ;;; WARNING: compilation of /usr/share/TeXmacs/progs/ice-9/i18n.scm failed: ;;; ERROR: no such language objcode ;;; compiling /usr/share/TeXmacs/progs/ice-9/pretty-print.scm ;;; WARNING: compilation of /usr/share/TeXmacs/progs/ice-9/pretty-print.scm failed: ;;; ERROR: no such language objcode ERROR: TeXmacs] Loading corktounicode TeXmacs] Loading unicode-cork-oneway TeXmacs] Loading tmuniversaltounicode TeXmacs] Loading unicode-symbol-oneway TeXmacs] With linked TrueType support Backtrace: In unknown file: ?: 6 [apply-smob/1 #<boot-closure 211a620 (_ _ _)> #t ...] ?: 5 [apply-smob/1 #<catch-closure 249ec80>] ?: 4 [apply-smob/1 #<boot-closure 211a620 (_ _ _)> #t ...] ?: 3 [apply-smob/1 #<catch-closure 306ac40>] ?: 2 [apply-smob/1 #<boot-closure 211a600 (_ _ _)> #t ...] ?: 1 [apply-smob/1 #<catch-closure 306ab00>] ?: 0 [primitive-eval (when (not #) (use-modules # #) (init-style "generic") ...)] ERROR: Segmentation fault (core dumped) backtrace_rating: 4 cmdline: texmacs.bin crash_function: qt_tm_embedded_widget_rep::query executable: /usr/libexec/TeXmacs/bin/texmacs.bin kernel: 3.9.0-0.rc8.git0.2.fc19.x86_64 package: TeXmacs-1.0.7.19-1.fc19 reason: Process /usr/libexec/TeXmacs/bin/texmacs.bin was killed by signal 11 (SIGSEGV) runlevel: N 5 uid: 1001 ureports_counter: 2 xsession_errors:
This issue begin to happen since I have upgraded Fedora 17 to Fedora 19. As I click GNU TeXmacs icon, or invoke by command line, process starts but after a while (+/-) 30 secs, nothing happens. No .tm files can be opened. reporter: libreport-2.1.6 backtrace_rating: 4 cmdline: texmacs.bin crash_function: qt_tm_embedded_widget_rep::query executable: /usr/libexec/TeXmacs/bin/texmacs.bin kernel: 3.10.3-300.fc19.x86_64 package: TeXmacs-1.0.7.19-1.fc19 reason: Process /usr/libexec/TeXmacs/bin/texmacs.bin was killed by signal 11 (SIGSEGV) runlevel: N 5 uid: 1002
I get the same output as in comment #11 on a recent install of F19 with TeXmacs-1.0.7.19-1.fc19.x86_64, also with: [ 7106.460279] texmacs.bin[2931]: segfault at 0 ip 00000000007ee631 sp 00007fff660cf2b0 error 4 in texmacs.bin[400000+618000] in the syslog which has the same IP as bug #994750.
I have tried to reinstall, using yum. No success...
I get the same output as comment #11. Fedora 19, again. Again, ends very similar... Backtrace: In unknown file: ?: 6 ;;; compiling /usr/share/guile/2.0/system/vm/frame.scm ;;; compiled /root/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/guile/2.0/system/vm/frame.scm.go [apply-smob/1 #<boot-closure 193d620 (_ _ _)> #t ...] ?: 5 [apply-smob/1 #<catch-closure 19b0660>] ?: 4 [apply-smob/1 #<boot-closure 193d620 (_ _ _)> #t ...] ?: 3 [apply-smob/1 #<catch-closure 25eaf00>] ?: 2 [apply-smob/1 #<boot-closure 193d600 (_ _ _)> #t ...] ?: 1 [apply-smob/1 #<catch-closure 25eadc0>] ?: 0 [primitive-eval (when (not #) (use-modules # #) (init-style "generic") ...)] ERROR: Segmentation fault (core dumped)
Just trying to start the program. reporter: libreport-2.1.9 backtrace_rating: 4 cmdline: texmacs.bin crash_function: qt_tm_embedded_widget_rep::query executable: /usr/libexec/TeXmacs/bin/texmacs.bin kernel: 3.11.9-200.fc19.i686 package: TeXmacs-1.0.7.19-1.fc19 reason: Process /usr/libexec/TeXmacs/bin/texmacs.bin was killed by signal 11 (SIGSEGV) runlevel: N 5 type: CCpp uid: 1000
Problem continues on Fedora 20. Trace as below. $ texmacs TeXmacs] Loading corktounicode TeXmacs] Loading cork-unicode-oneway TeXmacs] Loading tmuniversaltounicode TeXmacs] Loading symbol-unicode-oneway TeXmacs] Loading symbol-unicode-math ice-9/psyntax.scm:1259:12: In procedure dobody: ice-9/psyntax.scm:1259:12: Syntax error: /usr/share/TeXmacs/progs/init-texmacs.scm:22:6: definition in expression context, where definitions are not allowed, in form (define %new-rea-hook (lambda (sym) (noop))) TeXmacs] Loading corktounicode TeXmacs] Loading unicode-cork-oneway TeXmacs] Loading tmuniversaltounicode TeXmacs] Loading unicode-symbol-oneway TeXmacs] With linked TrueType support Backtrace: In ice-9/boot-9.scm: 157: 11 [catch #t #<catch-closure 2bb18e0> ...] In unknown file: ?: 10 [apply-smob/1 #<catch-closure 2bb18e0>] In ice-9/boot-9.scm: 157: 9 [catch #t #<catch-closure 2fca920> #<catch-closure 2fca900> #f] In unknown file: ?: 8 [apply-smob/1 #<catch-closure 2fca920>] In ice-9/boot-9.scm: 171: 7 [with-throw-handler #t #<catch-closure 2fca840> #<catch-closure 2fca820>] In unknown file: ?: 6 [apply-smob/1 #<catch-closure 2fca840>] In ice-9/eval.scm: 399: 5 [eval # ()] 387: 4 [eval # ()] 387: 3 [eval # ()] 386: 2 [eval #<memoized (current-buffer)> ()] 393: 1 [eval #<memoized current-buffer> ()] In unknown file: ?: 0 [memoize-variable-access! #<memoized current-buffer> #<directory # 2ba1c60>] ERROR: In procedure memoize-variable-access!: ERROR: Unbound variable: current-buffer Segmentation fault (core dumped)
Hi, Your problem is due to the fact that TeXmacs is not (yet) compatible with Guile-2. You should recompile and distribute TeXmacs with Guile-1.8. It fixed the compilation under Guile-2.0, but the runtime does not works. I also fixed the configure script but your packager may have worked from a buggy version. Best regards. François Poulain TeXmacs developper
Hi this issue still exists on Fedora 19... I found package TeXmacs-1.0.7.19-1.fc19.i686 depended on wrong guile packages of guile-2.0.9-1.fc19.i686 and guile-devel-2.0.9-1.fc19.i686 Jimmie
Fixed by update to 1.99.1 and linking it against Guile-1.8.
Thank you. François
Happening again in Fedora 21 alpha today! Re-open??