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

Seg Fault using CLI to get image links #2094

Closed
Hi-ImKyle opened this issue Aug 20, 2020 · 2 comments
Closed

Seg Fault using CLI to get image links #2094

Hi-ImKyle opened this issue Aug 20, 2020 · 2 comments
Assignees
Labels
crash reproduced This issue was reproduced by the assignee.
Milestone

Comments

@Hi-ImKyle
Copy link

Just like to say sorry for making another issue so quickly after the other was resolved.

Steps to reproduce

  1. Using the docs examples but modified came up with grabber -t "Xayah" -s "rule34.paheal.net" -d -i 70 -p 1 --return-images
  2. Running said command gets as far as to parse the page then just seg faults

Context

Contents of main.log

[01:23:19.066][Info] Loading images 'http://rule34.paheal.net/post/list/Xayah/1'
[01:23:19.066][Info] [rule34.paheal.net][Html] Loading page `http://rule34.paheal.net/post/list/Xayah/1`
[01:23:19.066][Info] [rule34.paheal.net] Logging in...
[01:23:19.095][Info] [rule34.paheal.net][Html] Receiving page `http://rule34.paheal.net/post/list/Xayah/1`
[01:23:19.114][Info] [rule34.paheal.net][Html] Parsed page `http://rule34.paheal.net/post/list/Xayah/1`: 70 images (70), 15 tags (15), -1 total (560), 8 pages (8)

Contents of settings.ini

[GAnalytics]
cid=d0fd4235-b0da-4c~snip~

Contents of the output

root@UbuntuBionic /home $ grabber -t "Xayah" -s "rule34.paheal.net" -i 70 -p 1 --return-images
Segmentation fault

Screenshots

n/a

System information

  • OS: Ubuntu 18.04.4 LTS x86_64
  • Grabber version: 7.3.2

Additional context

The seg fault didn't cause any core dumps to appear. I even tried #1863's command and the output was the same.

@Bionus Bionus self-assigned this Aug 21, 2020
@Bionus Bionus added crash reproduced This issue was reproduced by the assignee. labels Aug 21, 2020
@Bionus Bionus added this to the 7.3.3 milestone Aug 21, 2020
Bionus added a commit that referenced this issue Aug 21, 2020
@Bionus
Copy link
Owner

Bionus commented Aug 21, 2020

It seems like the code is looking for GUI-specific stuff even though it's running in CLI.
I just pushed a fix 👍

@Hi-ImKyle
Copy link
Author

Yep, cloned the develop branch, built, and runs just fine. Awesome work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash reproduced This issue was reproduced by the assignee.
Projects
None yet
Development

No branches or pull requests

2 participants