Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Failing unit test: testPixaMergeAndReplacePix #132

Closed
rmtheis opened this issue Feb 6, 2016 · 0 comments
Closed

Failing unit test: testPixaMergeAndReplacePix #132

rmtheis opened this issue Feb 6, 2016 · 0 comments
Labels

Comments

@rmtheis
Copy link
Owner

rmtheis commented Feb 6, 2016

02-06 11:06:00.422 16762-16776/? I/TestRunner: ----- begin exception -----
02-06 11:06:00.422 16762-16776/? I/TestRunner: junit.framework.AssertionFailedError: expected:<2> but was:<1>
                                                   at junit.framework.Assert.fail(Assert.java:50)
                                                   at junit.framework.Assert.failNotEquals(Assert.java:287)
                                                   at junit.framework.Assert.assertEquals(Assert.java:67)
                                                   at junit.framework.Assert.assertEquals(Assert.java:199)
                                                   at junit.framework.Assert.assertEquals(Assert.java:205)
                                                   at com.googlecode.leptonica.android.test.PixaTest.testPixaMergeAndReplacePix(PixaTest.java:197)
                                                   at java.lang.reflect.Method.invoke(Native Method)
                                                   at junit.framework.TestCase.runTest(TestCase.java:168)
                                                   at junit.framework.TestCase.runBare(TestCase.java:134)
                                                   at junit.framework.TestResult$1.protect(TestResult.java:115)
                                                   at junit.framework.TestResult.runProtected(TestResult.java:133)
                                                   at junit.framework.TestResult.run(TestResult.java:118)
                                                   at junit.framework.TestCase.run(TestCase.java:124)
                                                   at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
                                                   at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
                                                   at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
                                                   at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1879)
02-06 11:06:00.422 16762-16776/? I/TestRunner: ----- end exception -----
02-06 11:06:00.424 16762-16776/? I/TestRunner: finished: testPixaMergeAndReplacePix(com.googlecode.leptonica.android.test.PixaTest)
02-06 11:06:00.425 16762-16776/? I/TestRunner: started: testPixaReplacePix(com.googlecode.leptonica.android.test.PixaTest)

                                               --------- beginning of crash
02-06 11:06:00.428 16762-16776/? A/libc: Invalid address 0xaebc9000 passed to free: value not allocated
02-06 11:06:00.429 16762-16776/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 16776 (ationTestRunner)
02-06 11:06:00.495 1723-1723/? I/SELinux: SELinux: Loaded file_contexts contexts from /file_contexts.
02-06 11:06:00.498 1723-1723/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-06 11:06:00.498 1723-1723/? A/DEBUG: Build fingerprint: 'google/shamu/shamu:6.0.1/MMB29S/2489379:user/release-keys'
02-06 11:06:00.498 1723-1723/? A/DEBUG: Revision: '0'
02-06 11:06:00.498 1723-1723/? A/DEBUG: ABI: 'arm'
02-06 11:06:00.498 1723-1723/? A/DEBUG: pid: 16762, tid: 16776, name: ationTestRunner  >>> com.googlecode.tesseract.android.test <<<
02-06 11:06:00.498 1723-1723/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
02-06 11:06:00.531 1723-1723/? A/DEBUG: Abort message: 'Invalid address 0xaebc9000 passed to free: value not allocated'
02-06 11:06:00.531 1723-1723/? A/DEBUG:     r0 00000000  r1 00004188  r2 00000006  r3 b3a34978
02-06 11:06:00.531 1723-1723/? A/DEBUG:     r4 b3a34980  r5 b3a34930  r6 00000058  r7 0000010c
02-06 11:06:00.531 1723-1723/? A/DEBUG:     r8 aa72a448  r9 b6d03594  sl 00000001  fp 12ee2b80
02-06 11:06:00.531 1723-1723/? A/DEBUG:     ip 00000006  sp b3a33f58  lr b6ccdb61  pc b6ccff50  cpsr 40070010
02-06 11:06:00.570 1723-1723/? A/DEBUG: backtrace:
02-06 11:06:00.570 1723-1723/? A/DEBUG:     #00 pc 00041f50  /system/lib/libc.so (tgkill+12)
02-06 11:06:00.570 1723-1723/? A/DEBUG:     #01 pc 0003fb5d  /system/lib/libc.so (pthread_kill+32)
02-06 11:06:00.570 1723-1723/? A/DEBUG:     #02 pc 0001c30f  /system/lib/libc.so (raise+10)
02-06 11:06:00.570 1723-1723/? A/DEBUG:     #03 pc 000194c1  /system/lib/libc.so (__libc_android_abort+34)
02-06 11:06:00.570 1723-1723/? A/DEBUG:     #04 pc 000174ac  /system/lib/libc.so (abort+4)
02-06 11:06:00.570 1723-1723/? A/DEBUG:     #05 pc 0001af23  /system/lib/libc.so (__libc_fatal+16)
02-06 11:06:00.570 1723-1723/? A/DEBUG:     #06 pc 00055373  /system/lib/libc.so (ifree+202)
02-06 11:06:00.570 1723-1723/? A/DEBUG:     #07 pc 00058257  /system/lib/libc.so (je_free+374)
02-06 11:06:00.570 1723-1723/? A/DEBUG:     #08 pc 000a9ca1  /data/app/com.googlecode.tesseract.android.test-1/lib/arm/liblept.so (pixDestroy+84)
02-06 11:06:00.571 1723-1723/? A/DEBUG:     #09 pc 000bb6c1  /data/app/com.googlecode.tesseract.android.test-1/lib/arm/liblept.so (pixaDestroy+76)
02-06 11:06:00.571 1723-1723/? A/DEBUG:     #10 pc 00110c75  /data/app/com.googlecode.tesseract.android.test-1/lib/arm/liblept.so (Java_com_googlecode_leptonica_android_Pixa_nativeDestroy+8)
02-06 11:06:00.571 1723-1723/? A/DEBUG:     #11 pc 00017abd  /data/app/com.googlecode.tesseract.android.test-1/oat/arm/base.odex (offset 0x11000) (void com.googlecode.leptonica.android.Pixa.nativeDestroy(long)+80)
02-06 11:06:00.571 1723-1723/? A/DEBUG:     #12 pc 00019453  /data/app/com.googlecode.tesseract.android.test-1/oat/arm/base.odex (offset 0x11000) (void com.googlecode.leptonica.android.Pixa.recycle()+94)
02-06 11:06:00.571 1723-1723/? A/DEBUG:     #13 pc 0000ff87  /data/app/com.googlecode.tesseract.android.test.test-1/oat/arm/base.odex (offset 0xe000) (void com.googlecode.leptonica.android.test.PixaTest.testPixaReplacePix()+570)
02-06 11:06:00.571 1723-1723/? A/DEBUG:     #14 pc 000e6331  /system/lib/libart.so (art_quick_invoke_stub_internal+64)
02-06 11:06:00.571 1723-1723/? A/DEBUG:     #15 pc 004028a5  /system/lib/libart.so (art_quick_invoke_stub+188)
02-06 11:06:00.571 1723-1723/? A/DEBUG:     #16 pc 00102254  [stack:16776]
@rmtheis rmtheis added the bug label Feb 6, 2016
rmtheis added a commit that referenced this issue Jun 20, 2016
Refactor nativeMergeAndReplacePix. Addresses #132.
@rmtheis rmtheis closed this as completed Jun 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant