Autore Topic: Trace File  (Letto 647 volte)

Offline marcoyserena

  • Nuovo arrivato
  • *
  • Post: 3
  • Respect: 0
    • Mostra profilo
Trace File
« il: 15 Luglio 2014, 05:13:21 CEST »
0
Salve,
oggi stavo lavorando su un progetto.

Compilo e testo direttamente sul dispositivo, tutto ok.

Ad un certo punto cambio alcune righe di codice e ricompilo e il programma mi da una serie di errori che tra poco riporto.

Tolgo le linee di codice aggiunte, ricompilo, stessa storia un bel lungo logcat.

Elimino l'activity e il corrispettivo xml, stessa storia.

Sembra come se qualche cosa che abbia fatto fare le bizze ad android studio gli sia rimasto memorizzato.

il logcat è il seguente:

07-14 17:10:52.726    3480-3480/com.example.marcos.personalmeasures E/Trace﹕ error opening trace file: No such file or directory (2)
07-14 17:10:53.070    3480-3480/com.example.marcos.personalmeasures I/dalvikvm-heap﹕ Grow heap (frag case) to 6.632MB for 339628-byte allocation
07-14 17:10:53.126    3480-3480/com.example.marcos.personalmeasures I/dalvikvm-heap﹕ Grow heap (frag case) to 7.159MB for 523196-byte allocation
07-14 17:10:53.260    3480-3480/com.example.marcos.personalmeasures I/SurfaceTextureClient﹕ [void android::SurfaceTextureClient::init()] debug.stc.fps: 3000 ms
07-14 17:10:53.351    3480-3480/com.example.marcos.personalmeasures I/SurfaceTextureClient﹕ [void android::SurfaceTextureClient::init()] debug.stc.fps: 3000 ms
07-14 17:10:53.400    3480-3480/com.example.marcos.personalmeasures E/IMGSRV﹕ :0: gralloc_register_buffer: hnd = 4f0dae80, ID=93
07-14 17:10:53.401    3480-3480/com.example.marcos.personalmeasures E/MMUMapper﹕ fail to register MVA, unsupported format(0x5)
07-14 17:10:53.414    3480-3480/com.example.marcos.personalmeasures I/SurfaceTextureClient﹕ [void android::SurfaceTextureClient::init()] debug.stc.fps: 3000 ms
07-14 17:10:53.510    3480-3480/com.example.marcos.personalmeasures E/IMGSRV﹕ :0: gralloc_register_buffer: hnd = 5308a560, ID=94
07-14 17:10:53.510    3480-3480/com.example.marcos.personalmeasures E/MMUMapper﹕ fail to register MVA, unsupported format(0x5)
07-14 17:10:56.732    3480-3480/com.example.marcos.personalmeasures I/SurfaceTextureClient﹕ [void android::SurfaceTextureClient::init()] debug.stc.fps: 3000 ms
07-14 17:10:56.740    3480-3480/com.example.marcos.personalmeasures E/IMGSRV﹕ :0: gralloc_register_buffer: hnd = 53262970, ID=95
07-14 17:10:56.740    3480-3480/com.example.marcos.personalmeasures E/MMUMapper﹕ fail to register MVA, unsupported format(0x5)
07-14 17:10:56.773    3480-3480/com.example.marcos.personalmeasures E/IMGSRV﹕ :0: gralloc_register_buffer: hnd = 5330de50, ID=96
07-14 17:10:56.773    3480-3480/com.example.marcos.personalmeasures E/MMUMapper﹕ fail to register MVA, unsupported format(0x5)
07-14 17:10:56.810    3480-3480/com.example.marcos.personalmeasures E/MMUMapper﹕ invalid operation for unregister MVA with VA(0x52f36000) size(614400)
07-14 17:10:56.810    3480-3480/com.example.marcos.personalmeasures E/IMGSRV﹕ :0: gralloc_unregister_buffer: hnd = 4f0dae80, ID=93
07-14 17:10:56.811    3480-3480/com.example.marcos.personalmeasures E/MMUMapper﹕ invalid operation for unregister MVA with VA(0x53420000) size(614400)
07-14 17:10:56.811    3480-3480/com.example.marcos.personalmeasures E/IMGSRV﹕ :0: gralloc_unregister_buffer: hnd = 5308a560, ID=94
07-14 17:10:56.815    3480-3480/com.example.marcos.personalmeasures I/SurfaceTextureClient﹕ [void android::SurfaceTextureClient::init()] debug.stc.fps: 3000 ms
07-14 17:16:09.920    3588-3588/com.example.marcos.personalmeasures E/Trace﹕ error opening trace file: No such file or directory (2)
07-14 17:16:09.980    3588-3588/com.example.marcos.personalmeasures I/dalvikvm-heap﹕ Grow heap (frag case) to 6.632MB for 339628-byte allocation
07-14 17:16:10.057    3588-3588/com.example.marcos.personalmeasures I/dalvikvm-heap﹕ Grow heap (frag case) to 7.158MB for 523196-byte allocation
07-14 17:16:10.169    3588-3588/com.example.marcos.personalmeasures I/SurfaceTextureClient﹕ [void android::SurfaceTextureClient::init()] debug.stc.fps: 3000 ms
07-14 17:16:10.240    3588-3588/com.example.marcos.personalmeasures I/SurfaceTextureClient﹕ [void android::SurfaceTextureClient::init()] debug.stc.fps: 3000 ms
07-14 17:16:10.281    3588-3588/com.example.marcos.personalmeasures E/IMGSRV﹕ :0: gralloc_register_buffer: hnd = 5219b118, ID=106
07-14 17:16:10.282    3588-3588/com.example.marcos.personalmeasures E/MMUMapper﹕ fail to register MVA, unsupported format(0x5)
07-14 17:16:10.291    3588-3588/com.example.marcos.personalmeasures I/SurfaceTextureClient﹕ [void android::SurfaceTextureClient::init()] debug.stc.fps: 3000 ms
07-14 17:16:10.413    3588-3588/com.example.marcos.personalmeasures E/IMGSRV﹕ :0: gralloc_register_buffer: hnd = 5306d038, ID=107
07-14 17:16:10.414    3588-3588/com.example.marcos.personalmeasures E/MMUMapper﹕ fail to register MVA, unsupported format(0x5)
07-14 17:29:04.783    3588-3588/com.example.marcos.personalmeasures I/SurfaceTextureClient﹕ [void android::SurfaceTextureClient::init()] debug.stc.fps: 3000 ms
07-14 17:29:04.802    3588-3588/com.example.marcos.personalmeasures E/IMGSRV﹕ :0: gralloc_register_buffer: hnd = 5326c9e8, ID=108
07-14 17:29:04.803    3588-3588/com.example.marcos.personalmeasures E/MMUMapper﹕ fail to register MVA, unsupported format(0x5)
07-14 17:29:04.817    3588-3588/com.example.marcos.personalmeasures E/MMUMapper﹕ invalid operation for unregister MVA with VA(0x52f35000) size(614400)
07-14 17:29:04.817    3588-3588/com.example.marcos.personalmeasures E/IMGSRV﹕ :0: gralloc_unregister_buffer: hnd = 5219b118, ID=106
07-14 17:29:04.818    3588-3588/com.example.marcos.personalmeasures E/MMUMapper﹕ invalid operation for unregister MVA with VA(0x5341f000) size(614400)
07-14 17:29:04.818    3588-3588/com.example.marcos.personalmeasures E/IMGSRV﹕ :0: gralloc_unregister_buffer: hnd = 5306d038, ID=107
07-14 17:29:04.827    3588-3588/com.example.marcos.personalmeasures I/SurfaceTextureClient﹕ [void android::SurfaceTextureClient::init()] debug.stc.fps: 3000 ms
07-14 17:29:04.863    3588-3588/com.example.marcos.personalmeasures E/IMGSRV﹕ :0: gralloc_register_buffer: hnd = 52f23958, ID=109
07-14 17:29:04.863    3588-3588/com.example.marcos.personalmeasures E/MMUMapper﹕ fail to register MVA, unsupported format(0x5)
07-14 17:29:05.159    3588-3588/com.example.marcos.personalmeasures E/MMUMapper﹕ invalid operation for unregister MVA with VA(0x536f9000) size(614400)
07-14 17:29:05.161    3588-3588/com.example.marcos.personalmeasures E/IMGSRV﹕ :0: gralloc_unregister_buffer: hnd = 5326c9e8, ID=108
07-14 17:29:05.161    3588-3588/com.example.marcos.personalmeasures E/MMUMapper﹕ invalid operation for unregister MVA with VA(0x5341f000) size(614400)
07-14 17:29:05.161    3588-3588/com.example.marcos.personalmeasures E/IMGSRV﹕ :0: gralloc_unregister_buffer: hnd = 52f23958, ID=109
07-14 17:29:05.165    3588-3588/com.example.marcos.personalmeasures I/SurfaceTextureClient﹕ [void android::SurfaceTextureClient::init()]

Se qualcuno mi aiutasse gliene sarei molto grato.

Grazie.

Offline giuseppesorce

  • Utente junior
  • **
  • Post: 92
  • Respect: +6
    • Google+
    • warpmobile_it
    • Mostra profilo
  • Dispositivo Android:
    Nexus 6,Nexus 5,Nexus 4, Galaxy Nexus, Nexus s, Nexus One,Htc Wildfire S, Nexus 7... etc
  • Sistema operativo:
    Ubuntu 14.04
Re:Trace File
« Risposta #1 il: 17 Luglio 2014, 09:39:12 CEST »
0
Fai un Build-Clean project e non ti succederà più
The code is joy and passion but it has a high degree of suffering

Offline marcoyserena

  • Nuovo arrivato
  • *
  • Post: 3
  • Respect: 0
    • Mostra profilo
Re:Trace File
« Risposta #2 il: 18 Luglio 2014, 05:53:44 CEST »
0
Ho provato anche con il clean ma niente da fare, comunque svelato l'arcano...

passando un intero da un'intent ho avuto la necessità di ricevere il dato dalla seconda intent e necessitando di un intero trasformavo "erroneamente" l'intero cosi:
 
Intent intentRiceveDati = getIntent();
dato1=Integer.valueOf(datiIntent.getString("Id"));

ora che ho scoperto che è quest'ultima riga di codice a dare l'errore(peraltro un errore molto anomalo che nulla ha a che vedere con un file) non passo più un intero ma una stringa.

Domani a mente lucida, dopo averci dormito un po su, cercherò di risolvere anche questo, l'importante è aver scoperto cosa generave l'errore.

Grazie per l'aiuto.