[screen-devel] [bug #51402] SEGFAULT when querying 'info' on detached screen

2017-07-07 Thread Amadeusz Sławiński
Update of bug #51402 (project screen): Status:None => Confirmed ___ Follow-up Comment #6: Right, it requires changing $LANG to something else in order to reproduce, will apply.

[screen-devel] [bug #51402] SEGFAULT when querying 'info' on detached screen

2017-07-07 Thread anonymous
Follow-up Comment #5, bug #51402 (project screen): >From your output I see that you are using UTF-8 so you don't run into the code path in question: # ifdef UTF8 if (wp->w_encoding != UTF8) // <- only for !utf8 # endif # endif if (D_CC0 || (D_CS0 && *D_CS0)) // <-- null ptr derefence

[screen-devel] [bug #51402] SEGFAULT when querying 'info' on detached screen

2017-07-07 Thread anonymous
Follow-up Comment #4, bug #51402 (project screen): Futher remark: Maybe the "display" variable in question depends on termcap related configuration which might be different on our systems. ___ Reply to this item at:

[screen-devel] [bug #51402] SEGFAULT when querying 'info' on detached screen

2017-07-07 Thread Amadeusz Sławiński
Follow-up Comment #2, bug #51402 (project screen): Hm... are you sure about reproducer? $ ./screen -d sleep There is no screen to be detached. Tried also with -dm, but it seems to work? $ ./screen -dm sleep $ ./screen -Q info (1,1)/(80,24)+5000 +(+)flow bce UTF-8 0(sleep)% $ ./screen

[screen-devel] [bug #51402] SEGFAULT when querying 'info' on detached screen

2017-07-07 Thread anonymous
Follow-up Comment #1, bug #51402 (project screen): Hidden behind three layers of macro defines, the actual null pointer is "display". Several other places in code check for that but here it was sadly missing, therefore: Fix: diff --git a/process.c b/process.c index 2b007bc..2da24b8 100644 ---