Bug 957417 - [abrt] TeXmacs-1.0.7.18-1.fc19: qt_tm_embedded_widget_rep::query: Process /usr/libexec/TeXmacs/bin/texmacs.bin was killed by signal 11 (SIGSEGV)
Summary: [abrt] TeXmacs-1.0.7.18-1.fc19: qt_tm_embedded_widget_rep::query: Process /us...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: TeXmacs
Version: 19
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:dfd333e7861d99b9eb873eae8ed...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-28 03:50 UTC by wangjiezhe
Modified: 2014-12-11 03:37 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-24 08:05:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (27.64 KB, text/plain)
2013-04-28 03:51 UTC, wangjiezhe
no flags Details
File: cgroup (127 bytes, text/plain)
2013-04-28 03:51 UTC, wangjiezhe
no flags Details
File: core_backtrace (2.37 KB, text/plain)
2013-04-28 03:51 UTC, wangjiezhe
no flags Details
File: dso_list (13.39 KB, text/plain)
2013-04-28 03:51 UTC, wangjiezhe
no flags Details
File: environ (1.56 KB, text/plain)
2013-04-28 03:51 UTC, wangjiezhe
no flags Details
File: limits (1.29 KB, text/plain)
2013-04-28 03:51 UTC, wangjiezhe
no flags Details
File: maps (53.86 KB, text/plain)
2013-04-28 03:51 UTC, wangjiezhe
no flags Details
File: open_fds (1.10 KB, text/plain)
2013-04-28 03:51 UTC, wangjiezhe
no flags Details
File: proc_pid_status (933 bytes, text/plain)
2013-04-28 03:51 UTC, wangjiezhe
no flags Details
File: var_log_messages (329 bytes, text/plain)
2013-04-28 03:51 UTC, wangjiezhe
no flags Details

Description wangjiezhe 2013-04-28 03:50:59 UTC
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

Comment 1 wangjiezhe 2013-04-28 03:51:04 UTC
Created attachment 740991 [details]
File: backtrace

Comment 2 wangjiezhe 2013-04-28 03:51:07 UTC
Created attachment 740992 [details]
File: cgroup

Comment 3 wangjiezhe 2013-04-28 03:51:09 UTC
Created attachment 740993 [details]
File: core_backtrace

Comment 4 wangjiezhe 2013-04-28 03:51:12 UTC
Created attachment 740994 [details]
File: dso_list

Comment 5 wangjiezhe 2013-04-28 03:51:22 UTC
Created attachment 740995 [details]
File: environ

Comment 6 wangjiezhe 2013-04-28 03:51:25 UTC
Created attachment 740996 [details]
File: limits

Comment 7 wangjiezhe 2013-04-28 03:51:27 UTC
Created attachment 740997 [details]
File: maps

Comment 8 wangjiezhe 2013-04-28 03:51:30 UTC
Created attachment 740998 [details]
File: open_fds

Comment 9 wangjiezhe 2013-04-28 03:51:32 UTC
Created attachment 740999 [details]
File: proc_pid_status

Comment 10 wangjiezhe 2013-04-28 03:51:35 UTC
Created attachment 741000 [details]
File: var_log_messages

Comment 11 wangjiezhe 2013-05-01 10:08:47 UTC
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:

Comment 12 Herli Menezes 2013-08-12 22:46:07 UTC
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

Comment 13 Khumba 2013-08-15 06:20:28 UTC
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.

Comment 14 Herli Menezes 2013-08-23 20:24:11 UTC
I have tried to reinstall, using yum. No success...

Comment 15 Mho 2013-09-14 17:09:08 UTC
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)

Comment 16 INegueruela 2013-11-25 09:48:00 UTC
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

Comment 17 Mho 2014-01-01 04:46:51 UTC
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)

Comment 18 François Poulain 2014-01-14 11:45:31 UTC
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

Comment 19 Jimmie Felidae 2014-04-20 07:42:12 UTC
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

Comment 20 Jindrich Novy 2014-06-24 08:05:24 UTC
Fixed by update to 1.99.1 and linking it against Guile-1.8.

Comment 21 François Poulain 2014-06-24 08:11:55 UTC
Thank you.
François

Comment 22 M. Edward (Ed) Borasky 2014-10-05 17:54:29 UTC
Happening again in Fedora 21 alpha today! Re-open??


Note You need to log in before you can comment on or make changes to this bug.