pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
profanity: Add a backtrace of the issue at startup and update date
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Mon Sep 11 19:50:10 2017 +0200
Changeset: 267b194877703fe7df8e9c603959495bdfce2e7f
Modified Files:
profanity/TODO
Log Message:
profanity: Add a backtrace of the issue at startup and update date
I hope that's the same problem spotted by <wiz>!
(otherwise we have another problem to debug!)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=267b194877703fe7df8e9c603959495bdfce2e7f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
profanity/TODO | 39 ++++++++++++++++++++++++++++++++++++++-
1 file changed, 38 insertions(+), 1 deletion(-)
diffs:
diff --git a/profanity/TODO b/profanity/TODO
index 9b3463254b..ff8c50275e 100644
--- a/profanity/TODO
+++ b/profanity/TODO
@@ -1 +1,38 @@
-Dumps core on NetBSD-8.99.2/amd64 during startup. -- wiz 20170903
+Dumps core on NetBSD-8.99.2/amd64 during startup.
+
+Relevant part of backtrace from a NetBSD-8.99.1/amd64 system built with
+MKDEBUG:
+
+ [...]
+ Core was generated by `profanity'.
+ Program terminated with signal SIGSEGV, Segmentation fault.
+ #0 ti_getnum (term=<optimized out>, id=0x7c431b2553c7 "U8") at /usr/src/lib/libterminfo/ti.c:87
+ 87 if (ud->type == 'n' && strcmp(ud->id, id) == 0) {
+ (gdb) bt
+ #0 ti_getnum (term=<optimized out>, id=0x7c431b2553c7 "U8") at /usr/src/lib/libterminfo/ti.c:87
+ #1 0x00007c431b23e22c in _nc_locale_breaks_acs () from /usr/pkg/lib/libncursesw.so.6
+ #2 0x00007c431b227559 in _nc_setupscreen_sp () from /usr/pkg/lib/libncursesw.so.6
+ #3 0x00007c431b2229f7 in newterm_sp () from /usr/pkg/lib/libncursesw.so.6
+ #4 0x00007c431b21f185 in initscr () from /usr/pkg/lib/libncursesw.so.6
+ #5 0x00000000004332b5 in ui_init ()
+ #6 0x000000000041c7d9 in prof_run ()
+ #7 0x000000000046a7c9 in main ()
+ (gdb) f 0
+ #0 ti_getnum (term=<optimized out>, id=0x7c431b2553c7 "U8") at /usr/src/lib/libterminfo/ti.c:87
+ 87 if (ud->type == 'n' && strcmp(ud->id, id) == 0) {
+ (gdb) list
+ 82 return ABSENT_NUMERIC;
+ 83 return term->nums[ind];
+ 84 }
+ 85 for (i = 0; i < term->_nuserdefs; i++) {
+ 86 ud = &term->_userdefs[i];
+ 87 if (ud->type == 'n' && strcmp(ud->id, id) == 0) {
+ 88 if (!VALID_NUMERIC(ud->num))
+ 89 return ABSENT_NUMERIC;
+ 90 return ud->num;
+ 91 }
+ (gdb) p ud
+ $1 = (TERMUSERDEF *) 0x1
+ [...]
+
+ -- wiz and leot 20170911
Home |
Main Index |
Thread Index |
Old Index