Git Product home page Git Product logo

Comments (4)

eminence avatar eminence commented on June 27, 2024

Hi, thanks for the report.

This is unfortunately a bug: #138

I'm a little surprised to see this panic while calling Process::myself() (so seeing the full stack trace would be helpful), but this is a procfs bug that still must be fixed

from procfs.

tiann avatar tiann commented on June 27, 2024

It seems that backtrace is not working well on Android ?

101|ginkgo:/data/local/tmp $ RUST_BACKTRACE=full ./abcd
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: PermissionDenied(Some("/proc/sys/kernel/osrelease"))', /Users/weishu/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b/procfs-0.10.1/src/lib.rs:303:34
stack backtrace:
   0:       0x59d42c5600 - <unknown>
   1:       0x59d42db818 - <unknown>
   2:       0x59d42c37ec - <unknown>
   3:       0x59d42c6e50 - <unknown>
   4:       0x59d42c699c - <unknown>
   5:       0x59d42c75d4 - <unknown>
   6:       0x59d42c7100 - <unknown>
   7:       0x59d42c5a84 - <unknown>
   8:       0x59d42c7068 - <unknown>
   9:       0x59d42daa64 - <unknown>
  10:       0x59d42dabe8 - <unknown>
  11:       0x59d42ad04c - <unknown>
  12:       0x59d42a59b0 - <unknown>
  13:       0x59d42aeed8 - <unknown>
  14:       0x59d42af410 - <unknown>
  15:       0x59d42c532c - <unknown>
  16:       0x59d42af3a0 - <unknown>
  17:       0x59d42a34c4 - <unknown>
  18:       0x59d42aa338 - <unknown>
  19:       0x59d42adcf0 - <unknown>
  20:       0x59d42ae024 - <unknown>
  21:       0x59d42a0b00 - <unknown>
  22:       0x59d42a08e4 - <unknown>
  23:       0x59d42a0ac4 - <unknown>
  24:       0x59d42a09b4 - <unknown>
  25:       0x59d42c78dc - <unknown>
  26:       0x59d42a0980 - <unknown>
  27:       0x59d42a0be8 - <unknown>
  28:       0x79f69cb97c - <unknown>
  29:                0x0 - <unknown>

from procfs.

eminence avatar eminence commented on June 27, 2024

Hello, the latest v0.11.0 release should fix this. Please try it out and let me know if you still have problems. Thanks again for the bug report.

from procfs.

tiann avatar tiann commented on June 27, 2024

0.11.0 works well, thanks for your great work!

from procfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.