Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#313 Crashes when selecting some programmers

closed-fixed
5
2012-10-19
2012-10-10
Marc BERLIOUX
No

piklab 0.16.1 rev 2964

piklab crashes when selecting PICDEM or any of the PICKITs. in the configure programmer's window

doesn't occur in previous 0.15.4

Discussion

    • assigned_to: nobody --> azhyd
     
  • Hi Marc,

    could you give me more details on the crashes? Could you get a stack:
    gdb <path>/piklab
    > run
    After it crashes:
    > bt

    Thanks,
    Nicolas

     
  • Marc BERLIOUX
    Marc BERLIOUX
    2012-10-15

    $ gdb /usr/local/bin/piklab
    GNU gdb (GDB) 7.1-ubuntu
    Copyright (C) 2010 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/local/bin/piklab...done.
    (gdb) run
    Starting program: /usr/local/bin/piklab
    [Thread debugging using libthread_db enabled]
    piklab: version 0.16.1 (rev. 2964)
    Object::connect: No such signal Log::Widget::aboutToShowContextMenu(QMenu*) in /usr/local/src/piklab-svn/piklab_kde4/src/libgui/log_view.cpp:32
    Object::connect: (sender name: 'compile_log')
    Object::connect: (receiver name: 'compile_log')
    Object::connect: No such signal Log::Widget::aboutToShowContextMenu(QMenu*) in /usr/local/src/piklab-svn/piklab_kde4/src/libgui/log_view.cpp:32
    Object::connect: (sender name: 'program_log')
    Object::connect: (receiver name: 'program_log')
    piklab(15504)/kdecore (KLibrary) findLibraryInternal: plugins should not have a 'lib' prefix: "libkonsolepart.so"
    [New Thread 0x7fffea235700 (LWP 15507)]
    piklab(15504)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing "/usr/share/mime/magic"
    piklab(15504)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing "/usr/local/share/mime/magic"
    piklab(15504)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing "/home/marc/.local/share/mime/magic"
    ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 447

    Program received signal SIGABRT, Aborted.
    0x00007ffff2b7ea75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
    64 ../nptl/sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
    in ../nptl/sysdeps/unix/sysv/linux/raise.c
    (gdb) bt
    #0 0x00007ffff2b7ea75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
    #1 0x00007ffff2b825c0 in *__GI_abort () at abort.c:92
    #2 0x00007ffff5505ac4 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
    #3 0x00007ffff5505ca2 in ?? () from /usr/lib/libQtCore.so.4
    #4 0x00007ffff5505e55 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
    #5 0x0000000000471209 in QList<QString>::operator[] (this=0x7fffffffbbb0, i=0) at /usr/include/qt4/QtCore/qlist.h:447
    #6 0x0000000000531195 in Hardware::Config::currentHardware (this=0x13e1670, type=...) at /usr/local/src/piklab-svn/piklab_kde4/src/progs/base/hardware_config.cpp:37
    #7 0x00000000004ddcc3 in Programmer::ProgConfigWidget::detect (this=0x453bb60) at /usr/local/src/piklab-svn/piklab_kde4/src/progs/gui/prog_config_center.cpp:125
    #8 0x00000000004ddd7b in Programmer::ProgConfigWidget::qt_metacall (this=0x453bb60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
    _a=<value optimized out>) at /usr/local/src/piklab-svn/piklab_kde4/src/progs/gui/prog_config_center.moc:144
    #9 0x00007ffff561506f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
    #10 0x00007ffff561c92f in ?? () from /usr/lib/libQtCore.so.4
    #11 0x00007ffff5611c83 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
    #12 0x00007ffff64b122c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #13 0x00007ffff64b769b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #14 0x00007ffff79c7a16 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
    #15 0x00007ffff56022fc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
    #16 0x00007ffff562eec2 in ?? () from /usr/lib/libQtCore.so.4
    #17 0x00007ffff562baf4 in ?? () from /usr/lib/libQtCore.so.4
    #18 0x00007ffff10b58c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
    #19 0x00007ffff10b9748 in ?? () from /lib/libglib-2.0.so.0
    #20 0x00007ffff10b98fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
    #21 0x00007ffff562b7e3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
    #22 0x00007ffff656152e in ?? () from /usr/lib/libQtGui.so.4
    #23 0x00007ffff5600c22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
    #24 0x00007ffff5600ffc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
    #25 0x00007ffff697b86e in QDialog::exec() () from /usr/lib/libQtGui.so.4
    #26 0x0000000000461b99 in MainWindow::configureProgrammers (this=0x1079fc0) at /usr/local/src/piklab-svn/piklab_kde4/src/libgui/toplevel.cpp:420
    #27 0x00000000004621ae in MainWindow::qt_metacall (this=0x1079fc0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffc960)
    at /usr/local/src/piklab-svn/piklab_kde4/src/libgui/toplevel.moc:186
    #28 0x00007ffff561506f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
    #29 0x00007ffff64ab032 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
    #30 0x00007ffff64ad0ab in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
    #31 0x00007ffff68ecbad in ?? () from /usr/lib/libQtGui.so.4
    #32 0x00007ffff68f25ea in ?? () from /usr/lib/libQtGui.so.4
    #33 0x00007ffff7aa448e in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
    #34 0x00007ffff6507632 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #35 0x00007ffff68f47ab in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #36 0x00007ffff64b122c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #37 0x00007ffff64b7e6b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #38 0x00007ffff79c7a16 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
    #39 0x00007ffff56022fc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
    #40 0x00007ffff64b704e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
    from /usr/lib/libQtGui.so.4
    #41 0x00007ffff653749d in ?? () from /usr/lib/libQtGui.so.4
    #42 0x00007ffff653596c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
    ---Type <return> to continue, or q <return> to quit---
    #43 0x00007ffff6561942 in ?? () from /usr/lib/libQtGui.so.4
    #44 0x00007ffff10b58c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
    #45 0x00007ffff10b9748 in ?? () from /lib/libglib-2.0.so.0
    #46 0x00007ffff10b98fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
    #47 0x00007ffff562b7e3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
    #48 0x00007ffff656152e in ?? () from /usr/lib/libQtGui.so.4
    #49 0x00007ffff5600c22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
    #50 0x00007ffff5600ffc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
    #51 0x00007ffff5604d3b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
    #52 0x0000000000457912 in main (argc=1, argv=0x7fffffffe388) at /usr/local/src/piklab-svn/piklab_kde4/src/piklab/main.cpp:28
    (gdb)

     
    • status: open --> closed-fixed
     
  • Hi Marc,

    should be fixed in latest sources.

    Merci !
    Nicolas

     
  • Marc BERLIOUX
    Marc BERLIOUX
    2012-10-19

    Well done,
    With today's rev 2977 it's not crashing anymore

    Merci à toi Nicolas,
    c'est toi qui fait tout le boulot..