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

yoake crash in Android\linux in newest git version #8603

Closed
sum2012 opened this issue Feb 19, 2016 · 48 comments
Closed

yoake crash in Android\linux in newest git version #8603

sum2012 opened this issue Feb 19, 2016 · 48 comments

Comments

@sum2012
Copy link
Collaborator

sum2012 commented Feb 19, 2016

edit:work in ppsspp-v1.1.1-636-g8b27bc5-android
edit2:crash in ppsspp-v1.1.1-880-gb68f2de-android
crash log v1.2.1-2-g5f05539 :
https://gist.github.com/anonymous/5c1dd157de1d8cda09a8

@sum2012
Copy link
Collaborator Author

sum2012 commented Feb 19, 2016

@hrydgard
last work: v1.1.1-760-g07a1670
first crash: v1.1.1-771-gb284023
It mean #8455

@sum2012
Copy link
Collaborator Author

sum2012 commented Feb 20, 2016

@hrydgard
Same problem as DISCIPLINE.
It seeems that pull request drop support PMP video in Android of ffmpeg

@sum2012 sum2012 added this to the v1.2.2 milestone Feb 20, 2016
@unknownbrackets
Copy link
Collaborator

Maybe the PMP code has never worked on 64-bit platforms? My memory of it is that it looked hacky.

-[Unknown]

@sum2012
Copy link
Collaborator Author

sum2012 commented Feb 21, 2016

It work on windows 64 bit
log: https://gist.github.com/sum2012/96e125c3fc0adab54510

@mrcmunir
Copy link
Contributor

Well, I will try if i can reproduce these error in the next days

-[Mrc]

@sum2012
Copy link
Collaborator Author

sum2012 commented Feb 25, 2016

@maximu
It is homebrew so that I can give you this game.
https://drive.google.com/file/d/0B3OaSdeV0L8ka0xfZ0RkVUx4NFU/view?usp=sharing

@mrcmunir
Copy link
Contributor

Well, its crash for me too

screenshot_20160226-084352
after this scene Only some seconds work in the first intro

Loop Swscaler zero vector in scaling after this blocked trhead

screenshot_20160226-083229

Edit : Well , never working in android x86_64 port maybe miss some stuff under android compared windows in ffmpeg

@mrcmunir
Copy link
Contributor

Well after some test It's not platform android specific because crash under linux too

23:55:798 idle0 W[FileSys]: FileSystems/ISOFileSystem.cpp:576 Reading beyond end of file, clamping size 1024 to 392
23:55:798 user_main I[IO]: HLE/sceIo.cpp:940 stdout: >pmp_file_open done.
23:55:798 user_main E[IO]: HLE/sceIo.cpp:1730 UNIMPL sceIoChangeAsyncPriority(7, 16)
23:55:799 user_main I[IO]: HLE/sceIo.cpp:940 stdout: >pmp_read_open done.
23:55:799 user_main I[ME]: HLE/sceMpeg.cpp:423 sceMpegInit()
23:55:799 user_main I[ME]: HLE/sceMpeg.cpp:530 08ac6ff0=sceMpegCreate(08a96948, 08ac6fc0, 65536, 08a9691c, 512, 0, 0)
23:55:830 user_main I[IO]: HLE/sceIo.cpp:940 stdout: >video width: 480
23:55:830 user_main I[IO]: HLE/sceIo.cpp:940 stdout: >video height: 272
23:55:830 user_main I[IO]: HLE/sceIo.cpp:940 stdout: >frame size: 557056
23:55:830 user_main I[IO]: HLE/sceIo.cpp:940 stdout: >format: 3
23:55:830 user_main W[ME]: HLE/sceAudiocodec.cpp:133 UNIMPL sceAudiocodecCheckNeedMem(08a97400, 4099 (AAC))
23:55:830 user_main W[ME]: HLE/sceAudiocodec.cpp:138 UNIMPL sceAudiocodecGetEDRAM(08a97400, 4099 (AAC))
23:55:830 user_main I[ME]: HLE/sceAudiocodec.cpp:87 sceAudiocodecInit(08a97400, 4099 (AAC))
23:55:836 user_main I[IO]: HLE/sceIo.cpp:940 stdout: >pmp_decode_open done.
23:55:836 user_main I[KERNEL]: HLE/sceKernelThread.cpp:1943 315=sceKernelCreateThread(output, 088368ac, 00000008, 65536, 00000000, 00000000)
23:55:837 user_main I[KERNEL]: HLE/sceKernelThread.cpp:1943 316=sceKernelCreateThread(decode, 088363e4, 00000008, 65536, 00000000, 00000000)
23:55:837 user_main I[IO]: HLE/sceIo.cpp:940 stdout: >pmp_play_open done.
23:55:837 user_main I[KERNEL]: HLE/sceKernelThread.cpp:2014 0=sceKernelStartThread(316, 4, 09fbfc60)
23:55:837 decode I[IO]: HLE/sceIo.cpp:940 stdout: starting decode thread.
23:55:837 user_main I[KERNEL]: HLE/sceKernelThread.cpp:2014 0=sceKernelStartThread(315, 4, 09fbfc60)
23:55:837 output I[IO]: HLE/sceIo.cpp:940 stdout: starting output thread.
23:55:837 decode I[IO]: HLE/sceIo.cpp:940 stdout: number of frames: 2785
23:55:837 decode I[ME]: HW/MediaEngine.cpp:87 FF: SEI type 0 size 40 truncated at 37
23:55:837 decode I[ME]: HW/MediaEngine.cpp:87 FF: SEI type 1 size 40 truncated at 36
23:55:841 decode I[ME]: HW/MediaEngine.cpp:87 FF: SEI type 1 size 40 truncated at 36
Violació de segment (bolcat de la imatge del nucli)

@sum2012
Copy link
Collaborator Author

sum2012 commented Feb 26, 2016

@sum2012 sum2012 changed the title yoake crash in Android in newest git version yoake crash in Android\linux in newest git version Feb 26, 2016
@mrcmunir
Copy link
Contributor

Under linux i try 1.1.1 same crash under x86_64 architecture

ever worked in x86_64 under UNIX OS?

Edit : Well I confirm Works under x86 linux (32bits no crash very poor perfomance but ok) But not work with 64bits (under linux always black screen)

Under android only running some seconds after crash. .

29:28:287 decode I[ME]: HW/MediaEngine.cpp:86 FF: SEI type 0 size 40 truncated at 37
29:28:287 decode I[ME]: HW/MediaEngine.cpp:86 FF: SEI type 1 size 40 truncated at 36
*** Error in `./PPSSPPSDL': free(): invalid pointer: 0x00007ff56c577a30 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x6f364)[0x7ff585640364]
/usr/lib/libc.so.6(+0x74d96)[0x7ff585645d96]
/usr/lib/libc.so.6(+0x7557e)[0x7ff58564657e]
./PPSSPPSDL[0x65dea6]
./PPSSPPSDL(_Z23CallSyscallWithoutFlagsPK11HLEFunction+0xe)[0x75870e]
[0x201b6a79]
======= Memory map: ========
00400000-00eea000 r-xp 00000000 08:08 286904 /home/mrc/myppsspp/PPSSPPSDL
010e9000-01113000 rw-p 00ae9000 08:08 286904 /home/mrc/myppsspp/PPSSPPSDL
01113000-019dd000 rw-p 00000000 00:00 0
028a1000-0459e000 rw-p 00000000 00:00 0 [heap]
20000000-21100000 rwxp 00000000 00:00 0
21100000-21102000 r-xp 00000000 00:00 0
21102000-211c2000 rwxp 00000000 00:00 0
2300010000-2300014000 rw-s 00000000 00:21 656896 /tmp/gc_mem.tmp (deleted)
2304000000-2304200000 rw-s 00004000 00:21 656896 /tmp/gc_mem.tmp (deleted)
2304200000-2304400000 rw-s 00004000 00:21 656896 /tmp/gc_mem.tmp (deleted)
2304400000-2304600000 rw-s 00004000 00:21 656896 /tmp/gc_mem.tmp (deleted)
2304600000-2304800000 rw-s 00004000 00:21 656896 /tmp/gc_mem.tmp (deleted)
2308000000-230c000000 rw-s 00204000 00:21 656896 /tmp/gc_mem.tmp (deleted)
2340010000-2340014000 rw-s 00000000 00:21 656896 /tmp/gc_mem.tmp (deleted)
2344000000-2344200000 rw-s 00004000 00:21 656896 /tmp/gc_mem.tmp (deleted)
2344200000-2344400000 rw-s 00004000 00:21 656896 /tmp/gc_mem.tmp (deleted)
2344400000-2344600000 rw-s 00004000 00:21 656896 /tmp/gc_mem.tmp (deleted)
2344600000-2344800000 rw-s 00004000 00:21 656896 /tmp/gc_mem.tmp (deleted)
2348000000-234c000000 rw-s 00204000 00:21 656896 /tmp/gc_mem.tmp (deleted)
2388000000-238c000000 rw-s 00204000 00:21 656896 /tmp/gc_mem.tmp (deleted)
7ff540000000-7ff540021000 rw-p 00000000 00:00 0
7ff540021000-7ff544000000 ---p 00000000 00:00 0
7ff545f36000-7ff546016000 rw-s 101a61000 00:06 1991 /dev/dri/card0
7ff546016000-7ff5460b6000 rw-s 00000000 00:05 662956 /drm mm object (deleted)
7ff5460b6000-7ff546db6000 rw-p 00000000 00:00 0
7ff546db6000-7ff546db7000 ---p 00000000 00:00 0
7ff546db7000-7ff568000000 rw-p 00000000 00:00 0 [stack:1976]
7ff568000000-7ff568021000 rw-p 00000000 00:00 0
7ff568021000-7ff56c000000 ---p 00000000 00:00 0
7ff56c000000-7ff56c954000 rw-p 00000000 00:00 0
7ff56c954000-7ff570000000 ---p 00000000 00:00 0
7ff570000000-7ff570021000 rw-p 00000000 00:00 0
7ff570021000-7ff574000000 ---p 00000000 00:00 0
7ff574033000-7ff575874000 rw-p 00000000 00:00 0
7ff575874000-7ff575a74000 rw-s 04004000 00:21 656896 /tmp/gc_mem.tmp (deleted)
7ff575a74000-7ff577974000 rw-s 02104000 00:21 656896 /tmp/gc_mem.tmp (deleted)
7ff577974000-7ff579874000 rw-s 00204000 00:21 656896 /tmp/gc_mem.tmp (deleted)
7ff579874000-7ff579a74000 rw-s 00004000 00:21 656896 /tmp/gc_mem.tmp (deleted)
7ff579a74000-7ff579a75000 ---p 00000000 00:00 0
7ff579a75000-7ff57a275000 rw-p 00000000 00:00 0 [stack:1975]
7ff57a275000-7ff57a287000 r-xp 00000000 08:0d 3693867 /usr/lib/libspeexdsp.so.1.5.0
7ff57a287000-7ff57a486000 ---p 00012000 08:0d 3693867 /usr/lib/libspeexdsp.so.1.5.0
7ff57a486000-7ff57a487000 r--p 00011000 08:0d 3693867 /usr/lib/libspeexdsp.so.1.5.0
7ff57a487000-7ff57a488000 rw-p 00012000 08:0d 3693867 /usr/lib/libspeexdsp.so.1.5.0
7ff57a488000-7ff57c088000 rw-s 00000000 00:05 663970 /drm mm object (deleted)
7ff57c0f8000-7ff57c108000 rw-s 101b41000 00:06 1991 /dev/dri/card0
7ff57c108000-7ff57c208000 rw-p 00000000 00:00 0
7ff57c208000-7ff57c218000 rw-s 00000000 00:05 664021 /drm mm object (deleted)
7ff57c218000-7ff57c234000 rw-s 00000000 00:05 664720 /drm mm object (deleted)
7ff57c234000-7ff57c250000 rw-s 00000000 00:05 664719 /drm mm object (deleted)
7ff57c250000-7ff57c25c000 rw-s 00000000 00:05 664718 /drm mm object (deleted)
7ff57c25c000-7ff57c26c000 rw-s 00000000 00:05 663989 /drm mm object (deleted)
7ff57c26c000-7ff57c26e000 r-xp 00000000 08:0d 3940515 /usr/lib/alsa-lib/libasound_module_rate_speexrate.so
7ff57c26e000-7ff57c46d000 ---p 00002000 08:0d 3940515 /usr/lib/alsa-lib/libasound_module_rate_speexrate.so
7ff57c46d000-7ff57c46e000 r--p 00001000 08:0d 3940515 /usr/lib/alsa-lib/libasound_module_rate_speexrate.so
7ff57c46e000-7ff57c46f000 rw-p 00002000 08:0d 3940515 /usr/lib/alsa-lib/libasound_module_rate_speexrate.so
7ff57c46f000-7ff57c47a000 r-xp 00000000 08:0d 3673307 /usr/lib/libnss_files-2.23.so
7ff57c47a000-7ff57c679000 ---p 0000b000 08:0d 3673307 /usr/lib/libnss_files-2.23.so
7ff57c679000-7ff57c67a000 r--p 0000a000 08:0d 3673307 /usr/lib/libnss_files-2.23.so
7ff57c67a000-7ff57c67b000 rw-p 0000b000 08:0d 3673307 /usr/lib/libnss_files-2.23.so
7ff57c67b000-7ff57c681000 rw-p 00000000 00:00 0
7ff57c681000-7ff57c682000 ---p 00000000 00:00 0
7ff57c682000-7ff57ce82000 rw-p 00000000 00:00 0 [stack:1900]
7ff57ce82000-7ff57ce88000 r-xp 00000000 08:0d 3940516 /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
7ff57ce88000-7ff57d087000 ---p 00006000 08:0d 3940516 /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
7ff57d087000-7ff57d088000 r--p 00005000 08:0d 3940516 /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
7ff57d088000-7ff57d089000 rw-p 00006000 08:0d 3940516 /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
7ff57d089000-7ff57d08a000 ---p 00000000 00:00 0
7ff57d08a000-7ff57d88a000 rw-p 00000000 00:00 0 [stack:1898]
7ff57d88a000-7ff57d988000 r-xp 00000000 08:0d 3692774 /usr/lib/libasound.so.2.0.0
7ff57d988000-7ff57db88000 ---p 000fe000 08:0d 3692774 /usr/lib/libasound.so.2.0.0
7ff57db88000-7ff57db8f000 r--p 000fe000 08:0d 3692774 /usr/lib/libasound.so.2.0.0
7ff57db8f000-7ff57db91000 rw-p 00105000 08:0d 3692774 /usr/lib/libasound.so.2.0.0
7ff57db91000-7ff57dba6000 r-xp 00000000 08:0d 3673313 /usr/lib/libnsl-2.23.so
7ff57dba6000-7ff57dda5000 ---p 00015000 08:0d 3673313 /usr/lib/libnsl-2.23.so
7ff57dda5000-7ff57dda6000 r--p 00014000 08:0d 3673313 /usr/lib/libnsl-2.23.so
7ff57dda6000-7ff57dda7000 rw-p 00015000 08:0d 3673313 /usr/lib/libnsl-2.23.so
7ff57dda7000-7ff57dda9000 rw-p 00000000 00:00 0
7ff57dda9000-7ff57de3a000 r-xp 00000000 08:0d 3692709 /usr/lib/libvorbisenc.so.2.0.11
7ff57de3a000-7ff57e039000 ---p 00091000 08:0d 3692709 /usr/lib/libvorbisenc.so.2.0.11
7ff57e039000-7ff57e05b000 r--p 00090000 08:0d 3692709 /usr/lib/libvorbisenc.so.2.0.11
7ff57e05b000-7ff57e05c000 rw-p 000b2000 08:0d 3692709 /usr/lib/libvorbisenc.so.2.0.11
7ff57e05c000-7ff57e087000 r-xp 00000000 08:0d 3692712 /usr/lib/libvorbis.so.0.4.8
7ff57e087000-7ff57e287000 ---p 0002b000 08:0d 3692712 /usr/lib/libvorbis.so.0.4.8
7ff57e287000-7ff57e288000 r--p 0002b000 08:0d 3692712 /usr/lib/libvorbis.so.0.4.8
7ff57e288000-7ff57e289000 rw-p 0002c000 08:0d 3692712 /usr/lib/libvorbis.so.0.4.8
7ff57e289000-7ff57e28f000 r-xp 00000000 08:0d 3692706 /usr/lib/libogg.so.0.8.2
7ff57e28f000-7ff57e48e000 ---p 00006000 08:0d 3692706 /usr/lib/libogg.so.0.8.2
7ff57e48e000-7ff57e48f000 r--p 00005000 08:0d 3692706 /usr/lib/libogg.so.0.8.2
7ff57e48f000-7ff57e490000 rw-p 00006000 08:0d 3692706 /usr/lib/libogg.so.0.8.2
7ff57e490000-7ff57e504000 r-xp 00000000 08:0d 3692834 /usr/lib/libFLAC.so.8.3.0
7ff57e504000-7ff57e704000 ---p 00074000 08:0d 3692834 /usr/lib/libFLAC.so.8.3.0
7ff57e704000-7ff57e705000 r--p 00074000 08:0d 3692834 /usr/lib/libFLAC.so.8.3.0
7ff57e705000-7ff57e706000 rw-p 00075000 08:0d 3692834 /usr/lib/libFLAC.so.8.3.0
7ff57e706000-7ff57e70b000 r-xp 00000000 08:0d 3692825 /usr/lib/libasyncns.so.0.3.1
7ff57e70b000-7ff57e90a000 ---p 00005000 08:0d 3692825 /usr/lib/libasyncns.so.0.3.1
7ff57e90a000-7ff57e90b000 r--p 00004000 08:0d 3692825 /usr/lib/libasyncns.so.0.3.1
7ff57e90b000-7ff57e90c000 rw-p 00005000 08:0d 3692825 /usr/lib/libasyncns.so.0.3.1
7ff57e90c000-7ff57e97f000 r-xp 00000000 08:0d 3692842 /usr/lib/libsndfile.so.1.0.26
7ff57e97f000-7ff57eb7e000 ---p 00073000 08:0d 3692842 /usr/lib/libsndfile.so.1.0.26
7ff57eb7e000-7ff57eb80000 r--p 00072000 08:0d 3692842 /usr/lib/libsndfile.so.1.0.26
7ff57eb80000-7ff57eb81000 rw-p 00074000 08:0d 3692842 /usr/lib/libsndfile.so.1.0.26
7ff57eb81000-7ff57eb83000 rw-p 00000000 00:00 0
7ff57eb83000-7ff57eb8d000 r-xp 00000000 08:0d 3692868 /usr/lib/libjson-c.so.2.0.1
7ff57eb8d000-7ff57ed8c000 ---p 0000a000 08:0d 3692868 /usr/lib/libjson-c.so.2.0.1
7ff57ed8c000-7ff57ed8d000 r--p 00009000 08:0d 3692868 /usr/lib/libjson-c.so.2.0.1
7ff57ed8d000-7ff57ed8e000 rw-p 0000a000 08:0d 3692868 /usr/lib/libjson-c.so.2.0.1
7ff57ed8e000-7ff57ee0c000 r-xp 00000000 08:0d 3955780 /usr/lib/pulseaudio/libpulsecommon-8.0.so
7ff57ee0c000-7ff57f00c000 ---p 0007e000 08:0d 3955780 /usr/lib/pulseaudio/libpulsecommon-8.0.so
7ff57f00c000-7ff57f00d000 r--p 0007e000 08:0d 3955780 /usr/lib/pulseaudio/libpulsecommon-8.0.so
7ff57f00d000-7ff57f00f000 rw-p 0007f000 08:0d 3955780 /usr/lib/pulseaudio/libpulsecommon-8.0.so
7ff57f00f000-7ff57f05f000 r-xp 00000000 08:0d 3692889 /usr/lib/libpulse.so.0.19.0
7ff57f05f000-7ff57f25e000 ---p 00050000 08:0d 3692889 /usr/lib/libpulse.so.0.19.0
7ff57f25e000-7ff57f25f000 r--p 0004f000 08:0d 3692889 /usr/lib/libpulse.so.0.19.0
7ff57f25f000-7ff57f260000 rw-p 00050000 08:0d 3692889 /usr/lib/libpulse.so.0.19.0
7ff57f260000-7ff57f263000 r-xp 00000000 08:0d 3692891 /usr/lib/libpulse-simple.so.0.1.0
7ff57f263000-7ff57f463000 ---p 00003000 08:0d 3692891 /usr/lib/libpulse-simple.so.0.1.0
7ff57f463000-7ff57f464000 r--p 00003000 08:0d 3692891 /usr/lib/libpulse-simple.so.0.1.0
7ff57f464000-7ff57f465000 rw-p 00004000 08:0d 3692891 /usr/lib/libpulse-simple.so.0.1.0
7ff57f465000-7ff57f469000 r-xp 00000000 08:0d 3687606 /usr/lib/libtxc_dxtn.so
7ff57f469000-7ff57f668000 ---p 00004000 08:0d 3687606 /usr/lib/libtxc_dxtn.so
7ff57f668000-7ff57f669000 r--p 00003000 08:0d 3687606 /usr/lib/libtxc_dxtn.so
7ff57f669000-7ff57f66a000 rw-p 00004000 08:0d 3687606 /usr/lib/libtxc_dxtn.so
7ff57f670000-7ff57f680000 rw-s 00000000 00:05 663983 /drm mm object (deleted)
7ff57f680000-7ff57f6a0000 rw-s 00000000 00:05 7012381 /SYSV0056a4d6 (deleted)
7ff57f6a0000-7ff57f6a8000 r-xp 00000000 08:0d 3687322 /usr/lib/libpciaccess.so.0.11.1
7ff57f6a8000-7ff57f8a8000 ---p 00008000 08:0d 3687322 /usr/lib/libpciaccess.so.0.11.1
7ff57f8a8000-7ff57f8a9000 r--p 00008000 08:0d 3687322 /usr/lib/libpciaccess.so.0.11.1
7ff57f8a9000-7ff57f8aa000 rw-p 00009000 08:0d 3687322 /usr/lib/libpciaccess.so.0.11.1
7ff57f8aa000-7ff57f8b5000 r-xp 00000000 08:0d 3680886 /usr/lib/libdrm_radeon.so.1.0.1
7ff57f8b5000-7ff57fab4000 ---p 0000b000 08:0d 3680886 /usr/lib/libdrm_radeon.so.1.0.1
7ff57fab4000-7ff57fab5000 r--p 0000a000 08:0d 3680886 /usr/lib/libdrm_radeon.so.1.0.1
7ff57fab5000-7ff57fab6000 rw-p 0000b000 08:0d 3680886 /usr/lib/libdrm_radeon.so.1.0.1
7ff57fab6000-7ff57fabd000 r-xp 00000000 08:0d 3673635 /usr/lib/libdrm_nouveau.so.2.0.0
7ff57fabd000-7ff57fcbc000 ---p 00007000 08:0d 3673635 /usr/lib/libdrm_nouveau.so.2.0.0
7ff57fcbc000-7ff57fcbd000 r--p 00006000 08:0d 3673635 /usr/lib/libdrm_nouveau.so.2.0.0
7ff57fcbd000-7ff57fcbe000 rw-p 00007000 08:0d 3673635 /usr/lib/libdrm_nouveau.so.2.0.0
7ff57fcbe000-7ff57fcde000 r-xp 00000000 08:0d 3673597 /usr/lib/libdrm_intel.so.1.0.0
7ff57fcde000-7ff57fedd000 ---p 00020000 08:0d 3673597 /usr/lib/libdrm_intel.so.1.0.0
7ff57fedd000-7ff57fede000 r--p 0001f000 08:0d 3673597 /usr/lib/libdrm_intel.so.1.0.0
7ff57fede000-7ff57fedf000 rw-p 00020000 08:0d 3673597 /usr/lib/libdrm_intel.so.1.0.0
7ff57fedf000-7ff5804e5000 r-xp 00000000 08:0d 3957538 /usr/lib/xorg/modules/dri/i965_dri.so
7ff5804e5000-7ff5806e4000 ---p 00606000 08:0d 3957538 /usr/lib/xorg/modules/dri/i965_dri.so
7ff5806e4000-7ff58071a000 r--p 00605000 08:0d 3957538 /usr/lib/xorg/modules/dri/i965_dri.so
7ff58071a000-7ff580721000 rw-p 0063b000 08:0d 3957538 /usr/lib/xorg/modules/dri/i965_dri.so
7ff580721000-7ff580729000 rw-p 00000000 00:00 0
7ff580729000-7ff58073c000 r-xp 00000000 08:0d 3680795 /usr/lib/libgpg-error.so.0.17.0
7ff58073c000-7ff58093b000 ---p 00013000 08:0d 3680795 /usr/lib/libgpg-error.so.0.17.0
7ff58093b000-7ff58093c000 r--p 00012000 08:0d 3680795 /usr/lib/libgpg-error.so.0.17.0
7ff58093c000-7ff58093d000 rw-p 00013000 08:0d 3680795 /usr/lib/libgpg-error.so.0.17.0
7ff58093d000-7ff580a15000 r-xp 00000000 08:0d 3680805 /usr/lib/libgcrypt.so.20.0.5
7ff580a15000-7ff580c15000 ---p 000d8000 08:0d 3680805 /usr/lib/libgcrypt.so.20.0.5
7ff580c15000-7ff580c16000 r--p 000d8000 08:0d 3680805 /usr/lib/libgcrypt.so.20.0.5
7ff580c16000-7ff580c1e000 rw-p 000d9000 08:0d 3680805 /usr/lib/libgcrypt.so.20.0.5
7ff580c1e000-7ff580c1f000 rw-p 00000000 00:00 0
7ff580c1f000-7ff580c30000 r-xp 00000000 08:0d 3680820 /usr/lib/liblz4.so.1.7.1
7ff580c30000-7ff580e2f000 ---p 00011000 08:0d 3680820 /usr/lib/liblz4.so.1.7.1
7ff580e2f000-7ff580e30000 r--p 00010000 08:0d 3680820 /usr/lib/liblz4.so.1.7.1
7ff580e30000-7ff580e31000 rw-p 00011000 08:0d 3680820 /usr/lib/liblz4.so.1.7.1
7ff580e31000-7ff580e56000 r-xp 00000000 08:0d 3680823 /usr/lib/liblzma.so.5.2.2
7ff580e56000-7ff581055000 ---p 00025000 08:0d 3680823 /usr/lib/liblzma.so.5.2.2
7ff581055000-7ff581056000 r--p 00024000 08:0d 3680823 /usr/lib/liblzma.so.5.2.2
7ff581056000-7ff581057000 rw-p 00025000 08:0d 3680823 /usr/lib/liblzma.so.5.2.2
7ff581057000-7ff58106b000 r-xp 00000000 08:0d 3673314 /usr/lib/libresolv-2.23.so
7ff58106b000-7ff58126a000 ---p 00014000 08:0d 3673314 /usr/lib/libresolv-2.23.so
7ff58126a000-7ff58126b000 r--p 00013000 08:0d 3673314 /usr/lib/libresolv-2.23.so
7ff58126b000-7ff58126c000 rw-p 00014000 08:0d 3673314 /usr/lib/libresolv-2.23.so
7ff58126c000-7ff58126e000 rw-p 00000000 00:00 0
7ff58126e000-7ff581272000 r-xp 00000000 08:0d 3681415 /usr/lib/libcap.so.2.25
7ff581272000-7ff581471000 ---p 00004000 08:0d 3681415 /usr/lib/libcap.so.2.25
7ff581471000-7ff581472000 rw-p 00003000 08:0d 3681415 /usr/lib/libcap.so.2.25
7ff581472000-7ff5814f3000 r-xp 00000000 08:0d 3711826 /usr/lib/libsystemd.so.0.14.0
7ff5814f3000-7ff5814f6000 r--p 00080000 08:0d 3711826 /usr/lib/libsystemd.so.0.14.0
7ff5814f6000-7ff5814f7000 rw-p 00083000 08:0d 3711826 /usr/lib/libsystemd.so.0.14.0
7ff5814f7000-7ff5814f8000 rw-p 00000000 00:00 0
7ff5814f8000-7ff581546000 r-xp 00000000 08:0d 3680993 /usr/lib/libdbus-1.so.3.14.6
7ff581546000-7ff581746000 ---p 0004e000 08:0d 3680993 /usr/lib/libdbus-1.so.3.14.6
7ff581746000-7ff581747000 r--p 0004e000 08:0d 3680993 /usr/lib/libdbus-1.so.3.14.6
7ff581747000-7ff581748000 rw-p 0004f000 08:0d 3680993 /usr/lib/libdbus-1.so.3.14.6
7ff581748000-7ff581749000 rw-p 00000000 00:00 0
7ff581749000-7ff581753000 r-xp 00000000 08:0d 3687815 /usr/lib/libXrandr.so.2.2.0
7ff581753000-7ff581952000 ---p 0000a000 08:0d 3687815 /usr/lib/libXrandr.so.2.2.0
7ff581952000-7ff581953000 r--p 00009000 08:0d 3687815 /usr/lib/libXrandr.so.2.2.0
7ff581953000-7ff581954000 rw-p 0000a000 08:0d 3687815 /usr/lib/libXrandr.so.2.2.0
7ff581954000-7ff581963000 r-xp 00000000 08:0d 3687891 /usr/lib/libXi.so.6.1.0
7ff581963000-7ff581b62000 ---p 0000f000 08:0d 3687891 /usr/lib/libXi.so.6.1.0
7ff581b62000-7ff581b63000 r--p 0000e000 08:0d 3687891 /usr/lib/libXi.so.6.1.0
7ff581b63000-7ff581b64000 rw-p 0000f000 08:0d 3687891 /usr/lib/libXi.so.6.1.0
7ff581b64000-7ff581b66000 r-xp 00000000 08:0d 3687788 /usr/lib/libXinerama.so.1.0.0
7ff581b66000-7ff581d65000 ---p 00002000 08:0d 3687788 /usr/lib/libXinerama.so.1.0.0
7ff581d65000-7ff581d66000 r--p 00001000 08:0d 3687788 /usr/lib/libXinerama.so.1.0.0
7ff581d66000-7ff581d67000 rw-p 00002000 08:0d 3687788 /usr/lib/libXinerama.so.1.0.0
7ff581d67000-7ff581d70000 r-xp 00000000 08:0d 3687010 /usr/lib/libXrender.so.1.3.0
7ff581d70000-7ff581f6f000 ---p 00009000 08:0d 3687010 /usr/lib/libXrender.so.1.3.0
7ff581f6f000-7ff581f70000 r--p 00008000 08:0d 3687010 /usr/lib/libXrender.so.1.3.0
7ff581f70000-7ff581f71000 rw-p 00009000 08:0d 3687010 /usr/lib/libXrender.so.1.3.0
7ff581f71000-7ff581f7b000 r-xp 00000000 08:0d 3687785 /usr/lib/libXcursor.so.1.0.2
7ff581f7b000-7ff58217a000 ---p 0000a000 08:0d 3687785 /usr/lib/libXcursor.so.1.0.2
7ff58217a000-7ff58217b000 r--p 00009000 08:0d 3687785 /usr/lib/libXcursor.so.1.0.2
7ff58217b000-7ff58217c000 rw-p 0000a000 08:0d 3687785 /usr/lib/libXcursor.so.1.0.2
7ff58217c000-7ff582784000 rw-p 00000000 00:00 0
7ff582784000-7ff582789000 r-xp 00000000 08:0d 3683797 /usr/lib/libXdmcp.so.6.0.0
7ff582789000-7ff582988000 ---p 00005000 08:0d 3683797 /usr/lib/libXdmcp.so.6.0.0
7ff582988000-7ff582989000 r--p 00004000 08:0d 3683797 /usr/lib/libXdmcp.so.6.0.0
7ff582989000-7ff58298a000 rw-p 00005000 08:0d 3683797 /usr/lib/libXdmcp.so.6.0.0
7ff58298a000-7ff58298c000 r-xp 00000000 08:0d 3683802 /usr/lib/libXau.so.6.0.0
7ff58298c000-7ff582b8c000 ---p 00002000 08:0d 3683802 /usr/lib/libXau.so.6.0.0
7ff582b8c000-7ff582b8d000 r--p 00002000 08:0d 3683802 /usr/lib/libXau.so.6.0.0
7ff582b8d000-7ff582b8e000 rw-p 00003000 08:0d 3683802 /usr/lib/libXau.so.6.0.0
7ff582b8e000-7ff582b9c000 r-xp 00000000 08:0d 3673299 /usr/lib/libdrm.so.2.4.0
7ff582b9c000-7ff582d9b000 ---p 0000e000 08:0d 3673299 /usr/lib/libdrm.so.2.4.0
7ff582d9b000-7ff582d9c000 r--p 0000d000 08:0d 3673299 /usr/lib/libdrm.so.2.4.0
7ff582d9c000-7ff582d9d000 rw-p 0000e000 08:0d 3673299 /usr/lib/libdrm.so.2.4.0
7ff582d9d000-7ff582da2000 r-xp 00000000 08:0d 3687524 /usr/lib/libXxf86vm.so.1.0.0
7ff582da2000-7ff582fa1000 ---p 00005000 08:0d 3687524 /usr/lib/libXxf86vm.so.1.0.0
7ff582fa1000-7ff582fa2000 r--p 00004000 08:0d 3687524 /usr/lib/libXxf86vm.so.1.0.0
7ff582fa2000-7ff582fa3000 rw-p 00005000 08:0d 3687524 /usr/lib/libXxf86vm.so.1.0.0
7ff582fa3000-7ff582fc4000 r-xp 00000000 08:0d 3686092 /usr/lib/libxcb.so.1.1.0
7ff582fc4000-7ff5831c4000 ---p 00021000 08:0d 3686092 /usr/lib/libxcb.so.1.1.0
7ff5831c4000-7ff5831c5000 r--p 00021000 08:0d 3686092 /usr/lib/libxcb.so.1.1.0
7ff5831c5000-7ff5831c6000 rw-p 00022000 08:0d 3686092 /usr/lib/libxcb.so.1.1.0
7ff5831c6000-7ff5831ca000 r-xp 00000000 08:0d 3686104 /usr/lib/libxcb-dri2.so.0.0.0
7ff5831ca000-7ff5833c9000 ---p 00004000 08:0d 3686104 /usr/lib/libxcb-dri2.so.0.0.0
7ff5833c9000-7ff5833ca000 r--p 00003000 08:0d 3686104 /usr/lib/libxcb-dri2.so.0.0.0
7ff5833ca000-7ff5833cb000 rw-p 00004000 08:0d 3686104 /usr/lib/libxcb-dri2.so.0.0.0
7ff5833cb000-7ff5833e2000 r-xp 00000000 08:0d 3686078 /usr/lib/libxcb-glx.so.0.0.0
7ff5833e2000-7ff5835e2000 ---p 00017000 08:0d 3686078 /usr/lib/libxcb-glx.so.0.0.0
7ff5835e2000-7ff5835e4000 r--p 00017000 08:0d 3686078 /usr/lib/libxcb-glx.so.0.0.0
7ff5835e4000-7ff5835e5000 rw-p 00019000 08:0d 3686078 /usr/lib/libxcb-glx.so.0.0.0
7ff5835e5000-7ff583720000 r-xp 00000000 08:0d 3686173 /usr/lib/libX11.so.6.3.0
7ff583720000-7ff58391f000 ---p 0013b000 08:0d 3686173 /usr/lib/libX11.so.6.3.0
7ff58391f000-7ff583921000 r--p 0013a000 08:0d 3686173 /usr/lib/libX11.so.6.3.0
7ff583921000-7ff583926000 rw-p 0013c000 08:0d 3686173 /usr/lib/libX11.so.6.3.0
7ff583926000-7ff583927000 rw-p 00000000 00:00 0
7ff583927000-7ff583928000 r-xp 00000000 08:0d 3686174 /usr/lib/libX11-xcb.so.1.0.0
7ff583928000-7ff583b27000 ---p 00001000 08:0d 3686174 /usr/lib/libX11-xcb.so.1.0.0
7ff583b27000-7ff583b28000 r--p 00000000 08:0d 3686174 /usr/lib/libX11-xcb.so.1.0.0
7ff583b28000-7ff583b29000 rw-p 00001000 08:0d 3686174 /usr/lib/libX11-xcb.so.1.0.0
7ff583b29000-7ff583b2e000 r-xp 00000000 08:0d 3687529 /usr/lib/libXfixes.so.3.1.0
7ff583b2e000-7ff583d2d000 ---p 00005000 08:0d 3687529 /usr/lib/libXfixes.so.3.1.0
Avortat (bolcat de la imatge del nucli)

@unknownbrackets
Copy link
Collaborator

That log above (Swscaler zero vector) looks like something nasty happened earlier, and corrupted memory or something.

-[Unknown]

@mrcmunir
Copy link
Contributor

mrcmunir commented Mar 3, 2016

@unknownbrackets before this and earlier log no much help log similar to linux SEI type 1 size trucanted after crash

I/NativeApp( 5172): 33:02:698 decode I[ME]: HW/MediaEngine.cpp:87 FF: SEI type 1 size 40 truncated at 36

From lolipop 5.1 better permission track debug. in the finish debug signal
(CallSyscallWithoutFlags(HLEFunction const*)+13) no sure if useful for why cause this.

I/DEBUG ( 1953): pid: 5172, tid: 5196, name: AndroidRender >>> org.ppsspp.ppsspp <<<
I/DEBUG ( 1953): signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0
I/DEBUG ( 1953): rax 00007f6c0e294c80 rbx 00007f6bf4c00000 rcx 0000000000000000 rdx 0000000000000006
I/DEBUG ( 1953): rsi 9435da279a0ca182 rdi ffffffffffc00000
I/DEBUG ( 1953): r8 00007f6bf4e56000 r9 00007f6c0a800210 r10 0000000000004ff0 r11 0000000000000250
I/DEBUG ( 1953): r12 0000000000000010 r13 00000000003fffff r14 0000000000000001 r15 00007f6c0a8000c0
I/DEBUG ( 1953): cs 0000000000000033 ss 000000000000002b
I/DEBUG ( 1953): rip 00007f6c0e22f2a6 rbp 0000000000000256 rsp 00007f6bf6068270 eflags 0000000000010a87
I/DEBUG ( 1953):
I/DEBUG ( 1953): backtrace:
I/DEBUG ( 1953): #00 pc 00000000000952a6 /system/lib64/libc.so (arena_run_dalloc+742)
I/DEBUG ( 1953): #1 pc 00000000000b852f /system/lib64/libc.so (je_tcache_bin_flush_large+303)
I/DEBUG ( 1953): #2 pc 00000000000b1749 /system/lib64/libc.so (je_free+937)
I/DEBUG ( 1953): #3 pc 000000000030604a /data/app/org.ppsspp.ppsspp-1/lib/x86_64/libppsspp_jni.so
I/DEBUG ( 1953): #4 pc 000000000029117d /data/app/org.ppsspp.ppsspp-1/lib/x86_64/libppsspp_jni.so (CallSyscallWithoutFlags(HLEFunction const*)+13)
I/DEBUG ( 1953): #5 pc 00000000001758ac
W/ActivityManager( 2230): Force finishing activity 1 org.ppsspp.ppsspp/.PpssppActivity

@unknownbrackets
Copy link
Collaborator

It's crashing in a free() inside a syscall, seems like.... based on je_free.

Maybe the ffmpeg version in use needs to be recompiled for 64-bit? But, it seems to work generally on 64-bit.

-[Unknown]

@unknownbrackets unknownbrackets removed this from the v1.2.2 milestone Mar 6, 2016
@sum2012
Copy link
Collaborator Author

sum2012 commented Mar 14, 2016

@unknownbrackets Why remove "v1.2.2 milestone"
edit:It is worked in v1.1.1 in Android
For linux ,may need open another issue

@unknownbrackets
Copy link
Collaborator

Personally, I think we will be satisfied to release 1.2.2 without the EGL crash.

@hrydgard do you want to drop x86-64 support in 1.2.2?

-[Unknown]

@hrydgard
Copy link
Owner

Oops, I missed this discussion. Hmm...

@hrydgard
Copy link
Owner

We can safely drop x86_64 Android support although at a slight performance penalty on the few devices that support it, as they'll just run x86_32 instead. That would work around this issue. However, it's a rare issue on a rare platform (not many android x86-64 devices out there yet) so I'm leaning towards leaving it for 1.3....

@hrydgard
Copy link
Owner

@sum2012 it only worked in 1.1 because we didn't support x86_64 back then

@sum2012
Copy link
Collaborator Author

sum2012 commented Mar 19, 2016

I don't mean it.My device is "asus zenfone 2" which is 32-bit os.
Why effect it to x86_64?

@mrcmunir
Copy link
Contributor

@sum2012 you have a test Enabled x86 only : APP_ABI := x86 in https://github.com/hrydgard/ppsspp/blob/master/android/jni/Application.mk

If happen crash too with disable x86_64 the main problem is other

@hrydgard
Copy link
Owner

Oh, hm. Well, this is all very confusing... I can't hold up 1.2.2 for this as the crash fix in it is way more important.

@sum2012
Copy link
Collaborator Author

sum2012 commented Mar 20, 2016

@maximu Don't work

@unknownbrackets
Copy link
Collaborator

If it doesn't work to switch to x86, are you certain that #8455 is when it broke?

The ffmpeg change in those commits only affected x86_64. The only other change was NDK_TOOLCHAIN_VERSION := 4.9, but I don't think (?) that would make a big difference, since I think we were already using 4.9.

-[Unknown]

@sum2012
Copy link
Collaborator Author

sum2012 commented Mar 20, 2016

@unknownbrackets Yes,comment NDK_TOOLCHAIN_VERSION := 4.9 fixed the issue
edit :I want to know the reason rather than just revert this

@unknownbrackets
Copy link
Collaborator

Hmm. So maybe we were at 4.8 before after all. I would not be against switching back to 4.8 for a v1.2.3.

Non-clang is now deprecated anyway. I think for 1.3.0 we should switch... let me see how much trouble that is...

-[Unknown]

@unknownbrackets
Copy link
Collaborator

@sum2012 try #8651? This switches to clang.

-[Unknown]

@sum2012
Copy link
Collaborator Author

sum2012 commented Mar 20, 2016

I now need to work now,I will test it after 12 hours

@mrcmunir
Copy link
Contributor

Under x86_64 disable #NDK_Toolchain

Better backtracer
screenshot_20160321-084246

Later I Will test with clang

@hrydgard
Copy link
Owner

crash in a memory allocator? I would suspect broken __thread, but that was clang, right...

@unknownbrackets
Copy link
Collaborator

It doesn't log "zero vector in scaling" on Windows (when it works), does it?

-[Unknown]

@sum2012
Copy link
Collaborator Author

sum2012 commented Mar 25, 2016

@maximu Does it fix linux x86_64 by
NDK_TOOLCHAIN_VERSION := 4.9 to 4.8 ?

@mrcmunir
Copy link
Contributor

hmmm gcc 4.8 no exist in the latest NDK..
They gcc 4.8 removed toolchain and All targets now use GCC 4.9 and recommended change it to clang

But anyway in the oldest r10 NDK only exist gcc 4.9 for x86_64

@sum2012
Copy link
Collaborator Author

sum2012 commented Apr 10, 2016

@hrydgard how about disable pmp code in non-windows ?

@unknownbrackets
Copy link
Collaborator

unknownbrackets commented Jul 24, 2016

How is this now that the "PMP" stuff is disabled on non-Windows? It sounds like it didn't work previously, right?

Also, we've just updated to using clang and a new FFmpeg build, which may help.

-[Unknown]

@sum2012
Copy link
Collaborator Author

sum2012 commented Jul 24, 2016

I do the sdk update ,then cannot compile in Eclipse
1

@hrydgard
Copy link
Owner

hrydgard commented Jul 24, 2016

That's odd, it all works for me in Eclipse. Try reloading the project or something?

(I haven't updated the SDK to the latest though ... let me try)

@unknownbrackets
Copy link
Collaborator

@sum2012 make sure you modify some .java file and it actually builds. These days I mostly use ant to build it since I got tired of always doing that...

-[Unknown]

@hrydgard
Copy link
Owner

Instead of modifying a Java file you can rightclick the project and refresh, same effect. But yeah, it's annoying :)

@hrydgard
Copy link
Owner

@sum2012 I just submitted a pull request to switch to target Android SDK 24. You could see if that helps, if you for example removed your old SDK.

@sum2012
Copy link
Collaborator Author

sum2012 commented Jul 24, 2016

(I need to go out to work now)
Now error
1

@mrcmunir
Copy link
Contributor

mrcmunir commented Jul 25, 2016

Well Confirm tested in android x86 32bit now working PMP video some little crappy sound in some moment but not crash in 32bit version.

edit : Also tested change to clang the android x86_64bit version no longer crash perfomance working very well

screenshot_20160725-033603

@unknownbrackets this problem are fixed in Android in both version 32 and 64bit.

Need remove Platform-specific (Android) Now .

@mrcmunir
Copy link
Contributor

mrcmunir commented Jul 25, 2016

Okay I found fixed in linux too need change Compiler.

cmake -DCMAKE_C_COMPILER="/bin/clang" -DCMAKE_CXX_COMPILER="/bin/clang++" CMakeLists.txt && make because by default compile the emu with GCC compiler .

screenshot at 2016-07-25 12 20 48

Hurra Video PMP working when switched to clang in non Windows-OS ignore the flood log but for now not longer crash :P

Need update wiki https://github.com/hrydgard/ppsspp/wiki/Build-instructions Recommended clang compiler insteand GCC for prevent this bug in Non-windows.

Edit : Ignore the scale problem i reset display layout editor config scaling working ok.

screenshot at 2016-07-25 14 57 24

@sum2012
Copy link
Collaborator Author

sum2012 commented Jul 25, 2016

@unknownbrackets
Copy link
Collaborator

Updated the build instructions to note Clang as preferred.

-[Unknown]

@lcrjeff
Copy link

lcrjeff commented Sep 2, 2016

image

built error

@unknownbrackets
Copy link
Collaborator

This means you haven't updated the ffmpeg submodule. It also looks like you may be missing the glslang submodule. As noted elsewhere, you need to run git submodule update --init --recursive.

-[Unknown]

@lcrjeff
Copy link

lcrjeff commented Sep 5, 2016

In windows, ab.cmd.built error
image

@unknownbrackets
Copy link
Collaborator

Pretty sure NDK r12b was supposed to fix that, per "__thread should work for real this time" in its release notes.

It looks like you're using r10e. We now require r12b and use clang.

-[Unknown]

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

No branches or pull requests

5 participants