[okular] [Bug 478213] Okular crashes when en- or disabling SmartyPans formatting (markdown)

2023-12-07 Thread postix
https://bugs.kde.org/show_bug.cgi?id=478213

--- Comment #4 from postix  ---
That was fast. Thanks! :)

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

[okular] [Bug 478213] Okular crashes when en- or disabling SmartyPans formatting (markdown)

2023-12-07 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=478213

Albert Astals Cid  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/grap
   ||hics/okular/-/commit/d1838d
   ||3a97efa681274c7f323d72c1c19
   ||4e184bb

--- Comment #3 from Albert Astals Cid  ---
Git commit d1838d3a97efa681274c7f323d72c1c194e184bb by Albert Astals Cid.
Committed on 07/12/2023 at 16:28.
Pushed by sune into branch 'master'.

markdown: Don't try re-converting a document if there's none

M  +4-2generators/markdown/generator_md.cpp

https://invent.kde.org/graphics/okular/-/commit/d1838d3a97efa681274c7f323d72c1c194e184bb

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

[okular] [Bug 478213] Okular crashes when en- or disabling SmartyPans formatting (markdown)

2023-12-07 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=478213

Bug Janitor Service  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

--- Comment #2 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/graphics/okular/-/merge_requests/856

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

[okular] [Bug 478213] Okular crashes when en- or disabling SmartyPans formatting (markdown)

2023-12-07 Thread postix
https://bugs.kde.org/show_bug.cgi?id=478213

--- Comment #1 from postix  ---
bt full

```
#0  0x7f0d0d4832fd in __GI_rewind (fp=0x0) at rewind.c:34
_IO_acquire_lock_file = 0x0
#1  0x7f0ccc1cf318 in Markdown::Converter::convertOpenFile()
(this=this@entry=0x557af7b33580) at
/usr/src/debug/okular-23.08.3/generators/markdown/converter.cpp:80
markdownHandle = 
flags = 
htmlDocument = 0x7f0d0e444809 
"H\203\304\b\203\360\001Ðff.\017\037\204"
size = 
html = {d = 0x0}
textDocument = 
frameFormat = { = {d = {d = 0x557af79a04c0}, format_type =
-201740946}, }
rootFrame = 
#2  0x7f0ccc1cfaad in Markdown::Converter::convertAgain()
(this=0x557af7b33580) at
/usr/src/debug/okular-23.08.3/generators/markdown/converter.cpp:75
c = 0x557af7b33580
textDocumentGeneratorChangedConfig = 
#3  MarkdownGenerator::reparseConfig() (this=0x557af76a9660) at
/usr/src/debug/okular-23.08.3/generators/markdown/generator_md.cpp:41
c = 0x557af7b33580
textDocumentGeneratorChangedConfig = 
#4  0x7f0cf3f85fea in Okular::DocumentPrivate::slotGeneratorConfigChanged()
(this=0x557af72df3e0) at /usr/src/debug/okular-23.08.3/core/document.cpp:1567
it_changed = 
iface = 
configchanged = false
it = {i = 0x557af7a07000}
itEnd = {i = 0x557af7918cb0}
this = 
#5  Okular::DocumentPrivate::slotGeneratorConfigChanged() (this=0x557af72df3e0)
at /usr/src/debug/okular-23.08.3/core/document.cpp:1555
this = 
#6  operator() (__closure=) at
/usr/src/debug/okular-23.08.3/core/document.cpp:4724
this = 
#7  QtPrivate::FunctorCall, QtPrivate::List<>, void,
Okular::Document::fillConfigDialog(KConfigDialog*):: >::call
(arg=, f=) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#8 
QtPrivate::Functor,
0>::call, void> (arg=, f=) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#9 
QtPrivate::QFunctorSlotObject,
0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *,
void **, bool *)
(which=, this_=, r=,
a=, ret=) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#10 0x7f0d0df25442 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffcfaf1b170, r=0x557af7369780, this=0x557af7ac8350) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
receiver = 0x557af7369780
td = 
senderData = {previous = 0x0, receiver = 0x557af7369780, sender =
0x557af793c270, signal = 13}
c = 0x557af7ac8f70
connections = {d = 0x557af798eea0}
list = 
inSenderThread = 
highestConnectionId = 5
signalVector = 
currentThreadId = 0x7f0d0afaaa00
sp = 
signal_spy_set = 0x0
empty_argv = {0x0}
senderDeleted = false
#11 doActivate(QObject*, int, void**) (sender=0x557af793c270,
signal_index=13, argv=0x7ffcfaf1b170) at kernel/qobject.cpp:3925
receiver = 0x557af7369780
td = 
senderData = {previous = 0x0, receiver = 0x557af7369780, sender =
0x557af793c270, signal = 13}
c = 0x557af7ac8f70
connections = {d = 0x557af798eea0}
list = 
inSenderThread = 
highestConnectionId = 5
signalVector = 
currentThreadId = 0x7f0d0afaaa00
sp = 
signal_spy_set = 0x0
empty_argv = {0x0}
senderDeleted = false
#12 0x7f0d0df1e0af in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=sender@entry=0x557af793c270, m=m@entry=0x7f0d0f597240
,
local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffcfaf1b170)
at kernel/qobject.cpp:3985
#13 0x7f0d0f563325 in KConfigDialog::settingsChanged(QString const&)
(this=this@entry=0x557af793c270, _t1=...) at
/usr/src/debug/kconfigwidgets-5.112.0/build/src/KF5ConfigWidgets_autogen/include/moc_kconfigdialog.cpp:208
_a = {0x0, 0x7ffcfaf1b1a0}
```

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