Re: [Tracker] tracker-extract crashes



Hello Jurg/Martyn,

I have looked more closely into the tracker-extract-mp3.so regarding the mp3 crash I am having on my ubuntu.

I found out that I am getting g_convert error from the convert_to_encoding() function.
the Error message from the g_convert is :-   Conversion from character set 'Windows-1252' to 'UTF-8' is not supported.

there by passing NULL to the "g_strsplit ()" function.

To get the conversion support what do I have to do? do I require any thing else?
any special configuration options to the glib or libc to enable this one?

The other parameters passed to the g_convert has the valid readable ID3Tag information.

Thanks,
Prafulla











On Thu, Sep 8, 2011 at 11:46 PM, John stacy <tracker indexer gmail com> wrote:
Hello Martyn/Philip,

I dont think the mp3 I am using crashes the latest master as it is working fine on my reference ubuntu using tracker 10.18 version.
I may be missing some thing which I am unable to trace out.

as suggested by Philip, In few mins I will be sharing the mp3 via IRC.

Thanks,
John

On Thu, Sep 8, 2011 at 8:13 PM, Martyn Russell <martyn lanedo com> wrote:
On 08/09/11 14:59, John stacy wrote:
Hello Jürg,

Below is the back trace. But, I dont know why it is saying "??" in the
Frame 2 though I have enabled debug option in my Bitbake file using
CFLAGS += -g still I am getting the same.

(gdb) thread apply all bt

Thread 1 (LWP 1238):
#0  0xb7785197 in strstr () from /lib/libc.so.6
#1  0xb79e165a in g_strsplit () from /usr/lib/libglib-2.0.so.0
#2  0xb64090a9 in ?? () from
/usr/lib/tracker-0.10/extract-modules/libextract-mp3.so

 Attached is the log for gdb.

Do I have to add anything else to the compiler options to enable debug
symbols?
I will investigate more into the debug options and let you know if I get
the more accurate results using the gdb.

As I mentioned in my previous email, are there any other dependencies on
the Configuration options?
because the same code works fine on the reference ubuntu machine with
the configuration options different.

There are a limited number of places that use g_strsplit() in the mp3 extractor (5 or so), are you able to attach the MP3 to a bug report? I wonder if this still crashes master or newer builds?

--
Regards,
Martyn

Founder and CEO of Lanedo GmbH.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]