Mageia Bugzilla – Attachment 1323 Details for
Bug 1887
scanimage -L segfault
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
backtrace scanimage -L scanner FS4000 powered
gdb_FS4000US_on.txt (text/plain), 7.15 KB, created by
Jean-Marc Sarat
on 2012-01-03 12:31:49 CET
(
hide
)
Description:
backtrace scanimage -L scanner FS4000 powered
Filename:
MIME Type:
Creator:
Jean-Marc Sarat
Created:
2012-01-03 12:31:49 CET
Size:
7.15 KB
patch
obsolete
>(gdb) run /usr/bin/scanimage -L >Starting program: /usr/bin/scanimage /usr/bin/scanimage -L >[Thread debugging using libthread_db enabled] >warning: no loadable sections found in added symbol-file /usr/lib/debug/usr/lib64/libcups.so.2.debug >warning: no loadable sections found in added symbol-file /usr/lib/debug/usr/lib64/libssl.so.1.0.0.debug >warning: no loadable sections found in added symbol-file /usr/lib/debug/usr/lib64/libcrypto.so.1.0.0.debug > >Program received signal SIGSEGV, Segmentation fault. >sense_handler (scsi_fd=13, result=0x692ef0 <incomplete sequence \360>, arg=0x0) at canon.c:347 >347 if (strncmp(dev->sane.vendor, "CANON", 5) != 0) return (status); >(gdb) bt full >#0 sense_handler (scsi_fd=13, result=0x692ef0 <incomplete sequence \360>, arg=0x0) at canon.c:347 > me = "canon_sense_handler" > dev = 0x0 > sense = <value optimized out> > asc = <value optimized out> > sense_str = 0x0 > status = SANE_STATUS_GOOD >#1 0x00007ffff7bc4ab8 in sanei_scsi_req_wait (id=0x692e70) at sanei_scsi.c:2411 > handler = 0x7fffeaf430b0 <sense_handler> > arg = 0x0 > status = SANE_STATUS_GOOD > req = 0x692e70 > nread = <value optimized out> > __PRETTY_FUNCTION__ = "sanei_scsi_req_wait" >#2 0x00007ffff7bc4b0a in sanei_scsi_cmd2 (fd=<value optimized out>, cmd=<value optimized out>, > cmd_size=<value optimized out>, src=<value optimized out>, src_size=<value optimized out>, > dst=<value optimized out>, dst_size=0x0) at sanei_scsi.c:2480 > status = <value optimized out> > id = 0x692e70 >#3 0x00007fffeaf43ac0 in test_unit_ready (fd=13) at canon-scsi.c:55 > cmd = "\000\000\000\000\000" > status = <value optimized out> >#4 0x00007fffeaf4434e in attach (devnam=0x7fffffff9820 "/dev/sg2", devp=0x0) at canon.c:698 > status = SANE_STATUS_GOOD > dev = <value optimized out> > fd = 13 > ibuf = "\006\000\002\002\037\000\000\020CANON IX-40015G 1.07" > ebuf = "\001", '\000' <repeats 15 times>, "s\231\377\377\377\177\000\000\233\060\364\352\377\177\000\000\020\000\000\000\060\000\000\000\260\202\377\377\377\177\000\000\360\201\377\377\377\177\000\000\000\000\000\000\377\177\000\000\004\000\000\000\000\000\000\000\001" > mbuf = '\000' <repeats 11 times> > buf_size = 36 > i = <value optimized out> > str = <value optimized out> >#5 0x00007fffeaf45131 in attach_one (dev=0x7fffffff9820 "/dev/sg2") at canon.c:1798 >No locals. >#6 0x00007ffff7bc53cd in sanei_scsi_find_devices (findvendor=0x68add0 "CANON", findmodel=0x68adf0 "IX", > findtype=0x0, findbus=-1, findchannel=-1, findid=-1, findlun=-1, attach=0x7fffeaf45110 <attach_one>) > at sanei_scsi.c:3137 > me = 0x1aea1 <Address 0x1aea1 out of bounds> > path = "/sys/bus/scsi/devices/4:0:1:0/type\000\000\000\177\000\000Ð\377\377\377\177\000\000Ï\377\377\377\177\000\000\000\000\000\000\000\000\000\000\320\304\375\367\377\177\000\000\000\000\000\000\000\000\000\000P\244\375\367\377\177\000\067 \253\377\367\377\177\000\000\226\177C\367\377\177\000\000\370v\205\367\377\177\000\000\220vC\367\377\177\000\000\000\000\000\000\001\000\000\000 \000\000\000\060\000\000\000\060\211\377\377\377\177\000\000p\210\377\377\377\177\000\000(\310\375\367\377\177\000\000\220\207\377\377\377\177\000\000\270\207\377\377\377\177\000\000(\000\000\000\060\000\000\000\240\211\377\377\377\177\000\000\340\210\377\377\377\177\000\000\362\221\336\367\377\177\000\000\000\000\000\000\000\000\000\000P\244\375\367\377\177\000\000\001\000\000\000\377\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\377\177\000\000\320\304\375\367\377\177\000\000\000\000\377\377\377\177\000\000&\206\336\367\377\177\000\000\277\230\377\377\377\177\000\000@\207\377\377\377\177\000\000\000\000\000\000\000\000\000\000"... > dev_name = "/dev/sg2\000\247h", '\000' <repeats 13 times>, "\002", '\000' <repeats 23 times>"\240, \230\377\377\377\177\000\000@", '\000' <repeats 31 times>, "\002\000\000\000\060\000\000\000[\000\000\000n\000\000\000w\000\0---Type <return> to continue, or q <return> to quit--- >00\000|\000\000\000\260\230\377\377\377\177\000\000\237\230\377\377\377\177\000" > buf = {d_ino = 14373, d_off = 14799, d_reclen = 32, d_type = 10 '\n', > d_name = "4:0:1:0\000\000\000\000\000\nvices/7:0:0:3/type\000\000\000\177\000\000\000\000\000\000\000\000\000\000X\226\377\377\377\177\000\000\367\r\275\367\377\177\000\000\022\000\000\000\377\177\000\000d\206\336\367\377\177\000\000\361\r\275\367\377\177\000\000\220\226\377\377\377\177\000\000\000\000\000\000\000\000\000\000(\230\377\377\377\177\000\000\001\000\000\000\000\000\000\000\230\277\375\367\377\177\000\000!='J\000\000\000\000\220\217\336\367\377\177\000\000(\000\000\000\060\000\000\000\364\234(\001\000\000\000\000!\000\000\000\060\000\000\000\n\000\000\000\000\000\000\000\274\211\273\367\377\177\000\000\220\226\377\377\377\177\000\000\260\214\273\367\377\177\000\000H\232\273\367\377\177\000\000\377\017\000\000\000\000\000\000\361\r\275\367\377\177\000\000(\000\000\000\060\000\000\000\340\231\377\377\377\177\000\000 \231\377\377\377\177\000\000\340\230\377\377\377\177\000\000\340\247h"} > de = 0x7fffffff9580 > scsidevs = 0x68ae10 > fp = <value optimized out> > ptr = <value optimized out> > end = 0x7fffffff84f3 "canner " > bcil = {4, 0, 1, 0} > vmt = {"CANON ", '\000' <repeats 24 times>, "IX-40015G ", '\000' <repeats 16 times>, > "Scanner ", '\000' <repeats 15 times>} > vmtfiles = {0x7ffff7bd2e8f "vendor", 0x7ffff7bd2e96 "model", 0x7ffff7bd2e9c "type"} > lastbus = 4 > number = 2 > i = 3 > val = <value optimized out> > ret = <value optimized out> >#7 0x00007ffff7bbfdc6 in sanei_config_attach_matching_devices (name=<value optimized out>, > attach=0x7fffeaf45110 <attach_one>) at sanei_config2.c:142 > bus = <value optimized out> > channel = <value optimized out> > id = <value optimized out> > lun = -1 > vendor = 0x68add0 "CANON" > model = 0x68adf0 "IX" > type = 0x0 > end = 0x55 <Address 0x55 out of bounds> >#8 0x00007fffeaf4543e in sane_canon_init (version_code=<value optimized out>, authorize=<value optimized out>) > at canon-sane.c:82 > devnam = "scsi CANON IX", '\000' <repeats 4082 times> > fp = 0x68adf0 > i = <value optimized out> > j = <value optimized out> > primary = 85 'U' > secondary = <value optimized out> > inmask = <value optimized out> > priMask = <value optimized out> > secMask = <value optimized out> >#9 0x00007ffff7bcf9c0 in init (be=0x60c8c0) at dll.c:613 > status = <value optimized out> > version = 16777216 >#10 0x00007ffff7bd0389 in sane_dll_get_devices (device_list=0x7fffffffbbb0, local_only=0) at dll.c:1054 > be_list = 0x68a740 > be = 0x60c8c0 > status = <value optimized out> >---Type <return> to continue, or q <return> to quit--- > full_name = <value optimized out> > i = <value optimized out> > num_devs = <value optimized out> > len = <value optimized out> >#11 0x000000000040432c in ?? () >No symbol table info available. >#12 0x0000000000000000 in ?? () >No symbol table info available.
(gdb) run /usr/bin/scanimage -L Starting program: /usr/bin/scanimage /usr/bin/scanimage -L [Thread debugging using libthread_db enabled] warning: no loadable sections found in added symbol-file /usr/lib/debug/usr/lib64/libcups.so.2.debug warning: no loadable sections found in added symbol-file /usr/lib/debug/usr/lib64/libssl.so.1.0.0.debug warning: no loadable sections found in added symbol-file /usr/lib/debug/usr/lib64/libcrypto.so.1.0.0.debug Program received signal SIGSEGV, Segmentation fault. sense_handler (scsi_fd=13, result=0x692ef0 <incomplete sequence \360>, arg=0x0) at canon.c:347 347 if (strncmp(dev->sane.vendor, "CANON", 5) != 0) return (status); (gdb) bt full #0 sense_handler (scsi_fd=13, result=0x692ef0 <incomplete sequence \360>, arg=0x0) at canon.c:347 me = "canon_sense_handler" dev = 0x0 sense = <value optimized out> asc = <value optimized out> sense_str = 0x0 status = SANE_STATUS_GOOD #1 0x00007ffff7bc4ab8 in sanei_scsi_req_wait (id=0x692e70) at sanei_scsi.c:2411 handler = 0x7fffeaf430b0 <sense_handler> arg = 0x0 status = SANE_STATUS_GOOD req = 0x692e70 nread = <value optimized out> __PRETTY_FUNCTION__ = "sanei_scsi_req_wait" #2 0x00007ffff7bc4b0a in sanei_scsi_cmd2 (fd=<value optimized out>, cmd=<value optimized out>, cmd_size=<value optimized out>, src=<value optimized out>, src_size=<value optimized out>, dst=<value optimized out>, dst_size=0x0) at sanei_scsi.c:2480 status = <value optimized out> id = 0x692e70 #3 0x00007fffeaf43ac0 in test_unit_ready (fd=13) at canon-scsi.c:55 cmd = "\000\000\000\000\000" status = <value optimized out> #4 0x00007fffeaf4434e in attach (devnam=0x7fffffff9820 "/dev/sg2", devp=0x0) at canon.c:698 status = SANE_STATUS_GOOD dev = <value optimized out> fd = 13 ibuf = "\006\000\002\002\037\000\000\020CANON IX-40015G 1.07" ebuf = "\001", '\000' <repeats 15 times>, "s\231\377\377\377\177\000\000\233\060\364\352\377\177\000\000\020\000\000\000\060\000\000\000\260\202\377\377\377\177\000\000\360\201\377\377\377\177\000\000\000\000\000\000\377\177\000\000\004\000\000\000\000\000\000\000\001" mbuf = '\000' <repeats 11 times> buf_size = 36 i = <value optimized out> str = <value optimized out> #5 0x00007fffeaf45131 in attach_one (dev=0x7fffffff9820 "/dev/sg2") at canon.c:1798 No locals. #6 0x00007ffff7bc53cd in sanei_scsi_find_devices (findvendor=0x68add0 "CANON", findmodel=0x68adf0 "IX", findtype=0x0, findbus=-1, findchannel=-1, findid=-1, findlun=-1, attach=0x7fffeaf45110 <attach_one>) at sanei_scsi.c:3137 me = 0x1aea1 <Address 0x1aea1 out of bounds> path = "/sys/bus/scsi/devices/4:0:1:0/type\000\000\000\177\000\000Ð\377\377\377\177\000\000Ï\377\377\377\177\000\000\000\000\000\000\000\000\000\000\320\304\375\367\377\177\000\000\000\000\000\000\000\000\000\000P\244\375\367\377\177\000\067 \253\377\367\377\177\000\000\226\177C\367\377\177\000\000\370v\205\367\377\177\000\000\220vC\367\377\177\000\000\000\000\000\000\001\000\000\000 \000\000\000\060\000\000\000\060\211\377\377\377\177\000\000p\210\377\377\377\177\000\000(\310\375\367\377\177\000\000\220\207\377\377\377\177\000\000\270\207\377\377\377\177\000\000(\000\000\000\060\000\000\000\240\211\377\377\377\177\000\000\340\210\377\377\377\177\000\000\362\221\336\367\377\177\000\000\000\000\000\000\000\000\000\000P\244\375\367\377\177\000\000\001\000\000\000\377\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\377\177\000\000\320\304\375\367\377\177\000\000\000\000\377\377\377\177\000\000&\206\336\367\377\177\000\000\277\230\377\377\377\177\000\000@\207\377\377\377\177\000\000\000\000\000\000\000\000\000\000"... dev_name = "/dev/sg2\000\247h", '\000' <repeats 13 times>, "\002", '\000' <repeats 23 times>"\240, \230\377\377\377\177\000\000@", '\000' <repeats 31 times>, "\002\000\000\000\060\000\000\000[\000\000\000n\000\000\000w\000\0---Type <return> to continue, or q <return> to quit--- 00\000|\000\000\000\260\230\377\377\377\177\000\000\237\230\377\377\377\177\000" buf = {d_ino = 14373, d_off = 14799, d_reclen = 32, d_type = 10 '\n', d_name = "4:0:1:0\000\000\000\000\000\nvices/7:0:0:3/type\000\000\000\177\000\000\000\000\000\000\000\000\000\000X\226\377\377\377\177\000\000\367\r\275\367\377\177\000\000\022\000\000\000\377\177\000\000d\206\336\367\377\177\000\000\361\r\275\367\377\177\000\000\220\226\377\377\377\177\000\000\000\000\000\000\000\000\000\000(\230\377\377\377\177\000\000\001\000\000\000\000\000\000\000\230\277\375\367\377\177\000\000!='J\000\000\000\000\220\217\336\367\377\177\000\000(\000\000\000\060\000\000\000\364\234(\001\000\000\000\000!\000\000\000\060\000\000\000\n\000\000\000\000\000\000\000\274\211\273\367\377\177\000\000\220\226\377\377\377\177\000\000\260\214\273\367\377\177\000\000H\232\273\367\377\177\000\000\377\017\000\000\000\000\000\000\361\r\275\367\377\177\000\000(\000\000\000\060\000\000\000\340\231\377\377\377\177\000\000 \231\377\377\377\177\000\000\340\230\377\377\377\177\000\000\340\247h"} de = 0x7fffffff9580 scsidevs = 0x68ae10 fp = <value optimized out> ptr = <value optimized out> end = 0x7fffffff84f3 "canner " bcil = {4, 0, 1, 0} vmt = {"CANON ", '\000' <repeats 24 times>, "IX-40015G ", '\000' <repeats 16 times>, "Scanner ", '\000' <repeats 15 times>} vmtfiles = {0x7ffff7bd2e8f "vendor", 0x7ffff7bd2e96 "model", 0x7ffff7bd2e9c "type"} lastbus = 4 number = 2 i = 3 val = <value optimized out> ret = <value optimized out> #7 0x00007ffff7bbfdc6 in sanei_config_attach_matching_devices (name=<value optimized out>, attach=0x7fffeaf45110 <attach_one>) at sanei_config2.c:142 bus = <value optimized out> channel = <value optimized out> id = <value optimized out> lun = -1 vendor = 0x68add0 "CANON" model = 0x68adf0 "IX" type = 0x0 end = 0x55 <Address 0x55 out of bounds> #8 0x00007fffeaf4543e in sane_canon_init (version_code=<value optimized out>, authorize=<value optimized out>) at canon-sane.c:82 devnam = "scsi CANON IX", '\000' <repeats 4082 times> fp = 0x68adf0 i = <value optimized out> j = <value optimized out> primary = 85 'U' secondary = <value optimized out> inmask = <value optimized out> priMask = <value optimized out> secMask = <value optimized out> #9 0x00007ffff7bcf9c0 in init (be=0x60c8c0) at dll.c:613 status = <value optimized out> version = 16777216 #10 0x00007ffff7bd0389 in sane_dll_get_devices (device_list=0x7fffffffbbb0, local_only=0) at dll.c:1054 be_list = 0x68a740 be = 0x60c8c0 status = <value optimized out> ---Type <return> to continue, or q <return> to quit--- full_name = <value optimized out> i = <value optimized out> num_devs = <value optimized out> len = <value optimized out> #11 0x000000000040432c in ?? () No symbol table info available. #12 0x0000000000000000 in ?? () No symbol table info available.
View Attachment As Raw
Actions:
View
Attachments on
bug 1887
:
1322
| 1323