bugGNU TeXmacs - Bugs: bug #40478, segmentation error with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #40478: segmentation error with Texmacs-1.0.7.21

Submitted by:  toutatis <toutatis>
Submitted on:  Tue 05 Nov 2013 08:38:04 AM UTC  
 
Category: NonePriority: 5 - Normal
Item Group: NoneStatus: Wont Fix
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

Tue 05 Nov 2013 09:25:25 AM UTC, comment #3:

I added an error in the configure script. I will push it asap.

Francois Poulain <fpoulain>
Project Member
Tue 05 Nov 2013 09:13:27 AM UTC, comment #2:

I confirm. The scheme in TeXmacs cannot be executed by guile 2.0. We need deep changes to support it. For the moment just link with guile 1.8. Standard linux distros allows to have guile-1.8 alongside with guile 2.0 since there are major incompatibilities between the two versions.

Massimiliano Gubinelli <mgubi>
Project Administrator
Tue 05 Nov 2013 08:43:30 AM UTC, comment #1:

TeXmacs doesn't yet support Guile 2. I will add a message in the configure script.

Francois Poulain <fpoulain>
Project Member
Tue 05 Nov 2013 08:38:04 AM UTC, original submission:

This seems to come from the new version of guile (2.0.9)

---------------------------------------------------------------
--> texmacs&
[1] 6259
--> 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 /app/Texmacs/1.0.7.21/share/TeXmacs/progs/kernel/boot/boot.scm
;;; WARNING: compilation of /app/Texmacs/1.0.7.21/share/TeXmacs/progs/kernel/boot/boot.scm failed:
;;; ERROR: Syntax error:
;;; kernel/boot/boot.scm:57:4: definition in expression context, where definitions are not allowed, in form (define-syntax define-public-macro (lambda (y) #f #((macro-type . defmacro) (defmacro-args args)) (syntax-case y () ((_ . args) (let ((v (syntax->datum (syntax args)))) (datum->syntax y (apply (lambda (head . body) (quasiquote (define-public (unquote (car head)) (procedure->memoizing-macro (lambda (cmd env) (apply (lambda (unquote (cdr head)) (unquote-splicing body)) (cdr cmd))))))) v)))))))
ice-9/psyntax.scm:1259:12: In procedure #<procedure 2f22e60 (test then)>:
ice-9/psyntax.scm:1259:12: Syntax error:
kernel/boot/boot.scm:57:4: definition in expression context, where definitions are not allowed, in form (define-syntax define-public-macro (lambda (y) #f #((macro-type . defmacro) (defmacro-args args)) (syntax-case y () ((_ . args) (let ((v (syntax->datum (syntax args)))) (datum->syntax y (apply (lambda (head . body) (quasiquote (define-public (unquote (car head)) (procedure->memoizing-macro (lambda (cmd env) (apply (lambda (unquote (cdr head)) (unquote-splicing body)) (cdr cmd))))))) v)))))))
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 28f6a60> ...]
In unknown file:
?: 10 [apply-smob/1 #<catch-closure 28f6a60>]
In ice-9/boot-9.scm:
157: 9 [catch #t #<catch-closure 2ec13c0> #<catch-closure 2ec13a0> #f]
In unknown file:
?: 8 [apply-smob/1 #<catch-closure 2ec13c0>]
In ice-9/boot-9.scm:
171: 7 [with-throw-handler #t #<catch-closure 2ec1180> #<catch-closure 2ec1160>]
In unknown file:
?: 6 [apply-smob/1 #<catch-closure 2ec1180>]
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 # 28e7c60>]

ERROR: In procedure memoize-variable-access!:
ERROR: Unbound variable: current-buffer
---------------------------------------------------------------

After recompilation, with "export GUILE_AUTO_COMPILE=0", I still get a segmentation error:
---------------------------------------------------------------
--> texmacs&
[1] 9082
--> 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 #<procedure 2acde10 (test then)>:
ice-9/psyntax.scm:1259:12: Syntax error:
kernel/boot/boot.scm:57:4: definition in expression context, where definitions are not allowed, in form (define-syntax define-public-macro (lambda (y) #f #((macro-type . defmacro) (defmacro-args args)) (syntax-case y () ((_ . args) (let ((v (syntax->datum (syntax args)))) (datum->syntax y (apply (lambda (head . body) (quasiquote (define-public (unquote (car head)) (procedure->memoizing-macro (lambda (cmd env) (apply (lambda (unquote (cdr head)) (unquote-splicing body)) (cdr cmd))))))) v)))))))
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 2714a60> ...]
In unknown file:
?: 10 [apply-smob/1 #<catch-closure 2714a60>]
In ice-9/boot-9.scm:
157: 9 [catch #t #<catch-closure 2ae1500> #<catch-closure 2ae14e0> #f]
In unknown file:
?: 8 [apply-smob/1 #<catch-closure 2ae1500>]
In ice-9/boot-9.scm:
171: 7 [with-throw-handler #t #<catch-closure 2ae1360> #<catch-closure 2ae12e0>]
In unknown file:
?: 6 [apply-smob/1 #<catch-closure 2ae1360>]
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 # 2705c60>]

ERROR: In procedure memoize-variable-access!:
ERROR: Unbound variable: current-buffer
---------------------------------------------------------------

System : slackware64-current

version of guile : guile-2.0.9.

The previous version TeXmacs-1.0.7.20 gives the same error

toutatis <toutatis>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mgubi (Posted a comment)
  • -unavailable- added by toutatis (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 05 Nov 2013 08:43:30 AM UTCfpoulainStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1