Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #8447

Closed (moved)
(moved)
Open
Created Mar 10, 2013 by Roger Dingledine@arma

p_circ_id is a uint32_t, but we print it as a %d

Take for example

Mar 10 05:08:15.000 [info] circuit_expire_old_circuits_serverside(): Closing circ_id -2147477157 (empty 62 secs ago)

This happens because p_circ_id is of type circid_t, which is a uint32_t.

There are a bunch of cases in the code where we print p_circ_id as a %d. I guess the overflow is extra likely because of the "use the first bit to decide which piece of the id-space you'll use" trick.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking