Results 1 to 3 of 3

Thread: QLed implicated in crashes

  1. #1
    Join Date
    Aug 2013
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QLed implicated in crashes

    Hi,

    I'm getting spurious (about once a month) crashes seemingly related to QLed. Up to now three crashes seen (see backtraces below), no clear pattern seen, haven't been able to reproduce in test environment. No further problems with Qt seen.
    The svg's (circle red/grey) seen fine in tests.
    Of the two core backtraces, I've seen the first one twice, and the second one once.

    Has anyone seen these problems before? Thoughts as to where to look from here? Application code (incorrect use of QLed)? QLed? Qt?
    Am I missing something obvious?

    Best regards,
    Cerion

    Context:
    - Linux RedHat 6.1, 2.6.32-131.0.15.el6.i686
    - Qt 4.6.2 (default system Qt shared libs)
    (any other details needed?)

    1) Backtrace core.29618:
    Qt Code:
    1. #0 0xb781a424 in __kernel_vsyscall ()
    2. #1 0x00611d71 in raise () from /lib/libc.so.6
    3. #2 0x0061364a in abort () from /lib/libc.so.6
    4. #3 0x0060adf8 in __assert_fail () from /lib/libc.so.6
    5. #4 0x48b2aa5e in ?? ()
    6. ...
    7. #23 0x09c99570 in ?? ()
    8. #24 0xb77c8308 in ?? () from /usr/lib/libQtSvg.so.4
    9. #25 0xb77e81a5 in ?? () from /usr/lib/libQtSvg.so.4
    10. #26 0xb77e81a5 in ?? () from /usr/lib/libQtSvg.so.4
    11. #27 0xb77ef5cd in QSvgTinyDocument::draw(QPainter*, QRectF const&) () from /usr/lib/libQtSvg.so.4
    12. #28 0xb77ef6fa in QSvgTinyDocument::draw(QPainter*) () from /usr/lib/libQtSvg.so.4
    13. #29 0xb77f07ef in QSvgRenderer::render(QPainter*) () from /usr/lib/libQtSvg.so.4
    14. #30 0x080769e8 in QLed::paintEvent (this=0x9cbc044) at qled.cpp:71
    15. #31 0x4915aceb in ?? ()
    16. ...
    17. #78 0x00000000 in ?? ()
    To copy to clipboard, switch view to plain text mode 

    qled.cpp:71 = "renderer->render(&painter);”


    2) Backtrace core.24910
    Qt Code:
    1. #0 0xb7820424 in __kernel_vsyscall ()
    2. #1 0x00611d71 in raise () from /lib/libc.so.6
    3. #2 0x0061364a in abort () from /lib/libc.so.6
    4. #3 0x0060adf8 in __assert_fail () from /lib/libc.so.6
    5. #4 0x48b2aa5e in ?? ()
    6. ...
    7. #17 0xbfc66808 in ?? ()
    8. #18 0x08076862 in QLed::paintEvent (this=0x9603ff0) at qled.cpp:60
    9. #19 0x4915aceb in ?? ()
    10. ...
    11. #68 0x00000000 in ?? ()
    To copy to clipboard, switch view to plain text mode 

    qled.cpp:60 = "QPainter(this);"

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QLed implicated in crashes

    Is this after the same program instance has been running for months, or just months between occurrences on short running instances? Are you sure you are hearing about all the crashes?

  3. #3
    Join Date
    Aug 2013
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QLed implicated in crashes

    Hi Chris, thanks for the quick response.

    Application has been running continuously for about 2.5 months, automatic restart after crashes.
    Has actually crashed 4 times, but only setup core file generation after first crash, so have only 3 core files.
    Am certain has not crashed more than this.

    You seen anything like this before?
    Cerion

Similar Threads

  1. qled installation
    By marco.stanzani in forum Newbie
    Replies: 2
    Last Post: 24th February 2011, 17:17
  2. QLed undefiene reference QLed(QWidget *widget);
    By adamatic in forum Qt Programming
    Replies: 3
    Last Post: 23rd August 2010, 10:26
  3. Qt Designer QLed - SOLVED
    By franco.amato in forum Qt Tools
    Replies: 1
    Last Post: 23rd August 2010, 04:09
  4. app crashes again
    By sophister in forum Qt Programming
    Replies: 7
    Last Post: 15th June 2009, 11:01
  5. QLed
    By omega36 in forum Qt Programming
    Replies: 4
    Last Post: 8th December 2008, 18:47

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.