I've spent a big amount of today trying to debug this issue.

Here on i386 I get:

#7  0xb7bdbe13 in GlobalParams::getVectorAntialias (this=0x8005c008) at 
GlobalParams.cc:1701
1701  lockGlobalParams;
(gdb) p this
$1 = (GlobalParams * const) 0x8005c008
(gdb) p globalParams
$2 = (GlobalParams *) 0x8005c008
(gdb) p mutex.__data.__kind
$3 = -2146993984   ### BROKEN ###
(gdb) p &mutex
$4 = (GooMutex *) 0x8005c0c8
(gdb) p globalParams->mutex.__data.__kind
$5 = 1
(gdb) p &globalParams->mutex
$6 = (GooMutex *) 0x8005c0f8

For some reason, "mutex" is 6 bytes behind "globalParams->mutex" (though
"this" and "globalParams" are the same object).

The attached patch (against poppler) partially works around the issue by
explicitly using "globalParams" object. However, this only helps when
running xpdf without any arguments. When trying to open the file, I
still have the same crash, and "globalParams->mutex" is broken.

Any thoughts?

** Patch added: "Partial workaround"
   
https://bugs.launchpad.net/ubuntu/+source/xpdf/+bug/1205732/+attachment/3797646/+files/globalparams-namespace.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1205732

Title:
  xpdf.real assert failure: xpdf.real: tpp.c:62:
  __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio
  >= __sched_fifo_min_prio && new_prio <= __sched_fifo_max_prio)'
  failed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xpdf/+bug/1205732/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to