Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.15 KB | None | 0 0
  1. profanity ▷ git rev-parse HEAD
  2. bfa4a2ef1fdee2ae6ae017e8a97ac968509c3ca5
  3. libmesode ▷ git rev-parse HEAD
  4. 4eb3642ae6576ea87dc16d3b92852019c0101369
  5. Breakpoint 1, __GI_abort () at abort.c:49
  6. 49 abort.c: No such file or directory.
  7. (gdb) bt
  8. #0 __GI_abort () at abort.c:49
  9. #1 0x00007fd2305b64ea in __assert_fail_base (fmt=0x7fd23071bf18 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x55ab783e9af4 "roster != NULL",
  10. file=file@entry=0x55ab783e9add "src/xmpp/roster_list.c", line=line@entry=158, function=function@entry=0x55ab783e9d80 <__PRETTY_FUNCTION__.12922> "roster_get_contact")
  11. at assert.c:92
  12. #2 0x00007fd2305b656a in __GI___assert_fail (assertion=assertion@entry=0x55ab783e9af4 "roster != NULL", file=file@entry=0x55ab783e9add "src/xmpp/roster_list.c",
  13. line=line@entry=158, function=function@entry=0x55ab783e9d80 <__PRETTY_FUNCTION__.12922> "roster_get_contact") at assert.c:101
  14. #3 0x000055ab7834698d in roster_get_contact (barejid=<optimized out>) at src/xmpp/roster_list.c:158
  15. #4 0x000055ab78361f2a in _display_name (tab=0x55ab7d91d8a0) at src/ui/statusbar.c:523
  16. #5 0x000055ab7836224d in _tabs_width () at src/ui/statusbar.c:481
  17. #6 0x000055ab7836256e in status_bar_draw () at src/ui/statusbar.c:265
  18. #7 0x000055ab7835e754 in ui_update () at src/ui/core.c:140
  19. #8 0x000055ab7834438f in prof_run (log_level=<optimized out>, account_name=<optimized out>) at src/profanity.c:129
  20. #9 0x000055ab783a9ccb in main (argc=<optimized out>, argv=<optimized out>) at src/main.c:170
  21. (gdb) i
  22. 44 in abort.c
  23. #0 __GI_abort () at abort.c:49
  24. 49 in abort.c
  25. No arguments.
  26. act = {__sigaction_handler = {sa_handler = 0x55ab79debeb0, sa_sigaction = 0x55ab79debeb0}, sa_mask = {__val = {0, 140540734934112, 0, 0, 140734060947624, 0, 0,
  27. 140734060947456, 5, 140540732635856, 3254074056659234048, 0, 3254074056659234048, 140540734919328, 0, 140540732620568}}, sa_flags = 2017368797,
  28. sa_restorer = 0x55ab783e9af4}
  29. sigs = {__val = {94194945138048, 140540732616498, 94194945137373, 3254074056659234048, 140540734936736, 94194945137373, 94194945137396, 158, 140540732620568,
  30. 140540731423359, 206158430232, 140734060947696, 140734060947504, 3254074056659234048, 94194945137373, 158}}
  31. (gdb) up
  32. #1 0x00007fd2305b64ea in __assert_fail_base (fmt=0x7fd23071bf18 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x55ab783e9af4 "roster != NULL",
  33. file=file@entry=0x55ab783e9add "src/xmpp/roster_list.c", line=line@entry=158, function=function@entry=0x55ab783e9d80 <__PRETTY_FUNCTION__.12922> "roster_get_contact")
  34. at assert.c:92
  35. 92 assert.c: No such file or directory.
  36. (gdb) i
  37. 87 in assert.c
  38. #1 0x00007fd2305b64ea in __assert_fail_base (fmt=0x7fd23071bf18 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x55ab783e9af4 "roster != NULL",
  39. file=file@entry=0x55ab783e9add "src/xmpp/roster_list.c", line=line@entry=158, function=function@entry=0x55ab783e9d80 <__PRETTY_FUNCTION__.12922> "roster_get_contact")
  40. at assert.c:92
  41. 92 in assert.c
  42. fmt = 0x7fd23071bf18 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n"
  43. assertion = 0x55ab783e9af4 "roster != NULL"
  44. file = 0x55ab783e9add "src/xmpp/roster_list.c"
  45. line = 158
  46. function = 0x55ab783e9d80 <__PRETTY_FUNCTION__.12922> "roster_get_contact"
  47. str = 0x55ab79debeb0 "\200\310\336y\253U"
  48. total = 4096
  49. (gdb) up
  50. #2 0x00007fd2305b656a in __GI___assert_fail (assertion=assertion@entry=0x55ab783e9af4 "roster != NULL", file=file@entry=0x55ab783e9add "src/xmpp/roster_list.c",
  51. line=line@entry=158, function=function@entry=0x55ab783e9d80 <__PRETTY_FUNCTION__.12922> "roster_get_contact") at assert.c:101
  52. 101 in assert.c
  53. (gdb) i
  54. 96 in assert.c
  55. #2 0x00007fd2305b656a in __GI___assert_fail (assertion=assertion@entry=0x55ab783e9af4 "roster != NULL", file=file@entry=0x55ab783e9add "src/xmpp/roster_list.c",
  56. line=line@entry=158, function=function@entry=0x55ab783e9d80 <__PRETTY_FUNCTION__.12922> "roster_get_contact") at assert.c:101
  57. 101 in assert.c
  58. assertion = 0x55ab783e9af4 "roster != NULL"
  59. file = 0x55ab783e9add "src/xmpp/roster_list.c"
  60. line = 158
  61. function = 0x55ab783e9d80 <__PRETTY_FUNCTION__.12922> "roster_get_contact"
  62. No locals.
  63. (gdb) up
  64. #3 0x000055ab7834698d in roster_get_contact (barejid=<optimized out>) at src/xmpp/roster_list.c:158
  65. 158 assert(roster != NULL);
  66. (gdb) i
  67. 153 }
  68. 154
  69. 155 PContact
  70. 156 roster_get_contact(const char *const barejid)
  71. 157 {
  72. 158 assert(roster != NULL);
  73. 159
  74. 160 gchar *barejidlower = g_utf8_strdown(barejid, -1);
  75. 161 PContact contact = g_hash_table_lookup(roster->contacts, barejidlower);
  76. 162 g_free(barejidlower);
  77. #3 0x000055ab7834698d in roster_get_contact (barejid=<optimized out>) at src/xmpp/roster_list.c:158
  78. 158 assert(roster != NULL);
  79. barejid = <optimized out>
  80. __PRETTY_FUNCTION__ = "roster_get_contact"
  81. barejidlower = <optimized out>
  82. contact = <optimized out>
  83. (gdb) up
  84. #4 0x000055ab78361f2a in _display_name (tab=0x55ab7d91d8a0) at src/ui/statusbar.c:523
  85. 523 PContact contact = roster_get_contact(tab->identifier);
  86. (gdb) i
  87. 518 } else if (tab->window_type == WIN_XML) {
  88. 519 fullname = strdup("xmlconsole");
  89. 520 } else if (tab->window_type == WIN_PLUGIN) {
  90. 521 fullname = strdup(tab->identifier);
  91. 522 } else if (tab->window_type == WIN_CHAT) {
  92. 523 PContact contact = roster_get_contact(tab->identifier);
  93. 524 if (contact && p_contact_name(contact)) {
  94. 525 fullname = strdup(p_contact_name(contact));
  95. 526 } else {
  96. 527 char *pref = prefs_get_string(PREF_STATUSBAR_CHAT);
  97. #4 0x000055ab78361f2a in _display_name (tab=0x55ab7d91d8a0) at src/ui/statusbar.c:523
  98. 523 PContact contact = roster_get_contact(tab->identifier);
  99. tab = 0x55ab7d91d8a0
  100. contact = <optimized out>
  101. fullname = 0x0
  102. tablen = <optimized out>
  103. namelen = <optimized out>
  104. trimmed = <optimized out>
  105. trimmedname = <optimized out>
  106. (gdb) up
  107. #5 0x000055ab7836224d in _tabs_width () at src/ui/statusbar.c:481
  108. 481 char *display_name = _display_name(tab);
  109. (gdb) i
  110. 476 int width = g_hash_table_size(statusbar->tabs) > max_tabs ? 4 : 1;
  111. 477 int i = 0;
  112. 478 for (i = 1; i <= max_tabs; i++) {
  113. 479 StatusBarTab *tab = g_hash_table_lookup(statusbar->tabs, GINT_TO_POINTER(i));
  114. 480 if (tab) {
  115. 481 char *display_name = _display_name(tab);
  116. 482 width += utf8_display_len(display_name);
  117. 483 width += 4;
  118. 484 free(display_name);
  119. 485 }
  120. #5 0x000055ab7836224d in _tabs_width () at src/ui/statusbar.c:481
  121. 481 char *display_name = _display_name(tab);
  122. No arguments.
  123. display_name = <optimized out>
  124. tab = <optimized out>
  125. width = 74
  126. i = 8
  127. show_number = <optimized out>
  128. show_name = <optimized out>
  129. max_tabs = 15
  130. (gdb) up
  131. #6 0x000055ab7836256e in status_bar_draw () at src/ui/statusbar.c:265
  132. 265 pos = getmaxx(stdscr) - _tabs_width();
  133. (gdb) i
  134. 260
  135. 261 pos = _status_bar_draw_time(pos);
  136. 262
  137. 263 _status_bar_draw_maintext(pos);
  138. 264
  139. 265 pos = getmaxx(stdscr) - _tabs_width();
  140. 266 if (pos < 0) {
  141. 267 pos = 0;
  142. 268 }
  143. 269 gint max_tabs = prefs_get_statusbartabs();
  144. #6 0x000055ab7836256e in status_bar_draw () at src/ui/statusbar.c:265
  145. 265 pos = getmaxx(stdscr) - _tabs_width();
  146. No arguments.
  147. pos = <optimized out>
  148. max_tabs = <optimized out>
  149. i = <optimized out>
  150. (gdb) up
  151. #7 0x000055ab7835e754 in ui_update () at src/ui/core.c:140
  152. 140 status_bar_draw();
  153. (gdb) i
  154. 135
  155. 136 if (prefs_get_boolean(PREF_WINTITLE_SHOW)) {
  156. 137 _ui_draw_term_title();
  157. 138 }
  158. 139 title_bar_update_virtual();
  159. 140 status_bar_draw();
  160. 141 inp_put_back();
  161. 142 doupdate();
  162. 143
  163. 144 if (perform_resize) {
  164. #7 0x000055ab7835e754 in ui_update () at src/ui/core.c:140
  165. 140 status_bar_draw();
  166. No arguments.
  167. current = 0x55ab79dc3220
  168. (gdb) up
  169. #8 0x000055ab7834438f in prof_run (log_level=<optimized out>, account_name=<optimized out>) at src/profanity.c:129
  170. 129 ui_update();
  171. (gdb) i
  172. 124 #endif
  173. 125 plugins_run_timed();
  174. 126 notify_remind();
  175. 127 session_process_events();
  176. 128 iq_autoping_check();
  177. 129 ui_update();
  178. 130 #ifdef HAVE_GTK
  179. 131 tray_update();
  180. 132 #endif
  181. 133 }
  182. #8 0x000055ab7834438f in prof_run (log_level=<optimized out>, account_name=<optimized out>) at src/profanity.c:129
  183. 129 ui_update();
  184. log_level = <optimized out>
  185. account_name = <optimized out>
  186. line = <optimized out>
  187. (gdb) up
  188. #9 0x000055ab783a9ccb in main (argc=<optimized out>, argv=<optimized out>) at src/main.c:170
  189. 170 prof_run(log, account_name);
  190. (gdb) i
  191. 165 #endif
  192. 166
  193. 167 return 0;
  194. 168 }
  195. 169
  196. 170 prof_run(log, account_name);
  197. 171
  198. 172 return 0;
  199. 173 }
  200. #9 0x000055ab783a9ccb in main (argc=<optimized out>, argv=<optimized out>) at src/main.c:170
  201. 170 prof_run(log, account_name);
  202. argc = <optimized out>
  203. argv = <optimized out>
  204. entries = {{long_name = 0x55ab783e9e19 "version", short_name = 118 'v', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x55ab78694978 <version>,
  205. description = 0x55ab7840b294 "Show version information", arg_description = 0x0}, {long_name = 0x55ab783f647f "account", short_name = 97 'a', flags = 0,
  206. arg = G_OPTION_ARG_STRING, arg_data = 0x55ab78694970 <account_name>, description = 0x55ab7840b480 "Auto connect to an account on startup", arg_description = 0x0}, {
  207. long_name = 0x55ab7840a90c "log", short_name = 108 'l', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0x55ab7868b8c0 <log>,
  208. description = 0x55ab7840b4a8 "Set logging levels, DEBUG, INFO (default), WARN, ERROR", arg_description = 0x55ab7840b2ad "LEVEL"}, {long_name = 0x0,
  209. short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}
  210. error = 0x0
  211. context = 0x55ab79d51710
  212. (gdb) bt
  213. #0 __GI_abort () at abort.c:49
  214. #1 0x00007fd2305b64ea in __assert_fail_base (fmt=0x7fd23071bf18 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x55ab783e9af4 "roster != NULL",
  215. file=file@entry=0x55ab783e9add "src/xmpp/roster_list.c", line=line@entry=158, function=function@entry=0x55ab783e9d80 <__PRETTY_FUNCTION__.12922> "roster_get_contact")
  216. at assert.c:92
  217. #2 0x00007fd2305b656a in __GI___assert_fail (assertion=assertion@entry=0x55ab783e9af4 "roster != NULL", file=file@entry=0x55ab783e9add "src/xmpp/roster_list.c",
  218. line=line@entry=158, function=function@entry=0x55ab783e9d80 <__PRETTY_FUNCTION__.12922> "roster_get_contact") at assert.c:101
  219. #3 0x000055ab7834698d in roster_get_contact (barejid=<optimized out>) at src/xmpp/roster_list.c:158
  220. #4 0x000055ab78361f2a in _display_name (tab=0x55ab7d91d8a0) at src/ui/statusbar.c:523
  221. #5 0x000055ab7836224d in _tabs_width () at src/ui/statusbar.c:481
  222. #6 0x000055ab7836256e in status_bar_draw () at src/ui/statusbar.c:265
  223. #7 0x000055ab7835e754 in ui_update () at src/ui/core.c:140
  224. #8 0x000055ab7834438f in prof_run (log_level=<optimized out>, account_name=<optimized out>) at src/profanity.c:129
  225. #9 0x000055ab783a9ccb in main (argc=<optimized out>, argv=<optimized out>) at src/main.c:170
  226. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement