Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples/perf/io-perf fails with segmentation fault with io-uring: #476

Open
hutm opened this issue May 9, 2024 · 1 comment
Open

examples/perf/io-perf fails with segmentation fault with io-uring: #476

hutm opened this issue May 9, 2024 · 1 comment
Labels
Compatibility Compatibility Not Bug This will not be worked on

Comments

@hutm
Copy link

hutm commented May 9, 2024

examples/perf/io-perf fails with segmentation fault with io-uring:

(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: io-perf --disk-path /dev/nvme2n1p2 --disk_size 100000000000 --io_uring
2024/05/09 15:54:40.117604|INFO |th=0000000000000000|photon_io_perf.cpp:79|main:Specify disk /dev/nvme2n1p2 size 100000000000
2024/05/09 15:54:40.117801|INFO |th=00007FFFF782A200|iouring-wrapper.cpp:668|new_iouring:Init event engine: iouring [is_master=1]
2024/05/09 15:54:40.117813|INFO |th=00007FFFF782A200|iouring-wrapper.cpp:516|check_register_file_support:iouring: register_files is enabled

Program received signal SIGSEGV, Segmentation fault.
0x0000000000817826 in free ()
(gdb) bt
#0  0x0000000000817826 in free ()
#1  0x0000000000440a54 in photon::iouringEngine::init() ()
#2  0x000000000043f664 in photon::new_iouring(bool) ()
#3  0x00000000004229d5 in photon::init(unsigned long, unsigned long, photon::PhotonOptions const&) ()
#4  0x000000000041c40a in main ()
@beef9999
Copy link
Collaborator

Photon uses liburing 2.3, you can try this cmd to download and build from source

https://photonlibos.github.io/docs/introduction/how-to-build#case-1-staitcally-build-all-third-party-libs

@lihuiba lihuiba added Compatibility Compatibility Not Bug This will not be worked on labels May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compatibility Compatibility Not Bug This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants