[Libreoffice-bugs] [Bug 151187] Crash when exporting ODS file with Persian text to PDF

2022-09-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151187

Caolán McNamara  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |caol...@redhat.com
   |desktop.org |

--- Comment #4 from Caolán McNamara  ---
its an assert, rather than a crash, so only visible in the NDEBUG dev builds

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151187] Crash when exporting ODS file with Persian text to PDF

2022-09-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151187

خالد حسني  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||caol...@redhat.com,
   ||kha...@aliftype.com
 Ever confirmed|0   |1

--- Comment #3 from خالد حسني  ---
Reproduced, you need to install the Vezir font (from bug 151184).

CC Caolán, I think he was working on this code lately.

Traceback:

frame #0: 0x7ff81eed800e libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x7ff81ef0e1ff libsystem_pthread.dylib`pthread_kill + 263
frame #2: 0x7ff81ee59d24 libsystem_c.dylib`abort + 123
frame #3: 0x7ff81ee590cb libsystem_c.dylib`__assert_rtn + 314
  * frame #4: 0x0001160c954f
libvcllo.dylib`ImplSubPixelToLogic(bCheck=true, n=1661.4015748031495, nDPI=720,
nMapNum=1, nMapDenom=2540) at map.cxx:290:5
frame #5: 0x0001160c92fc
libvcllo.dylib`OutputDevice::SubPixelToLogic(this=0x00013041e000,
rDevicePt=0x000191cd8310, bCheck=true) const at map.cxx:1189:18
frame #6: 0x00011631d53f
libvcllo.dylib`vcl::PDFWriterImpl::drawHorizontalGlyphs(this=0x00013041e000,
rGlyphs=size=22, rLine=0x7ff7bfef3ab8, rAlignOffset=0x7ff7bfef3880,
bFirst=true, fAngle=0, fXScale=1, fSkew=0, nFontHeight=353,
nPixelFontHeight=100) at pdfwriter_impl.cxx:6377:23
frame #7: 0x00011631b729
libvcllo.dylib`vcl::PDFWriterImpl::drawLayout(this=0x00013041e000,
rLayout=0x63b3da40, rText=0x62776000, bTextLines=true,
bCheckSubPixelToLogic=true) at pdfwriter_impl.cxx:6750:17
frame #8: 0x00011631fd40
libvcllo.dylib`vcl::PDFWriterImpl::drawTextArray(this=0x00013041e000,
rPos=0x62775ff0, rText=0x62776000, pDXArray=span @
0x7ff7bfef3bf0, pKashidaArray=(data_ = 0x, size_ = 0),
nIndex=0, nLen=22) at pdfwriter_impl.cxx:6962:9
frame #9: 0x0001162c11ff
libvcllo.dylib`vcl::PDFWriter::DrawTextArray(this=0x7ff7bfef6438,
rStartPt=0x62775ff0, rStr=0x62776000, pDXAry=span @
0x7ff7bfef3c88, pKashidaAry=(data_ = 0x, size_ = 0),
nIndex=0, nLen=22) at pdfwriter.cxx:89:22
frame #10: 0x0001162c75b0
libvcllo.dylib`vcl::PDFWriterImpl::playMetafile(this=0x00013041e000,
i_rMtf=0x7ff7bfef56a0, i_pOutDevData=0x7ff7bfef63a8,
i_rContext=0x7ff7bfef56f8, pDummyVDev=0x000191cd6060) at
pdfwriter_impl2.cxx:816:34
frame #11: 0x0001162c297a
libvcllo.dylib`vcl::PDFWriter::PlayMetafile(this=0x7ff7bfef6438,
i_rMTF=0x7ff7bfef56a0, i_rPlayContext=0x7ff7bfef56f8,
i_pData=0x7ff7bfef63a8) at pdfwriter.cxx:466:22
frame #12: 0x0001a203bc53
libpdffilterlo.dylib`PDFExport::ImplExportPage(this=0x7ff7bfef6ca0,
rWriter=0x7ff7bfef6438, rPDFExtOutDevData=0x7ff7bfef63a8,
rMtf=0x7ff7bfef5c70) at pdfexport.cxx:1139:13
frame #13: 0x0001a203ae25
libpdffilterlo.dylib`PDFExport::ExportSelection(this=0x7ff7bfef6ca0,
rPDFWriter=0x7ff7bfef6438, rRenderable=0x7ff7bfef6580,
rSelection=0x7ff7bfef6558, rRangeEnum=0x7ff7bfef65a8,
rRenderOptions=0x7ff7bfef63a0, nPageCount=1) at pdfexport.cxx:248:25
frame #14: 0x0001a2040f49
libpdffilterlo.dylib`PDFExport::Export(this=0x7ff7bfef6ca0,
rFile=0x7ff7bfef6fc0, rFilterData=0x7ff7bfef6f38) at
pdfexport.cxx:994:28
frame #15: 0x0001a20573d3
libpdffilterlo.dylib`PDFFilter::implExport(this=0x6276dd40,
rDescriptor=0x7ff7bfef74d0) at pdffilter.cxx:185:24
frame #16: 0x0001a2057f6c
libpdffilterlo.dylib`PDFFilter::filter(this=0x6276dd40,
rDescriptor=0x7ff7bfef74d0) at pdffilter.cxx:248:23
frame #17: 0x00010936cf0a
libsfxlo.dylib`SfxObjectShell::ExportTo(this=0x000191c323a0,
rMedium=0x605fb860) at objstor.cxx:2494:25
frame #18: 0x000109368698
libsfxlo.dylib`SfxObjectShell::SaveTo_Impl(this=0x000191c323a0,
rMedium=0x605fb860, pSet=0x) at objstor.cxx:1562:19
frame #19: 0x000109375ac9
libsfxlo.dylib`SfxObjectShell::PreDoSaveAs_Impl(this=0x000191c323a0,
rFileName=0x7ff7bfef8d20, aFilterName=0x7ff7bfef9138,
rItemSet=0x7ff7bfef99c8, rArgs=0x7ff7bfefa370) at objstor.cxx:2981:39
frame #20: 0x000109373ae8
libsfxlo.dylib`SfxObjectShell::CommonSaveAs_Impl(this=0x000191c323a0,
aURL=0x7ff7bfef9150, aFilterName=0x7ff7bfef9138,
rItemSet=0x7ff7bfef99c8, rArgs=0x7ff7bfefa370) at objstor.cxx:2771:9
frame #21: 0x000109346747
libsfxlo.dylib`SfxObjectShell::APISaveAs_Impl(this=0x000191c323a0,
aFileName=(__data =
u"file:///Users/khaled/Development/attic/attic/libreoffice/a%20Spressheet%20Test.pdf",
__size = 82), rItemSet=0x7ff7bfef99c8, rArgs=0x7ff7bfefa370) at
objserv.cxx:318:19
frame #22: 

[Libreoffice-bugs] [Bug 151187] Crash when exporting ODS file with Persian text to PDF

2022-09-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151187

--- Comment #2 from Timur  ---
If still crashes with new profile, please share PDF export setting.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151187] Crash when exporting ODS file with Persian text to PDF

2022-09-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151187

--- Comment #1 from Timur  ---
Not with 7.5+ Build ID: bb47ffbc9d36e83695aa0d01767d3f83533c04e0 VCL: x11 or
gtk3
So please try with new profile.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 151187] Crash when exporting ODS file with Persian text to PDF

2022-09-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=151187

Hossein  changed:

   What|Removed |Added

 Blocks||151184


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=151184
[Bug 151184] Rendering defects (black horizontal lines) in Arabic/Persian text
when exporting ODS to PDF
-- 
You are receiving this mail because:
You are the assignee for the bug.