Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fliker@fliker-VGN-FZ140E:~/Programs/ccd$ gdb --args ./ccd
- GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
- Copyright (C) 2016 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".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- ---Type <return> to continue, or q <return> to quit---
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from ./ccd...done.
- (gdb) start
- Temporary breakpoint 1 at 0x49cf1a: file src/main.cpp, line 9.
- Starting program: /home/fliker/Programs/ccd/ccd
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- Temporary breakpoint 1, main (argc=1, argv=0x7fffffffdef8) at src/main.cpp:9
- 9 {
- (gdb) continue
- Continuing.
- [New Thread 0x7fffe8d64700 (LWP 2336)]
- [Thread 0x7fffe8d64700 (LWP 2336) exited]
- [New Thread 0x7fffe8d64700 (LWP 2337)]
- [Thread 0x7fffe8d64700 (LWP 2337) exited]
- [New Thread 0x7fffe8d64700 (LWP 2338)]
- [Thread 0x7fffe8d64700 (LWP 2338) exited]
- [New Thread 0x7fffe8d64700 (LWP 2339)]
- [Thread 0x7fffe8d64700 (LWP 2339) exited]
- Model: 'Sony SLT-A58 (Control)' Port: usb:002,004
- prog = Loading camera drivers from '/usr/local/lib/libgphoto2/2.5.14'...
- 0%
- 1%
- 3%
- 4%
- 6%
- 7%
- 9%
- 10%
- 12%
- 14%
- 15%
- 17%
- 18%
- 20%
- 21%
- 23%
- 25%
- 26%
- 28%
- 29%
- 31%
- 32%
- 34%
- 35%
- 37%
- 39%
- 40%
- 42%
- 43%
- 45%
- 46%
- 48%
- 50%
- 51%
- 53%
- 54%
- 56%
- 57%
- 59%
- 60%
- 62%
- 64%
- 65%
- 67%
- 68%
- 70%
- 71%
- 73%
- 75%
- 76%
- 78%
- 79%
- 81%
- 82%
- 84%
- 85%
- 87%
- 89%
- 90%
- 92%
- 93%
- 95%
- 96%
- 98%
- stop_func
- [New Thread 0x7fffe8d64700 (LWP 2340)]
- [Thread 0x7fffe8d64700 (LWP 2340) exited]
- [New Thread 0x7fffe8d64700 (LWP 2342)]
- Connected to DSLR-camera
- [New Thread 0x7fffe8563700 (LWP 2343)]
- sync task starting...
- New task started...
- Config get_params OK
- sync done...
- sync task starting...
- continued...
- Task complete
- New task started...
- GPCamera::set_config_widget: result = 0
- Config set_params result OK
- sync done...
- sync task starting...
- continued...
- Task complete
- New task started...
- Config get_params OK
- sync done...
- continued...
- Task complete
- Connected to NULL-idev
- [New Thread 0x7fffe7d62700 (LWP 2344)]
- async task starting...New task started...
- Start capture...
- Before gp_camera_capture
- prog = Downloading...
- 1%
- 4%
- 6%
- 9%
- 12%
- 14%
- 17%
- 19%
- 22%
- 25%
- 27%
- 30%
- 33%
- 35%
- 38%
- 40%
- 43%
- 46%
- 48%
- 50%
- 53%
- 55%
- 58%
- 60%
- 63%
- 66%
- 68%
- 71%
- 74%
- 76%
- 79%
- 81%
- 84%
- 87%
- 89%
- 92%
- 94%
- 97%
- 100%
- stop_func
- Before gp_camera_file_get
- image mime = image/x-sony-arw
- Capture done.
- begin Open buffer
- Begin unpack
- done...
- Scaling with multiplier=11 (max=5624)
- total DONE
- Task complete
- QPainter::font: Painter not active
- continued...
- Thread 1 "ccd" received signal SIGSEGV, Segmentation fault.
- __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:174
- 174 ../sysdeps/x86_64/multiarch/../strcmp.S: No such file or directory.
- (gdb) bt
- #0 __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:174
- #1 0x000000000047e5b0 in GPConfigDlg::updateWidgetValue (this=0x81efe0, widget=0xdffac0) at src/device_ui/gpconfigdlg.cpp:553
- #2 0x000000000047e7a9 in GPConfigDlg::updateWidgetValue (this=0x81efe0, widget=0xdfede0) at src/device_ui/gpconfigdlg.cpp:599
- #3 0x000000000047e7a9 in GPConfigDlg::updateWidgetValue (this=0x81efe0, widget=0x7df640) at src/device_ui/gpconfigdlg.cpp:599
- #4 0x000000000047e8d2 in GPConfigDlg::onOkClicked (this=0x81efe0) at src/device_ui/gpconfigdlg.cpp:609
- #5 0x00000000004a4015 in GPConfigDlg::qt_static_metacall (_o=0x81efe0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffc180) at debug/.moc/moc_gpconfigdlg.cpp:50
- #6 0x00007ffff5fab010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
- #7 0x00007ffff6b68d12 in QAbstractButton::clicked(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #8 0x00007ffff689e2b3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #9 0x00007ffff689f664 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #10 0x00007ffff689f774 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #11 0x00007ffff651a8d0 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #12 0x00007ffff64c3fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- ---Type <return> to continue, or q <return> to quit---
- #13 0x00007ffff64cb0d6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #14 0x00007ffff5f9690d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
- #15 0x00007ffff64ca6dd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
- from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #16 0x00007ffff65483f2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #17 0x00007ffff6547c83 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #18 0x00007ffff6571542 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #19 0x00007ffff34a2197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
- #20 0x00007ffff34a23f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
- #21 0x00007ffff34a249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
- #22 0x00007ffff5fc72ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
- #23 0x00007ffff6571616 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #24 0x00007ffff5f9518f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
- ---Type <return> to continue, or q <return> to quit---
- #25 0x00007ffff5f954f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
- #26 0x00007ffff69a6a3c in QDialog::exec() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #27 0x000000000047febc in ui_device_base::onHardwareParamsClick (this=0xe08cf0) at src/ui_device_base.cpp:47
- #28 0x00000000004a45b1 in ui_device_base::qt_static_metacall (_o=0xe08cf0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffcfb0) at debug/.moc/moc_ui_device_base.cpp:50
- #29 0x00007ffff5fab010 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
- #30 0x00007ffff6b68d12 in QAbstractButton::clicked(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #31 0x00007ffff689e2b3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #32 0x00007ffff689f664 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #33 0x00007ffff689f774 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #34 0x00007ffff651a8d0 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #35 0x00007ffff64c3fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #36 0x00007ffff64cb0d6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #37 0x00007ffff5f9690d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
- ---Type <return> to continue, or q <return> to quit---
- #38 0x00007ffff64ca6dd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
- from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #39 0x00007ffff65483f2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #40 0x00007ffff6547c83 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #41 0x00007ffff6571542 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #42 0x00007ffff34a2197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
- #43 0x00007ffff34a23f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
- #44 0x00007ffff34a249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
- #45 0x00007ffff5fc72ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
- #46 0x00007ffff6571616 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
- #47 0x00007ffff5f9518f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
- #48 0x00007ffff5f954f5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
- #49 0x00007ffff5f9b4b9 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
- ---Type <return> to continue, or q <return> to quit---
- #50 0x000000000049cf82 in main (argc=1, argv=0x7fffffffdef8) at src/main.cpp:16
- (gdb) f 1
- #1 0x000000000047e5b0 in GPConfigDlg::updateWidgetValue (this=0x81efe0, widget=0xdffac0) at src/device_ui/gpconfigdlg.cpp:553
- 553 if( !widget_value_string || strcmp( widget_value_string, value_new ) )
- (gdb) p widget_value_string
- $1 = 0xdfb160 "0"
- (gdb) p value_new
- $2 = 0x0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement