error 'Value of 'NIL in ... ' in make-graph
- Lingua principale
- Common Lisp
- Stelle
- 81
- Fork
- 9
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
When I run just the simple example on the readme page, I get an error and backtrace like this:
```
Value of 'NIL in
(THE (OR STRING SB-DI::COMPILED-DEBUG-FUN) (PROGN 'NIL))
is
NIL,
not a
(OR (VECTOR CHARACTER) BASE-STRING SB-DI::COMPILED-DEBUG-FUN).
[Condition of type SIMPLE-TYPE-ERROR]
...
0: (SB-C::%COMPILE-TIME-TYPE-ERROR (NIL) (OR (VECTOR CHARACTER) BASE-STRING SB-DI::COMPILED-DEBUG-FUN) # ((QUOTE NIL)) "(THE (OR STRING SB-DI::COMPILED-DEBUG-FUN) (PROGN 'NIL))" NIL)
1: ((FLET SB-PCL::INITIALIZE-IT) # #)
2: ((LAMBDA ()))
3: (FLAMEGRAPH::MAKE-GRAPH)
...
```
Environment: SBCL 2.0.11 on MacOS
To reproduce:
```
(ql:quickload :flamegraph)
(defun foo () (sleep 0.01))
(defun bar () (sleep 0.05))
(defun blah () (loop repeat 1000 do (foo) (bar)))
(flamegraph:save-flame-graph ("/tmp/foo.stack") (blah))
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.