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

crash while parsing multiple access.log files #1808

Closed
eroldru opened this issue Jun 10, 2020 · 3 comments
Closed

crash while parsing multiple access.log files #1808

eroldru opened this issue Jun 10, 2020 · 3 comments

Comments

@eroldru
Copy link

eroldru commented Jun 10, 2020

Trying to parse content of a folder holding access.log data. Directory holds log files and gzip files and I need a report generated from all of them together.

Command I used:
zless access.log* | goaccess -a -o html --log-format COMBINED - > report.html

Output after 3M+ parsed:

==1686== GoAccess 1.2 crashed by Sig 11
==1686==
==1686== VALUES AT CRASH POINT
==1686==
==1686== Line number: 3225142
==1686== Offset: 0
==1686== Invalid data: 2
==1686== Piping: 1
==1686== Response size: 13630185867 bytes
==1686==
==1686== STACK TRACE:
==1686==
==1686== 0 goaccess(sigsegv_handler+0x1a0) [0x559b8ff35080]
==1686== 1 /lib/x86_64-linux-gnu/libc.so.6(+0x37840) [0x7f4b67e7d840]
==1686== 2 /lib/x86_64-linux-gnu/libtokyocabinet.so.9(+0x7d500) [0x7f4b6808e500]
==1686== 3 /lib/x86_64-linux-gnu/libtokyocabinet.so.9(+0x7ee1c) [0x7f4b6808fe1c]
==1686== 4 /lib/x86_64-linux-gnu/libtokyocabinet.so.9(+0x878d9) [0x7f4b680988d9]
==1686== 5 /lib/x86_64-linux-gnu/libtokyocabinet.so.9(+0x88117) [0x7f4b68099117]
==1686== 6 /lib/x86_64-linux-gnu/libtokyocabinet.so.9(tcbdbaddint+0x137) [0x7f4b680a04f7]
==1686== 7 /lib/x86_64-linux-gnu/libtokyocabinet.so.9(tcadbaddint+0x359) [0x7f4b680ee1b9]
==1686== 8 goaccess(ht_insert_hits+0x86) [0x559b8ff534d6]
==1686== 9 goaccess(+0x237c1) [0x559b8ff427c1]
==1686== 10 goaccess(+0x2556f) [0x559b8ff4456f]
==1686== 11 goaccess(+0x25d86) [0x559b8ff44d86]
==1686== 12 goaccess(+0x25e9a) [0x559b8ff44e9a]
==1686== 13 goaccess(main+0x237) [0x559b8ff30f07]
==1686== 14 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f4b67e6a09b]
==1686== 15 goaccess(_start+0x2a) [0x559b8ff323ea]

Maybe I am doing something wrong.

@eroldru
Copy link
Author

eroldru commented Jun 10, 2020

Fixed my problem by changing the output directory to /home/user. The mount used was a local Windows host share from VirtualBox. I wonder if that was the problem tho.

The issue can be closed if not interesting.

@allinurl
Copy link
Owner

Thanks for reporting that! Could you please try using the latest version as libtokyocabinet has been deprecated.

Feel free to reopen it if needed.

@eroldru
Copy link
Author

eroldru commented Jun 10, 2020

Will try, thank you. Currently running it on a debian VM and just installed using apt install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants