Ticket #1256 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

picard crashes with: Pango-ERROR **: file pango-layout.c: line 3230 (pango_layout_check_lines): assertion failed: (!layout->log_attrs)

Reported by: jip Assigned to: luks
Priority: normal Milestone: Picard 0.7.0
Component: Picard Tagger Version: Picard 0.7.0 BETA
Keywords: Cc: tro@trort.com, nikki, BrianG
Browser: OS: Linux

Description

Sometimes while picard is doing fingerprints it crashes.

This happens with 0.7.0 beta1 and beta2

There are no specific files wich trigger this crash, after running it again it doesn't crash.

...

Title: Artist: PUID: ...request: lkt=1&cid=0736ac2cd889ef77f26f6b5e3fb8a09c &cvr=libtunepimp-0.5.0-alpha1&fpt=AQstONoqcUrfHtoQjBPUCw4Q2A5KC8AKeQuPFGQK1grEDKcMgwjvDEwQXRGJD7UN0xC7CbQHjAZeBhMFvQRWBRwFeAToBLIExwYABN0FcASo8LCks+3PUOUFJgbmDYkCKAGPA+ACbf4p/WL7T/qp/Cv9cf9c/cr7rPjO92f4KfsS/Uf8ngCXAAgAIQLOA5AFLgYvBQwEJgTLCCkExQZoBbkIyTDwDZAltPgI/lj6f/4o/Qj7Nf2l92HoYcpL6QrwS+9g8u7z4+Ze2bncd9pP5CbhlOoy9kH4Wfff+2//EgBtALUAgACRAYwDtwIfBJADzv6Y3jg5YdtgQkAMggNmBAAzjRasEtkTJP7p74zym/b7AfoTy/4g8yn2KvxK+Ij0jPKE8XL60fwx/HX59PqK+mL5Nvp0+uf7cfrE/Of7QvwYAArxZBvZAan99wPa60UBM9/G4/ECwhZf7MC+Hx25Srf+zguwFIcBHBEJFfoEv/sN/44CPwQVAQMCNwDaAZABqf+ZADr/If5F/bj+RP7f/un88vQuL1n+5xHz3/b54vDx9Uj3rtmRuE7E+gKB+ffuIPrr/SAFcwZ/ALQGRAj2FTYY1gxyCwkD9AGEA6oEZwNsA+UEMwOsAnICaQLRA9AEFQAn9Wgn9fnf0Uvnth35ErbmbTHdO6rtNOpAHKcVdRCQBm32E/0DBSICdv/E77/0lOXo93L1Av5F/Lb6ofyG/H/98P2V/sn/Xv+qAED/Ff7gHw8VJA==&rmd=1&brt=0&fmt=mp3&dur=138970&art=Violent Femmes&ttl=Special&alb=The Blind Leading The Naked&tnm=5&gnr=unknown&yrr=0&enc=&

response: <?xml version="1.0" encoding="UTF-8"?><metadata xmlns="http://musicbrainz.org/ns/mmd/1/"> <track> <title>Special</title> <artist> <name>Violent Femmes</name> </artist> <puid-list> <puid id="b79b8487-523a-afb8-8c5e-847e5d74301e" /> </puid-list> </track></metadata>

Title: Special Artist: Violent Femmes

PUID: b79b8487-523a-afb8-8c5e-847e5d74301e

Pango-ERROR **: file pango-layout.c: line 3230 (pango_layout_check_lines): assertion failed: (!layout->log_attrs) aborting...

Geannuleerd

Attachments

picard-backtrace.txt (7.7 kB) - added by jip on 2006-04-05 21:04:15.
gdb backtrace

Change History

2006-04-02 20:57:18 changed by luks

  • os set to Linux.

pango is a font renderer for GTK, i don't think this is related to fingerprinting.

2006-04-02 22:21:39 changed by troworld

  • cc set to tro@trort.com.

2006-04-05 08:37:00 changed by djprotoss@hotmail.com

I see this as well. Predominantly if I add files from more than one album to the new files list at a time.

2006-04-05 21:04:15 changed by jip

  • attachment picard-backtrace.txt added.

gdb backtrace

2006-04-08 05:25:51 changed by nikki

  • cc changed from tro@trort.com to tro@trort.com, nikki.

The crash does seem to be related to fingerprinting, but not in the way you'd expect. :)

I edited "picard/puidmanager.py" and commented out:

  • line 177: self.context.frame.setStatusText(_("Submitting PUID information to MusicBrainz server ..."))
  • line 189: self.context.frame.setStatusText(_("PUIDs successfully submitted."))
  • and line 199: self.context.frame.setStatusText(_("Performing a PUID lookup on file %s ...") % (fileName,))

and I've managed to analyse around 10 albums so far without a (Pango-related) crash, whereas previously I was having trouble analysing a single song. I haven't investigated which of those three lines is causing problems though.

2006-04-08 08:24:38 changed by luks

  • owner set to luks.
  • status changed from new to assigned.
  • milestone set to Picard 0.7.0.

Thanks nikki!

2006-04-08 10:36:19 changed by luks

  • status changed from assigned to closed.
  • resolution set to fixed.

Should be fixed in [90].

2006-04-10 17:20:24 changed by GURT

  • cc changed from tro@trort.com, nikki to tro@trort.com, nikki, GURT.

2006-07-21 19:21:27 changed by BrianG

  • cc changed from tro@trort.com, nikki, GURT to tro@trort.com, nikki, BrianG.

Add/Change #1256 (picard crashes with: Pango-ERROR **: file pango-layout.c: line 3230 (pango_layout_check_lines): assertion failed: (!layout->log_attrs))




Action