Bug#931818: Info received (Bug#931818: cups: Jobs webpage /usr/lib/cups/cgi-bin/jobs.cgi segfault after package login removes /etc/securetty)

2019-07-16 Thread Bernhard Übelacker
Hello Jeffrey Hundstad,
your supplied backtrace would most likely look with debug symbols like this:

(gdb) bt
#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:79
#1  0x77dcbdae in __GI___strdup () at strdup.c:41
#2  0xb795 in cgiGetArray () at var.c:171
#3  0xa41c in cgi_copy () at template.c:299
#4  0xad3e in cgi_copy () at template.c:348
#5  0xa626 in cgi_copy () at template.c:602
#6  0xb0b7 in cgiCopyTemplateLang () at template.c:148
#7  0x868d in cgiShowJobs () at ipp-var.c:1506
#8  0x67c1 in main () at jobs.c:107
#9  0x77d6809b in __libc_start_main () at ../csu/libc-start.c:308
#10 0x687a in _start ()

But still, the backtrace from a gdb running at your system with
installed debug symbols would most probably show some more information,
and which name in cgiGetArray gets accessed.

Kind regards,
Bernhard



Bug#931818: Info received (Bug#931818: cups: Jobs webpage /usr/lib/cups/cgi-bin/jobs.cgi segfault after package login removes /etc/securetty)

2019-07-12 Thread Bernhard Übelacker
Hello Jeffrey Hundstad,
sorry, I forget to mention that it would help with the
backtrace if the debug symbols would be installed.
For jobs.cgi I assume this would be cups-dbgsym.

These packages are in a separate repository.
Details are about it are in this page:

https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols

Kind regards,
Bernhard



Bug#931818: Info received (Bug#931818: cups: Jobs webpage /usr/lib/cups/cgi-bin/jobs.cgi segfault after package login removes /etc/securetty)

2019-07-12 Thread Hundstad, Jeffrey E
Here's some more, but not much better:

root@systemname:/usr/share/doc/systemd-coredump# gdb 
/usr/lib/cups/cgi-bin/jobs.cgi /tmp/ooo
GNU gdb (Debian 8.2.1-2) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
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:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/cups/cgi-bin/jobs.cgi...(no debugging symbols 
found)...done.
[New LWP 26510]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/cups/cgi-bin/jobs.cgi'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
65  ../sysdeps/x86_64/multiarch/strlen-avx2.S: No such file or directory.
(gdb) backtrace full
#0  __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
No locals.
#1  0x7f16d9130dae in __GI___strdup (s=0x0) at strdup.c:41
len = 
new = 
#2  0x55b36a21f41c in ?? ()
No symbol table info available.
#3  0x55b36a21fd3e in ?? ()
No symbol table info available.
#4  0x55b36a21f626 in ?? ()
No symbol table info available.
#5  0x55b36a2200b7 in ?? ()
No symbol table info available.
#6  0x55b36a21d68d in ?? ()
No symbol table info available.
#7  0x55b36a21b7c1 in ?? ()
No symbol table info available.
#8  0x7f16d90cd09b in __libc_start_main (main=0x55b36a21b670, argc=1, 
argv=0x7ffc607f86d8, init=, fini=, 
rtld_fini=, stack_end=0x7ffc607f86c8) at ../csu/libc-start.c:308
self = 
result = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -5082858722427954408, 
94229068101712, 140721927456464, 0, 0, -1303763130235512040, 
-1423866795149124840}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 
0x7ffc607f86e8, 0x7f16d9362190}, data = {prev = 0x0, cleanup = 0x0, 
  canceltype = 1618970344}}}
not_first_call = 
#9  0x55b36a21b87a in ?? ()
No symbol table info available.
(gdb) 




smime.p7s
Description: S/MIME Cryptographic Signature