Advertisement
smartiq

gdb callback for KDE Bug 343844

Sep 5th, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GDB 5.77 KB | None | 0 0
  1. badboy@trinity:~ $ export DISPLAY=:0
  2. badboy@trinity:~ $ gdb kate
  3. GNU gdb (GDB) 7.10
  4. Copyright (C) 2015 Free Software Foundation, Inc.
  5. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  6. This is free software: you are free to change and redistribute it.
  7. There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  8. and "show warranty" for details.
  9. This GDB was configured as "x86_64-unknown-linux-gnu".
  10. Type "show configuration" for configuration details.
  11. For bug reporting instructions, please see:
  12. <http://www.gnu.org/software/gdb/bugs/>.
  13. Find the GDB manual and other documentation resources online at:
  14. <http://www.gnu.org/software/gdb/documentation/>.
  15. For help, type "help".
  16. Type "apropos word" to search for commands related to "word"...
  17. Reading symbols from kate...(no debugging symbols found)...done.
  18. (gdb) break QFactoryLoader::instance
  19. Function "QFactoryLoader::instance" not defined.
  20. Make breakpoint pending on future shared library load? (y or [n]) y
  21. Breakpoint 1 (QFactoryLoader::instance) pending.
  22. (gdb) run
  23. Starting program: /usr/bin/kate
  24. [Thread debugging using libthread_db enabled]
  25. Using host libthread_db library "/usr/lib/libthread_db.so.1".
  26.  
  27. Breakpoint 1, 0x00007ffff3a45890 in QFactoryLoader::instance(int) const@plt ()
  28.    from /usr/lib/libQt5Gui.so.5
  29. (gdb) del 1
  30. (gdb) break dlopen
  31. Breakpoint 2 at 0x7fffec845030
  32. (gdb) continue
  33. Continuing.
  34.  
  35. Breakpoint 2, 0x00007fffec845030 in dlopen () from /usr/lib/libdl.so.2
  36. (gdb) finish
  37. Run till exit from #0  0x00007fffec845030 in dlopen () from /usr/lib/libdl.so.2
  38. 0x00007ffff2ded00f in ?? () from /usr/lib/libQt5Core.so.5
  39. (gdb) del 2
  40. (gdb) rbreak xcb_randr_.*
  41. Breakpoint 3 at 0x7fffe17867b0
  42. <function, no debug info> xcb_randr_get_output_primary_reply@plt;
  43. Breakpoint 4 at 0x7fffe17867d0
  44. <function, no debug info> xcb_randr_get_screen_resources_current_unchecked@plt;
  45. Breakpoint 5 at 0x7fffe1786b00
  46. <function, no debug info> QXcbScreen::handleScreenChange(xcb_randr_screen_change_notify_event_t*)@plt;
  47. Breakpoint 6 at 0x7fffe1786bf0
  48. <function, no debug info> xcb_randr_get_crtc_info_unchecked@plt;
  49. Breakpoint 7 at 0x7fffe1786cb0
  50. <function, no debug info> xcb_randr_get_screen_resources_current_reply@plt;
  51. Breakpoint 8 at 0x7fffe1786d30
  52. <function, no debug info> xcb_randr_get_output_info_name_length@plt;
  53. Breakpoint 9 at 0x7fffe1787210
  54. <function, no debug info> xcb_randr_get_screen_resources_outputs@plt;
  55. Breakpoint 10 at 0x7fffe050bf00 (2 locations)
  56. <function, no debug info> xcb_randr_get_screen_resources_current_modes_iterator@plt;
  57. Breakpoint 11 at 0x7fffe1787d50
  58. <function, no debug info> xcb_randr_query_version@plt;
  59. Breakpoint 12 at 0x7fffe1787f70
  60. <function, no debug info> QXcbScreen::QXcbScreen(QXcbConnection*, QXcbVirtualDesktop*, unsigned int, xcb_randr_get_output_info_reply_t*, QString)@plt;
  61. Breakpoint 13 at 0x7fffe1788d10
  62. <function, no debug info> QXcbConnection::createScreen(QXcbVirtualDesktop*, unsigned int, xcb_randr_get_output_info_reply_t*)@plt;
  63. Breakpoint 14 at 0x7fffe1788ef0
  64. <function, no debug info> xcb_randr_get_screen_resources_current@plt;
  65. Breakpoint 15 at 0x7fffe1788fe0
  66. <function, no debug info> xcb_randr_get_screen_resources_outputs_length@plt;
  67. Breakpoint 16 at 0x7fffe1789270
  68. <function, no debug info> xcb_randr_get_output_info@plt;
  69. Breakpoint 17 at 0x7fffe1789690
  70. <function, no debug info> QXcbConnection::updateScreens(xcb_randr_notify_event_t const*)@plt;
  71. Breakpoint 18 at 0x7fffe1789ad0
  72. <function, no debug info> xcb_randr_mode_info_next@plt;
  73. Breakpoint 19 at 0x7fffe1789ae0
  74. <function, no debug info> xcb_randr_get_output_primary@plt;
  75. Breakpoint 20 at 0x7fffe178a000
  76. <function, no debug info> xcb_randr_get_screen_resources@plt;
  77. Breakpoint 21 at 0x7fffe178a060
  78. <function, no debug info> xcb_randr_query_version_reply@plt;
  79. Breakpoint 22 at 0x7fffe178a1b0
  80. <function, no debug info> xcb_randr_get_output_info_reply@plt;
  81. Breakpoint 23 at 0x7fffe178a1e0
  82. <function, no debug info> xcb_randr_get_crtc_info_reply@plt;
  83. Breakpoint 24 at 0x7fffe178aa20
  84. <function, no debug info> xcb_randr_get_output_info_name@plt;
  85. Breakpoint 25 at 0x7fffe178ab10
  86. <function, no debug info> xcb_randr_select_input@plt;
  87. Breakpoint 26 at 0x7fffe178ad30
  88. <function, no debug info> xcb_randr_get_output_info_unchecked@plt;
  89. Breakpoint 27 at 0x7fffe178b110
  90. <function, no debug info> xcb_randr_get_screen_resources_reply@plt;
  91. Breakpoint 28 at 0x7fffe178b420
  92. <function, no debug info> xcb_randr_get_screen_resources_current_outputs@plt;
  93. Breakpoint 29 at 0x7fffe178b430
  94. <function, no debug info> xcb_randr_get_screen_resources_current_outputs_length@plt;
  95. Breakpoint 30 at 0x7fffe178f940
  96. <function, no debug info> QXcbConnection::createScreen(QXcbVirtualDesktop*, unsigned int, xcb_randr_get_output_info_reply_t*);
  97. Breakpoint 31 at 0x7fffe1794090
  98. <function, no debug info> QXcbConnection::updateScreens(xcb_randr_notify_event_t const*);
  99. Breakpoint 32 at 0x7fffe17a5030
  100. ---Type <return> to continue, or q <return> to quit---q
  101. Quit
  102. (gdb) continue
  103. Continuing.
  104. [New Thread 0x7fffdf429700 (LWP 1270)]
  105.  
  106. Breakpoint 13, 0x00007fffe1788d10 in QXcbConnection::createScreen(QXcbVirtualDesktop*, unsigned int, xcb_randr_get_output_info_reply_t*)@plt ()
  107.    from /usr/lib/libQt5XcbQpa.so.5
  108. (gdb) continue
  109. Continuing.
  110.  
  111. Breakpoint 30, 0x00007fffe178f940 in QXcbConnection::createScreen(QXcbVirtualDesktop*, unsigned int, xcb_randr_get_output_info_reply_t*) ()
  112.    from /usr/lib/libQt5XcbQpa.so.5
  113. (gdb) continue
  114. Continuing.
  115.  
  116. Breakpoint 12, 0x00007fffe1787f70 in QXcbScreen::QXcbScreen(QXcbConnection*, QXcbVirtualDesktop*, unsigned int, xcb_randr_get_output_info_reply_t*, QString)@plt () from /usr/lib/libQt5XcbQpa.so.5
  117. (gdb) continue
  118. Continuing.
  119. QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.1'
  120. detected kglobalaccel restarting, re-registering all shortcut keys
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement