Ticket #35 (closed defect: worksforme)

Opened 8 years ago

Last modified 7 years ago

test program crashes on test file with multiple documents

Reported by: roel _ dot _ vanhout _ at _ gmail _ dot _ com Owned by: xi
Priority: normal Component: libyaml
Severity: normal Keywords:

Description (last modified by xi) (diff)

The run-parser.c test file crashes on the following test document: ============START================

- Harry Potter and the Prisoner of Azkaban
- Harry Potter and the Goblet of Fire
- Harry Potter and the Order of the Phoenix
- Memoirs Found in a Bathtub
- Snow Crash
- Ghost World


Crash in is api.c, line 604 of the release tarball:


==> yaml_free(token->data.scalar.value);


When I comment out the second document of the test file (from the second '---' on down), it runs fine.


Change History

comment:1 Changed 8 years ago by xi

  • Status changed from new to assigned
  • Description modified (diff)

comment:2 Changed 8 years ago by xi

  • Status changed from assigned to closed
  • Resolution set to fixed

Strangely enough, it doesn't crash for me. Valgrind doesn't report anything suspicious either. What's your OS/compiler?

comment:3 Changed 8 years ago by xi

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:4 Changed 7 years ago by xi

  • Status changed from reopened to closed
  • Resolution set to worksforme

Since there are no further information, I'm closing the ticket. Fill free to reopen it though if you still experience this problem.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.