[okular] [Bug 467852] New: Form: Numbers concatenated rather than summed (UK IHT407)
https://bugs.kde.org/show_bug.cgi?id=467852 Bug ID: 467852 Summary: Form: Numbers concatenated rather than summed (UK IHT407) Classification: Applications Product: okular Version: 22.12.3 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: PDF backend Assignee: okular-de...@kde.org Reporter: gilbertd+...@treblig.org Target Milestone: --- Created attachment 157630 --> https://bugs.kde.org/attachment.cgi?id=157630&action=edit Original IHT407 form unfilled SUMMARY In the attached (government issued) form, the summation of fields is working as concatenation rather than summing the values. The original form is available: https://www.gov.uk/government/publications/inheritance-tax-household-and-personal-goods-iht407 I've attached: a) An original version b) A version with a value in the first entry in page 2 of £300, top row, and you can see the total field at the bottom has a load of 0's that correspond to each row adding an extra '0' to the result; this carries into the total on the next page STEPS TO REPRODUCE 1. Load the empty form 2. Enter a numeric value, e.g. 300, into the top right field on page 2 (Open market value, top row) 3. Enter another numeric value, e.g. 55 into the page 4 field 4, 'Total value of other' OBSERVED RESULT The total on page 2 is 300 The total on page 5 is something like 30055 EXPECTED RESULT £300 and £355 SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Fedora 37 (available in About System) KDE Plasma Version: 5.27.3 - but running under xfce KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 ADDITIONAL INFORMATION I've seen a non-reproducible crash on that form and other oddities, try tabbing around on page 2 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 467852] Form: Numbers concatenated rather than summed (UK IHT407)
https://bugs.kde.org/show_bug.cgi?id=467852 --- Comment #1 from Dave Gilbert --- Created attachment 157631 --> https://bugs.kde.org/attachment.cgi?id=157631&action=edit IHT407 with dummy values filled as per the bug report -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 468036] New: Form: NaN in form total (UK IHT 411)
https://bugs.kde.org/show_bug.cgi?id=468036 Bug ID: 468036 Summary: Form: NaN in form total (UK IHT 411) Classification: Applications Product: okular Version: 22.12.3 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: PDF backend Assignee: okular-de...@kde.org Reporter: gilbertd+...@treblig.org Target Milestone: --- Created attachment 157768 --> https://bugs.kde.org/attachment.cgi?id=157768&action=edit Original IHT411 form unfilled SUMMARY The UK Gov form IHT411 (copy enclosed), has a pair of 'Totals' columns, while they correctly start out at £0.00, as soon as you enter any value they change into £NaN The forms come from: https://www.gov.uk/government/publications/inheritance-tax-listed-stocks-and-shares-iht411 STEPS TO REPRODUCE 1. Load the original form, see the 'Total value of stock at date of death' is £0.00 on both pages 2. Enter 1 into amount of stock held, and £1.00 in Market price at death OBSERVED RESULT Both 'total value of stock' columns display NaN EXPECTED RESULT The actual total of those columns SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 468036] Form: NaN in form total (UK IHT 411)
https://bugs.kde.org/show_bug.cgi?id=468036 --- Comment #1 from Dave Gilbert --- Created attachment 157769 --> https://bugs.kde.org/attachment.cgi?id=157769&action=edit Verison of IHT411 with dummy £1 value filled in -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 468037] New: Form: 2 of the tick boxes don't work (UK IHT 400)
https://bugs.kde.org/show_bug.cgi?id=468037 Bug ID: 468037 Summary: Form: 2 of the tick boxes don't work (UK IHT 400) Classification: Applications Product: okular Version: 22.12.3 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: PDF backend Assignee: okular-de...@kde.org Reporter: gilbertd+...@treblig.org Target Milestone: --- Created attachment 157770 --> https://bugs.kde.org/attachment.cgi?id=157770&action=edit UK IHT 400 form SUMMARY In the UK form IHT 400 (included) there are many many tick boxes; most of them work fine, except 44 and 45, which instead change boxes 48a and 48b. https://www.gov.uk/government/publications/inheritance-tax-inheritance-tax-account-iht400 STEPS TO REPRODUCE 1. Click on the No/Yes boxes for 44 or 45 on page 6 OBSERVED RESULT The ticks appear in boxes 48a and 48b EXPECTED RESULT The ticks appear in the box you tick SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 468037] Form: 2 of the tick boxes don't work (UK IHT 400)
https://bugs.kde.org/show_bug.cgi?id=468037 --- Comment #1 from Dave Gilbert --- This *might* be a form bug; it's pretty consistent across Okular, evince and Chromium. (Chromium is slightly different, it gives the tick boxes a default of No which makes it easier to avoid) -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 468036] Form: NaN in form total (UK IHT 411)
https://bugs.kde.org/show_bug.cgi?id=468036 --- Comment #2 from Dave Gilbert --- For anyone desperately looking to work around this, Chromium doesn't NaN -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 468036] Form: NaN in form total (UK IHT 411)
https://bugs.kde.org/show_bug.cgi?id=468036 --- Comment #3 from Dave Gilbert --- I'm seeing a few scripts that run, the two that produce NaN are: -- //set values in boxes to variable\r\nvar tot = this.getField(\"Grand_Total_stock_1\");\r\nvar tot1 = Number(this.getField(\"Total_1\").valueAsString);\r\nvar tot2 = Number(this.getField(\"Total_2\").valueAsString);\r\nvar tot3 = Number(this.getField(\"Total_3\").valueAsString);\r\nvar tot4 = Number(this.getField(\"Total_4\").valueAsString);\r\nvar tot5 = Number(this.getField(\"Total_5\").valueAsString);\r\nvar tot6 = Number(this.getField(\"Total_6\").valueAsString);\r\nvar tot7 = Number(this.getField(\"Total_7\").valueAsString);\r\n\r\n//set an array of above variables\r\nvar arrTotal =[tot1, tot2, tot3, tot4, tot5, tot6, tot7];\r\n\r\n//loop through variables to add\r\nvar result = 0;\r\nfor (i=0; i < arrTotal.length; i++)\r\n{\r\nresult += arrTotal[i]\r\n };\r\n\r\n//place total of array loop in total box\r\ntot.value = result;\r\n\r\n//if(tot.value == 0){\r\n//tot.value = \"\";\r\n//};\r\n //set values in boxes to variable var tot = this.getField(\"Grand_Total_stock_1\"); var tot1 = Number(this.getField(\"Total_1\").valueAsString); var tot2 = Number(this.getField(\"Total_2\").valueAsString); var tot3 = Number(this.getField(\"Total_3\").valueAsString); var tot4 = Number(this.getField(\"Total_4\").valueAsString); var tot5 = Number(this.getField(\"Total_5\").valueAsString); var tot6 = Number(this.getField(\"Total_6\").valueAsString); var tot7 = Number(this.getField(\"Total_7\").valueAsString); //set an array of above variables var arrTotal =[tot1, tot2, tot3, tot4, tot5, tot6, tot7]; //loop through variables to add var result = 0; for (i=0; i < arrTotal.length; i++) { result += arrTotal[i] }; //place total of array loop in total box tot.value = result; //if(tot.value == 0){ //tot.value = \"\"; //}; -- //set values in boxes to variable\r\nvar totStk = this.getField(\"Grand_total_stock_2\");\r\nvar totStk1 = Number(this.getField(\"Total_stock_1\").valueAsString);\r\nvar totStk2 = Number(this.getField(\"Total_stock_2\").valueAsString);\r\nvar totStk3 = Number(this.getField(\"Total_stock_3\").valueAsString);\r\nvar totStk4 = Number(this.getField(\"Total_stock_4\").valueAsString);\r\nvar totStk5 = Number(this.getField(\"Total_stock_5\").valueAsString);\r\nvar totStk6 = Number(this.getField(\"Total_stock_6\").valueAsString);\r\nvar totStk7 = Number(this.getField(\"Total_stock_7\").valueAsString);\r\nvar totStk8 = Number(this.getField(\"Total_stock_8\").valueAsString);\r\nvar totStk9 = Number(this.getField(\"Total_stock_9\").valueAsString);\r\nvar totStk10 = Number(this.getField(\"Total_stock_10\").valueAsString);\r\nvar totStk11 = Number(this.getField(\"Total_stock_11\").valueAsString);\r\nvar totStk12 = Number(this.getField(\"Total_stock_12\").valueAsString);\r\nvar totStk13 = Number(this.getField(\"Total_stock_13\").valueAsString);\r\nvar totStk14 = Number(this.getField(\"Total_stock_14\").valueAsString);\r\n\r\n//set an array of above variables\r\nvar arrTotalStk =[totStk1, totStk2, totStk3, totStk4, totStk5, totStk6, totStk7, totStk8, totStk9, totStk10, totStk11, totStk12, totStk13, totStk14];\r\n\r\n//loop through variables to add\r\nvar resultStk = 0;\r\nfor (i=0; i < arrTotalStk.length; i++)\r\n{\r\nresultStk += arrTotalStk[i]\r\n}\r\n\r\n//place total of array loop in total box\r\ntotStk.value = resultStk;\r\n\r\n//if(totStk.value == 0){\r\n//totStk.value = \"\";\r\n//}; //set values in boxes to variable var totStk = this.getField(\"Grand_total_stock_2\"); var totStk1 = Number(this.getField(\"Total_stock_1\").valueAsString); var totStk2 = Number(this.getField(\"Total_stock_2\").valueAsString); var totStk3 = Number(this.getField(\"Total_stock_3\").valueAsString); var totStk4 = Number(this.getField(\"Total_stock_4\").valueAsString); var totStk5 = Number(this.getField(\"Total_stock_5\").valueAsString); var totStk6 = Number(this.getField(\"Total_stock_6\").valueAsString); var totStk7 = Number(this.getField(\"Total_stock_7\").valueAsString); var totStk8 = Number(this.getField(\"Total_stock_8\").valueAsString); var totStk9 = Number(this.getField(\"Total_stock_9\").valueAsString); var totStk10 = Number(this.getField(\"Total_stock_10\").valueAsString); var totStk11 = Number(this.getField(\"Total_stock_11\").valueAsString); var totStk12 =
[okular] [Bug 468036] Form: NaN in form total (UK IHT 411)
https://bugs.kde.org/show_bug.cgi?id=468036 Dave Gilbert changed: What|Removed |Added Ever confirmed|0 |1 Status|REPORTED|ASSIGNED --- Comment #4 from Dave Gilbert --- OK, fix incoming; it's just that we're missing a definition of valueAsString -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 468037] Form: 2 of the tick boxes don't work (UK IHT 400)
https://bugs.kde.org/show_bug.cgi?id=468037 --- Comment #3 from Dave Gilbert --- Yeh, not too sure what's going on here. 44 and 45 look like all the others to me in the raw PDF - although I can't say I fully understand the syntax yet; they both have an '/Off' and '/Yes' in the /N and /D sections. 48a and 48b (objects 2416/2417) both do it differently with the buttons in children, and have 4 children, two 'No/Off' pairs and two 'Off/Yes' pairs - which doesn't make any sense to me since they only seem to have tow buttons each. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 466425] Okular crashes when opening a faulty file
https://bugs.kde.org/show_bug.cgi?id=466425 Dave Gilbert changed: What|Removed |Added CC||gilbertd+...@treblig.org --- Comment #5 from Dave Gilbert --- #0 __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:287 #1 0x7fffd02f5068 in FindNode (List=0x10f4490, Data=Data@entry=0x7fffbe30) at /usr/src/debug/ebook-tools-0.2.2-23.fc37.x86_64/src/libepub/linklist.c:116 Compare = #2 0x7fffd02f5239 in _opf_manifest_get_by_id (opf=, id=) at /usr/src/debug/ebook-tools-0.2.2-23.fc37.x86_64/src/libepub/opf.c:767 data = {nspace = 0x7fffbe50 "", modules = 0xfed0 , id = 0x0, href = 0x0, type = 0x0, fallback = 0x7fffe0c90526 "UH\211\345H\203\354@H\211}\330H\211uЉU\314f\017\357\300\017)E\340f\017\326E\360H\213E\320H\211\307\350\353,", fbStyle = 0x0} #3 0x7fffd02f528e in _get_spine_it_url (it=it@entry=0x10f4350) at /usr/src/debug/ebook-tools-0.2.2-23.fc37.x86_64/src/libepub/epub.c:258 tmp = data = 0x10ea070 #4 0x7fffd02f5322 in epub_it_get_curr (it=0x10f4350) at /usr/src/debug/ebook-tools-0.2.2-23.fc37.x86_64/src/libepub/epub.c:343 #5 0x7fffd232478a in Epub::Converter::convert(QString const&) (this=0x10d1450, fileName=...) at /discs/more/git/okular/generators/epub/converter.cpp:360 newDocument = 0x10d5530 _cursor = 0x10d6420 it = 0x10f4350 firstPage = false movieAnnots = {d = 0x75f6d240 } soundActions = {d = 0x75f6d240 } orig = {d = 0x9558c0, {data = {current_group = 0, resolve_mask = 1965951}, for_faster_swapping_dont_use = 31455216}} p = {d = 0x10c9580, {data = {current_group = 0, resolve_mask = 1965951}, for_faster_swapping_dont_use = 31455216}} videoSize = {wd = 320, ht = 240} __PRETTY_FUNCTION__ = "virtual QTextDocument* Epub::Converter::convert(const QString&)" tit = 0xff hit = {c = {{d = 0x10d28c8, e = 0x10d28c8}}, i = {i = 0x77fd85a2 <_dl_fixup+258>}, n = {i = 0x5}} #6 0x7fffe0d2478a in Okular::TextDocumentConverter::convertWithPassword(QString const&, QString const&) (this=0x10d1450, fileName=...) at /discs/more/git/okular/core/textdocumentgenerator.cpp:52 doc = 0x10d6cb0 #7 0x7fffe0d25890 in Okular::TextDocumentGenerator::loadDocumentWithPassword(QString const&, QVector&, QString const&) (this=0x10d6cb0, fileName=..., pagesVector=..., password=...) at /discs/more/git/okular/core/textdocumentgenerator.cpp:288 d = 0x98c0c0 openResult = Okular::Document::OpenSuccess linkInfos = {> = {}, {p = {static shared_null = {ref = {atomic = {_q_value = std::atomic = { -1 }}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7fffc860}, d = 0x7fffc860}} annotationInfos = {> = {}, {p = {static shared_null = {ref = {atomic = {_q_value = std::atomic = { -1 }}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7fffc858}, d = 0x7fffc858}} size = {wd = 566784540, ht = 1080302727} objects = {d = 0x7fffc9c0} annots = {d = 0x10c97e0} #8 0x7fffe0cc659e in Okular::DocumentPrivate::openDocumentInternal(KPluginMetaData const&, bool, QString const&, QByteArray const&, QString const&) (this=0x7465c0, offer=..., isstdin=false, docFile=..., filedata=..., password=...) at /discs/more/git/okular/core/document.cpp:943 propName = {d = 0x10d0c60} genIt = {i = 0x10da870} errorToOpenErrorConnection = {d_ptr = 0x10d1720} window = 0xe58a70 dpi = {wd = 157.06280193236714, ht = 160.89149560117301} __PRETTY_FUNCTION__ = "Okular::Document::OpenResult Okular::DocumentPrivate::openDocumentInternal(const KPluginMetaData&, bool, const QString&, const QByteArray&, const QString&)" openResult = Okular::Document::OpenError #9 0x7fffe0cd00c7 in Okular::Document::openDocument(QString const&, QUrl const&, QMimeType const&, QString const&) (this=0x7e08e0, docFile=..., url=..., _mime=..., password=...) at /discs/more/git/okular/core/document.cpp:2461 db = {d = 0x7616b380 <(anonymous namespace)::Q_QGS_staticQMimeDatabase::innerFunction()::holder>} mime = {d = {d = 0x10d1150}} filedata = {d = 0x75f6d240 } fd = -1 triedMimeFromFileContent = false __PRETTY_FUNCTION__ = "Okular::Document::OpenResult Okular::Document::openDocument(const QString&, const QUrl&, const QMimeType&, const QString&)" fromFileDescriptor = false offer = {m_metaData = {dead = 0x0, o = {d = 0xac9dd0}}, m_fileName = {d = 0xa89bc0}, d = {d = 0xab5720}} openResult = (Okular::Document::OpenError | Okular::Document::Op
[okular] [Bug 466425] Okular crashes when opening a faulty file
https://bugs.kde.org/show_bug.cgi?id=466425 --- Comment #6 from Dave Gilbert --- The 'einfo' program that uses the same library crashes in the same way, so I'm guessing it's the library. [dg@dalek build]$ gdb /usr/bin/einfo (gdb) r -p ~/bugs/okular-466425-epubcrash/faulty_file.epub ... Program received signal SIGSEGV, Segmentation fault. __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:287 287 CMP_R1_S2_ymm (%ymm0, (%rsi), %ymm2, %ymm1) (gdb) where #0 __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:287 #1 0x77f94068 in FindNode (List=0xf9a0, Data=Data@entry=0x7fffdc40) at /usr/src/debug/ebook-tools-0.2.2-23.fc37.x86_64/src/libepub/linklist.c:116 #2 0x77f94239 in _opf_manifest_get_by_id (opf=, id=) at /usr/src/debug/ebook-tools-0.2.2-23.fc37.x86_64/src/libepub/opf.c:767 #3 0x77f9428e in _get_spine_it_url (it=it@entry=0xfc40) at /usr/src/debug/ebook-tools-0.2.2-23.fc37.x86_64/src/libepub/epub.c:258 #4 0x77f94322 in epub_it_get_curr (it=0xfc40) at /usr/src/debug/ebook-tools-0.2.2-23.fc37.x86_64/src/libepub/epub.c:343 #5 0x5357 in main (argc=, argv=0x7fffde28) at /usr/src/debug/ebook-tools-0.2.2-23.fc37.x86_64/src/tools/einfo.c:122 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 466425] Okular crashes when opening a faulty file
https://bugs.kde.org/show_bug.cgi?id=466425 --- Comment #7 from Dave Gilbert --- This seems to be fixed by the set of fixes in: https://github.com/captn3m0/ebook-tools referenced from: https://sourceforge.net/p/ebook-tools/bugs/10/ heck, this library is old; it seems worth taking those fixes somehow, not sure how. Anyway, erm what do we do with this Okular bug? -- You are receiving this mail because: You are watching all bug changes.
[kmplot] [Bug 426025] kmplot crashed with any implicit functions include tangent
https://bugs.kde.org/show_bug.cgi?id=426025 Dave Gilbert changed: What|Removed |Added CC||gilbertd+...@treblig.org --- Comment #6 from Dave Gilbert --- still happens on current head ( a89ed5ddfea2ac96cfdce2bc4d1b49f268065edd ) - that pointer value is obviously complete garbage: #0 0x7fffdd0d6e1d in Parser::number(double) (value=Python Exception : Cannot access memory at address 0x34003600360031 looks like someone is writing ascii where a pointer should be. -- You are receiving this mail because: You are watching all bug changes.
[kmplot] [Bug 435186] KmPlot crashes when trying to plot an implicit function
https://bugs.kde.org/show_bug.cgi?id=435186 Dave Gilbert changed: What|Removed |Added CC||gilbertd+...@treblig.org --- Comment #2 from Dave Gilbert --- This looks the same as 426025 to me -- You are receiving this mail because: You are watching all bug changes.
[kmplot] [Bug 426025] kmplot crashed with any implicit functions include tangent
https://bugs.kde.org/show_bug.cgi?id=426025 --- Comment #7 from Dave Gilbert --- I think I kind of understand what's going on, but not 100% and hmm. void View::drawImplicit(Function *function, QPainter *painter) { QList singular; ... for (const QPointF &point : qAsConst(singular)) { ... for (double t : qAsConst(roots)) { double x = point.x() + epsilon * lcos(t); double y = point.y() + epsilon * lsin(t); drawImplicitInSquare(plot, painter, x, y, {}, &singular); } so, 'singular' - which I think is a list being walked in the outer for, gets modified by 'drawImplicitInSquare' in a corner case - which I think is the fact tan is not-contiguous. I think turning that loop into a QMutableListIterator might work. -- You are receiving this mail because: You are watching all bug changes.
[kmplot] [Bug 426025] kmplot crashed with any implicit functions include tangent
https://bugs.kde.org/show_bug.cgi?id=426025 --- Comment #8 from Dave Gilbert --- Hmm the QMutableListIterator didn't work and I've not figured out why yet; the valgrind I'm looking at is: ==39870== Invalid read of size 8 ==39870==at 0x1DEF2D01: UnknownInlinedFun (qlist.h:153) ==39870==by 0x1DEF2D01: UnknownInlinedFun (qlist.h:313) ==39870==by 0x1DEF2D01: View::drawImplicit(Function*, QPainter*) (view.cpp:1168) ==39870==by 0x1DEF997D: View::draw(QPaintDevice*, View::PlotMedium) [clone .part.0] (view.cpp:363) ==39870==by 0x1DEE62D4: UnknownInlinedFun (view.cpp:2637) ==39870==by 0x1DEE62D4: View::drawPlot() (view.cpp:2636) ==39870==by 0x1DED4129: FunctionEditor::saveImplicit() (functioneditor.cpp:639) ==39870==by 0x5E5DE95: call (qobjectdefs_impl.h:398) ==39870==by 0x5E5DE95: void doActivate(QObject*, int, void**) (qobject.cpp:3923) ==39870==by 0x5E6121D: QTimer::timeout(QTimer::QPrivateSignal) (moc_qtimer.cpp:205) ==39870==by 0x5E54FC4: QObject::event(QEvent*) (qobject.cpp:1369) ==39870==by 0x4FA2D61: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3640) ==39870==by 0x5E2A4E7: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1064) ==39870==by 0x5E7A980: QTimerInfoList::activateTimers() (qtimerinfo_unix.cpp:643) ==39870==by 0x5E7B25B: timerSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:183) ==39870==by 0x78C2C7E: UnknownInlinedFun (gmain.c:3454) ==39870==by 0x78C2C7E: g_main_context_dispatch (gmain.c:4172) ==39870== Address 0x2d53d948 is 40 bytes inside a block of size 120 free'd ==39870==at 0x48486AF: realloc (vg_replace_malloc.c:1451) ==39870==by 0x5CB2156: QListData::realloc_grow(int) (qlist.cpp:170) ==39870==by 0x5CB2201: QListData::append(int) (qlist.cpp:196) ==39870==by 0x1DEF507C: UnknownInlinedFun (qlist.h:632) ==39870==by 0x1DEF507C: QList::append(QPointF const&) (qlist.h:620) ==39870==by 0x1DEEC03F: UnknownInlinedFun (qlist.h:402) ==39870==by 0x1DEEC03F: View::drawImplicitInSquare(Plot const&, QPainter*, double, double, QFlags, QList*) (view.cpp:1358) ==39870==by 0x1DEF33D5: View::drawImplicit(Function*, QPainter*) (view.cpp:1199) ==39870==by 0x1DEF997D: View::draw(QPaintDevice*, View::PlotMedium) [clone .part.0] (view.cpp:363) ==39870==by 0x1DEE62D4: UnknownInlinedFun (view.cpp:2637) ==39870==by 0x1DEE62D4: View::drawPlot() (view.cpp:2636) ==39870==by 0x1DED4129: FunctionEditor::saveImplicit() (functioneditor.cpp:639) ==39870==by 0x5E5DE95: call (qobjectdefs_impl.h:398) ==39870==by 0x5E5DE95: void doActivate(QObject*, int, void**) (qobject.cpp:3923) ==39870==by 0x5E6121D: QTimer::timeout(QTimer::QPrivateSignal) (moc_qtimer.cpp:205) ==39870==by 0x5E54FC4: QObject::event(QEvent*) (qobject.cpp:1369) ==39870== Block was alloc'd at ==39870==at 0x484386F: malloc (vg_replace_malloc.c:393) ==39870==by 0x5CB207F: QListData::detach(int) (qlist.cpp:137) ==39870==by 0x1DEF3D0E: UnknownInlinedFun (qlist.h:833) ==39870==by 0x1DEF3D0E: UnknownInlinedFun (qlist.h:613) ==39870==by 0x1DEF3D0E: UnknownInlinedFun (qmap.h:1028) ==39870==by 0x1DEF3D0E: View::drawImplicit(Function*, QPainter*) (view.cpp:1166) ==39870==by 0x1DEF997D: View::draw(QPaintDevice*, View::PlotMedium) [clone .part.0] (view.cpp:363) ==39870==by 0x1DEE62D4: UnknownInlinedFun (view.cpp:2637) ==39870==by 0x1DEE62D4: View::drawPlot() (view.cpp:2636) ==39870==by 0x1DED4129: FunctionEditor::saveImplicit() (functioneditor.cpp:639) ==39870==by 0x5E5DE95: call (qobjectdefs_impl.h:398) ==39870==by 0x5E5DE95: void doActivate(QObject*, int, void**) (qobject.cpp:3923) ==39870==by 0x5E6121D: QTimer::timeout(QTimer::QPrivateSignal) (moc_qtimer.cpp:205) ==39870==by 0x5E54FC4: QObject::event(QEvent*) (qobject.cpp:1369) ==39870==by 0x4FA2D61: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3640) ==39870==by 0x5E2A4E7: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1064) ==39870==by 0x5E7A980: QTimerInfoList::activateTimers() (qtimerinfo_unix.cpp:643) ==39870== -- You are receiving this mail because: You are watching all bug changes.
[kmplot] [Bug 426025] kmplot crashed with any implicit functions include tangent
https://bugs.kde.org/show_bug.cgi?id=426025 --- Comment #9 from Dave Gilbert --- Unfortunately QMutableListIterator doesn't cope with growing the list either; so it needs a larger rework. -- You are receiving this mail because: You are watching all bug changes.
[kmplot] [Bug 426025] kmplot crashed with any implicit functions include tangent
https://bugs.kde.org/show_bug.cgi?id=426025 --- Comment #11 from Dave Gilbert --- I've just created: https://invent.kde.org/education/kmplot/-/merge_requests/13 for this. It seems to clear the crash; I'm not 100% sure I understand all the details of that function though - but I think I'm just fixing it's list manipulation. (Note there are other problems with this program; like the fact that it refreshes the graph as you type and the smallest typo, or it refreshing as you type part of the equation can mean it takes minutes locking up X in that function to do the graph plotting) -- You are receiving this mail because: You are watching all bug changes.
[marble] [Bug 377231] Color of track not modifyable
https://bugs.kde.org/show_bug.cgi?id=377231 Dave Gilbert changed: What|Removed |Added CC||gilbertd+...@treblig.org --- Comment #6 from Dave Gilbert --- Nice; I'd agree the crash on 'cancel' on that dialog is gone. However, I can still crash it clicking OK: (Current git 419079e2f65b8357500cc3fd8a6425361404e95e ) #0 0x77878dc1 in Marble::OsmTagEditorWidget::placemarkData() const (this=0x0) at /discs/more/git/marble/src/lib/marble/osm/OsmTagEditorWidget.cpp:71 Note (this=0x0) #1 0x779d1641 in Marble::EditPlacemarkDialog::updateTextAnnotation() (this=0x1f5caa0) at /discs/more/git/marble/src/lib/marble/EditPlacemarkDialog.cpp:340 339 else { 340 const OsmPlacemarkData osmData = d->m_osmTagEditorWidget->placemarkData(); (gdb) p d->m_osmTagEditorWidget $4 = (Marble::OsmTagEditorWidget *) 0x0 341 const GeoDataPlacemark::GeoDataVisualCategory category = StyleBuilder::determineVisualCategory(osmData); #2 0x779d2d0c in Marble::EditPlacemarkDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x1f5caa0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fffaf80) at /discs/more/git/marble/build/src/lib/marble/marblewidget_autogen/include/moc_EditPlacemarkDialog.cpp:144 #3 0x7fffecae87d8 in doActivate(QObject*, int, void**) (sender=0x1f5caa0, signal_index=8, argv=0x7fffaf80) at kernel/qobject.cpp:3935 #4 0x7fffecae34d7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x1f5caa0, m=m@entry=0x7fffedce38c0 , local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3983 #5 0x7fffed9cb3d7 in QDialog::accepted() (this=this@entry=0x1f5caa0) at .moc/moc_qdialog.cpp:236 #6 0x7fffed9cb8c8 in QDialogPrivate::finalize(int, int) (this=, resultCode=1, dialogCode=) at dialogs/qdialog.cpp:176 #7 0x779d1dbb in Marble::EditPlacemarkDialog::checkFields() (this=0x1f5caa0) at /discs/more/git/marble/src/lib/marble/EditPlacemarkDialog.cpp:374 #8 0x779d2cfb in Marble::EditPlacemarkDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x1f5caa0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fffb1a0) at /discs/more/git/marble/build/src/lib/marble/marblewidget_autogen/include/moc_EditPlacemarkDialog.cpp:143 #9 0x7fffecae87d8 in doActivate(QObject*, int, void**) (sender=0x2133400, signal_index=7, argv=0x7fffb1a0) at kernel/qobject.cpp:3935 #10 0x7fffecae34d7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x2133400, m=m@entry=0x7fffedcd3680 , local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3983 #11 0x7fffed8a9b14 in QAbstractButton::pressed() (this=this@entry=0x2133400) at .moc/moc_qabstractbutton.cpp:295 #12 0x7fffed8a9f02 in QAbstractButtonPrivate::emitPressed() (this=0x1f50e20) at widgets/qabstractbutton.cpp:438 #13 0x7fffed8aa895 in QAbstractButton::mousePressEvent(QMouseEvent*) (this=0x2133400, e=0x7fffb750) at widgets/qabstractbutton.cpp:1017 #14 0x7fffed7f3688 in QWidget::event(QEvent*) (this=0x2133400, event=0x7fffb750) at kernel/qwidget.cpp:9045 #15 0x7fffed7aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x4e9e50, receiver=receiver@entry=0x2133400, e=e@entry=0x7fffb750) at kernel/qapplication.cpp:3640 #16 0x7fffed7b7456 in QApplication::notify(QObject*, QEvent*) (this=, receiver=0x2133400, e=0x7fffb750) at kernel/qapplication.cpp:3084 #17 0x7fffecab3d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x2133400, event=0x7fffb750) at kernel/qcoreapplication.cpp:1064 #18 0x7fffecab3f82 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=, event=) at kernel/qcoreapplication.cpp:1474 #19 0x7fffed7b56a4 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool, bool) (receiver=receiver@entry=0x2133400, event=event@entry=0x7fffb750, alienWidget=, nativeWidget=0x1f5caa0, buttonDown=buttonDown@entry=0x7fffedd06330 , lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622 #20 0x7fffed80d1a9 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x23efa50, event=event@entry=0x7fffba30) at kernel/qwidgetwindow.cpp:684 #21 0x7fffed81072f in QWidgetWindow::event(QEvent*) (this=0x23efa50, event=0x7fffba30) at kernel/qwidgetwindow.cpp:300 #22 0x7fffed7aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=, receiver=0x23efa50, e=0x7fffba30) at kernel/qapplication.cpp:3640 #23 0x7fffecab3d48 in QCoreApplication::noti
[marble] [Bug 377231] Color of track not modifyable
https://bugs.kde.org/show_bug.cgi?id=377231 --- Comment #7 from Dave Gilbert --- actually hmm.. I think there are more around here as well. I'm fairly sure I had a cancel crash again after a bit of poking around. I also can crash sometimes unticking the track as well; #0 0x79e8 in Marble::GeoDataObject::parent() (this=0x20) at /discs/more/git/marble/src/lib/marble/geodata/data/GeoDataObject.cpp:67 #1 0x77917fbb in Marble::GeoDataTreeModel::parent(QModelIndex const&) const (this=0xb05ec0, index=...) at /discs/more/git/marble/src/lib/marble/GeoDataTreeModel.cpp:440 #2 0x779218fe in QModelIndex::parent() const (this=0x7fffb610) at /usr/include/qt5/QtCore/qabstractitemmodel.h:443 #3 0x7791e375 in Marble::KDescendantsProxyModel::mapFromSource(QModelIndex const&) const (this=0xb05ed8, sourceIndex=...) at /discs/more/git/marble/src/lib/marble/kdescendantsproxymodel.cpp:417 #4 0x7791f770 in Marble::KDescendantsProxyModelPrivate::sourceRowsAboutToBeRemoved(QModelIndex const&, int, int) (this=0xa0e130, parent=..., start=0, end=0) at /discs/more/git/marble/src/lib/marble/kdescendantsproxymodel.cpp:661 #5 0x779214bf in Marble::KDescendantsProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0xb05ed8, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffb920) at /discs/more/git/marble/build/src/lib/marble/marblewidget_autogen/include/moc_kdescendantsproxymodel.cpp:118 #6 0x7fffecae87d8 in doActivate(QObject*, int, void**) (sender=0xb05ec0, signal_index=14, argv=0x7fffb920) at kernel/qobject.cpp:3935 #7 0x7fffecae34d7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0xb05ec0, m=m@entry=0x7fffecd64900 , local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7fffb920) at kernel/qobject.cpp:3983 #8 0x7fffeca6239a in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (this=this@entry=0xb05ec0, _t1=..., _t2=, _t2@entry=0, _t3=, _t3@entry=0, _t4=...) at .moc/moc_qabstractitemmodel.cpp:599 #9 0x7fffeca6aa9c in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (this=0xb05ec0, parent=..., first=0, last=0) at itemmodels/qabstractitemmodel.cpp:2818 #10 0x779199d8 in Marble::GeoDataTreeModel::removeFeature(Marble::GeoDataContainer*, int) (this=0xb05ec0, parent=0x7fff34004738, row=0) at /discs/more/git/marble/src/lib/marble/GeoDataTreeModel.cpp:738 #11 0x77919b28 in Marble::GeoDataTreeModel::removeFeature(Marble::GeoDataFeature*) (this=0xb05ec0, feature=0x7fff34005c40) at /discs/more/git/marble/src/lib/marble/GeoDataTreeModel.cpp:765 #12 0x77919b71 in Marble::GeoDataTreeModel::updateFeature(Marble::GeoDataFeature*) (this=0xb05ec0, feature=0x7fff34005c40) at /discs/more/git/marble/src/lib/marble/GeoDataTreeModel.cpp:779 #13 0x779184f7 in Marble::GeoDataTreeModel::setData(QModelIndex const&, QVariant const&, int) (this=0xb05ec0, index=..., value=..., role=10) at /discs/more/git/marble/src/lib/marble/GeoDataTreeModel.cpp:521 #14 0x7fffeca8b8c9 in QSortFilterProxyModel::setData(QModelIndex const&, QVariant const&, int) (this=this@entry=0x1685aa0, index=..., value=..., role=role@entry=10) at itemmodels/qsortfilterproxymodel.cpp:2306 #15 0x7fffeda62ab4 in QStyledItemDelegate::editorEvent(QEvent*, QAbstractItemModel*, QStyleOptionViewItem const&, QModelIndex const&) (this=0x1778120, event=, model=0x1685aa0, option=, index=...) at itemviews/qstyleditemdelegate.cpp:635 #16 0x7fffeda384f6 in QAbstractItemViewPrivate::sendDelegateEvent(QModelIndex const&, QEvent*) const (this=this@entry=0x18ad810, index=..., event=event@entry=0x7fffc610) at itemviews/qabstractitemview.cpp:4463 #17 0x7fffeda3e14d in QAbstractItemView::edit(QModelIndex const&, QAbstractItemView::EditTrigger, QEvent*) (this=this@entry=0x18b5e80, index=..., trigger=trigger@entry=QAbstractItemView::SelectedClicked, event=event@entry=0x7fffc610) at itemviews/qabstractitemview.cpp:2683 #18 0x7fffeda38902 in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) (this=0x18b5e80, event=0x7fffc610) at itemviews/qabstractitemview.cpp:1930 #19 0x7fffed7f3688 in QWidget::event(QEvent*) (this=this@entry=0x18b5e80, event=event@entry=0x7fffc610) at kernel/qwidget.cpp:9045 #20 0x7fffed8a4ae7 in QFrame::event(QEvent*) (this=0x18b5e80, e=0x7fffc610) at widgets/qframe.cpp:550 #21 0x7fffecab3af6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x18b60c0, event=event@entry=0x7fffc610) at kernel/qcoreapplication.cpp:1190 -- You are receiving this mail because: You are watching all bug changes.
[marble] [Bug 377231] Color of track not modifyable
https://bugs.kde.org/show_bug.cgi?id=377231 --- Comment #10 from Dave Gilbert --- Thanks; that OK case has gone. There's stil something odd going on, I tend to fully open the section of the tree, so I see: v Track... Document v time Placemark 0 1 vMultiGeometry Track and then play with the ticks and bringing the dialog up. Sometimes I see that there's a change where the 'MultiGeometry' and 'track' entries disappear when I turn the tick off and back; sometimes the track itself isn't displayed again. and on a really bad day, I just triggered the cancel crash again: (gdb) bt full #0 __cxxabiv1::__dynamic_cast(void const*, __cxxabiv1::__class_type_info const*, __cxxabiv1::__class_type_info const*, ptrdiff_t) (src_ptr=0x7fff30013a50, src_type=0x77e21168 , dst_type=0x77e1fac8 , src2dst=0) at ../../../../libstdc++-v3/libsupc++/dyncast.cc:57 vtable = 0x7ff8cff23bc3 prefix = 0x7ff8cff23bb3 whole_ptr = whole_type = result = {dst_ptr = 0x179df50, whole2dst = 3964353270, whole2src = 32767, dst2src = 805330464, whole_details = 32767} whole_vtable = whole_prefix = #1 0x779164b9 in Marble::GeoDataTreeModel::rowCount(QModelIndex const&) const (this=0xb05740, parent=...) at /discs/more/git/marble/src/lib/marble/GeoDataTreeModel.cpp:136 container = 0x0 parentItem = 0x7fff30013a50 #2 0x7fffeca63d78 in QAbstractItemModel::hasIndex(int, int, QModelIndex const&) const (this=0xb05740, row=0, column=0, parent=...) at itemmodels/qabstractitemmodel.cpp:1784 #3 0x77917cda in Marble::GeoDataTreeModel::index(int, int, QModelIndex const&) const (this=0xb05740, row=0, column=0, parent=...) at /discs/more/git/marble/src/lib/marble/GeoDataTreeModel.cpp:371 parentItem = 0x7fffec4b682b <__cxxabiv1::__vmi_class_type_info::__do_dyncast(long, __cxxabiv1::__class_type_info::__sub_kind, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__dyncast_result&) const+635> childItem = 0x77e20210 #4 0x7fffeca8b7d1 in QSortFilterProxyModelPrivate::proxy_to_source(QModelIndex const&) const (this=this@entry=0x179df50, proxy_index=) at itemmodels/qsortfilterproxymodel.cpp:576 it = {i = } m = source_row = source_col = #5 0x7fffeca8bc55 in QSortFilterProxyModel::mapToSource(QModelIndex const&) const (proxyIndex=, this=) at itemmodels/qsortfilterproxymodel.cpp:3171 d = 0x179df50 d = 0x179df50 source_index = {r = -1, c = -1, i = 0, m = 0x0} #6 QSortFilterProxyModel::flags(QModelIndex const&) const (this=, index=) at itemmodels/qsortfilterproxymodel.cpp:2548 --Type for more, q to quit, c to continue without paging-- d = 0x179df50 source_index = {r = -1, c = -1, i = 0, m = 0x0} #7 0x7fffeca73820 in QModelIndex::flags() const (this=0x1a79420) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:463 #8 QItemSelection::contains(QModelIndex const&) const (this=this@entry=0x179e5a0, index=...) at itemmodels/qitemselectionmodel.cpp:496 #9 0x7fffeca73f2f in QItemSelectionModel::isSelected(QModelIndex const&) const (this=, index=...) at itemmodels/qitemselectionmodel.cpp:1460 d = 0x179e530 selected = false it = {i = 0x7fffecb88c50 } #10 0x7fffedaa8dab in QTreeView::drawBranches(QPainter*, QRect const&, QModelIndex const&) const (this=0x18d7060, painter=0x7fffc1b8, rect=, index=...) at itemviews/qtreeview.cpp:1834 d = 0x179b740 reverse = false indent = 20 outer = 0 viewItem = @0x1a79420: {index = {r = 0, c = 0, i = 34955584, m = 0x16ad1c0}, parentItem = 6, expanded = 0, spanning = 0, hasChildren = 0, hasMoreSiblings = 0, total = 0, level = 3, height = 17} level = 3 primitive = {x1 = 80, y1 = 119, x2 = , y2 = } parent = {r = , c = , i = , m = } current = {r = 0, c = 0, i = 34060896, m = 0x16ad1c0} ancestor = {r = 0, c = 0, i = 32675840, m = 0x16ad1c0} opt = { = {version = 4, type = 10, state = {i = 65537}, direction = Qt::LeftToRight, rect = {x1 = 0, y1 = 0, x2 = -1, y2 = -1}, fontMetrics = {d = {d = 0x9a7e40}}, palette = {d = 0x99b0d0, {data = {current_group = 0, resolve_mask = 0}, for_faster_swapping_dont_use = 0}}, styleObject = 0x18d7060}, displayAlignment = {i = 129}, decorationAlignment = {i = 132}, textElideMode = Qt::ElideLeft, decorationPosition = QStyleOptionViewItem::Left, decorationSize = {wd = 16, ht = 16}, font = {d = {d = 0x9a7e40}, resolve_mask = 0}, showDecorationSelected = true, features = {i = 0}, locale = {d = {d = 0x2199e70}}, widget = 0x18d7060, index = {r = -1, c = -1, i = 0, m = 0x0}, checkState = Qt::Unchecked, icon = {d = 0x0}, text = {d = 0x7
[marble] [Bug 377231] Color of track not modifyable
https://bugs.kde.org/show_bug.cgi?id=377231 --- Comment #11 from Dave Gilbert --- playing with the tick and stuff I managed to trigger valgrind: ==15894== Invalid read of size 8 ==15894==at 0x49C99F8: Marble::GeoDataObject::parent() (GeoDataObject.cpp:67) ==15894==by 0x4B69F7D: Marble::GeoDataTreeModel::parent(QModelIndex const&) const (GeoDataTreeModel.cpp:434) ==15894==by 0x4B7390D: QModelIndex::parent() const (qabstractitemmodel.h:443) ==15894==by 0x4B70384: Marble::KDescendantsProxyModel::mapFromSource(QModelIndex const&) const (kdescendantsproxymodel.cpp:417) ==15894==by 0x4B7177F: Marble::KDescendantsProxyModelPrivate::sourceRowsAboutToBeRemoved(QModelIndex const&, int, int) (kdescendantsproxymodel.cpp:661) ==15894==by 0x4B734CE: Marble::KDescendantsProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_kdescendantsproxymodel.cpp:118) ==15894==by 0xF9C27D7: void doActivate(QObject*, int, void**) (qobject.cpp:3935) ==15894==by 0xF93C399: QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) (moc_qabstractitemmodel.cpp:599) ==15894==by 0xF944A9B: QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) (qabstractitemmodel.cpp:2818) ==15894==by 0x4B6B9E7: Marble::GeoDataTreeModel::removeFeature(Marble::GeoDataContainer*, int) (GeoDataTreeModel.cpp:738) ==15894==by 0x4B6BB37: Marble::GeoDataTreeModel::removeFeature(Marble::GeoDataFeature*) (GeoDataTreeModel.cpp:765) ==15894==by 0x4B6BB80: Marble::GeoDataTreeModel::updateFeature(Marble::GeoDataFeature*) (GeoDataTreeModel.cpp:779) ==15894== Address 0x23dd2340 is 16 bytes inside a block of size 32 free'd ==15894==at 0x4844669: operator delete(void*) (vg_replace_malloc.c:935) ==15894==by 0x49C34FD: Marble::GeoDataMultiGeometry::~GeoDataMultiGeometry() (GeoDataMultiGeometry.cpp:36) ==15894==by 0x49B26C7: Marble::GeoDataPlacemark::setGeometry(Marble::GeoDataGeometry*) (GeoDataPlacemark.cpp:282) ==15894==by 0x49B2663: Marble::GeoDataPlacemark::setCoordinate(Marble::GeoDataCoordinates const&) (GeoDataPlacemark.cpp:276) ==15894==by 0x4C24922: Marble::EditPlacemarkDialog::restoreInitial(int) (EditPlacemarkDialog.cpp:484) ==15894==by 0x4C24EAA: Marble::EditPlacemarkDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_EditPlacemarkDialog.cpp:153) ==15894==by 0xF9C27D7: void doActivate(QObject*, int, void**) (qobject.cpp:3935) ==15894==by 0xED6439F: QDialog::finished(int) (moc_qdialog.cpp:230) ==15894==by 0xF9C27D7: void doActivate(QObject*, int, void**) (qobject.cpp:3935) ==15894==by 0xECF3B27: QDialogButtonBoxPrivate::_q_handleButtonClicked() (qdialogbuttonbox.cpp:882) ==15894==by 0xF9C27D7: void doActivate(QObject*, int, void**) (qobject.cpp:3935) ==15894==by 0xEC42B83: QAbstractButton::clicked(bool) (moc_qabstractbutton.cpp:308) ==15894== Block was alloc'd at ==15894==at 0x4841FF5: operator new(unsigned long) (vg_replace_malloc.c:434) ==15894==by 0x352FC2E2: ??? (in /opt/lib64/marble/plugins/GpxPlugin.so) ==15894==by 0x4A114EA: Marble::GeoParser::parseDocument() (GeoParser.cpp:139) ==15894==by 0x4A115B9: Marble::GeoParser::parseDocument() (GeoParser.cpp:166) ==15894==by 0x4A10D2E: Marble::GeoParser::read(QIODevice*) (GeoParser.cpp:79) ==15894==by 0x352F839B: ??? (in /opt/lib64/marble/plugins/GpxPlugin.so) ==15894==by 0x4CAC7C9: Marble::ParsingTask::run() (RunnerTask.cpp:90) ==15894==by 0xF7D275F: QThreadPoolThread::run() (qthreadpool.cpp:100) ==15894==by 0xF7CF56C: operator() (qthread_unix.cpp:350) ==15894==by 0xF7CF56C: terminate_on_exception > (qthread_unix.cpp:287) ==15894==by 0xF7CF56C: QThreadPrivate::start(void*) (qthread_unix.cpp:310) ==15894==by 0x10035C56: start_thread (pthread_create.c:444) ==15894==by 0x100BB973: clone (clone.S:100) -- You are receiving this mail because: You are watching all bug changes.
[marble] [Bug 377231] Color of track not modifyable
https://bugs.kde.org/show_bug.cgi?id=377231 --- Comment #13 from Dave Gilbert --- Hi Torsten, Thanks for the fixes! I'm using the track from: https://michaelminn.net/tutorials/google-gpx/Track_2016-08-22_200130.gpx Note one thing I'm seeing is that: void EditPlacemarkDialog::restoreInitial( int result ) if ( d->m_placemark->coordinate().latitude( GeoDataCoordinates::Degree ) != d->m_initialCoords.latitude( GeoDataCoordinates::Degree ) || d->m_placemark->coordinate().longitude( GeoDataCoordinates::Degree ) != d->m_initialCoords.longitude( GeoDataCoordinates::Degree ) ) { is triggering, a bit of debug gave me: EditPlacemarkDialog::restoreInitial: initial: 47.4937/-117.578 current: 47.4937/-117.578 so I'm wondering if this is an FP rounding disagreement that's causing that restore. -- You are receiving this mail because: You are watching all bug changes.
[marble] [Bug 377231] Color of track not modifyable
https://bugs.kde.org/show_bug.cgi?id=377231 --- Comment #15 from Dave Gilbert --- Yeh I think that's nailed the 'cancel' problem. -- You are receiving this mail because: You are watching all bug changes.
[marble] [Bug 377231] Color of track not modifyable
https://bugs.kde.org/show_bug.cgi?id=377231 --- Comment #16 from Dave Gilbert --- and I can't trigger any more valgrindisms. Looks good! -- You are receiving this mail because: You are watching all bug changes.
[k3b] [Bug 253768] Error when trying to open the filetype options while ripping audio CD.
https://bugs.kde.org/show_bug.cgi?id=253768 Dave Gilbert changed: What|Removed |Added CC||gilbertd+...@treblig.org --- Comment #15 from Dave Gilbert --- Hi Albert, Yeh that fix fixes this for me - thanks! (Note I suspect it's not the same as the original bug; they got a good real error, where as what Julius reported in comment 8 and that I also saw was no error in the dialog which seems to be the odd fallthrough KCModuleLoader) -- You are receiving this mail because: You are watching all bug changes.
[k3b] [Bug 478589] New: MPEG_PICTURE_CODE case
https://bugs.kde.org/show_bug.cgi?id=478589 Bug ID: 478589 Summary: MPEG_PICTURE_CODE case Classification: Applications Product: k3b Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Video CD project Assignee: k...@kde.org Reporter: gilbertd+...@treblig.org CC: ch...@ckvsoft.at, mich...@jabster.pl, tr...@kde.org Target Milestone: --- SUMMARY Spotted during build by the compiler: k3b/libk3b/projects/videocd/mpeginfo/k3bmpeginfo.cpp:307:5: warning: case label value exceeds maximum value for type [-Wswitch-outside-range] 307 | case MPEG_PICTURE_CODE: | ^~~~ it's got a point, the switch is on 'mark' which is a 'byte' and k3bmpeginfo.h defines: #define MPEG_PICTURE_CODE((ulong) 0x0100) No idea what it's actually trying to do. STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 479046] New: RFE: Showfoto rename
https://bugs.kde.org/show_bug.cgi?id=479046 Bug ID: 479046 Summary: RFE: Showfoto rename Classification: Applications Product: digikam Version: 8.2.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Showfoto-Core Assignee: digikam-bugs-n...@kde.org Reporter: gilbertd+...@treblig.org Target Milestone: --- SUMMARY In digikam I can rename photos (with f2 in most places); I don't seem to be able to showfoto, but think it would be useful. In my case I've got a directory of photos gathered with an external scanner app (rather than my camera that I'd use digikam for), and I want to go and rename them to say what they are rather than the raw scanner-date-sequence.jpg; so I was using showfoto to page through them, but don't see an obvious rename. STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.
[kopete] [Bug 184015] wrong 'ignore all' action on spell checker
https://bugs.kde.org/show_bug.cgi?id=184015 Dave Gilbert changed: What|Removed |Added Status|NEEDSINFO |REPORTED Resolution|WAITINGFORINFO |--- --- Comment #5 from Dave Gilbert --- This is still failing for me on kopete-22.08.3-2.fc37.x86_64 kate-22.08.3-1.fc37.x86_64 Hitting the 'ignore all' button is copying the file into .hunspell_en_AG here. -- You are receiving this mail because: You are watching all bug changes.
[kscreenlocker] [Bug 338796] Blank the screen using Esc key while on the lock screen
https://bugs.kde.org/show_bug.cgi?id=338796 --- Comment #12 from Dave Gilbert --- Thanks! -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 413304] Chinese characters instead of Polish diacritical marks
https://bugs.kde.org/show_bug.cgi?id=413304 Dave Gilbert changed: What|Removed |Added CC||gilbertd+...@treblig.org --- Comment #13 from Dave Gilbert --- Created attachment 123491 --> https://bugs.kde.org/attachment.cgi?id=123491&action=edit broken rendering in okular Happening for me; Fedora 31 - packaged okular 1.7.3 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 411374] search on continuous view often mispositions search for non-last column
https://bugs.kde.org/show_bug.cgi?id=411374 --- Comment #5 from Dave Gilbert --- Albert: Yes, that's fair enough. David: I'm pretty sure I want continous mode - I've got huge data books and documents, and want to be able to see those 8 pages at a time on my monitor; I think continous is the only sane way. (I run 4 columns, 2 rows) Centering does make some sense; but it's not what we do now either; I tend to find the search result near the top of the screen with the next page cut off. When your vertical size is large enough, and you can fit multiple pages on, then perhaps getting the search near the midpoint - but just constraining that you don't lose the top of that row of pages, might make sense. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 411374] New: search on continuous view often mispositions search for non-last column
https://bugs.kde.org/show_bug.cgi?id=411374 Bug ID: 411374 Summary: search on continuous view often mispositions search for non-last column Product: okular Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: okular-de...@kde.org Reporter: gilbertd+...@treblig.org Target Milestone: --- SUMMARY WHen you search for something the page the result is in is scrolled partially to make sure the result is visible; however when you've got multiple pages visible across this often results in you being able to see the bottom of the page with the result text but the start of the next page is off the top. I find this quite frustrating on huge documents/ STEPS TO REPRODUCE 1. Select continuous with facing pages or overview (for the example I used facing) 2. Search for something near the bottom of a page that will appear in the left column (e.g. in my example start at the bottom of the document and then search for 'bottom of page 1') OBSERVED RESULT 'bottom of page1' is visible part way up the screen, but the top of page 2 isn't visible because it's scrolled off the top EXPECTED RESULT I want to be able to carry on reading from the search point; so I think the rule is: a) If the window height allows a full page or more vertically and b) The search result is not in the page in the last column then scroll so that the top of the page with the search result is visible (actually we're interested in the top of the next page but that's getting complex) SOFTWARE/OS VERSIONS Linux/KDE Plasma: Linux Fedora 30 under xfce, okular head (available in About System) KDE Plasma Version: KDE Frameworks Version: 5.59.0 Qt Version: 5.12.4 (xcb windowing) ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 411374] search on continuous view often mispositions search for non-last column
https://bugs.kde.org/show_bug.cgi?id=411374 --- Comment #1 from Dave Gilbert --- Created attachment 122395 --> https://bugs.kde.org/attachment.cgi?id=122395&action=edit example pdf -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 411374] search on continuous view often mispositions search for non-last column
https://bugs.kde.org/show_bug.cgi?id=411374 --- Comment #2 from Dave Gilbert --- Created attachment 122396 --> https://bugs.kde.org/attachment.cgi?id=122396&action=edit result of searching for Bottom of page 1 when previously on page 3 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 394824] Presentation crash with video
https://bugs.kde.org/show_bug.cgi?id=394824 Dave Gilbert changed: What|Removed |Added CC||gilbertd+...@treblig.org -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 401339] presentation: odd scaling/anti aliasing
https://bugs.kde.org/show_bug.cgi?id=401339 Dave Gilbert changed: What|Removed |Added CC||gilbertd+...@treblig.org -- You are receiving this mail because: You are watching all bug changes.
[KScreen] [Bug 368494] Crash in XRanDRConfig when connecting HDMI output
https://bugs.kde.org/show_bug.cgi?id=368494 Dave Gilbert changed: What|Removed |Added CC||gilbertd+...@treblig.org --- Comment #4 from Dave Gilbert --- The KDE side bug looks the same as: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865001 (which I reported) and https://bugzilla.redhat.com/show_bug.cgi?id=1477592 and well, maybe https://bugzilla.redhat.com/show_bug.cgi?id=1406752 In my case the X server is dieing for other reasons ( a qxl bug) and I suspect that's the same problem with this case; but in either case KScreen shouldn't be segging. A bit of debug in XRandRScreen::toKScreenScreen and I see that: #0 XRandRScreen::toKScreenScreen (this=0x559dd8b68980) at ./backends/xrandr/xrandrscreen.cpp:68 screenResources = {d = 0x0} kscreenScreen = {value = 0x559dd8b78a70, d = 0x559dd8b78b90} #1 0x7fe0e9b18aba in XRandRConfig::toKScreenConfig (this=) at ./backends/xrandr/xrandrconfig.cpp:117 config = {value = 0x559dd8b7ea80, d = 0x559dd8b7eb30} features = {i = 3} kscreenOutputs = {d = 0x559dd8b74bb0} which I guess is because X has died and the screens are well and truly gone. What's the right level to check for this and clean up? -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 384142] New: okular: seg at exit (For multiple input files)
https://bugs.kde.org/show_bug.cgi?id=384142 Bug ID: 384142 Summary: okular: seg at exit (For multiple input files) Product: okular Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: okular-de...@kde.org Reporter: gilbertd+...@treblig.org Target Milestone: --- Fedora 26 build okular-16.12.3-1.fc26.x86_64 1) Start okular with two pdf's ; okular foo.pdf bar.pdf 2) Close each tab separately with ctrl-w 3) Once both are closed, close the application (I'm using the alt-f4 binding on my wm to close it) 4) seg: Thread 2 "QDBusConnection" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff44b87700 (LWP 6717)] 0x7fff4e83f574 in QObject::disconnect (sender=0x100965120, signal=signal@entry=0x0, receiver=receiver@entry=0x7fff40003460, method=method@entry=0x0) at kernel/qobject.cpp:2956 2956const QMetaObject *smeta = sender->metaObject(); (gdb) info thread Id Target Id Frame 1Thread 0x7fff44b8b8c0 (LWP 6713) "okular" 0x7fff4c76681b in futex_wait_cancelable (private=, expected=0, futex_word=0x100239760) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 * 2Thread 0x7fff44b87700 (LWP 6717) "QDBusConnection" 0x7fff4e83f574 in QObject::disconnect (sender=0x100965120, signal=signal@entry=0x0, receiver=receiver@entry=0x7fff40003460, method=method@entry=0x0) at kernel/qobject.cpp:2956 4Thread 0x7fff2c461700 (LWP 6719) "gmain" 0x7fff4da4aacd in poll () at ../sysdeps/unix/syscall-template.S:84 5Thread 0x7fff2bc60700 (LWP 6720) "gdbus" 0x7fff4da4aacd in poll () at ../sysdeps/unix/syscall-template.S:84 (gdb) where #0 0x7fff4e83f574 in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) (sender=0x100965120, signal=signal@entry=0x0, receiver=receiver@entry=0x7fff40003460, method=method@entry=0x0) at kernel/qobject.cpp:2956 #1 0x7fff4ea79db8 in QObject::disconnect(QObject const*, char const*) const (member=0x0, receiver=0x7fff40003460, this=) at ../../src/corelib/kernel/qobject.h:336 #2 0x7fff4ea79db8 in QDBusConnectionPrivate::closeConnection() (this=this@entry=0x7fff40003460) at qdbusintegrator.cpp:1147 #3 0x7fff4ea6db92 in QDBusConnectionManager::run() (this= 0x7fff4eae0060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:188 #4 0x7fff4e66ec9e in QThreadPrivate::start(void*) (arg=0x7fff4eae0060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368 #5 0x7fff4c76036d in start_thread (arg=0x7fff44b87700) at pthread_create.c:456 #6 0x7fff4da56bbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 384142] okular: seg at exit (For multiple input files)
https://bugs.kde.org/show_bug.cgi?id=384142 --- Comment #2 from Dave Gilbert --- (In reply to Albert Astals Cid from comment #1) > Which Qt are you using? [dg@major ~]$ rpm -qf /lib64/libQt5Core.so.5 qt5-qtbase-5.7.1-19.fc26.x86_64 [dg@major ~]$ ldd /usr/bin/okular|grep -i qt libQt5Network.so.5 => /lib64/libQt5Network.so.5 (0x7ff510cb8000) libQt5Xml.so.5 => /lib64/libQt5Xml.so.5 (0x7ff510c78000) libQt5Widgets.so.5 => /lib64/libQt5Widgets.so.5 (0x7ff50d438000) libQt5Gui.so.5 => /lib64/libQt5Gui.so.5 (0x7ff50cf8a000) libQt5DBus.so.5 => /lib64/libQt5DBus.so.5 (0x7ff50ceff000) libQt5Core.so.5 => /lib64/libQt5Core.so.5 (0x7ff50ca75000) libQt5Concurrent.so.5 => /lib64/libQt5Concurrent.so.5 (0x7ff510c6a000) libQt5X11Extras.so.5 => /lib64/libQt5X11Extras.so.5 (0x7ff510c62000) libQt5PrintSupport.so.5 => /lib64/libQt5PrintSupport.so.5 (0x7ff50b51d000) libQt5Svg.so.5 => /lib64/libQt5Svg.so.5 (0x7ff50547c000) -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 384142] okular: seg at exit (For multiple input files)
https://bugs.kde.org/show_bug.cgi?id=384142 --- Comment #4 from Dave Gilbert --- Not tested, but Thanks! -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 363704] preview thumbnails: Not updated when deleting an image
https://bugs.kde.org/show_bug.cgi?id=363704 --- Comment #8 from Dave Gilbert --- I can confirm this bug has disappeared in the digikam-5.1.0-1.fc24 packages. Thanks! -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 363704] preview thumbnails: Not updated when deleting an image
https://bugs.kde.org/show_bug.cgi?id=363704 --- Comment #5 from Dave Gilbert --- (In reply to Maik Qualmann from comment #4) > This problem is here with digiKam-5.0.0-beta7 not to reproduce. Do you use > JPEG or RAW images? With sidecar files? Just JPEGs, imported straight off my camera (Sony DSC-HX50) via import from usb device. Dave -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 363704] New: preview thumbnails: Not updated when deleting an image
https://bugs.kde.org/show_bug.cgi?id=363704 Bug ID: 363704 Summary: preview thumbnails: Not updated when deleting an image Product: digikam Version: 5.0.0 Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Preview Assignee: digikam-de...@kde.org Reporter: gilbertd+...@treblig.org (This used to work 4.x When I delete an image in preview mode, the set of thumbnails at the top don't update, leaving a thumbnail for a deleted image which then gives an error when you move back over it. Reproducible: Always Steps to Reproduce: 1. Open an icon and click on an image - the image is shown in preview mode, the strip of thumbnails at the top 2. Hit 'Delete' - the preview now shows the next image along 3. Hit right arrow Actual Results: After (2) The deleted image is still shown in the thumbnails at the top. After (3) It selects the deleted image and then shows a 'Failed to load image' (Images attached to explain) Expected Results: After (2) the deleted image should disappear from the thumbnails After (3) The previous still-existant image should be selected. This is 5.0.0-beta5 from Fedora 24's digikam-5.0.0-0.10.beta5.fc24.x86_64 package -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 363704] preview thumbnails: Not updated when deleting an image
https://bugs.kde.org/show_bug.cgi?id=363704 --- Comment #1 from Dave Gilbert --- Created attachment 99268 --> https://bugs.kde.org/attachment.cgi?id=99268&action=edit State before step (2) - victim image selected -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 363704] preview thumbnails: Not updated when deleting an image
https://bugs.kde.org/show_bug.cgi?id=363704 --- Comment #2 from Dave Gilbert --- Created attachment 99269 --> https://bugs.kde.org/attachment.cgi?id=99269&action=edit State after step (2) - after having deleted the image shown in (1) -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 363704] preview thumbnails: Not updated when deleting an image
https://bugs.kde.org/show_bug.cgi?id=363704 --- Comment #3 from Dave Gilbert --- Created attachment 99270 --> https://bugs.kde.org/attachment.cgi?id=99270&action=edit After step (3) - showing the error because it selected the deleted image. -- You are receiving this mail because: You are watching all bug changes.