Re: [BUG] normal_sorttab_page.c, line 957 reached with entryname == NULL

phantomjinx <[email protected]> Fri, 26 Oct 2012 11:06:25 +0100
Newsgroups gmane.comp.ipod.gtkpod
Message-ID <[email protected]>
Apologies Jonathan,

No need to post again. I have your email on my TODO list ;)

My fault for not acknowledging it.

Will try and have a closer look at the problem this weekend.

Thanks for the info.

Cheers

PGR

On 10/21/2012 10:56 AM, Jonathan Neuschäfer wrote:
> Hi!
> 
> Gtkpod crashed today, so I fired up gdb to have a look at the cause.
> Here's part of the backtrace:
> 
> #0  __strcmp_ia32 () at ../sysdeps/i386/i686/multiarch/../strcmp.S:39
> #1  0xb778f6bc in fuzzy_skip_prefix (name=name@entry=0x0) at misc.c:479
> #2  0xafa8ba47 in _st_build_sortkeys (entry=0x9526ba8) at normal_sorttab_page.c:286
> #3  0xafa8d74b in normal_sort_tab_page_add_track (self=0x8c2c2c8, track=track@entry=0x912d878, final=final@entry=0, display=display@entry=1)
>     at normal_sorttab_page.c:965
> 
> As you can see, fuzzy_skip_prefix is called with a NULL pointer as its
> argument. That's because line 957 was reached with entryname == NULL and
> entry == NULL. (I haven't done any further debugging yet, but you might
> be able to find the bug from the hints I gave so far.)
> 
> 
> Thanks,
> Jonathan Neuschäfer
> 
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> Gtkpod-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gtkpod-devel
> 

-- 
Paul Richardson

  * [email protected]
  * [email protected]
  * [email protected]

"I know exactly who reads the papers ...

  * The Daily Mirror is read by people who think they run the country.
  * The Guardian is read by people who think they ought to run the country.
  * The Times is read by people who do actually run the country.
  * The Daily Mail is read by the wives of the people who run the country.
  * The Financial Times is read by the people who own the country.
  * The Morning Star is read by the people who think the country ought to be run by another country.
  * The Daily Telegraph is read by the people who think it is."

Jim Hacker, Yes Minister


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Gtkpod-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-devel