#0 0x00007f85708a3472 in _IO_vfprintf_internal (s=s@entry=0x2432260, format=, format@entry=0x7f8570e80358 "io/hpmud/musb.c 1457: unable to write data (len = %d) %s: %m\n", ap=) at vfprintf.c:1642 [Error: vfprintf.c was not found in source tree] #1 0x00007f857096bcdb in ___vfprintf_chk (fp=fp@entry=0x2432260, flag=flag@entry=1, format=format@entry=0x7f8570e80358 "io/hpmud/musb.c 1457: unable to write data (len = %d) %s: %m\n", ap=ap@entry=0x7ffc17c303c8) at vfprintf_chk.c:33 [Error: vfprintf_chk.c was not found in source tree] #2 0x00007f8570955942 in __GI___vsyslog_chk (pri=, flag=1, fmt=0x7f8570e80358 "io/hpmud/musb.c 1457: unable to write data (len = %d) %s: %m\n", ap=0x7ffc17c303c8) at ../misc/syslog.c:222 [Error: syslog.c was not found in source tree] #3 0x00007f8570955de2 in __syslog_chk (pri=pri@entry=3, flag=flag@entry=1, fmt=fmt@entry=0x7f8570e80358 "io/hpmud/musb.c 1457: unable to write data (len = %d) %s: %m\n") at ../misc/syslog.c:129 [Error: syslog.c was not found in source tree] #4 0x00007f8570e7969a in syslog (__fmt=0x7f8570e80358 "io/hpmud/musb.c 1457: unable to write data (len = %d) %s: %m\n", __pri=3) at /usr/include/x86_64-linux-gnu/bits/syslog.h:31 [Error: syslog.h was not found in source tree] #5 musb_raw_channel_write (pc=0x7f8571186a50 , buf=, length=, sec_timeout=45, bytes_wrote=0x7ffc17c30568) at io/hpmud/musb.c:1457 1452: stat = HPMUD_R_IO_TIMEOUT; 1453: if (sec_timeout >= HPMUD_EXCEPTION_SEC_TIMEOUT) 1454: BUG("unable to write data %s: %d second io timeout\n", msp->device[pc->dindex].uri, sec_timeout); 1455: } 1456: else 1457: BUG("unable to write data (len = %d) %s: %m\n", msp->device[pc->dindex].uri, len); 1458: goto bugout; 1459: } 1460: size-=len; 1461: total+=len; 1462: *bytes_wrote+=len; #6 0x00007f8570e78751 in musb_channel_write (pd=0x7f857117e2a8 , pc=0x7f8571186a50 , buf=0x7ffc17c30620, length=16384, sec_timeout=45, bytes_wrote=0x7ffc17c30568) at io/hpmud/musb.c:1327 1322: enum HPMUD_RESULT __attribute__ ((visibility ("hidden"))) musb_channel_write(mud_device *pd, mud_channel *pc, const void *buf, int length, int sec_timeout, int *bytes_wrote) 1323: { 1324: enum HPMUD_RESULT stat; 1325: 1326: pthread_mutex_lock(&pd->mutex); 1327: stat = (pc->vf.channel_write)(pc, buf, length, sec_timeout, bytes_wrote); 1328: pthread_mutex_unlock(&pd->mutex); 1329: return stat; 1330: } 1331: 1332: enum HPMUD_RESULT __attribute__ ((visibility ("hidden"))) musb_channel_read(mud_device *pd, mud_channel *pc, void *buf, int length, int sec_timeout, int *bytes_read) #7 0x0000000000401a15 in main (argc=, argv=0x7ffc17c34748) at prnt/backend/hp.c:882 877: fprintf(stderr, "STATE: -%s\n", "media-empty-error,media-jam-error,hplip.plugin-error," 878: "cover-open-error,toner-empty-error,other"); 879: 880: } /* if (hd <= 0) */ 881: 882: stat = hpmud_write_channel(hd, cd, buf+total, size, EXCEPTION_TIMEOUT, &n); 883: 884: 885: if (n != size) 886: { 887: /* IO error, get printer status. */