unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* guile 1.9.1 crash trying to profile code
@ 2009-08-04  9:26 Ken Raeburn
  2009-08-04 19:23 ` Andy Wingo
  2009-12-20 23:19 ` Andy Wingo
  0 siblings, 2 replies; 3+ messages in thread
From: Ken Raeburn @ 2009-08-04  9:26 UTC (permalink / raw)
  To: bug-guile

% guile
Guile Scheme interpreter 0.5 on Guile 1.9.1
Copyright (C) 2001-2008 Free Software Foundation, Inc.

Enter `,help' for help.
scheme@(guile-user)> ,pr (cons 1 2)
Backtrace:
In ../../module/ice-9/boot-9.scm:
3364: 0* [top-repl]
In unknown file:
    ?: 1* [dynamic-wind # # #]
In ../../module/ice-9/boot-9.scm:
3387: 2* [#<program 5d6070 at ../../module/ice-9/boot-9.scm:3385:10 ()>]
In ../../module/system/repl/repl.scm:
  105: 3  [prompt-loop]
In ../../module/system/repl/repl.scm:
   88: 4  [call-with-backtrace #<program 5dd660 ()>]
In unknown file:
    ?: 5* [catch #t #t ...]

ERROR: In procedure catch:
ERROR: Wrong number of arguments to #<program profile-next (vm)>
Backtrace:
In ../../module/ice-9/boot-9.scm:
3364: 0* [top-repl]
In unknown file:
    ?: 1* [dynamic-wind # # #]
In ../../module/ice-9/boot-9.scm:
3387: 2* [#<program 5d6070 at ../../module/ice-9/boot-9.scm:3385:10 ()>]
In ../../module/system/repl/repl.scm:
  105: 3  [prompt-loop]
In ../../module/system/repl/repl.scm:
   88: 4  [call-with-backtrace #<program 5dd660 ()>]
In unknown file:
    ?: 5* [catch #t #t ...]

ERROR: In procedure catch:
ERROR: Wrong number of arguments to #<program profile-next (vm)>
%





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: guile 1.9.1 crash trying to profile code
  2009-08-04  9:26 guile 1.9.1 crash trying to profile code Ken Raeburn
@ 2009-08-04 19:23 ` Andy Wingo
  2009-12-20 23:19 ` Andy Wingo
  1 sibling, 0 replies; 3+ messages in thread
From: Andy Wingo @ 2009-08-04 19:23 UTC (permalink / raw)
  To: Ken Raeburn; +Cc: bug-guile

On Tue 04 Aug 2009 11:26, Ken Raeburn <raeburn@raeburn.org> writes:

> % guile
> Guile Scheme interpreter 0.5 on Guile 1.9.1
> Copyright (C) 2001-2008 Free Software Foundation, Inc.
>
> Enter `,help' for help.
> scheme@(guile-user)> ,pr (cons 1 2)
> Backtrace:

Hasn't ever worked, I'm afraid. But perhaps I'll get around to it this
week.

In the meantime, perhaps try statprof, from guile-lib git.

Andy
-- 
http://wingolog.org/




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: guile 1.9.1 crash trying to profile code
  2009-08-04  9:26 guile 1.9.1 crash trying to profile code Ken Raeburn
  2009-08-04 19:23 ` Andy Wingo
@ 2009-12-20 23:19 ` Andy Wingo
  1 sibling, 0 replies; 3+ messages in thread
From: Andy Wingo @ 2009-12-20 23:19 UTC (permalink / raw)
  To: Ken Raeburn; +Cc: bug-guile

On Tue 04 Aug 2009 11:26, Ken Raeburn <raeburn@raeburn.org> writes:

> % guile
> Guile Scheme interpreter 0.5 on Guile 1.9.1
> Copyright (C) 2001-2008 Free Software Foundation, Inc.
>
> Enter `,help' for help.
> scheme@(guile-user)> ,pr (cons 1 2)

  wingo@unquote:~/src/guile$ meta/guile
  Guile Scheme interpreter 0.5 on Guile 1.9.6
  Copyright (C) 2001-2008 Free Software Foundation, Inc.

  Enter `,help' for help.
  scheme@(guile-user)> ,pr (cons 1 2)
  No samples recorded.
  scheme@(guile-user)> ,pr (let lp ((n 1000000)) (if (zero? n) #t (lp (1- n))))
  %     cumulative   self             
  time   seconds     seconds      name
  100.00      0.07      0.07  #<program 8949bb0 at <unknown port>:1:4 ()>
    0.00      0.07      0.00  #<program 864a420 at ice-9/boot-9.scm:3394:10 ()>
    0.00      0.07      0.00  #<program 893d0a0 opts>
    0.00      0.07      0.00  top-repl
    0.00      0.07      0.00  call-with-backtrace
    0.00      0.07      0.00  #<program 8949b90 ()>
    0.00      0.07      0.00  start-repl
    0.00      0.07      0.00  #<program 893d660 at system/repl/repl.scm:87:9 ()>
  ---
  Sample count: 5
  Total time: 0.07 seconds (0 seconds in GC)

Granted it walks past the point of the profiling, but still, we're
getting there...

Andy
-- 
http://wingolog.org/




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-20 23:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-04  9:26 guile 1.9.1 crash trying to profile code Ken Raeburn
2009-08-04 19:23 ` Andy Wingo
2009-12-20 23:19 ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).