| 1 |
# ============== |
| 2 |
# a script which replicates the crash in Praat 6.2.15. |
| 3 |
## -------- |
| 4 |
## Assertion failed in the file "SoundArea.h" at line 105: |
| 5 |
## our soundOrLongSound() && our soundOrLongSound() -> ny > 0 |
| 6 |
## -------- |
| 7 |
# (NOTE1) The contents of (Long)Sound and TextGrid are irrelevant here. |
| 8 |
# The point is that you cannnot "View & Edit" TextGrid and LongSound Objects. |
| 9 |
# (NOTE2) you can obtain the same result if you |
| 10 |
# (1) comment out the last line (i.e., View & Edit), |
| 11 |
# (2) run the script, and |
| 12 |
# (3) press "View & Edit" manually. |
| 13 |
|
| 14 |
lsID = Open long sound file: "examples/example.wav" |
| 15 |
tgID = To TextGrid: "Mary John bell", "bell" |
| 16 |
selectObject: lsID, tgID |
| 17 |
View & Edit |
| 18 |
Remove |
| 19 |
# ============== |