Re: auto saving threshold
Rainer M Krug <[email protected]>
| Newsgroups | gmane.comp.ipod.gtkpod |
|---|---|
| Message-ID | <[email protected]> |
On 03/16/2011 11:39 AM, Rainer M Krug wrote:
> On 03/15/2011 09:52 PM, phantomjinx wrote:
>> <snip>
>>>> Second observation: I set the number of tracks to 15, and gtkpod is
>>>> trying to add and copy 126 songs before a save.
>>>>
>>>
>>
>> Fixed. Should always save exactly on the threshold now, regardless of
>> how the tracks were added to the itdb.
>
> Let's put it that way - I have set it to 15 tracks, and it saves after 7
> to 8 tracks. Adding tracks via "add Folders"
And another crash - here is the backtrace
If you need any further info, let me know.
Cheers,
Rainer
(gtkpod:19419): GLib-WARNING **: GError set over the top of a previous
GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL
before it's set.
The overwriting error message was:
'/media/iPod/iTunes_Control/Music/F11/libgpod030179.mp3' could not be
accessed (Input/output error).
Program received signal SIGSEGV, Segmentation fault.
0x00df99f5 in ?? () from /lib/libc.so.6
(gdb) backtrace
#0 0x00df99f5 in ?? () from /lib/libc.so.6
#1 0x00dfbf33 in malloc () from /lib/libc.so.6
#2 0x00c9a704 in g_malloc () from /lib/libglib-2.0.so.0
#3 0x00c9a7c3 in g_malloc_n () from /lib/libglib-2.0.so.0
#4 0x00858c3f in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#5 0x0085a6fc in gdk_region_union () from /usr/lib/libgdk-x11-2.0.so.0
#6 0x008688dc in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#7 0x0086923c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#8 0x008691c7 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#9 0x0086943d in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#10 0x00887c11 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#11 0x00883db7 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#12 0x00884eb1 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#13 0x0088533f in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#14 0x00c91855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#15 0x00c95668 in ?? () from /lib/libglib-2.0.so.0
#16 0x00c95848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#17 0x00466034 in gtk_main_iteration () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00150cba in transfer_tracks (itdb=0x841eb68, td=0x841e348)
at file_itunesdb.c:1522
#19 0x0015126e in gp_write_itdb (itdb=0x841eb68) at file_itunesdb.c:1649
#20 0x0014f428 in gp_save_itdb (itdb=0x841eb68) at file_itunesdb.c:1007
#21 0x00147b95 in file_track_added_cb (app=0x80b3860, tk=0x90a3810,
data=0x0)
---Type <return> to continue, or q <return> to quit---
at file.c:109
#22 0x00c1a4e8 in g_cclosure_marshal_VOID__POINTER ()
from /usr/lib/libgobject-2.0.so.0
#23 0x00c0b412 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#24 0x00c21b85 in ?? () from /usr/lib/libgobject-2.0.so.0
#25 0x00c22fac in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#26 0x00c23452 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#27 0x0013e819 in gtkpod_track_added (track=0x90a3810)
at gtkpod_app_iface.c:303
#28 0x00144c90 in gp_playlist_add_track (pl=0x8806d40, track=0x90a3810,
display=1) at gp_itdb.c:666
#29 0x0014b672 in add_track_by_filename (itdb=0x841eb68,
fname=0x859f460
"/media/Seagate_ext3/ecolmod/home/rkrug/Music/converted/flac/No
Quarter/08_-_Jimmy Page & Robert Plant_-_The Battle of Ever More.mp3",
plitem=0x8806d40, descend=1, addtrackfunc=0, data=0x0) at file.c:1654
#30 0x00148658 in add_directory_by_name (itdb=0x841eb68,
name=0x859f460
"/media/Seagate_ext3/ecolmod/home/rkrug/Music/converted/flac/No
Quarter/08_-_Jimmy Page & Robert Plant_-_The Battle of Ever More.mp3",
plitem=0x8806d40, descend=1, addtrackfunc=0, data=0x0) at file.c:393
#31 0x00148600 in add_directory_by_name (itdb=0x841eb68,
name=0xaeb344c0
"/media/Seagate_ext3/ecolmod/home/rkrug/Music/converted/flac/No
Quarter", plitem=0x8806d40, descend=1, addtrackfunc=0, data=0x0)
at file.c:381
---Type <return> to continue, or q <return> to quit---
#32 0x01768e0b in add_selected_dirs (names=0x8b293b8,
db_active_pl=0x8806d40)
at playlist_display_actions.c:60
#33 0x01768ee2 in add_selected_dirs_cb (data=0x8b293b8)
at playlist_display_actions.c:85
#34 0x00843998 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#35 0x00c8f841 in ?? () from /lib/libglib-2.0.so.0
#36 0x00c91855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0x00c95668 in ?? () from /lib/libglib-2.0.so.0
#38 0x00c95ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#39 0x004661d9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#40 0x08054417 in main (argc=1, argv=0xbffff844) at main.c:63
(gdb)
>
> Rainer
>
>>
>> PGR
>>
>> ------------------------------------------------------------------------------
>> Colocation vs. Managed Hosting
>> A question and answer guide to determining the best fit
>> for your organization - today and in the future.
>> http://p.sf.net/sfu/internap-sfd2d
>
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d