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

Core crash with differnt backtrace #2383

Closed
beeender opened this issue Jan 4, 2017 · 2 comments
Closed

Core crash with differnt backtrace #2383

beeender opened this issue Jan 4, 2017 · 2 comments
Assignees

Comments

@beeender
Copy link
Contributor

beeender commented Jan 4, 2017

realm-java user helped to build an apk to reproduce this issue, see
realm/realm-java#2567 (comment)

APK and reproduce steps can be found in the internal link: https://secure.helpscout.net/conversation/299975517/8277/?folderId=366144

Here is the crash with the latest core release (v2.3.0) on Sumsung GT-S7572 Android 4.1.2

********** Crash dump: **********
Build fingerprint: 'samsung/kylepluszc/kylepluschn:4.1.2/JZO54K/S7572ZCAMJ2:user/release-keys'
pid: 10358, tid: 10377, name: Thread-771  >>> log.badtransaction.com.test.staging <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 50460000
Stack frame #00  pc 0000e220  /system/lib/libc.so
Stack frame #01  pc 000a9507  /data/data/log.badtransaction.com.test.staging/lib/librealm-jni.so: Routine realm::GroupWriter::write_array(char const*, unsigned int, unsigned int) at unwind-c.c:?

And crash log with core (v2.1.3) (the log is not incomplete, i forgot to save it ... but it doesn't matter, it could crash with all different kind of backtraces, and it is always reproducible.)

E/REALM_JNI: jni: ThrowingException 5, Failure when converting short string to UTF-16 error_code = 1; retcode = 0; StringData.size = 10; StringData.data = class_News; StringData as hex =  0x63 0x6c 0x61 0x73 0x73 0x5f 0x4e 0x65 0x77 0x73; in_begin = ass_News; in_end = ; out_curr = 0x52820be4; out_end = 0x52820c40; in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_Table.cpp line 1379, .
@beeender
Copy link
Contributor Author

beeender commented Jan 4, 2017

And this cannot be reproduced by emulator (at least i cannot, run it with emulator for 1+ hours), but it is very easy to be reproduced on a real device.

@ironage
Copy link
Contributor

ironage commented Feb 22, 2017

This should be fixed in #2465

@ironage ironage closed this as completed Mar 2, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants