GithubHelp home page GithubHelp logo

Comments (4)

x022235 avatar x022235 commented on August 11, 2024

xyzzy 0.2.2.252 と buffer-bar-click-to-delete-060610.zip を新規にインストールして
試してみましたが、正常に中クリックでバッファを閉じることが出来ました。

関数が定義されていません: editor::set-text-fontset というエラー

set-text-fontset は 0.2.2.238 で追加した関数なんですが、235 からの更新でこのエラーが出る理由が正直良くわかりません。
*Trace Output* バッファを見て set-text-fontset がどこから呼び出されているか確認できませんか?

from xyzzy.

ironsand avatar ironsand commented on August 11, 2024

もう一度再現しようと思い再度最新版とbuffer-bar-click-to-delete-060610.zipをダウンロードして行ったのですが現象が再現しませんでした。すいません、何か変な事をしていたのかもしれません。

ただ、今回も正常に中クリックでのバッファの終了ができず
メモリ ロケーションへのアクセスが無効です。 : "buffer-bar-mc-hook"というエラーが
「表示」→「ツールバー」→「バッファ」と選択した時に出てきてしまいます。

エラー後にバッファタブは表示されるようになりますが、
「表示」→「ツールバー」→「バッファ」のチェック状態は未選択のままになり
選択するたびに同様のエラーがおきます。

その時の *Trace Output*は以下のようになっています。

>CALL STACK 26: (system:load-dll-module "buffer-bar-mc-hook")
>CALL STACK 25: (system:make-c-function calculating arguments...)
>CALL STACK 24: (system:*fset calculating arguments...)
>CALL STACK 23: (setf ((symbol-function 'buffer-bar-click-to-delete:get-buffer-bar-click-hook) (system:make-c-function (system:load-dll-module "buffer-bar-mc-hook") '"BufferBarGetOnClickHook" ...)))
>CALL STACK 22: (block (buffer-bar-click-to-delete:get-buffer-bar-click-hook (setf (symbol-function 'buffer-bar-click-to-delete:get-buffer-bar-click-hook) (system:make-c-function (system:load-dll-module "buffer-bar-mc-hook") '"BufferBarGetOnClickHook" ...)) (apply #'buffer-bar-click-to-delete:get-buffer-bar-click-hook foreign::args)))
>CALL STACK 21: (buffer-bar-click-to-delete:get-buffer-bar-click-hook)
>CALL STACK 20: (/= calculating arguments...)
>CALL STACK 19: (setq (#:tem (/= (buffer-bar-click-to-delete:get-buffer-bar-click-hook) 0)))
>CALL STACK 18: (if ((setq #1=#:tem (/= (buffer-bar-click-to-delete:get-buffer-bar-click-hook) 0)) #1# (if (setq #1# (/= # 0)) #1# ...)))
>CALL STACK 17: (let ((#1=#:tem) (if (setq #1# (/= # 0)) #1# ...)))
>CALL STACK 16: (or ((/= (buffer-bar-click-to-delete:get-buffer-bar-click-hook) 0) (/= (buffer-bar-click-to-delete:get-buffer-bar-wheel-hook) 0) (buffer-bar-click-to-delete:set-buffer-bar-hook-func #'buffer-bar-click-to-delete::buffer-bar-mc-callback #'buffer-bar-click-to-delete::buffer-bar-wheel-callback)))
>CALL STACK 15: (block (buffer-bar-click-to-delete:init (if buffer-bar-click-to-delete::key (buffer-bar-click-to-delete:set-buffer-bar-hook-message buffer-bar-click-to-delete::key)) (or (/= (buffer-bar-click-to-delete:get-buffer-bar-click-hook) 0) (/= (buffer-bar-click-to-delete:get-buffer-bar-wheel-hook) 0) ...) ...))
>CALL STACK 14: (buffer-bar-click-to-delete:init)
>CALL STACK 13: (if ((or (eq buffer-bar-click-to-delete::name 'buffer-bar) (eq buffer-bar-click-to-delete::name 'editor::pseudo-frame-bar)) (buffer-bar-click-to-delete:init)))
>CALL STACK 12: (and ((or (eq buffer-bar-click-to-delete::name 'buffer-bar) (eq buffer-bar-click-to-delete::name 'editor::pseudo-frame-bar)) (buffer-bar-click-to-delete:init)))
>CALL STACK 11: (let (((buffer-bar-click-to-delete::ret (funcall buffer-bar-click-to-delete::old-show-tool-bar buffer-bar-click-to-delete::name ...))) (and (or (eq buffer-bar-click-to-delete::name 'buffer-bar) (eq buffer-bar-click-to-delete::name 'editor::pseudo-frame-bar)) (buffer-bar-click-to-delete:init)) buffer-bar-click-to-delete::ret))
>CALL STACK 10: (block (show-tool-bar (let ((buffer-bar-click-to-delete::ret #)) (and (or # #) (buffer-bar-click-to-delete:init)) ...)))
>CALL STACK  9: (#<lexical-closure: show-tool-bar> buffer-bar :top 0 0 60)
>CALL STACK  8: (apply #<lexical-closure: show-tool-bar> buffer-bar (:top 0 0 ...))
>CALL STACK  7: (system:*byte-code ...)
>CALL STACK  6: (editor::show-command-bar-1 ("editor" "buffer-bar" "バッファ(&B)" ...) buffer-bar)
>CALL STACK  5: (system:*byte-code ...)
>CALL STACK  4: (editor::toggle-command-bar-1 ("editor" "buffer-bar" "バッファ(&B)" ...) buffer-bar)
>CALL STACK  3: (system:*byte-code ...)
>CALL STACK  2: (#<lexical-closure: (anonymous)>)
>CALL STACK  1: (command-execute #<lexical-closure: (anonymous)>)
メモリ ロケーションへのアクセスが無効です。 : "buffer-bar-mc-hook"

環境を書き忘れていましたが、Windows7 64bit で使用しています。

from xyzzy.

x022235 avatar x022235 commented on August 11, 2024

Windows7 64bit で試してみましたが再現しませんでした。

CALL STACK 26: (system:load-dll-module "buffer-bar-mc-hook")

*scratch* バッファで (si:load-dll-module "buffer-bar-mc-hook") を評価するとエラーが再現されますか?

あと、試しに http://support.microsoft.com/kb/2588507 のパッチを当ててみて再現するか確認してもらえませんか。
参考: http://blogs.msdn.com/b/cie/archive/2013/10/31/compute-emulator-invalid-access-to-memory-location.aspx

from xyzzy.

ironsand avatar ironsand commented on August 11, 2024

教えていただいたパッチを適用した所、
エラーなく正常に動作するようになりました。
ありがとうございます。

from xyzzy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.