Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pike pike
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 104
    • Issues 104
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pikelang
  • pikepike
  • Issues
  • #1053
Closed
Open
Issue created Jan 17, 2001 by Peter Bortas@zinoOwner

Error in internal buffering in trace output

Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1053

Reported by @marcus

Running the following program in pike7.1.45

---8<---

mapping x = ([]);
class y { int `==(object z) { return 0; } };

void use(mixed _) { }

void main()
{
  x[y()] = 1;
  trace(2);
  x[y()] = 1;
  use(x);
}

---8<---

gives a fatal error:

-   Return: 0
- tracekrash.pike:   9: 8314d74->y()
-   Return: object
- tracekrash.pike:  12: 8314d54->`==(object)
-   Return: 0
/home/marcus/pike/src/dynamic_buffer.c:55: Fatal error:
Error in internal buffering.
Attempting to dump backlog (may fail)...
Backtrace at time of fatal:
tracekrash.pike:12: main()
Abort (core dumped)
Assignee
Assign to
Time tracking