mikesart / inotify-info

Linux inotify info reporting app
MIT License
298 stars 31 forks source link

Segmentation fault #17

Closed panpan0000 closed 1 year ago

panpan0000 commented 1 year ago

gdb shows

Reading symbols from ./_release/inotify-info...
(gdb) run
Starting program: /tmp/inotify-info/_release/inotify-info
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
------------------------------------------------------------------------------
INotify Limits:
  max_queued_events    16384
  max_user_instances   524288
  max_user_watches     524288
------------------------------------------------------------------------------

Program received signal SIGSEGV, Segmentation fault.
_IO_fgets (buf=buf@entry=0x7fffffffde10 "Uid:\t0\t0\t0\t0\n", n=n@entry=256, fp=fp@entry=0x0) at ./libio/iofgets.c:47
47  ./libio/iofgets.c: No such file or directory.

enviroments:

suside commented 1 year ago

This is duplicate of !15 but im not sure if this project is maintained anymore though

mikesart commented 1 year ago

Well, I'm more than happy to try and fix things for folks but you're hitting issues on platforms I don't have and can't repro on the system I've got. Need someone that knows a bit about debugging to help figure out what's going on.

mikesart commented 1 year ago

Duplicate of #15. Made a commit which maybe/hopefully will fix this but we can track it over there. Thanks.