Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 592884 Details for
Bug 697868
net-print/cups-2.3.0 - crash in cgiGetArray at var.c:173
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gdb stacktrace
crash.txt (text/plain), 13.68 KB, created by
Martin Mokrejš
on 2019-10-16 15:41:11 UTC
(
hide
)
Description:
gdb stacktrace
Filename:
MIME Type:
Creator:
Martin Mokrejš
Created:
2019-10-16 15:41:11 UTC
Size:
13.68 KB
patch
obsolete
># gdb /usr/libexec/cups/cgi-bin/jobs.cgi core.jobs.cgi.2937 > >Reading symbols from /usr/libexec/cups/cgi-bin/jobs.cgi... >[New LWP 2937] >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib64/libthread_db.so.1". >Core was generated by `/usr/libexec/cups/cgi-bin/jobs.cgi which_jobs=completed'. >Program terminated with signal SIGSEGV, Segmentation fault. >#0 0x00007f69c54cd521 in __strlen_avx2 () from /lib64/libc.so.6 >(gdb) where >#0 0x00007f69c54cd521 in __strlen_avx2 () from /lib64/libc.so.6 >#1 0x00007f69c53edb5f in strdup () from /lib64/libc.so.6 >#2 0x00005569a3e216b5 in cgiGetArray (name=<optimized out>, element=<optimized out>) at var.c:173 >#3 0x00005569a3e20037 in cgi_copy (out=out@entry=0x7f69c552e760 <_IO_2_1_stdout_>, in=in@entry=0x5569a43a7530, element=element@entry=1, term=term@entry=125 '}', indent=indent@entry=4) at template.c:386 >#4 0x00005569a3e20cc2 in cgi_copy (out=out@entry=0x7f69c552e760 <_IO_2_1_stdout_>, in=in@entry=0x5569a43a7530, element=element@entry=0, term=term@entry=125 '}', indent=indent@entry=2) at template.c:344 >#5 0x00005569a3e2051c in cgi_copy (out=0x7f69c552e760 <_IO_2_1_stdout_>, in=in@entry=0x5569a43a7530, element=element@entry=0, term=term@entry=0 '\000', indent=indent@entry=0) at template.c:598 >#6 0x00005569a3e20fcb in cgiCopyTemplateLang (tmpl=tmpl@entry=0x5569a3e235aa "jobs.tmpl") at template.c:144 >#7 0x00005569a3e1e5fe in cgiShowJobs (http=<optimized out>, dest=0x0) at ipp-var.c:1502 >#8 0x00005569a3e1c7c1 in main () at jobs.c:103 >(gdb) bt full >#0 0x00007f69c54cd521 in __strlen_avx2 () from /lib64/libc.so.6 >No symbol table info available. >#1 0x00007f69c53edb5f in strdup () from /lib64/libc.so.6 >No symbol table info available. >#2 0x00005569a3e216b5 in cgiGetArray (name=<optimized out>, element=<optimized out>) at var.c:173 > var = <optimized out> >#3 0x00005569a3e20037 in cgi_copy (out=out@entry=0x7f69c552e760 <_IO_2_1_stdout_>, in=in@entry=0x5569a43a7530, element=element@entry=1, term=term@entry=125 '}', indent=indent@entry=4) at template.c:386 > ch = <optimized out> > op = <optimized out> > name = "job_printer_state_message\000\000\244iU\000\000\070\213@\004\374\177\000\000I\320\341\243iU\000\000\000\000\000\000\377\377\377\377\030", '\000' <repeats 11 times>, "\031\000\000\000 L;\244iU\000\000\260N;\244iU\000\000\320N;\244iU\000\000\360N;\244iU\000\000\020O;\244iU\000\000\060O;\244iU\000\000PO;\244iU\000\000pO;\244iU\000\000\220O;\244iU\000\000\260O;\244iU\000\000\240G;\244iU\000\000\320O;\244iU\000\000\000P;\244iU\000\000 P;\244iU\000\000PP;\244iU\000\000\200P;\244iU\000\000"... > nameptr = <optimized out> > innername = "\220Q;\244iU\000\000\260Q;\244iU\000\000\320Q;\244iU\000\000\000\343Ä£\216E\310\351\002\000\000\000\000\000\000\000\b\231<\305i\177\000\000\360I;\305i\177\000\000\200\346R\305i\177\000\000\000\000\000\000i\177\000\000\000\000\000\000\000\000\000\000\004\200\255\373", '\000' <repeats 12 times>, "\004\200\255\373", '\000' <repeats 12 times>, "p\214@\004\374\177\000\000\264\214@\004\374\177\000\000p\254@\004\374\177\000\000\250\214@\004\374\177\000\000\200\254@\004\374\177", '\000' <repeats 104 times> > innerptr = <optimized out> > s = <optimized out> > value = <optimized out> > innerval = <optimized out> > outptr = <optimized out> > outval = "\000printer_uri_supported}\000\360\304\\\305i\177\000\000\377\377\377\377\000\000\000\000\000\343Ä£\216E\310\351\200\346R\305i\177\000\000g;\342\243iU\000\000\360\221@\004\374\177\000\000\020\222@\004\374\177\000\000d;\342\243iU\000\000\220\223@\004\374\177\000\000`\240R\305i\177\000\000\020n<\305i\177\000\000hare/cup\000\000\000\000mplates/head\000\000\000\000\000\000\000\000...\n\000\000\000\000\000\000\000\000\374\177\000\000\377\377\377\377\377\377\377\377", '\000' <repeats 16 times>, "\001\000\000\000\374\177\000\000\000\000\000\000i\177\000\000@"... > compare = "3\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000\277\000\000\000\000\000\000\000\060u:\244iU\000\000`\347R\305i\177\000\000\343\254c\305i\177\000\000\001", '\000' <repeats 15 times>, "\377\377\377\377\000\000\000\000\250v6\305i\177\000\000P\224@\004\374\177\000\000\032\027d\305i\177", '\000' <repeats 26 times>, "\277\000\000\000\000\000\000\000\060u:\244iU\000\000\000\000\000\000\000\000\000\000\"\000\000\000\000\000\000\000\060\"\nhy\"\n\000k", '\000' <repeats 15 times>, "\001 \000\000\000\000\000\000\200\037\000\000\377\377\000\000\b\300\070\244iU\000\000"... > result = <optimized out> > uriencode = 0 > re = {buffer = 0x0, allocated = 4, used = 25, syntax = 140092257475429, fastmap = 0x7ffc044089ef "", translate = 0xe9c8458ea3c4e300 <error: Cannot access memory at address 0xe9c8458ea3c4e300>, re_nsub = 140720379824592, can_be_null = 0, regs_allocated = 0, fastmap_accurate = 0, no_sub = 1, not_bol = 1, > not_eol = 0, newline_anchor = 0} >#4 0x00005569a3e20cc2 in cgi_copy (out=out@entry=0x7f69c552e760 <_IO_2_1_stdout_>, in=in@entry=0x5569a43a7530, element=element@entry=0, term=term@entry=125 '}', indent=indent@entry=2) at template.c:344 > i = <optimized out> > pos = 191 > count = 51 > ch = <optimized out> > op = <optimized out> > name = "[job_id\000bs\000me", '\000' <repeats 236 times>... > nameptr = <optimized out> > innername = "\207(\255\373\000\000\000\000Ð@\004\374\177\000\000\200\346R\305i\177\000\000\060>\342\243iU\000\000\340\233@\004\374\177\000\000\364j<\305i\177\000\000\360\233@\004\374\177\000\000\364j<\305i\177\000\000\001\000\000\000\000\000\000\000\270\254\341\243iU\000\000 \374\065\305i\177\000\000-\\c\305i\177\000\000]\000\000\000\000\000\000\000\350\374\066\305i\177\000\000\360\304\\\305i\177\000\000H\227@\004\374\177\000\000D\227@\004\374\177\000\000fYc\305i\177", '\000' <repeats 18 times>, "\350\374\066\305i\177\000\000\220\037\066\305\002\000\000\000`\260\341\243iU\000\000-2@\375\002\000\000\000\310\000\365\003\000\000\000\000\002"... > innerptr = <optimized out> > s = <optimized out> > value = <optimized out> > innerval = <optimized out> > outptr = <optimized out> > outval = "\000SEARCH_DEST}\000\000\000\001\000\000\000\000\000\000\000-2@\375", '\000' <repeats 13 times>, "\343Ä£\216E\310\351\220Te\305i\177\000\000g;\342\243iU\000\000\020\235@\004\374\177\000\000\060\235@\004\374\177\000\000d;\342\243iU\000\000\260\236@\004\374\177\000\000\000\000\000\000\000\000\000\000\020n<\305i\177\000\000\001\000\000\000\000\000\000\000\000\343Ä£\216E\310é¨@\004\374\177\000\000\066\065\342\243iU\000\000`\235@\004\374\177\000\000p\235@\004\374\177\000\000\064\065\342\243iU\000\000\260\236@\004\374\177\000\000`\232R\305i\177\000\000\020n<\305i\177", '\000' <repeats 18 times>... > compare = "Jobs listed in ascending order.", '\000' <repeats 58 times>, "\343Ä£\216E\310\351\002\000\000\000\000\000\000\000-\364=\305i\177\000\000=\000\000\000\000\000\000\000\000\343Ä£\216E\310\351\000\000\000\000\000\000\000\000`\347R\305i\177\000\000\000\340:\244iU\000\000`\243R\305i\177\000\000h\r\000\000\000\000\000\000\226\346=\305i\177\000\000\000\234@\004\374\177\000\000\000\343Ä£\216E\310\351\020\234@\004\374\177\000\000$\000\000\000\000\000\000\000"... > result = <optimized out> > uriencode = <optimized out> > re = {buffer = 0x0, allocated = 0, used = 0, syntax = 0, fastmap = 0x0, translate = 0x0, re_nsub = 0, can_be_null = 0, regs_allocated = 0, fastmap_accurate = 0, no_sub = 0, not_bol = 0, not_eol = 0, newline_anchor = 0} >#5 0x00005569a3e2051c in cgi_copy (out=0x7f69c552e760 <_IO_2_1_stdout_>, in=in@entry=0x5569a43a7530, element=element@entry=0, term=term@entry=0 '\000', indent=indent@entry=0) at template.c:598 > ch = <optimized out> > op = 61 '=' > name = "#job_id\000obs\000\000\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\016\000\000\000\000\000\000\000\001\000\000\000\002\000\000\000`\227R\305i\177\000\000h\r\000\000\000\000\000\000e;\342\243iU\000\000\002", '\000' <repeats 15 times>, "h;\342\243iU\000\000\210\241@\004\374\177\000\000\244\304c\305i\177\000\000\000\000\000\000\000\000\000\000\063!\003\305i\177\000\000\000\000\000\000\000\000\000\000\235Jc\305i\177\000\000\000\000\000\000\001\000\000\000\000\000\000\200i\177\000\000\000\000\000\000\000\000\000\000\235Jc\305i\177\000\000\000\000\000\000\002\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\002\000\000\000"... > nameptr = <optimized out> > innername = "\207(\255\373\000\000\000\000\000\343Ä£\216E\310\351\207(\255\373\000\000\000\000\000\247@\004\374\177\000\000\200\346R\305i\177\000\000\370=\342\243iU\000\000\020\247@\004\374\177\000\000\364j<\305i\177\000\000\000\063\000\000\000\000\000\000\354Wc\305i\177\000\000\001{\234|\000\000\000\000\360\304\\\305i\177\000\000\001\000\000\000\000\000\000\000(\251\341\243iU\000\000\264\000\066\305i\177\000\000-\\c\305i\177\000\000\202\001\000\000\000\000\000\000\350\374\066\305i\177\000\000\360\304\\\305i\177\000\000\210\242@\004\002\000\000\000\204\242@\004\374\177\000\000fYc\305\002\000\000\000\000\060\000\000\000\000\000\000\002\000\000\000\002\000\000\000\350\374\066\305i\177\000\000\002"... > innerptr = <optimized out> > s = <optimized out> > value = <optimized out> > innerval = <optimized out> > outptr = 0x7ffc0440a260 "51" > outval = "51\000\000\000\000\000\000DEST}\000\000\000\250 \327\304i\177\000\000\000\343Ä£\216E\310\351\230\315\000\000\000\000\000\000;2\342\243iU\000\000 \250@\004\374\177\000\000@\250@\004\374\177\000\000\066\062\342\243iU\000\000\300\251@\004\374\177\000\000`\240R\305i\177\000\000\020n<\305i\177\000\000P\243@\004\374\177\000\000\000\000\000\000i\177\000\000\002", '\000' <repeats 15 times>, "\001", '\000' <repeats 15 times>, "\377\377\377\377\377\377\377\377", '\000' <repeats 12 times>, "\374\177\000\000\032\000\000\000i\177\000\000\000\000\000\000i\177\000\000\252\065\342\243iU\000\000\000\000\000\000i\177\000\000\032"... > compare = "0\000l\000leted\000R\305i\177", '\000' <repeats 18 times>, "\060u:\244iU\000\000U\r=\305i\177\000\000\000\375\000\000\000\000\000\000\000\343Ä£\216E\310\351\001\000\000\000\000\000\000\000\000\343Ä£\216E\310\351\000\000\000\000\000\000\000\000\000\343Ä£\216E\310\351\002\000\000\000\000\000\000\000-\364=\305i\177\000\000\a\000\000\000\000\000\000\000\000\343Ä£\216E\310\351}\000\000\000\000\000\000\000`\347R\305i\177\000\000\000\340:\244iU\000\000`\243R\305i\177\000\000h\r\000\000\000\000\000\000\226\346=\305i\177\000\000\060\000\000\000\060\000\000\000\000\343Ä£\216E\310\351\000\000\000\000\000\000\000\000{\000\000\000\000\000\000\000"... > result = <optimized out> > uriencode = <optimized out> > re = {buffer = 0x7ffc04409fb0, allocated = 93912209439591, used = 140720379831664, syntax = 140720379831696, fastmap = 0x5569a3e23b64 "{%s}", translate = 0x7ffc0440a710 "0", re_nsub = 140092258820192, can_be_null = 0, regs_allocated = 0, fastmap_accurate = 0, no_sub = 1, not_bol = 0, not_eol = 0, > newline_anchor = 0} >#6 0x00005569a3e20fcb in cgiCopyTemplateLang (tmpl=tmpl@entry=0x5569a3e235aa "jobs.tmpl") at template.c:144 > filename = "/usr/share/cups/templates/jobs.tmpl\000pl\000mpl\000pl\000\000\000\003\000\000\000\000\000\000\000\320\001\000\000\000\000\000\000`\021=\244iU\000\000\240\256@\004\374\177\000\000\000\000\000\000\000\000\000\000)\215\071\305i\177\000\000\030\000\000\000\000\000\000\000\260\021\342\243iU\000\000Ь@\004\374\177\000\000\240\256@\004\374\177\000\000\060\021=\244iU\000\000\005", '\000' <repeats 16 times>, "\343Ä£\216E\310\351\000\000\000\000\000\000\000\000\005\000\000\000\000\000\000\000\005\000\000\000\000\000\000\000\320\001\000\000\000\000\000\000\060\021=\244iU\000\000\240\256"... > locale = "/cs\000UTF8\000\256@\004\374\177\000" > locptr = <optimized out> > directory = 0x5569a3e277c0 <templates> "/usr/share/cups/templates" > lang = <optimized out> > in = 0x5569a43a7530 >#7 0x00005569a3e1e5fe in cgiShowJobs (http=<optimized out>, dest=0x0) at ipp-var.c:1502 > i = <optimized out> >--Type <RET> for more, q to quit, c to continue without paging-- > which_jobs = <optimized out> > request = <optimized out> > response = 0x5569a43b5190 > jobs = 0x5569a43cfa10 > job = <optimized out> > first = <optimized out> > count = 51 > var = <optimized out> > query = <optimized out> > section = 0x5569a43be3c0 "jobs" > search = <optimized out> > url = "0u:\244iU\000\000\000\000\000\000\000\000\000\000\062\000\000\000\000\000\000\000\330\022M\004\374\177\000\000\320Ve\305i\177\000\000د@\004\374\177\000\000Ô¯@\004\374\177\000\000\200\037\000\000\377\377\000\000\260\230S\305i\177\000\000\354Wc\305i\177\000\000\260\260\250\224\000\000\000\000\360\304\\\305i\177\000\000\001\000\000\000\000\000\000\000\360[S\305i\177\000\000H\031\066\305i\177\000\000-\\c\305i\177\000\000\247\a\000\000\000\000\000\000\350\374\066\305i\177\000\000\360\304\\\305i\177\000\000H\260@\004\374\177\000\000D\260@\004\374\177\000\000fYc\305i\177\000\000\002", '\000' <repeats 15 times>, '%' <repeats 16 times>... > val = "/jobs/\000are/cups/templates/header.tmpl\000pl\000\322O\305i\177\000\000`G;\244iU\000\000\000\343Ä£\216E\310\351r\322O\305i\177\000\000\000\000\000\000\000\000\000\000\240G;\244iU\000\000\022\000\000\000\000\000\000\000\360F;\244iU\000\000\000\000\000\000\000\000\000\000\240G;\244iU\000\000H89\305i\177\000\000\000\000\000\000\000\000\000\000`\265@\004\374\177\000\000`\322O\305i\177\000\000\213\344M\305i\177\000\000\060#S\305i\177\000\000\000\000\000\000\000\000\000\000c\265@\004\374\177\000\000pF;\244iU", '\000' <repeats 18 times>... >#8 0x00005569a3e1c7c1 in main () at jobs.c:103 > http = 0x5569a43aaa70 > op = <optimized out> > job_id_var = <optimized out> > job_id = <optimized out> >(gdb)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 697868
: 592884