Tomdroid 0.4.1-1 hangs when syncing with sd card

Bug #669482 reported by Benoit Garret
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Tomdroid
New
Undecided
Unassigned

Bug Description

From Lluïsa Nuñez

I've tried upgrading to 0.4.1-1 on my device with android 2.1

Everything's OK til I try to sync notes stored in /sdcard/tomdroid Then it hangs unexpectedly. Please help

Revision history for this message
Benoit Garret (benoit.garret) wrote :

When you say "hangs unexpectedly", do you mean it force closes or it really hangs without doing anything?

Revision history for this message
Lluïsa Nuñez (lluisanunez) wrote :

No, there is a message "Sorry! The application tomdroi (process org.tomdroid) has stopped unexpectedly. Please try again" and the only button is "Force close".

Revision history for this message
Lluïsa Nuñez (lluisanunez) wrote :

Note: I coppied all my Tomboy notes from /home/lluisa/.local/shared/tomboy to /media/sdcard/tomboy

Revision history for this message
Benoit Garret (benoit.garret) wrote :

Do you know enough to get a stack trace from the crash? You'll need the android sdk installed and run "adb logcat" while your phone is plugged in through usb. It would be very helpful to get to the root cause of the problem.

Revision history for this message
Olivier Bilodeau (plaxx) wrote : Re: [Bug 669482] Re: Tomdroid 0.4.1-1 hangs when syncing with sd card

Alternatively, if you can install from market, you would get a "Report"
option in addition to "Force close". Reporting would send the crash details
to us which I would repost here for everyone's benefit.

Revision history for this message
Benoit Garret (benoit.garret) wrote :

Oh sweet, I didn't know that. Thanks a lot for the information.

Revision history for this message
Bernd Hirschler (bhirschler) wrote :

From the description it seems this is a duplicate of Bug #534213.
The magic number for importing notes, at least for me, seems to be 150 notes, maybe this applies also to you.

By the way i uninstalled my local packet and installed from the market, but i do not have the reporting feature.

Revision history for this message
Olivier Bilodeau (plaxx) wrote :

I realized after the fact that you get the reporting feature starting with
2.2..

On 2010-11-20 6:41 AM, "Bernd Hirschler" <email address hidden> wrote:

>From the description it seems this is a duplicate of Bug #534213.
The magic number for importing notes, at least for me, seems to be 150
notes, maybe this applies also to you.

By the way i uninstalled my local packet and installed from the market,
but i do not have the reporting feature.

--
Tomdroid 0.4.1-1 hangs when syncing with sd card
https://bugs.launchpad.net/bugs/669482
You rec...

Revision history for this message
Olivier Bilodeau (plaxx) wrote :

We got reports from the Android Market talking about an OutOfMemory crash when syncing from SD Card.

User comment:
trying to refresh list of notes from SD card.

Stack trace:
java.lang.OutOfMemoryError
at org.tomdroid.sync.sd.SdCardSyncService$Worker.<init>(SdCardSyncService.java:146)
at org.tomdroid.sync.sd.SdCardSyncService.sync(SdCardSyncService.java:118)
at org.tomdroid.sync.SyncService.startSynchronization(SyncService.java:75)
at org.tomdroid.sync.SyncManager.startSynchronization(SyncManager.java:64)
at org.tomdroid.ui.Actionbar$1.onClick(Actionbar.java:64)
at android.view.View.performClick(View.java:2408)
at android.view.View$PerformClick.run(View.java:8816)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)

Revision history for this message
Olivier Bilodeau (plaxx) wrote :

Lluïsa, how many notes do you have in your note collection?

I'm wondering if your issue is related to a high number of notes or if it's more related to SD Card access problems (like in lp:689473, which seems fixed in trunk).

Thanks,

Revision history for this message
Lluïsa Nuñez (lluisanunez) wrote :

Hello,
I have at present 87 notes, all between 1 and 10Kb
My SD card is 16Gb

Greetings,

Lluïsa Nuñez

     = _~ô
     = _ \<_
    = (_)/(_)
==============
http://www.google.com/profiles/lluisanunez#buzz

On Mon, Dec 13, 2010 at 4:30 AM, Olivier Bilodeau <<email address hidden>
> wrote:

> Lluïsa, how many notes do you have in your note collection?
>
> I'm wondering if your issue is related to a high number of notes or if
> it's more related to SD Card access problems (like in lp:689473, which
> seems fixed in trunk).
>
> Thanks,
>
> ** Branch linked: lp:tomdroid
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/669482
>
> Title:
> Tomdroid 0.4.1-1 hangs when syncing with sd card
>

Revision history for this message
Thomas Frenzel (syslock) wrote :

I had a similar issue when syncing my ~550 notes collection from SDCard. The following commit seems to fix this: http://bazaar.launchpad.net/~syslock/tomdroid/note-editing/revision/233

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.