bug-guile-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-guile-ncurses] Crash in simple program.


From: John Darrington
Subject: [Bug-guile-ncurses] Crash in simple program.
Date: Fri, 6 May 2016 12:56:11 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

The following code reliably seg faults, this may be the same as the problem 
reported previously.  But in the previous example I saw only unexpected
behaviour.  This example actually crashes.


(use-modules 
             (srfi srfi-1)
             (ncurses curses)
             (ncurses panel))

(define mainwin (initscr))

(define (my-proc)
  (let* ((win  (newwin 30 50 10 10))
         (p (new-panel win)))
    p))

(let ((mp (my-proc)))
  (update-panels)
  (doupdate)
  (del-panel mp)
  (gc))

(endwin)


-- 
Avoid eavesdropping.  Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]