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

myhtml_parse crash on android 64 #185

Open
EMHussain opened this issue Apr 14, 2021 · 2 comments
Open

myhtml_parse crash on android 64 #185

EMHussain opened this issue Apr 14, 2021 · 2 comments

Comments

@EMHussain
Copy link

myhtml_parse crash on android

const char* html = htmlText.c_str();

 myhtml_t* myhtml = myhtml_create();
 myhtml_init(myhtml, MyHTML_OPTIONS_DEFAULT, 1, 0);

 myhtml_tree_t* tree;
  // first tree init
 tree = myhtml_tree_create();
 myhtml_tree_init(tree, myhtml);

 myhtml_parse(tree, MyENCODING_UTF_8, html, strlen(html));   // crash here on android 64 bit
@lexborisov
Copy link
Owner

@EMHussain

Hi, can you provide stack and html example?

@EMHussain
Copy link
Author

EMHussain commented Apr 15, 2021

error : SIGSEGV Segmentation violation (invalid memory reference) /data/app/ch.futureit.suchagentnative--7UzNnHYX1Um0ywhwcNdww==/lib/arm64/libmyhtml.so:102776 mycore_string_copy

example html
body-load-01.log

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

No branches or pull requests

2 participants