Re: m4a not working despite recognised during configure - bb2aec9

Rainer M Krug <[email protected]>
Newsgroups gmane.comp.ipod.gtkpod
Message-ID <[email protected]>
On Thu, Mar 17, 2011 at 11:19 PM, phantomjinx
<[email protected]> wrote:
> On 17/03/11 08:46, Rainer M Krug wrote:
>> On Thu, Mar 17, 2011 at 8:38 AM, Rainer M Krug<[email protected]>  wrote:
>>
>>> On Wed, Mar 16, 2011 at 9:41 PM, phantomjinx
>>> <[email protected]>  wrote:
>>>
>>>> <snip>
>>>>
>>>>> Hi
>>>>>
>>>>> And another one concerning message boxes: when do a "Check iPod's
>>>>> files", one message box is created per file - it would be more useful,
>>>>> to suppress those and just to display a summary message at the end - I
>>>>> just had to close again more then 100 message boxes.
>>>>>
>>>>> And I still have the crashs. But I will try it on natty or a new
>>>>> maverick install, as I assume that it is caused by the disconnects
>>>>> specific to my iPod, PC or installation of Ubuntu.
>>>>>
>>>>>
>>>> Can you tell me what message is being displayed as I can pinpoint which
>>>> function needs reworking
>>>> to avoid using a gtkpod_warning.
>>>>
>>>> Thanks for all your testing
>>>>
>>> I will see if it crashes again today.
>>> But it as far as I remember, I do not see a message, as the complete
>>> gtkpod is a grey frame (including a message box). As I am copying in
>>> the background, I am able to give you more details. But what I
>>> realised is that after two crashes, the album art db was completely
>>> scrambled, but could get it back by "updating from file".
>>>
>>> I will see if I can get any more info today (still some tracks to copy...)
>>>
>> OK - here is the message I get as indicated in gdb:
>>
>> (gtkpod:4538): 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/F20/libgpod859634.mp3' could not be
>> accessed (Input/output error).
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x00df99f5 in ?? () from /lib/libc.so.6
>>
>> As I said, the message box itself is solid grey, but gtkpod is still readable.
>>
>> And the backtrace:
>>
>> ##################################
>>
>> #1  0x00dfb682 in calloc () from /lib/libc.so.6
>> #2  0x00c9a5fc in g_malloc0 () from /lib/libglib-2.0.so.0
>> #3  0x00c0a99b in g_closure_new_simple () from /usr/lib/libgobject-2.0.so.0
>> #4  0x00c0adf4 in g_cclosure_new () from /usr/lib/libgobject-2.0.so.0
>> #5  0x00c24df8 in g_signal_connect_data () from /usr/lib/libgobject-2.0.so.0
>> #6  0x003e0fae in ?? () from /usr/lib/libgtk-x11-2.0.so.0
>> #7  0x00c2ea28 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
>> #8  0x00c12e75 in ?? () from /usr/lib/libgobject-2.0.so.0
>> #9  0x00c10e5a in g_object_newv () from /usr/lib/libgobject-2.0.so.0
>> #10 0x00c119bc in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
>> #11 0x00c11ad7 in g_object_new () from /usr/lib/libgobject-2.0.so.0
>> #12 0x0047ff6f in gtk_message_dialog_new () from /usr/lib/libgtk-x11-2.0.so.0
>> #13 0x0029d444 in anjuta_util_dialog_warning () from /usr/lib/libanjuta.so.0
>> #14 0x080526f4 in anjuta_gtkpod_app_warning (gtkpod_app=0x80b3860,
>>      message=0x16f687 "%s") at anjuta-app.c:1023
>> #15 0x0013e010 in gtkpod_warning (
>>      message=0xaf14ce00 "Music directory not found:
>> '/media/iPod/iPod_Control/Music' (or similar).\n") at
>> gtkpod_app_iface.c:237
>> #16 0x00155153 in conversion_scheduler_unlocked (conv=0x8ba7830)
>>      at file_convert.c:1463
>> #17 0x00155312 in conversion_scheduler (data=0x8ba7830) at file_convert.c:1515
>> #18 0x00c91fcc in ?? () from /lib/libglib-2.0.so.0
>> ---Type<return>  to continue, or q<return>  to quit---
>> #19 0x00c91855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
>> #20 0x00c95668 in ?? () from /lib/libglib-2.0.so.0
>> #21 0x00c95848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
>> #22 0x00466034 in gtk_main_iteration () from /usr/lib/libgtk-x11-2.0.so.0
>> #23 0x00150cba in transfer_tracks (itdb=0x80c2848, td=0x8458538)
>>      at file_itunesdb.c:1522
>> #24 0x0015126e in gp_write_itdb (itdb=0x80c2848) at file_itunesdb.c:1649
>> #25 0x0014f428 in gp_save_itdb (itdb=0x80c2848) at file_itunesdb.c:1007
>> #26 0x00147b95 in file_track_added_cb (app=0x80b3860, tk=0x95a8568, data=0x0)
>>      at file.c:109
>> #27 0x00c1a4e8 in g_cclosure_marshal_VOID__POINTER ()
>>     from /usr/lib/libgobject-2.0.so.0
>> #28 0x00c0b412 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
>> #29 0x00c21b85 in ?? () from /usr/lib/libgobject-2.0.so.0
>> #30 0x00c22fac in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
>> #31 0x00c23452 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
>> #32 0x0013e819 in gtkpod_track_added (track=0x95a8568)
>>      at gtkpod_app_iface.c:303
>> #33 0x00144c90 in gp_playlist_add_track (pl=0x886afa0, track=0x95a8568,
>>      display=1) at gp_itdb.c:666
>> #34 0x0014b672 in add_track_by_filename (itdb=0x80c2848,
>>      fname=0x84fe9a0
>> "/media/Seagate_ext3/ecolmod/home/rkrug/Music/converted/flac/Suzanne
>> Vega/08_-_Suzanne Vega_-_The Queen and the Soldier.mp3",
>> ---Type<return>  to continue, or q<return>  to quit---
>>      plitem=0x886afa0, descend=1, addtrackfunc=0, data=0x0) at file.c:1654
>> #35 0x00148658 in add_directory_by_name (itdb=0x80c2848,
>>      name=0x84fe9a0
>> "/media/Seagate_ext3/ecolmod/home/rkrug/Music/converted/flac/Suzanne
>> Vega/08_-_Suzanne Vega_-_The Queen and the Soldier.mp3",
>>      plitem=0x886afa0, descend=1, addtrackfunc=0, data=0x0) at file.c:393
>> #36 0x00148600 in add_directory_by_name (itdb=0x80c2848,
>>      name=0xb744f6f8
>> "/media/Seagate_ext3/ecolmod/home/rkrug/Music/converted/flac/Suzanne
>> Vega", plitem=0x886afa0, descend=1, addtrackfunc=0, data=0x0)
>>      at file.c:381
>> #37 0x01768e0b in add_selected_dirs (names=0xb7408f50, db_active_pl=0x886afa0)
>>      at playlist_display_actions.c:60
>> #38 0x01768ee2 in add_selected_dirs_cb (data=0xb7408f50)
>>      at playlist_display_actions.c:85
>> #39 0x00843998 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
>> #40 0x00c8f841 in ?? () from /lib/libglib-2.0.so.0
>> #41 0x00c91855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
>> #42 0x00c95668 in ?? () from /lib/libglib-2.0.so.0
>> #43 0x00c95ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
>> #44 0x004661d9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
>> #45 0x08054417 in main (argc=1, argv=0xbffff894) at main.c:63
>>
>> ##################################
>>
>> gtkpod version 2.0.0.f67db4d
>>
>> I must say that if the crashes are not there, the autosave (and
>> autorecovery) works very nicely.
>>
>>
> Hopefully fixed this one. Seems the scheduler_unlocked function is
> responsible for displaying the error message and this function is
> repeatedly called every 100ms so presuming that you were adding 500
> tracks then with the same error eminating from the converter, ie.
>
> "Music directory not found:
> '/media/iPod/iPod_Control/Music' (or similar).\n")
>
> then gtkpod was trying to display this error message in 500 dialog
> boxes! Needless to say you probably ran out of resources and crashed.
>
> Should display the conversion log window instead now and append an error
> message but only the once unless the message changes.
>
> Hopefuly, get this cleared up and your oddities with the save threshold
> and I shall make the release over the weekend.
>

Great - thanks

I'll try it out as soon as it is available,

Rainer

> Cheers
>
> 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
> _______________________________________________
> Gtkpod-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gtkpod-devel
>



-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          [email protected]

Skype:          RMkrug
Google:         [email protected]

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.