;;; (test-multiprocess)

The value 73 is not of type BIT.
   [Condition of type TYPE-ERROR]

Restarts:
  0: [TERMINATE-THREAD] Terminate this thread (#<THREAD "PG data producer" {1003834131}>)

Backtrace:
  0: (SB-KERNEL:HAIRY-DATA-VECTOR-SET #*000000000000000000000000000000000000000000000000000000000000000 0 73)
      Locals:
        SB-DEBUG::ARG-0 = 3
        SB-DEBUG::ARG-1 = #*000000000000000000000000000000000000000000000000000000000000000
        SB-DEBUG::ARG-2 = 0
        SB-DEBUG::ARG-3 = 73
  1: (REPLACE #*000000000000000000000000000000000000000000000000000000000000000 #(73 78 83 69 82 84 32 73 78 84 ...))
      Locals:
        SB-DEBUG::ARG-0 = 6
        SB-DEBUG::ARG-1 = #*000000000000000000000000000000000000000000000000000000000000000
        SB-DEBUG::ARG-2 = #(73 78 83 69 82 84 32 73 78 84 ...)
  2: (ADJUST-ARRAY #(73 78 83 69 82 84 32 73 78 84 ...) 63)
  3: (VECTOR-PUSH-EXTEND 50 #(73 78 83 69 82 84 32 73 78 84 ...) 32)
      Locals:
        SB-IMPL::EXTENSION = 32
        SB-IMPL::NEW-ELEMENT = 50
        VECTOR = #(73 78 83 69 82 84 32 73 78 84 ...)
  4: (SB-IMPL::STRING->LATIN1 "INSERT INTO pgmt VALUES (920, 920, 920.0)" 0 41 0)
      Locals:
        SB-DEBUG::ARG-0 = 4
        SB-DEBUG::ARG-1 = "INSERT INTO pgmt VALUES (920, 920, 920.0)"
        SB-DEBUG::ARG-2 = 0
        SB-DEBUG::ARG-3 = 41
        SB-DEBUG::ARG-4 = 0
  5: (POSTGRESQL::SEND-PACKET #<PostgreSQL connection to backend pid 26215 at localhost:5432> #\Q ((:CSTRING "INSERT INTO pgmt VALUES (920, 920, 920.0)")))
      Locals:
        SB-DEBUG::ARG-0 = #<PostgreSQL connection to backend pid 26215 at localhost:5432>
        SB-DEBUG::ARG-1 = #\Q
        SB-DEBUG::ARG-2 = ((:CSTRING "INSERT INTO pgmt VALUES (920, 920, 920.0)"))
  6: ((SB-PCL::FAST-METHOD POSTGRESQL:PG-EXEC (POSTGRESQL::PGCON-V3)) #<unavailable argument> #<unavailable argument> #<PostgreSQL connection to backend pid 26215 at localhost:5432> ("INSERT INTO pgmt VALUES (920, 920, 920.0)"))
      Locals:
        SB-DEBUG::ARG-0 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-1 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-2 = #<PostgreSQL connection to backend pid 26215 at localhost:5432>
        SB-DEBUG::ARG-3 = ("INSERT INTO pgmt VALUES (920, 920, 920.0)")
  7: ((LAMBDA (PG-TESTS::CONN)) #<PostgreSQL connection to backend pid 26215 at localhost:5432>)
      Locals:
        SB-DEBUG::ARG-0 = #<PostgreSQL connection to backend pid 26215 at localhost:5432>
  8: (PG-TESTS::CALL-WITH-TEST-CONNECTION #<CLOSURE (LAMBDA (PG-TESTS::CONN)) {1003839129}>)
      Locals:
        SB-DEBUG::ARG-0 = #<CLOSURE (LAMBDA (PG-TESTS::CONN)) {1003839129}>
  9: ((LAMBDA NIL))
      Locals:
      Catch-tags:
        SB-IMPL::%END-OF-THE-WORLD
        SB-INT:TOPLEVEL-CATCHER
 10: ("foreign function: call_into_lisp")
 11: ("foreign function: new_thread_trampoline")

;;; (test-multiprocess) ; slightly different backtrace

The value 73 is not of type BIT.
   [Condition of type TYPE-ERROR]

Restarts:
  0: [TERMINATE-THREAD] Terminate this thread (#<THREAD "PG data producer" {1002AEFA71}>)

Backtrace:
  0: (SB-KERNEL:HAIRY-DATA-VECTOR-SET #() 0 73)
      Locals:
        SB-DEBUG::ARG-0 = 3
        SB-DEBUG::ARG-1 = #()
        SB-DEBUG::ARG-2 = 0
        SB-DEBUG::ARG-3 = 73
  1: (VECTOR-PUSH-EXTEND 73 #() 1)
      Locals:
        SB-IMPL::EXTENSION = 1
        SB-IMPL::NEW-ELEMENT = 73
        VECTOR = #()
  2: (SB-IMPL::STRING->LATIN1 "INSERT INTO pgmt VALUES (1026, 1026, 1026.0)" 0 44 0)
      Locals:
        SB-DEBUG::ARG-0 = 4
        SB-DEBUG::ARG-1 = "INSERT INTO pgmt VALUES (1026, 1026, 1026.0)"
        SB-DEBUG::ARG-2 = 0
        SB-DEBUG::ARG-3 = 44
        SB-DEBUG::ARG-4 = 0
  3: (POSTGRESQL::SEND-PACKET #<PostgreSQL connection to backend pid 25499 at localhost:5432> #\Q ((:CSTRING "INSERT INTO pgmt VALUES (1026, 1026, 1026.0)")))
      Locals:
        SB-DEBUG::ARG-0 = #<PostgreSQL connection to backend pid 25499 at localhost:5432>
        SB-DEBUG::ARG-1 = #\Q
        SB-DEBUG::ARG-2 = ((:CSTRING "INSERT INTO pgmt VALUES (1026, 1026, 1026.0)"))
  4: ((SB-PCL::FAST-METHOD POSTGRESQL:PG-EXEC (POSTGRESQL::PGCON-V3)) #<unavailable argument> #<unavailable argument> #<PostgreSQL connection to backend pid 25499 at localhost:5432> ("INSERT INTO pgmt VALUES (1026, 1026, 1026.0)"))
      Locals:
        SB-DEBUG::ARG-0 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-1 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-2 = #<PostgreSQL connection to backend pid 25499 at localhost:5432>
        SB-DEBUG::ARG-3 = ("INSERT INTO pgmt VALUES (1026, 1026, 1026.0)")
  5: ((LAMBDA (PG-TESTS::CONN)) #<PostgreSQL connection to backend pid 25499 at localhost:5432>)
      Locals:
        SB-DEBUG::ARG-0 = #<PostgreSQL connection to backend pid 25499 at localhost:5432>
  6: (PG-TESTS::CALL-WITH-TEST-CONNECTION #<CLOSURE (LAMBDA (PG-TESTS::CONN)) {1002AE8F49}>)
      Locals:
        SB-DEBUG::ARG-0 = #<CLOSURE (LAMBDA (PG-TESTS::CONN)) {1002AE8F49}>
  7: ((LAMBDA NIL))
      Locals:
      Catch-tags:
        SB-IMPL::%END-OF-THE-WORLD
        SB-INT:TOPLEVEL-CATCHER
  8: ("foreign function: call_into_lisp")
  9: ("foreign function: new_thread_trampoline")

;;; (test-pbe-text)

PostgreSQL ERROR: (22021) invalid byte sequence for encoding "LATIN1": 0x00, NIL. Hint: NIL File: wchar.c, line 1328/NIL report_invalid_encoding -> NIL
   [Condition of type POSTGRESQL::ERROR-RESPONSE]

Restarts:
  0: [CONTINUE] Try to continue, should do a rollback
  1: [ABORT-REQUEST] Abort handling SLIME request.
  2: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread" {100271F3F1}>)

Backtrace:
  0: (POSTGRESQL::READ-PACKET #<PostgreSQL connection to backend pid 24872 at localhost:5432>)
      Locals:
        SB-DEBUG::ARG-0 = #<PostgreSQL connection to backend pid 24872 at localhost:5432>
  1: (POSTGRESQL::DO-FOLLOWUP-QUERY #<PostgreSQL connection to backend pid 24872 at localhost:5432>)
      Locals:
        SB-DEBUG::ARG-0 = #<PostgreSQL connection to backend pid 24872 at localhost:5432>
  2: ((LAMBDA (CONN)) #<PostgreSQL connection to backend pid 24872 at localhost:5432>)
      Locals:
        SB-DEBUG::ARG-0 = #<PostgreSQL connection to backend pid 24872 at localhost:5432>
  3: (CALL-WITH-TEST-CONNECTION #<FUNCTION (LAMBDA (CONN)) {100385CF39}>)
      Locals:
        SB-DEBUG::ARG-0 = #<FUNCTION (LAMBDA (CONN)) {100385CF39}>
  4: (SB-INT:EVAL-IN-LEXENV (TEST-PBE-TEXT) #<NULL-LEXENV>)
      Locals:
        SB-DEBUG::ARG-0 = 2
        SB-DEBUG::ARG-1 = (TEST-PBE-TEXT)
        SB-DEBUG::ARG-2 = #<NULL-LEXENV>
  5: (SWANK::EVAL-REGION "(test-pbe-text)
" T)
  6: ((LAMBDA NIL))
  7: ((LAMBDA (SWANK-BACKEND::FN)) #<CLOSURE (LAMBDA NIL) {1003BFD4B9}>)
  8: (SWANK::CALL-WITH-BUFFER-SYNTAX #<CLOSURE (LAMBDA NIL) {1003BFD4B9}>)
  9: (SB-INT:EVAL-IN-LEXENV (SWANK:LISTENER-EVAL "(test-pbe-text)
") #<NULL-LEXENV>)
 10: ((LAMBDA NIL))
 11: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL) {1003BE59D9}>)
 12: ((LAMBDA NIL))
 13: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<FUNCTION (LAMBDA NIL) {1003353C69}>)
 14: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {10032EFA81}> #<CLOSURE (LAMBDA NIL) {1003BE5739}>)
 15: (SWANK::CALL-WITH-CONNECTION #<SWANK::CONNECTION {10032EFA81}> #<FUNCTION (LAMBDA NIL) {1003353C69}>)
 16: (SWANK::HANDLE-REQUEST #<SWANK::CONNECTION {10032EFA81}>)
 17: (SWANK::REPL-LOOP #<SWANK::CONNECTION {10032EFA81}>)
 18: (SWANK::REPL-LOOP #<SWANK::CONNECTION {10032EFA81}>)
 19: (SWANK::CALL-WITH-BINDINGS NIL #<CLOSURE (LAMBDA NIL) {1002729129}>)
 20: ((LAMBDA NIL))
 21: ("foreign function: call_into_lisp")
 22: ("foreign function: new_thread_trampoline")

