[Desire HD Android Development] :
2 more, but without traces now.

- On the app drawer in Rosie, it likes to shift it's scrolling position. For example : launch something on the 3rd row, go back, pull up the drawer, now that line is on the top, and you can see the separator. The behaviour is kinda randomish, but i'm quite sure it's not supposed to happen.

- Apps requesting su like to "hang". Not FC, but the SU window will popup, you click "allow", SuperUser FCs, app will hang. After you exit to Rosie, you will get the notification about the app getting root permissions OR SuperUser will come back infinitevely asking for permissinos, but the app will have hanged anyway. Offending apps for me : Better terminal, Kernel Manager, ROM Manager (!)

Edit : forget the superuser part. For some reason the db was corrupted..? Cleared it, updated the su binary and SuperUser seems to work now (yay!)

Edit 2 : Nope, just chuck testa. It worked fine once, and now it's fubared again. Stack trace:

D/Database( 9924): dbopen(): path = /data/data/com.noshufou.android.su/databases/permissions.sqlite, flag = 6, file size = 8192
I/Database( 9924): sqlite returned: error code = 14, msg = cannot open file at line 27206 of [42537b6056]
I/Database( 9924): sqlite returned: error code = 14, msg = unable to open database file
W/Database( 9924): getJournalMode: Fail to compile statment: pragma journal_mode;. error code = 14, msg: unable to open database file
W/Database( 9924): getJournalMode: errno = 13, error message = Permission denied
D/Database( 9924): dbopen(): path = /data/data/com.noshufou.android.su/databases/permissions.sqlite, mode: , disk free size: 768 M, handle: 0x3649d8
I/Database( 9924): sqlite returned: error code = 14, msg = cannot open file at line 27206 of [42537b6056]
I/Database( 9924): sqlite returned: error code = 14, msg = unable to open database file
E/Database( 9924): CREATE TABLE android_metadata failed
E/Database( 9924): native_setLocale: errno = 13, error message = Permission denied
E/Database( 9924): Failed to setLocale() when constructing, closing the database
E/Database( 9924): android.database.sqlite.SQLiteException: unable to open database file
E/Database( 9924):	at android.database.sqlite.SQLiteDatabase.native_setLocale(Native Method)
E/Database( 9924):	at android.database.sqlite.SQLiteDatabase.setLocale(SQLiteDatabase.java)
E/Database( 9924):	at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java)
E/Database( 9924):	at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java)
E/Database( 9924):	at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java)
E/Database( 9924):	at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java)
E/Database( 9924):	at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java)
E/Database( 9924):	at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java)
E/Database( 9924):	at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java)
E/Database( 9924):	at com.noshufou.android.su.provider.PermissionsProvider.update(PermissionsProvider.java:363)
E/Database( 9924):	at android.content.ContentProvider$Transport.update(ContentProvider.java)
E/Database( 9924):	at android.content.ContentResolver.update(ContentResolver.java)
E/Database( 9924):	at com.noshufou.android.su.AppDetailsFragment.doToggle(AppDetailsFragment.java:262)
E/Database( 9924):	at com.noshufou.android.su.AppDetailsFragment.toggle(AppDetailsFragment.java:244)
E/Database( 9924):	at com.noshufou.android.su.AppDetailsFragment.onClick(AppDetailsFragment.java:215)
E/Database( 9924):	at android.view.View.performClick(View.java)
E/Database( 9924):	at android.view.View$PerformClick.run(View.java)
E/Database( 9924):	at android.os.Handler.handleCallback(Handler.java)
E/Database( 9924):	at android.os.Handler.dispatchMessage(Handler.java)
E/Database( 9924):	at android.os.Looper.loop(Looper.java)
E/Database( 9924):	at android.app.ActivityThread.main(ActivityThread.java)
E/Database( 9924):	at java.lang.reflect.Method.invokeNative(Native Method)
E/Database( 9924):	at java.lang.reflect.Method.invoke(Method.java:507)
E/Database( 9924):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
E/Database( 9924):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
E/Database( 9924):	at dalvik.system.NativeStart.main(Native Method)
D/Database( 9924): dbclose(): path = /data/data/com.noshufou.android.su/databases/permissions.sqlite, handle = 0x3649d8
D/AndroidRuntime( 9924): Shutting down VM

And yet the file is there

# ls -l /data/data/com.noshufou.android.su/databases/
-rw-rw---- app_29 app_29 15360 2011-10-17 00:25 webview.db
-rw-rw---- app_29 app_29 6144 2011-10-17 00:25 webviewCache.db
-rw-rw---- app_29 app_29 7168 2011-10-17 00:28 su.db
-rw-rw---- app_29 app_29 6320 2011-10-17 00:29 su.db-wal
-rw-rw---- app_29 app_29 8192 2011-10-17 00:25 permissions.sqlite
-rw-rw---- root root 0 2011-10-17 00:25 permissions.sqlite-wal
-rw-rw---- root root 32768 2011-10-17 00:31 permissions.sqlite-shm
-rw-rw---- app_29 app_29 32768 2011-10-17 00:29 su.db-shm