Problem: printdriver cannnot be uploaded

Problem:

Printdriver cannot be uploaded due to the following error message:
Der Remoteprozeduraufruf ist fehlgeschlagen
The remote procedure call failed
Bildschirmfoto vom 2022-12-12 14-37-11

Investigation:

Look in /var/log/samba/log.*
With samba Version 4.16 there are new processes/services introduced. for example
https://www.samba.org/samba/docs/current/man-html/samba-bgqd.8.html

In /var/log/samba/log.rpcd_spoolss you may find:

[2022/12/12 14:46:47,  0] ../../source3/rpc_server/rpc_worker.c:1107(rpc_worker_main)
  rpcd_spoolss version 4.16.2-Univention started.
  Copyright Andrew Tridgell and the Samba Team 1992-2022
[2022/12/12 14:46:47,  0] ../../source3/rpc_server/rpc_worker.c:1107(rpc_worker_main)
  rpcd_spoolss version 4.16.2-Univention started.
  Copyright Andrew Tridgell and the Samba Team 1992-2022
[2022/12/12 14:46:47,  0] ../../source3/rpc_server/rpc_worker.c:1107(rpc_worker_main)
  rpcd_spoolss version 4.16.2-Univention started.
  Copyright Andrew Tridgell and the Samba Team 1992-2022
[2022/12/12 14:47:19,  0] ../../lib/util/fault.c:172(smb_panic_log)
  ===============================================================
[2022/12/12 14:47:19,  0] ../../lib/util/fault.c:176(smb_panic_log)
  INTERNAL ERROR: Signal 11: Speicherzugriffsfehler in pid 31523 (4.16.2-Univention)
[2022/12/12 14:47:19,  0] ../../lib/util/fault.c:181(smb_panic_log)
  If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider reporting this bug, see https://wiki.samba.org/index.php/Bug_Reporting
[2022/12/12 14:47:19,  0] ../../lib/util/fault.c:182(smb_panic_log)
  ===============================================================
[2022/12/12 14:47:19,  0] ../../lib/util/fault.c:184(smb_panic_log)
  PANIC (pid 31523): Signal 11: Speicherzugriffsfehler in 4.16.2-Univention
[2022/12/12 14:47:19,  0] ../../lib/util/fault.c:288(log_stack_trace)
  BACKTRACE: 24 stack frames:
   #0 /lib/x86_64-linux-gnu/libsamba-util.so.0(log_stack_trace+0x30) [0x7f43801d30d0]
   #1 /lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x9) [0x7f43801d3329]
   #2 /lib/x86_64-linux-gnu/libsamba-util.so.0(+0xf3c1) [0x7f43801d33c1]
   #3 /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730) [0x7f437f4e8730]
   #4 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(mangle_is_mangled+0xa) [0x7f437fe09faa]
   #5 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(unix_convert+0x15d6) [0x7f437fda4726]
   #6 /usr/lib/x86_64-linux-gnu/samba/rpcd_spoolss(+0x1bf62) [0x561700f0cf62]
   #7 /usr/lib/x86_64-linux-gnu/samba/rpcd_spoolss(move_driver_to_download_area+0x21c) [0x561700f0fc9c]
   #8 /usr/lib/x86_64-linux-gnu/samba/rpcd_spoolss(_spoolss_AddPrinterDriverEx+0xc2) [0x561700f37a12]
   #9 /usr/lib/x86_64-linux-gnu/samba/rpcd_spoolss(+0x4b562) [0x561700f3c562]
   #10 /lib/x86_64-linux-gnu/libdcerpc-server-core.so.0(dcesrv_loop_next_packet+0xe00) [0x7f438025c530]
   #11 /lib/x86_64-linux-gnu/libdcerpc-server-core.so.0(+0x91e0) [0x7f438025d1e0]
   #12 /lib/x86_64-linux-gnu/libdcerpc-binding.so.0(+0xcc7f) [0x7f437f8cfc7f]
   #13 /usr/lib/x86_64-linux-gnu/samba/libsamba-sockets-samba4.so.0(+0x71a2) [0x7f43802401a2]
   #14 /usr/lib/x86_64-linux-gnu/samba/libsamba-sockets-samba4.so.0(+0x5f6b) [0x7f438023ef6b]
   #15 /lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_invoke_immediate_handler+0x17a) [0x7f437f4c5f8a]
   #16 /lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_immediate+0x23) [0x7f437f4c5fb3]
   #17 /lib/x86_64-linux-gnu/libtevent.so.0(+0xde3b) [0x7f437f4cbe3b]
   #18 /lib/x86_64-linux-gnu/libtevent.so.0(+0xc0b7) [0x7f437f4ca0b7]
   #19 /lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x91) [0x7f437f4c4e51]
   #20 /usr/lib/x86_64-linux-gnu/samba/libRPC-WORKER-samba4.so.0(rpc_worker_main+0x90a) [0x7f43801b746a]
   #21 /usr/lib/x86_64-linux-gnu/samba/rpcd_spoolss(main+0x2c) [0x561700f03e2c]
   #22 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f437f25c09b]
   #23 /usr/lib/x86_64-linux-gnu/samba/rpcd_spoolss(_start+0x2a) [0x561700f03e6a]
[2022/12/12 14:47:19,  0] ../../source3/lib/dumpcore.c:315(dump_core)
  dumping core in /var/log/samba/cores/rpcd_spoolss

Solution:

With ucs5.0-2 Errata 398
The issue has been fixed.

see also Bug 55048

Mastodon