Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patches for 4.20.14601 #48

Closed
20 tasks done
pgaskin opened this issue Mar 2, 2020 · 19 comments
Closed
20 tasks done

Patches for 4.20.14601 #48

pgaskin opened this issue Mar 2, 2020 · 19 comments
Assignees
Labels
firmware release Category: Updating patches for a new release.

Comments

@pgaskin
Copy link
Owner

pgaskin commented Mar 2, 2020

@pgaskin pgaskin added the firmware release Category: Updating patches for a new release. label Mar 2, 2020
pgaskin added a commit that referenced this issue Mar 2, 2020
@pgaskin
Copy link
Owner Author

pgaskin commented Mar 2, 2020

  • The new selection menu is nice. The selection now appears with a solid black background rather than an underline, and the menu is now more compact, with submenus instead of tabs. Selecting text is also faster, but moving the selection vertically is buggy, as it triggers the menu gestures (@gtalusan?).
  • The new dictionary view is more streamlined, but is still just as small (it does have a fullscreen button, though). I haven't checked the functionality or if this is patchable yet. The extra dictionaries bug still remains, though (the one which requires a patch to fix the space splitting). Pagination is now vertical, similar to the settings pages (and has a scrollbar rather than a page number).
  • The font menu now appears on the top of the screen, and has increased padding. I'm not sure if I like this or not yet. The stats view shows at the top too.
  • I haven't noticed any bugs in the new series view yet (and it's pretty nice).
  • The interface is slightly faster for some actions, including closing a book.
  • Touchscreen accuracy on the A2v1, and probably others, has been improved.
  • Font weight changes don't require a reboot to apply anymore (as mentioned by @gtalusan in 'Enable advanced settings for all fonts' not working in epubs #46 (comment)).

@pgaskin
Copy link
Owner Author

pgaskin commented Mar 2, 2020

  • Image tags in dictionaries with non-dict:/// URLs don't segfault the inline dictionary anymore, but dict:/// images still don't display either (the same bug as what was happening with the full-screen dictionary). The same thing happens when they are in an iframe.
  • Base64 images work perfectly now (they don't segfault, and they work in both dictionary views) (thanks @gtalusan!).
  • Remotely hosted images work perfectly as well.
  • Background colors now work properly (but I don't really see why one would use them).

pgaskin/dictutil#1

@jackiew1
Copy link
Collaborator

jackiew1 commented Mar 2, 2020

@geek1011
I believe I've got the necessary change for libnickel.so.1.0.0.yaml to make patch 'Dictionary text font-family/font-size/line-height' work again. However, I haven't had time to apply it to an actual Kobo yet to double-check.

@pgaskin
Copy link
Owner Author

pgaskin commented Mar 2, 2020

@jackiew1: Thanks for looking into that. I'll make the patch folder for 4.20.14601 soon (I haven't started working on the patches yet, as I was working on dictutil: see v0.0.1-alpha.4).

@jackiew1
Copy link
Collaborator

jackiew1 commented Mar 2, 2020

@geek1011
Re: nickel.yaml patches ... just based on the ones I use myself my initial gut feel is that very little has changed in this fw.

@pgaskin
Copy link
Owner Author

pgaskin commented Mar 2, 2020

Yep. The main interface changes I've noticed are with the selection menu and dictionary.

I'll need to rewrite the hide browser patch.

@pgaskin
Copy link
Owner Author

pgaskin commented Mar 2, 2020

@jackiew1: None of your nickel patches are broken. I'm planning to release the patches tonight (I'll start working on them in an hour or so), so if you have the Dictionary text font-family/font-size/line-height change ready (you can post it in this issue), I'll include it in the initial release.

It also seems like the adobe libs have been updated in this version, so I'll need to fix those patches too.

@jackiew1
Copy link
Collaborator

jackiew1 commented Mar 2, 2020

@jackiew1: None of your nickel patches are broken. I'm planning to release the patches tonight (I'll start working on them in an hour or so), so if you have the Dictionary text font-family/font-size/line-height change ready (you can post it in this issue), I'll include it in the initial release.

I don't see any 4.20 yaml files for me to update if you want me to do them tonight.

Did you also notice that the libnickel.so.1.0.0.yaml KePub stylesheet additions patch is broken?

@pgaskin
Copy link
Owner Author

pgaskin commented Mar 2, 2020

I don't see any 4.20 yaml files for me to update if you want me to do them tonight.

Yes, they're not ready yet (I'm starting to work on the patches in a few minutes). If you post the changes here, I'll commit them for you later tonight.

Did you also notice that the libnickel.so.1.0.0.yaml KePub stylesheet additions patch is broken?

Yes, I noticed that. It should be simple enough to fix.

@jackiew1
Copy link
Collaborator

jackiew1 commented Mar 3, 2020

I don't see any 4.20 yaml files for me to update if you want me to do them tonight.

Yes, they're not ready yet (I'm starting to work on the patches in a few minutes). If you post the changes here, I'll commit them for you later tonight.

Here are the changes to Find/Replace and the help notes.

  # Stage 1: Change DictionaryView to remove %variables
  # from:
  #    * { font: %1px %2; line-height: 1.4em; }
  #    div.descriptionFont { font-family: %3; }
  #    ol { font-size: %1px; font-weight: bold; margin-left: %4em; margin-top: 0px; }
  #    ol p { font-size: %1px; font-weight:normal; }
  # to:
  #    * { font-size: %1px; line-height: 1.40em;font-family: Georgia                       ;}
  #    ol {margin-left:1em; margin-top:0}
  #    blockquote {margin:0.3em 0 0.3em 1em} blockquote>blockquote {margin:-0.3em 0 0 2em}
  #
  # ##### N.B. Do not change the next 4 lines #####
  - FindReplaceString:
      Find:    "* { font: %1px %2; line-height: 1.4em; }\ndiv.descriptionFont { font-family: %3; }\nol { font-size: %1px; font-weight: bold; margin-left: %4em; margin-top: 0px; }\nol p { font-size: %1px; font-weight:normal; }\n"
      Replace: "* { font-size: %1px; line-height: 1.40em;font-family: Georgia                       ;}\n\nol {margin-left:1em; margin-top:0}\nblockquote {margin:0.3em 0 0.3em 1em} blockquote>blockquote {margin:-0.3em 0 0 2em}\n"
      MustMatchLength: yes
  # ##### N.B. Do not change anything above this line #####

@pgaskin
Copy link
Owner Author

pgaskin commented Mar 3, 2020

Remove PDF map widget shown during panning needs a rewrite (and through testing after).

@pgaskin
Copy link
Owner Author

pgaskin commented Mar 3, 2020

Remove PDF page turn arrows is not needed anymore.

@pgaskin
Copy link
Owner Author

pgaskin commented Mar 3, 2020

Keep PDF pan position won't work anymore AFAICT. I may look into it further if there is demand for it.

pgaskin added a commit that referenced this issue Mar 3, 2020
Mostly just the usual updates, except for:
* Larger Sleep/Power-off timeouts, which required a change in
  offsets.
* Remove PDF map widget shown during panning, which required a
  rewrite from scratch.
* Hide browser from beta features, which needed to be updated for
  the new selection menu.
* KePub stylesheet additions, which needed to be rewritten for CSS
  changes (the KBAnnotationContinued class was removed).
* Disable orphans/widows avoidance, which needed to be updated for
  a RMSDK rebuild.
* Dictionary text font-family/font-size/line-height, which needs
  updating for modified CSS (see the next commit).

The following patches were removed:
* Remove PDF page turn arrows, which is not needed anymore.
* Keep PDF pan position, which is not easily possible anymore.
pgaskin added a commit that referenced this issue Mar 3, 2020
@jackiew1
Copy link
Collaborator

jackiew1 commented Mar 3, 2020

@geek1011
Another dictionary observation (I don't think it's patch related) ...

It looks like it's no longer possible to see the additional label text contained in the SQL 'Dictionary' table 'Name' field, e.g. if I have a database Dictionary 'Name' of Extra:_cl (Collins) (Suffix -cl) then only the "Extra:_cl" portion of 'Name' is now visible in the dictionary drop-down list. In 4.19 the whole field content was visible.

@pgaskin
Copy link
Owner Author

pgaskin commented Mar 3, 2020

Hmph. It seems like Kobo only half-fixed that bug then. They fixed the display issue, but not the internal one.

Edit: wait a sec, it's actually kind of the other way around. They fixed looking up words without the patch (I just needed a reboot), but the display is still wrong in the dropdown (it will show English -English for extra dictionaries) until you actually search for a word (then it changes to English - Extra: whatever).

Edit 2: it's almost like they also tried to compensate for the patch too (Extra_: gets replaced with Extra: without any patches installed). I need to look at this a bit more to come to a conclusion.

Edit 3: I can't seem to switch away anymore after I select one of the extra dictionaries. I'm going to try applying the patch and see if it fixes anything.

I'll see if I can do anything about that, but I doubt I can. I'll probably add a note to dictutil about it.

Otherwise, I'll be releasing the patches as soon as I actually test them (probably in the next 15-30 mins).

@pgaskin
Copy link
Owner Author

pgaskin commented Mar 3, 2020

@jackiew1, are you able to help me experiment with the dictionaries right now (just to figure out what's broken and what's fixed)?

@pgaskin
Copy link
Owner Author

pgaskin commented Mar 3, 2020

I'll have to make another attempt at updating the "Remove PDF map widget shown during panning" patch. I think I botched this one. I might just leave this one for the next patch release.

Edit: Actually, it was the My 24 line spacing values patch which was botched.

@pgaskin
Copy link
Owner Author

pgaskin commented Mar 3, 2020

OK, so it seems the dictionaries still work fine (minus the custom label, which was an unsupported hack from the beginning) if the patch (Extra: -> Extra:_) is installed. I'll leave dictutil as-is for now, and we can continue looking into this later.

@pgaskin
Copy link
Owner Author

pgaskin commented Mar 3, 2020

I just took a through look through My 24 line spacing values, and everything seems correct (i.e. the original code is basically identical to the last version, the pointer math adds up right, and there aren't any new references). I've tried applying it by itself, but it still segfaults when a book is opened.

The stack trace is kind of useless (but interestingly, it's nearly identical each time):

OH THE HUMANITY!
pid: 711, tid: 711 (nickel), rev: 30c2f5c348a74f67a162021a5d8cad7d4893b088
  >>> /usr/local/Kobo/nickel <<<
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 2fa74928
 r0 7ee0f51c  r1 2b59a450  r2 851eb852  r3 2e9a4a74
 r4 7ee0f51c  r5 00000000  r6 2bf79cf0  r7 7ee0f518
 r8 00000000  r9 7ee0f5c0  10 019b5290  fp 7ee0f768
 ip 2fa770ac  sp 7ee0f518  lr 2b59a3b3  pc 2fa74928  cpsr 60030010
    #00 sp: 0x7ee0f518 ip: 0x2fa74928  /lib/libstdc++.so.6.0.12: _ZNSbIwSt11char_traitsIwESaIwEEC2IPKwEET_S6_RKS1_+0x70000001
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 711, tid: 1066
 r0 00000006  r1 30727d80  r2 00000000  r3 00000000
 r4 00000000  r5 00000020  r6 30727d80  r7 0000008e
 r8 2eb04ca8  r9 00000000  10 01484d38  fp 00000000
 ip 00000000  sp 30727d60  lr 00000000  pc 2fbaa8d2  cpsr 800d0030
    #00 sp: 0x30727d60 ip: 0x2fbaa8d2  /lib/libc-2.11.1.so: __select+0x31
    #01 sp: 0x30727d70 ip: 0x2e8e1bc9  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN9QLockFile6unlockEv+0x17e4
    #02 sp: 0x30727e28 ip: 0x2e7b6789  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QThread21setTerminationEnabledEb+0x218
    #03 sp: 0x30727e50 ip: 0x2f9aa473  /lib/libpthread-2.11.1.so: __pthread_get_minstack+0xec6
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 711, tid: 1069
 r0 0000000d  r1 31300560  r2 31300770  r3 31300980
 r4 00000000  r5 00000000  r6 0000000d  r7 0000008e
 r8 31300560  r9 31300770  10 31300980  fp 31300468
 ip 00000000  sp 311fec40  lr 00000000  pc 2fbaa8d2  cpsr 800e0030
    #00 sp: 0x311fec40 ip: 0x2fbaa8d2  /lib/libc-2.11.1.so: __select+0x31
    #01 sp: 0x311fec50 ip: 0x2e96365b  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _Z14qt_safe_selectiP6fd_setS0_S0_PK8timespec+0x172
    #02 sp: 0x311feca0 ip: 0x2e964b7d  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN27QEventDispatcherUNIXPrivate8doSelectE6QFlagsIN10QEventLoop17ProcessEventsFlagEEP8timespec+0xdc
    #03 sp: 0x311feda0 ip: 0x2e965029  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xe8
    #04 sp: 0x311fedc8 ip: 0x2e92806b  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xe6
    #05 sp: 0x311fee00 ip: 0x2e7b3605  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QThread4execEv+0x60
    #06 sp: 0x311fee28 ip: 0x2e7b6789  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QThread21setTerminationEnabledEb+0x218
    #07 sp: 0x311fee50 ip: 0x2f9aa473  /lib/libpthread-2.11.1.so: __pthread_get_minstack+0xec6
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 711, tid: 1079
 r0 0000000c  r1 014b77b0  r2 014b79c0  r3 014b7bd0
 r4 00000000  r5 00000000  r6 0000000c  r7 0000008e
 r8 014b77b0  r9 014b79c0  10 014b7bd0  fp 014acb98
 ip 00000000  sp 31bfec40  lr 00000000  pc 2fbaa8d2  cpsr 80000030
    #00 sp: 0x31bfec40 ip: 0x2fbaa8d2  /lib/libc-2.11.1.so: __select+0x31
    #01 sp: 0x31bfec50 ip: 0x2e96365b  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _Z14qt_safe_selectiP6fd_setS0_S0_PK8timespec+0x172
    #02 sp: 0x31bfeca0 ip: 0x2e964b7d  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN27QEventDispatcherUNIXPrivate8doSelectE6QFlagsIN10QEventLoop17ProcessEventsFlagEEP8timespec+0xdc
    #03 sp: 0x31bfeda0 ip: 0x2e965029  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xe8
    #04 sp: 0x31bfedc8 ip: 0x2e92806b  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xe6
    #05 sp: 0x31bfee00 ip: 0x2e7b3605  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QThread4execEv+0x60
    #06 sp: 0x31bfee28 ip: 0x2e7b6789  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QThread21setTerminationEnabledEb+0x218
    #07 sp: 0x31bfee50 ip: 0x2f9aa473  /lib/libpthread-2.11.1.so: __pthread_get_minstack+0xec6
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 711, tid: 1130
 r0 0000001a  r1 34e8d9a0  r2 00000000  r3 00000000
 r4 00000000  r5 34e8da20  r6 32701d40  r7 0000008e
 r8 34e8da20  r9 3271359c  10 00000001  fp 3271359c
 ip 00000000  sp 34e8d900  lr 00000000  pc 2fbaa8d2  cpsr 800f0030
    #00 sp: 0x34e8d900 ip: 0x2fbaa8d2  /lib/libc-2.11.1.so: __select+0x31
    #01 sp: 0x34e8d910 ip: 0x326fe657  /usr/local/Kobo/generic/libkevdevtouch.so: _init+0x49f7
    #02 sp: 0x34e8da48 ip: 0x2e953737  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN15QSocketNotifier5eventEP6QEvent+0x1f2
    #03 sp: 0x34e8da68 ip: 0x2e94b2f9  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QObject5eventEP6QEvent+0xd0
    #04 sp: 0x34e8db48 ip: 0x2dcb7b63  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtWidgets.so.4.6.2: _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x56
    #05 sp: 0x34e8db60 ip: 0x2dcbc99b  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtWidgets.so.4.6.2: _ZN12QApplication6notifyEP7QObjectP6QEvent+0x422
    #06 sp: 0x34e8dcc0 ip: 0x2b9015d7  /usr/local/Kobo/libnickel.so.1.0.0: _ZN18Nickel3Application6notifyEP7QObjectP6QEvent+0x32
    #07 sp: 0x34e8dcf0 ip: 0x2e929729  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x84
    #08 sp: 0x34e8dd20 ip: 0x2e96629d  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN14QTimerInfoList14activateTimersEv+0x400
    #09 sp: 0x34e8dd88 ip: 0x2e965017  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xd6
    #10 sp: 0x34e8ddb0 ip: 0x2e92806b  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xe6
    #11 sp: 0x34e8dde8 ip: 0x2e7b3605  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QThread4execEv+0x60
    #12 sp: 0x34e8de10 ip: 0x32701089  /usr/local/Kobo/generic/libkevdevtouch.so: _init+0x7429
    #13 sp: 0x34e8de28 ip: 0x2e7b6789  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QThread21setTerminationEnabledEb+0x218
    #14 sp: 0x34e8de50 ip: 0x2f9aa473  /lib/libpthread-2.11.1.so: __pthread_get_minstack+0xec6
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 711, tid: 1147
 r0 fffffffc  r1 00000089  r2 00000003  r3 35733dac
 r4 00000000  r5 ffffffff  r6 01864418  r7 000000f0
 r8 018643ff  r9 00000001  10 01864400  fp 00000000
 ip 000000f0  sp 35733d20  lr 2f9ae1ad  pc 2f9b23c6  cpsr 000f0030
    #00 sp: 0x35733d20 ip: 0x2f9b23c6  /lib/libpthread-2.11.1.so: __res_state+0x31
    #01 sp: 0x35733d28 ip: 0x2f9ae1ad  /lib/libpthread-2.11.1.so: pthread_cond_timedwait+0x10c
    #02 sp: 0x35733d90 ip: 0x2e7b7381  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN14QWaitCondition4waitEP6QMutexm+0xd4
    #03 sp: 0x35733de8 ip: 0x2e7b48ab  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN18QThreadPoolPrivate13stealRunnableEP9QRunnable+0x2da
    #04 sp: 0x35733e28 ip: 0x2e7b6789  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QThread21setTerminationEnabledEb+0x218
    #05 sp: 0x35733e50 ip: 0x2f9aa473  /lib/libpthread-2.11.1.so: __pthread_get_minstack+0xec6
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 711, tid: 1150
 r0 0000001e  r1 30901410  r2 30901620  r3 30901830
 r4 00000000  r5 00000000  r6 0000001e  r7 0000008e
 r8 30901410  r9 30901620  10 30901830  fp 309025b0
 ip 00000000  sp 35f33c40  lr 00000000  pc 2fbaa8d2  cpsr 80030030
    #00 sp: 0x35f33c40 ip: 0x2fbaa8d2  /lib/libc-2.11.1.so: __select+0x31
    #01 sp: 0x35f33c50 ip: 0x2e96365b  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _Z14qt_safe_selectiP6fd_setS0_S0_PK8timespec+0x172
    #02 sp: 0x35f33ca0 ip: 0x2e964b7d  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN27QEventDispatcherUNIXPrivate8doSelectE6QFlagsIN10QEventLoop17ProcessEventsFlagEEP8timespec+0xdc
    #03 sp: 0x35f33da0 ip: 0x2e965029  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xe8
    #04 sp: 0x35f33dc8 ip: 0x2e92806b  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xe6
    #05 sp: 0x35f33e00 ip: 0x2e7b3605  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QThread4execEv+0x60
    #06 sp: 0x35f33e28 ip: 0x2e7b6789  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QThread21setTerminationEnabledEb+0x218
    #07 sp: 0x35f33e50 ip: 0x2f9aa473  /lib/libpthread-2.11.1.so: __pthread_get_minstack+0xec6
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 711, tid: 1155
 r0 00000012  r1 30900cc0  r2 30900ed0  r3 309010e0
 r4 00000000  r5 00000000  r6 00000012  r7 0000008e
 r8 30900cc0  r9 30900ed0  10 309010e0  fp 30900bc8
 ip 00000000  sp 3468dc40  lr 00000000  pc 2fbaa8d2  cpsr 80030030
    #00 sp: 0x3468dc40 ip: 0x2fbaa8d2  /lib/libc-2.11.1.so: __select+0x31
    #01 sp: 0x3468dc50 ip: 0x2e96365b  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _Z14qt_safe_selectiP6fd_setS0_S0_PK8timespec+0x172
    #02 sp: 0x3468dca0 ip: 0x2e964b7d  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN27QEventDispatcherUNIXPrivate8doSelectE6QFlagsIN10QEventLoop17ProcessEventsFlagEEP8timespec+0xdc
    #03 sp: 0x3468dda0 ip: 0x2e965029  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xe8
    #04 sp: 0x3468ddc8 ip: 0x2e92806b  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xe6
    #05 sp: 0x3468de00 ip: 0x2e7b3605  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QThread4execEv+0x60
    #06 sp: 0x3468de28 ip: 0x2e7b6789  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QThread21setTerminationEnabledEb+0x218
    #07 sp: 0x3468de50 ip: 0x2f9aa473  /lib/libpthread-2.11.1.so: __pthread_get_minstack+0xec6
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 711, tid: 1213
 r0 00000024  r1 31300f10  r2 31301120  r3 31301330
 r4 323feb90  r5 323feb98  r6 323feb90  r7 0000014f
 r8 31300f10  r9 31301120  10 31301330  fp 00000000
 ip 0000014f  sp 323feb80  lr 2fbaa9cb  pc 2fb315f4  cpsr 800e0030
    #00 sp: 0x323feb80 ip: 0x2fb315f4  /lib/libc-2.11.1.so: gnu_get_libc_version+0x1a3
    #01 sp: 0x323feb88 ip: 0x2fbaa9cb  /lib/libc-2.11.1.so: pselect+0xca
    #02 sp: 0x323fec50 ip: 0x2e96362f  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _Z14qt_safe_selectiP6fd_setS0_S0_PK8timespec+0x146
    #03 sp: 0x323feca0 ip: 0x2e964b7d  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN27QEventDispatcherUNIXPrivate8doSelectE6QFlagsIN10QEventLoop17ProcessEventsFlagEEP8timespec+0xdc
    #04 sp: 0x323feda0 ip: 0x2e965037  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xf6
    #05 sp: 0x323fedc8 ip: 0x2e92806b  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xe6
    #06 sp: 0x323fee00 ip: 0x2e7b3605  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QThread4execEv+0x60
    #07 sp: 0x323fee28 ip: 0x2e7b6789  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QThread21setTerminationEnabledEb+0x218
    #08 sp: 0x323fee50 ip: 0x2f9aa473  /lib/libpthread-2.11.1.so: __pthread_get_minstack+0xec6
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 711, tid: 1214
 r0 fffffffc  r1 00000089  r2 00000001  r3 36733dac
 r4 00000000  r5 ffffffff  r6 31302660  r7 000000f0
 r8 31302647  r9 00000001  10 31302648  fp 00000000
 ip 000000f0  sp 36733d20  lr 2f9ae1ad  pc 2f9b23c6  cpsr 000a0030
    #00 sp: 0x36733d20 ip: 0x2f9b23c6  /lib/libpthread-2.11.1.so: __res_state+0x31
    #01 sp: 0x36733d28 ip: 0x2f9ae1ad  /lib/libpthread-2.11.1.so: pthread_cond_timedwait+0x10c
    #02 sp: 0x36733d90 ip: 0x2e7b7381  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN14QWaitCondition4waitEP6QMutexm+0xd4
    #03 sp: 0x36733de8 ip: 0x2e7b48ab  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN18QThreadPoolPrivate13stealRunnableEP9QRunnable+0x2da
    #04 sp: 0x36733e28 ip: 0x2e7b6789  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtCore.so.4.6.2: _ZN7QThread21setTerminationEnabledEb+0x218
    #05 sp: 0x36733e50 ip: 0x2f9aa473  /lib/libpthread-2.11.1.so: __pthread_get_minstack+0xec6
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
pid: 711, tid: 1224
 r0 2dbd9afc  r1 00000080  r2 00000001  r3 00000000
 r4 00000000  r5 2dbd9af8  r6 2dbd9ae0  r7 000000f0
 r8 00000000  r9 00000001  10 2dbd9adf  fp 00000001
 ip 000000f0  sp 36f33d88  lr 2f9adf1f  pc 2f9b23c4  cpsr 40070030
    #00 sp: 0x36f33d88 ip: 0x2f9b23c4  /lib/libpthread-2.11.1.so: __res_state+0x2f
    #01 sp: 0x36f33d90 ip: 0x2f9adf1f  /lib/libpthread-2.11.1.so: pthread_cond_wait+0xe6
    #02 sp: 0x36f33df8 ip: 0x2d7d28dd  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtWebKit.so.4.6.2: _ZN3WTF8Internal21fastMallocMatchFailedEPv+0xaf4
    #03 sp: 0x36f33e48 ip: 0x2d7d2919  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtWebKit.so.4.6.2: _ZN3WTF8Internal21fastMallocMatchFailedEPv+0xb30
    #04 sp: 0x36f33e58 ip: 0x2d7d2919  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtWebKit.so.4.6.2: _ZN3WTF8Internal21fastMallocMatchFailedEPv+0xb30
    #05 sp: 0x36f34460 ip: 0x2d7d2919  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtWebKit.so.4.6.2: _ZN3WTF8Internal21fastMallocMatchFailedEPv+0xb30
    #06 sp: 0x00000010 ip: 0x2d7d2919  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtWebKit.so.4.6.2: _ZN3WTF8Internal21fastMallocMatchFailedEPv+0xb30
    #07 sp: 0x0000000f ip: 0x2d7d2919  /usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/libQtWebKit.so.4.6.2: _ZN3WTF8Internal21fastMallocMatchFailedEPv+0xb30
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
Recorded last user operations: 
last user operation[4]: "pluggedIn" 
last user operation[3]: "pluggedInBatte
last user operation[2]: "appStart" 
last user operation[1]: "homeWidgetClic
last user operation[0]: "openContentRel
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---

I'm going to remove this patch for now and take another attempt at it for the next release of the patches.

I've also tried using LD_PRELOAD to trace the calls to QList<double>::append, and it didn't give me anything useful...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
firmware release Category: Updating patches for a new release.
Projects
None yet
Development

No branches or pull requests

2 participants