fresco icon indicating copy to clipboard operation
fresco copied to clipboard

crash in Nexus5

Open guomin0999 opened this issue 11 years ago • 4 comments

F/libc ( 7134): heap corruption detected by dlmalloc F/libc ( 7134): Fatal signal 6 (SIGABRT) at 0x00001bde (code=-6), thread 7134 (esco.frescotest)

F/libc ( 7267): Fatal signal 6 (SIGABRT) at 0x00001c63 (code=-6), thread 7276 (FinalizerDaemon)

F/libc ( 7433): Fatal signal 7 (SIGBUS) at 0x0000000d (code=1), thread 7442 (FinalizerDaemon)

guomin0999 avatar Mar 31 '15 02:03 guomin0999

Hi, we'll look into it ASAP. Can you please provide more information on how you use Fresco? This will help us in isolating the issue.

plamenko avatar Mar 31 '15 14:03 plamenko

protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    Fresco.initialize(this);
    setContentView(R.layout.activity_main);

    SimpleDraweeView draweeView = (SimpleDraweeView) findViewById(R.id.my_image_view);
    draweeView.setImageURI(Uri.parse("url"));
}

Step: 1.open app > ok > close 2.open app> ok > close 3.open app>crash 4.open app> ok > close 5.open app > ok > close 6.open app>crash

guomin0999 avatar Apr 01 '15 01:04 guomin0999

Thanks, for the scenario, I am able to reproduce - fix is coming soon.

michalgr avatar Apr 01 '15 15:04 michalgr

The crash is happening when calling recycle on already finalized Bitmap. It is fixed in master now.

michalgr avatar Apr 02 '15 13:04 michalgr