home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   RBERRYPI      Support for the Raspberry Pi device      21,939 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 19,445 of 21,939   
   Richard Kettlewell to Marco Moock   
   Re: Pi3B+ illegal instruction in python3   
   08 Feb 24 11:44:48   
   
   INTL 3:770/1 3:770/3   
   REPLYADDR invalid@invalid.invalid   
   REPLYTO 3:770/3.0 UUCP   
   MSGID:  9fef1bc7   
   REPLY:  84668e03   
   PID: SoupGate-Win32 v1.05   
   Marco Moock  writes:   
   > Hello!   
   >   
   > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063253   
   >   
   > Can people here confirm that problem with their Pi and Debian 12?   
   > 3.11.2-1+b1   
   > Python3 is completely broken on that machine.   
      
   “It works on my computer”   
      
     richard@chulka:~ $ cat /proc/cpuinfo   
     [...]   
     Revision	: a02082   
     Serial		: 0000000068bf39e8   
     Model		: Raspberry Pi 3 Model B Rev 1.2   
      
     richard@chulka:~ $ uname -a   
     Linux chulka 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1   
   (2024-01-25) aarch64 GNU/Linux   
      
     richard@chulka:~ $ dpkg -l linux-image-* python3-minimal libpython3.11 libc6   
     Desired=Unknown/Install/Remove/Purge/Hold   
     | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig   
   aWait/Trig-pend   
     |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)   
     ||/ Name                          Version             Architecture   
   Description   
     +++-=============================-===================-========   
   ===-===============================================================   
     ii  libc6:arm64                   2.36-9+rpt2+deb12u4 arm64        GNU C   
   Library: Shared libraries   
     ii  libpython3.11:arm64           3.11.2-6            arm64        Shared   
   Python runtime library (version 3.11)   
     ii  linux-image-6.1.0-rpi7-rpi-v8 1:6.1.63-1+rpt1     arm64        Linux 6.1   
   for Raspberry Pi v8, Raspberry Pi   
     ii  linux-image-6.1.0-rpi8-rpi-v8 1:6.1.73-1+rpt1     arm64        Linux 6.1   
   for Raspberry Pi v8, Raspberry Pi   
     ii  linux-image-rpi-v8            1:6.1.73-1+rpt1     arm64        Linux for   
   Raspberry Pi v8 (meta-package)   
     ii  python3-minimal               3.11.2-1+b1         arm64        minimal   
   subset of the Python language (default python3 version)   
      
     richard@chulka:~ $ file -L /usr/bin/python3   
     /usr/bin/python3: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV),   
   dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, Buil   
   ID[sha1]=15a1b7b17a3e246ca60bac3646ced99af27ca711, for GNU/Linux 3.7.0,   
   stripped   
      
     richard@chulka:~ $ sha256sum  /usr/bin/python3   
     37e79c476a2b3feb191fb4af8012363bbde2461fce10418a569bed0765f86e95    
   /usr/bin/python3   
      
     richard@chulka:~ $ python3   
     Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux   
     Type "help", "copyright", "credits" or "license" for more information.   
     >>>   
      
   However there is an inconsistency with the material in the bug report.   
   Stefano quotes a STUR insn but if I disassemble it I get LDP at that   
   location:   
      
     richard@chulka:~ $ gdb /usr/bin/python3 junk/python3_core_dump.34704   
     [..]   
     Reading symbols from /usr/bin/python3...   
     Reading symbols from /usr/lib/debug/.build-id/15/a1b7b17a3e246   
   a60bac3646ced99af27ca711.debug...   
     [New LWP 34704]   
      
     warning: Build-id of /lib/aarch64-linux-gnu/libm.so.6 does not match core   
   file.   
      
     warning: Build-id of /lib/aarch64-linux-gnu/libc.so.6 does not match core   
   file.   
      
     warning: Build-id of /lib/ld-linux-aarch64.so.1 does not match core file.   
     [Thread debugging using libthread_db enabled]   
     Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".   
     Core was generated by `python3'.   
     Program terminated with signal SIGILL, Illegal instruction.   
     #0  0x0000000000510d48 in _PyObject_GC_UNTRACK (op=) at   
   ../Include/internal/pycore_object.h:169   
     169	../Include/internal/pycore_object.h: No such file or directory.   
     (gdb) disassemble 0x0000000000510d48   
     Dump of assembler code for function gen_dealloc:   
        0x0000000000510d40 <+0>:	stp	x29, x30, [sp, #-96]!   
        0x0000000000510d44 <+4>:	mov	x29, sp   
     => 0x0000000000510d48 <+8>:	ldp	x3, x2, [x0, #-16]   
        0x0000000000510d4c <+12>:	stp	x19, x20, [sp, #16]   
      
   This could reflect the libc-level differences, but gen_dealloc is part   
   of the Python implementation, not the C library.   
      
   --   
   https://www.greenend.org.uk/rjk/   
      
   --- SoupGate-Win32 v1.05   
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)   
   SEEN-BY: 10/0 1 15/0 90/1 103/705 105/81 106/201 128/260 129/305 134/100   
   SEEN-BY: 135/225 153/135 143 757 802 7715 218/0 1 601 700 840 870   
   SEEN-BY: 218/930 220/70 221/1 6 226/17 30 100 227/114 229/110 112   
   SEEN-BY: 229/113 200 206 307 317 400 426 428 470 550 616 664 700 240/1120   
   SEEN-BY: 266/512 267/800 282/1038 291/111 292/854 301/1 113 812 310/31   
   SEEN-BY: 320/219 322/757 335/364 341/66 342/200 396/45 460/58 633/280   
   SEEN-BY: 712/848 770/1 3 100 330 340 772/210 220 230 5020/400 1042   
   SEEN-BY: 5058/104 5075/35   
   PATH: 770/3 1 153/757 221/6 301/1 218/700 229/426   
      

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca