From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 07 13:22:20 2022 Received: (at submit) by debbugs.gnu.org; 7 Jul 2022 17:22:20 +0000 Received: from localhost ([127.0.0.1]:57760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9VCk-00034y-EH for submit@debbugs.gnu.org; Thu, 07 Jul 2022 13:22:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:54864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9VCe-00034o-T3 for submit@debbugs.gnu.org; Thu, 07 Jul 2022 13:22:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9VCe-0006Hq-NU for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 13:22:12 -0400 Received: from ppsw-32.srv.uis.cam.ac.uk ([131.111.8.132]:48832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9VCZ-0004dN-RK for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 13:22:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cam.ac.uk; s=20210802.ppsw; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=V/Ce1/QozzJpoqNWa9J8Hl7QU7sWiBBaaBB/OrRKcPI=; b=LQE4fJkZ0BMhhoynupJrSrV2m1 ZvtsjG8XMaXXFBNwKqmTd9CaEoBvil4qes2OVS9veAayb4FgB/svYWCUkd7+IXvxXxI8TnuocFFuQ Gk1DNfBnDgktmINodASCgdlbP8rt0k5H65CwHyCm+JR/qcZ9yUTw0tLDo6BQhFACw14M=; X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: https://help.uis.cam.ac.uk/email-scanner-virus Received: from smtp.maths.cam.ac.uk ([131.111.20.158]:44797 helo=evander.maths.cam.ac.uk) by ppsw-32.srv.uis.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.136]:25) with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1o9VCV-000zOd-BT (Exim 4.96) for bug-gnu-emacs@gnu.org (return-path ); Thu, 07 Jul 2022 18:22:03 +0100 Received: from 114.196.93.209.dyn.plus.net ([209.93.196.114] helo=localhost) by evander.maths.cam.ac.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1o9VCU-002s9w-Sh for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 18:22:03 +0100 User-agent: mu4e 1.8.5; emacs 28.1 From: Stephen Eglen To: bug-gnu-emacs@gnu.org Subject: 28.1; Mac segmentation fault with ffap Date: Thu, 07 Jul 2022 18:18:23 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=131.111.8.132; envelope-from=sje30@cam.ac.uk; helo=ppsw-32.srv.uis.cam.ac.uk X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) Can anyone replicate the following on Mac M1? I'm using the 'emacs' cask from homebrew, and I get the crash both with GUI and terminal version of Emacs. This seems to be mac-specific; I do not see the problem on linux. Starting emacs from the terminal. $ emacs -nw -q (require 'ffap) Then with point somewhere over an email, e.g. sje30@cam.ac.uk, if I run M-x find-file-at-point I get: Fatal error 11: Segmentation fault and emacs quits. In my initial debugging from the elisp side, it seems to happen with the fu= nction ffap-prompter, when the unwind-protect statement finishes. Under the GUI, the backtrace reported is attached. ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: Emacs-arm64-11 [87375] Path: /Applications/Emacs.app/Contents/MacOS/Emacs-arm64-11 Identifier: Emacs-arm64-11 Version: ??? Code Type: ARM-64 (Native) Parent Process: zsh [83690] Responsible: Terminal [559] User ID: 501 Date/Time: 2022-07-07 15:56:24.5056 +0100 OS Version: macOS 12.4 (21F79) Report Version: 12 Anonymous UUID: 053D4162-097E-498B-8271-FD08E58B5587 Sleep/Wake UUID: B40490E6-25CF-4FA7-BFEC-F3A26E0CB216 Time Awake Since Boot: 490000 seconds Time Since Wake: 3859 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000004 Exception Codes: 0x0000000000000001, 0x0000000000000004 Exception Note: EXC_CORPSE_NOTIFY VM Region Info: 0x4 is not in any region. Bytes before following region: 1= 05553518919676 REGION TYPE START - END [ VSIZE] PRT/MAX S= HRMOD REGION DETAIL UNUSED SPACE AT START --->=20=20 MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-/rwx S= M=3DNUL ...(unallocated) Kernel Triage: VM - pmap_enter failed with resource shortage VM - pmap_enter failed with resource shortage VM - pmap_enter failed with resource shortage VM - pmap_enter failed with resource shortage VM - pmap_enter failed with resource shortage Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x19fc9ad98 __pthread_kill + 8 1 libsystem_pthread.dylib 0x19fccfee0 pthread_kill + 288 2 libsystem_c.dylib 0x19fbd2680 raise + 32 3 Emacs-arm64-11 0x1028c977c terminate_due_to_sign= al + 204 4 Emacs-arm64-11 0x1028c9e08 emacs_abort + 20 5 Emacs-arm64-11 0x10289817c ns_term_shutdown + 144 6 Emacs-arm64-11 0x102795eec shut_down_emacs + 328 7 Emacs-arm64-11 0x1028c9744 terminate_due_to_sign= al + 148 8 Emacs-arm64-11 0x1027b5310 handle_fatal_signal += 16 9 Emacs-arm64-11 0x1027b538c deliver_thread_signal= + 124 10 Emacs-arm64-11 0x1027b3898 deliver_fatal_thread_= signal + 12 11 libsystem_platform.dylib 0x19fce74a4 _sigtramp + 56 12 Emacs-arm64-11 0x1027cde38 Ffile_name_case_insen= sitive_p + 108 13 Emacs-arm64-11 0x1027cde38 Ffile_name_case_insen= sitive_p + 108 14 Emacs-arm64-11 0x10281a244 funcall_subr + 264 15 Emacs-arm64-11 0x102819818 Ffuncall + 752 16 Emacs-arm64-11 0x102819818 Ffuncall + 752 17 Emacs-arm64-11 0x10285abec exec_byte_code + 1952 18 Emacs-arm64-11 0x102819790 Ffuncall + 616 19 Emacs-arm64-11 0x102815c58 call2 + 48 20 Emacs-arm64-11 0x10281a244 funcall_subr + 264 21 Emacs-arm64-11 0x102819818 Ffuncall + 752 22 Emacs-arm64-11 0x10285abec exec_byte_code + 1952 23 Emacs-arm64-11 0x102819790 Ffuncall + 616 24 Emacs-arm64-11 0x10285abec exec_byte_code + 1952 25 Emacs-arm64-11 0x102819790 Ffuncall + 616 26 Emacs-arm64-11 0x10285abec exec_byte_code + 1952 27 Emacs-arm64-11 0x102819790 Ffuncall + 616 28 Emacs-arm64-11 0x10285abec exec_byte_code + 1952 29 Emacs-arm64-11 0x102819790 Ffuncall + 616 30 Emacs-arm64-11 0x10285abec exec_byte_code + 1952 31 Emacs-arm64-11 0x102819790 Ffuncall + 616 32 Emacs-arm64-11 0x10285abec exec_byte_code + 1952 33 Emacs-arm64-11 0x102819790 Ffuncall + 616 34 Emacs-arm64-11 0x102812bd0 Ffuncall_interactivel= y + 80 35 Emacs-arm64-11 0x102819818 Ffuncall + 752 36 Emacs-arm64-11 0x102812ec4 Fcall_interactively += 732 37 Emacs-arm64-11 0x10281a268 funcall_subr + 300 38 Emacs-arm64-11 0x102819818 Ffuncall + 752 39 Emacs-arm64-11 0x10285abec exec_byte_code + 1952 40 Emacs-arm64-11 0x102819790 Ffuncall + 616 41 Emacs-arm64-11 0x102819ebc call1 + 44 42 Emacs-arm64-11 0x102799b44 command_loop_1 + 1640 43 Emacs-arm64-11 0x102817950 internal_condition_ca= se + 264 44 Emacs-arm64-11 0x1027994c8 command_loop_2 + 52 45 Emacs-arm64-11 0x102816f24 internal_catch + 264 46 Emacs-arm64-11 0x1028c9a8c recursive_edit_1.cold= .1 + 80 47 Emacs-arm64-11 0x102798cf8 recursive_edit_1 + 268 48 Emacs-arm64-11 0x102798ea0 Frecursive_edit + 388 49 Emacs-arm64-11 0x10279828c main + 9036 50 dyld 0x102fd508c start + 520 Thread 1: 0 libsystem_pthread.dylib 0x19fccb078 start_wqthread + 0 Thread 2: 0 libsystem_pthread.dylib 0x19fccb078 start_wqthread + 0 Thread 3: 0 libsystem_pthread.dylib 0x19fccb078 start_wqthread + 0 Thread 4: 0 libsystem_kernel.dylib 0x19fc9d598 __select + 8 1 Emacs-arm64-11 0x1028994fc -[EmacsApp fd_handler= :] + 244 2 Foundation 0x1a0c7763c __NSThread__start__ += 808 3 libsystem_pthread.dylib 0x19fcd026c _pthread_start + 148 4 libsystem_pthread.dylib 0x19fccb08c thread_start + 8 Thread 5:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x19fc928b0 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x19fc92d20 mach_msg + 76 2 CoreFoundation 0x19fd9d2b0 __CFRunLoopServiceMac= hPort + 372 3 CoreFoundation 0x19fd9b760 __CFRunLoopRun + 1180 4 CoreFoundation 0x19fd9ab24 CFRunLoopRunSpecific = + 600 5 AppKit 0x1a2a6e374 _NSEventThread + 196 6 libsystem_pthread.dylib 0x19fcd026c _pthread_start + 148 7 libsystem_pthread.dylib 0x19fccb08c thread_start + 8 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x000000000000000= 0 x3: 0x000000019fadf04c x4: 0x0000600001a6cac0 x5: 0x0000000000000000 x6: 0x000000000000040= 0 x7: 0x0000000000000db0 x8: 0x10463841980e475b x9: 0x104638409b0ac2db x10: 0x000000000000000= 1 x11: 0x02000001f869a96d x12: 0x0000000000000057 x13: 0x00000000fdafc091 x14: 0x00000000fdcfc80= 0 x15: 0x00000000000001f9 x16: 0x0000000000000148 x17: 0x00000001f9d5b680 x18: 0x000000000000000= 0 x19: 0x0000000000000006 x20: 0x0000000103048580 x21: 0x0000000000000103 x22: 0x000000010304866= 0 x23: 0x0000000000002910 x24: 0x0000000000000000 x25: 0x0000000000000000 x26: 0x400000003f00000= 0 x27: 0x4000000019000000 x28: 0x4000000017000000 fp: 0x000000016d71d1f0 lr: 0x000000019fccfee0 sp: 0x000000016d71d1d0 pc: 0x000000019fc9ad98 cpsr: 0x40001000 far: 0x00006000026cc740 esr: 0x56000080 Address size fault Binary Images: 0x19fc91000 - 0x19fcc8fff libsystem_kernel.dylib (*) <03f48dc= 5-caa7-3678-af61-1a3c7fa8b06e> /usr/lib/system/libsystem_kernel.dylib 0x19fcc9000 - 0x19fcd5fff libsystem_pthread.dylib (*) <42166a= 2c-89a9-3c38-a215-f028544cea23> /usr/lib/system/libsystem_pthread.dylib 0x19fb90000 - 0x19fc11fff libsystem_c.dylib (*) <86746b94-88e= 3-342d-b2b2-54303404e492> /usr/lib/system/libsystem_c.dylib 0x1026e0000 - 0x10290bfff Emacs-arm64-11 (*) <70bcc1e9-bc20-3= e28-a912-c26c3baf0e68> /Applications/Emacs.app/Contents/MacOS/Emacs-arm64-11 0x19fce3000 - 0x19fceafff libsystem_platform.dylib (*) /usr/lib/system/libsystem_platform.dylib 0x102fd0000 - 0x10302ffff dyld (*) /usr/lib/dyld 0x1a0c1b000 - 0x1a100cfff com.apple.Foundation (6.9) /System/Library/Frameworks/Foundation.framew= ork/Versions/C/Foundation 0x19fd18000 - 0x1a025efff com.apple.CoreFoundation (6.9) <994= db908-11a1-3e43-b7df-25c09d51368a> /System/Library/Frameworks/CoreFoundatio= n.framework/Versions/A/CoreFoundation 0x1a28c0000 - 0x1a3777fff com.apple.AppKit (6.9) /System/Library/Frameworks/AppKit.framework/Vers= ions/C/AppKit 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-00= 0000000000> ??? External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 0 thread_create: 0 thread_set_state: 0 VM Region Summary: ReadOnly portion of Libraries: Total=3D844.2M resident=3D0K(0%) swapped_out= _or_unallocated=3D844.2M(100%) Writable regions: Total=3D1.4G written=3D0K(0%) resident=3D0K(0%) swapped_o= ut=3D0K(0%) unallocated=3D1.4G(100%) VIRTUAL REGION=20 REGION TYPE SIZE COUNT (non-coalesced)=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=20 Accelerate framework 384K 3=20 Activity Tracing 256K 1=20 CG backing stores 4288K 8=20 CG image 384K 6=20 ColorSync 512K 25=20 CoreAnimation 416K 18=20 CoreGraphics 32K 2=20 CoreImage 48K 2=20 CoreServices 80K 1=20 CoreUI image data 1088K 7=20 Foundation 16K 1=20 Kernel Alloc Once 32K 1=20 MALLOC 265.3M 48=20 MALLOC guard page 192K 10=20 MALLOC_MEDIUM (reserved) 720.0M 6 reserved VM addres= s space (unallocated) MALLOC_NANO (reserved) 384.0M 1 reserved VM addres= s space (unallocated) STACK GUARD 54.5M 6=20 Stack 12.2M 7=20 VM_ALLOCATE 288K 18=20 __AUTH 1933K 191=20 __AUTH_CONST 11.4M 355=20 __CTF 756 1=20 __DATA 12.8M 349=20 __DATA_CONST 12.2M 367=20 __DATA_DIRTY 874K 121=20 __FONT_DATA 4K 1=20 __LINKEDIT 579.6M 13=20 __OBJC_CONST 1816K 163=20 __OBJC_RO 83.0M 1=20 __OBJC_RW 3152K 1=20 __TEXT 264.6M 381=20 __UNICODE 592K 1=20 dyld private memory 1024K 1=20 mapped file 168.4M 29=20 shared memory 880K 15=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=20 TOTAL 2.5G 2161=20 TOTAL, minus reserved VM space 1.4G 2161=20 ----------- Full Report ----------- {"app_name":"Emacs-arm64-11","timestamp":"2022-07-07 15:56:25.00 +0100","ap= p_version":"","slice_uuid":"70bcc1e9-bc20-3e28-a912-c26c3baf0e68","build_ve= rsion":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type= ":"309","os_version":"macOS 12.4 (21F79)","incident_id":"A33E6451-F215-495A= -A8A1-6DA935CA2CB6","name":"Emacs-arm64-11"} { "uptime" : 490000, "procLaunch" : "2022-07-07 15:56:12.0429 +0100", "procRole" : "Foreground", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro18,3", "procStartAbsTime" : 11883715981529, "coalitionID" : 562, "osVersion" : { "train" : "macOS 12.4", "build" : "21F79", "releaseType" : "User" }, "captureTime" : "2022-07-07 15:56:24.5056 +0100", "incident" : "A33E6451-F215-495A-A8A1-6DA935CA2CB6", "bug_type" : "309", "pid" : 87375, "procExitAbsTime" : 11884014949755, "translated" : false, "cpuType" : "ARM-64", "procName" : "Emacs-arm64-11", "procPath" : "\/Applications\/Emacs.app\/Contents\/MacOS\/Emacs-arm64-11", "parentProc" : "zsh", "parentPid" : 83690, "coalitionName" : "com.apple.Terminal", "crashReporterKey" : "053D4162-097E-498B-8271-FD08E58B5587", "responsiblePid" : 559, "responsibleProc" : "Terminal", "wakeTime" : 3859, "sleepWakeUUID" : "B40490E6-25CF-4FA7-BFEC-F3A26E0CB216", "sip" : "enabled", "vmRegionInfo" : "0x4 is not in any region. Bytes before following regio= n: 105553518919676\n REGION TYPE START - END = [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---= > \n MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-\= /rwx SM=3DNUL ...(unallocated)", "isCorpse" : 1, "exception" : {"codes":"0x0000000000000001, 0x0000000000000004","rawCodes= ":[1,4],"type":"EXC_BAD_ACCESS","signal":"SIGABRT","subtype":"KERN_INVALID_= ADDRESS at 0x0000000000000004"}, "ktriageinfo" : "VM - pmap_enter failed with resource shortage\nVM - pmap= _enter failed with resource shortage\nVM - pmap_enter failed with resource = shortage\nVM - pmap_enter failed with resource shortage\nVM - pmap_enter fa= iled with resource shortage\n", "vmregioninfo" : "0x4 is not in any region. Bytes before following regio= n: 105553518919676\n REGION TYPE START - END = [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---= > \n MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-\= /rwx SM=3DNUL ...(unallocated)", "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_p= id":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"= targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnin= gs":0}, "faultingThread" : 0, "threads" : [{"triggered":true,"id":4214136,"threadState":{"x":[{"value":= 0},{"value":0},{"value":0},{"value":6973943884,"symbolLocation":0,"symbol":= "nanov2_free_definite_size"},{"value":105553143974592},{"value":0},{"value"= :1024},{"value":3504},{"value":1172686607351695195},{"value":11726866031068= 29019},{"value":1},{"value":144115196538497389,"symbolLocation":14411518807= 5855877,"symbol":"OBJC_CLASS_$__CFXPreferences"},{"value":87},{"value":4256= 153745},{"value":4258252800},{"value":505},{"value":328},{"value":848649996= 8},{"value":0},{"value":6},{"value":4345595264,"symbolLocation":0,"symbol":= "_main_thread"},{"value":259},{"value":4345595488,"symbolLocation":224,"sym= bol":"_main_thread"},{"value":10512},{"value":0},{"value":0},{"value":46116= 86019484352512},{"value":4611686018846818304},{"value":4611686018813263872}= ],"flavor":"ARM_THREAD_STATE64","lr":{"value":6975979232},"cpsr":{"value":1= 073745920},"fp":{"value":6131143152},"sp":{"value":6131143120},"esr":{"valu= e":1442840704,"description":" Address size fault"},"pc":{"value":6975761816= ,"matchesCrashFrame":1},"far":{"value":105553156949824}},"queue":"com.apple= .main-thread","frames":[{"imageOffset":40344,"symbol":"__pthread_kill","sym= bolLocation":8,"imageIndex":0},{"imageOffset":28384,"symbol":"pthread_kill"= ,"symbolLocation":288,"imageIndex":1},{"imageOffset":272000,"symbol":"raise= ","symbolLocation":32,"imageIndex":2},{"imageOffset":2004860,"symbol":"term= inate_due_to_signal","symbolLocation":204,"imageIndex":3},{"imageOffset":20= 06536,"symbol":"emacs_abort","symbolLocation":20,"imageIndex":3},{"imageOff= set":1802620,"symbol":"ns_term_shutdown","symbolLocation":144,"imageIndex":= 3},{"imageOffset":745196,"symbol":"shut_down_emacs","symbolLocation":328,"i= mageIndex":3},{"imageOffset":2004804,"symbol":"terminate_due_to_signal","sy= mbolLocation":148,"imageIndex":3},{"imageOffset":873232,"symbol":"handle_fa= tal_signal","symbolLocation":16,"imageIndex":3},{"imageOffset":873356,"symb= ol":"deliver_thread_signal","symbolLocation":124,"imageIndex":3},{"imageOff= set":866456,"symbol":"deliver_fatal_thread_signal","symbolLocation":12,"ima= geIndex":3},{"imageOffset":17572,"symbol":"_sigtramp","symbolLocation":56,"= imageIndex":4},{"imageOffset":974392,"symbol":"Ffile_name_case_insensitive_= p","symbolLocation":108,"imageIndex":3},{"imageOffset":974392,"symbol":"Ffi= le_name_case_insensitive_p","symbolLocation":108,"imageIndex":3},{"imageOff= set":1286724,"symbol":"funcall_subr","symbolLocation":264,"imageIndex":3},{= "imageOffset":1284120,"symbol":"Ffuncall","symbolLocation":752,"imageIndex"= :3},{"imageOffset":1284120,"symbol":"Ffuncall","symbolLocation":752,"imageI= ndex":3},{"imageOffset":1551340,"symbol":"exec_byte_code","symbolLocation":= 1952,"imageIndex":3},{"imageOffset":1283984,"symbol":"Ffuncall","symbolLoca= tion":616,"imageIndex":3},{"imageOffset":1268824,"symbol":"call2","symbolLo= cation":48,"imageIndex":3},{"imageOffset":1286724,"symbol":"funcall_subr","= symbolLocation":264,"imageIndex":3},{"imageOffset":1284120,"symbol":"Ffunca= ll","symbolLocation":752,"imageIndex":3},{"imageOffset":1551340,"symbol":"e= xec_byte_code","symbolLocation":1952,"imageIndex":3},{"imageOffset":1283984= ,"symbol":"Ffuncall","symbolLocation":616,"imageIndex":3},{"imageOffset":15= 51340,"symbol":"exec_byte_code","symbolLocation":1952,"imageIndex":3},{"ima= geOffset":1283984,"symbol":"Ffuncall","symbolLocation":616,"imageIndex":3},= {"imageOffset":1551340,"symbol":"exec_byte_code","symbolLocation":1952,"ima= geIndex":3},{"imageOffset":1283984,"symbol":"Ffuncall","symbolLocation":616= ,"imageIndex":3},{"imageOffset":1551340,"symbol":"exec_byte_code","symbolLo= cation":1952,"imageIndex":3},{"imageOffset":1283984,"symbol":"Ffuncall","sy= mbolLocation":616,"imageIndex":3},{"imageOffset":1551340,"symbol":"exec_byt= e_code","symbolLocation":1952,"imageIndex":3},{"imageOffset":1283984,"symbo= l":"Ffuncall","symbolLocation":616,"imageIndex":3},{"imageOffset":1551340,"= symbol":"exec_byte_code","symbolLocation":1952,"imageIndex":3},{"imageOffse= t":1283984,"symbol":"Ffuncall","symbolLocation":616,"imageIndex":3},{"image= Offset":1256400,"symbol":"Ffuncall_interactively","symbolLocation":80,"imag= eIndex":3},{"imageOffset":1284120,"symbol":"Ffuncall","symbolLocation":752,= "imageIndex":3},{"imageOffset":1257156,"symbol":"Fcall_interactively","symb= olLocation":732,"imageIndex":3},{"imageOffset":1286760,"symbol":"funcall_su= br","symbolLocation":300,"imageIndex":3},{"imageOffset":1284120,"symbol":"F= funcall","symbolLocation":752,"imageIndex":3},{"imageOffset":1551340,"symbo= l":"exec_byte_code","symbolLocation":1952,"imageIndex":3},{"imageOffset":12= 83984,"symbol":"Ffuncall","symbolLocation":616,"imageIndex":3},{"imageOffse= t":1285820,"symbol":"call1","symbolLocation":44,"imageIndex":3},{"imageOffs= et":760644,"symbol":"command_loop_1","symbolLocation":1640,"imageIndex":3},= {"imageOffset":1276240,"symbol":"internal_condition_case","symbolLocation":= 264,"imageIndex":3},{"imageOffset":758984,"symbol":"command_loop_2","symbol= Location":52,"imageIndex":3},{"imageOffset":1273636,"symbol":"internal_catc= h","symbolLocation":264,"imageIndex":3},{"imageOffset":2005644,"symbol":"re= cursive_edit_1.cold.1","symbolLocation":80,"imageIndex":3},{"imageOffset":7= 56984,"symbol":"recursive_edit_1","symbolLocation":268,"imageIndex":3},{"im= ageOffset":757408,"symbol":"Frecursive_edit","symbolLocation":388,"imageInd= ex":3},{"imageOffset":754316,"symbol":"main","symbolLocation":9036,"imageIn= dex":3},{"imageOffset":20620,"symbol":"start","symbolLocation":520,"imageIn= dex":5}]},{"id":4214138,"frames":[{"imageOffset":8312,"symbol":"start_wqthr= ead","symbolLocation":0,"imageIndex":1}]},{"id":4214157,"frames":[{"imageOf= fset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{= "id":4214159,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbo= lLocation":0,"imageIndex":1}]},{"id":4214166,"frames":[{"imageOffset":50584= ,"symbol":"__select","symbolLocation":8,"imageIndex":0},{"imageOffset":1807= 612,"symbol":"-[EmacsApp fd_handler:]","symbolLocation":244,"imageIndex":3}= ,{"imageOffset":378428,"symbol":"__NSThread__start__","symbolLocation":808,= "imageIndex":6},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocat= ion":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbo= lLocation":8,"imageIndex":1}]},{"id":4214188,"name":"com.apple.NSEventThrea= d","frames":[{"imageOffset":6320,"symbol":"mach_msg_trap","symbolLocation":= 8,"imageIndex":0},{"imageOffset":7456,"symbol":"mach_msg","symbolLocation":= 76,"imageIndex":0},{"imageOffset":545456,"symbol":"__CFRunLoopServiceMachPo= rt","symbolLocation":372,"imageIndex":7},{"imageOffset":538464,"symbol":"__= CFRunLoopRun","symbolLocation":1180,"imageIndex":7},{"imageOffset":535332,"= symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":7},{"image= Offset":1762164,"symbol":"_NSEventThread","symbolLocation":196,"imageIndex"= :8},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"im= ageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8= ,"imageIndex":1}]}], "usedImages" : [ { "source" : "P", "arch" : "arm64e", "base" : 6975721472, "size" : 229376, "uuid" : "03f48dc5-caa7-3678-af61-1a3c7fa8b06e", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6975950848, "size" : 53248, "uuid" : "42166a2c-89a9-3c38-a215-f028544cea23", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6974668800, "size" : 532480, "uuid" : "86746b94-88e3-342d-b2b2-54303404e492", "path" : "\/usr\/lib\/system\/libsystem_c.dylib", "name" : "libsystem_c.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4335730688, "size" : 2277376, "uuid" : "70bcc1e9-bc20-3e28-a912-c26c3baf0e68", "path" : "\/Applications\/Emacs.app\/Contents\/MacOS\/Emacs-arm64-11", "name" : "Emacs-arm64-11" }, { "source" : "P", "arch" : "arm64e", "base" : 6976057344, "size" : 32768, "uuid" : "d7aba99f-ba00-36e9-945d-48acf57fc568", "path" : "\/usr\/lib\/system\/libsystem_platform.dylib", "name" : "libsystem_platform.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 4345102336, "size" : 393216, "uuid" : "d9c2a46e-8dc4-3950-9d6a-f799e8ccb683", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "source" : "P", "arch" : "arm64e", "base" : 6992015360, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.Foundation", "size" : 4136960, "uuid" : "a2e534d9-cdf0-397f-a41e-147559c83893", "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions= \/C\/Foundation", "name" : "Foundation", "CFBundleVersion" : "1863" }, { "source" : "P", "arch" : "arm64e", "base" : 6976274432, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.CoreFoundation", "size" : 5533696, "uuid" : "994db908-11a1-3e43-b7df-25c09d51368a", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Vers= ions\/A\/CoreFoundation", "name" : "CoreFoundation", "CFBundleVersion" : "1863" }, { "source" : "P", "arch" : "arm64e", "base" : 7022051328, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.AppKit", "size" : 15433728, "uuid" : "a773dd23-b1c8-3c9b-9175-9a71d210ace0", "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\= /AppKit", "name" : "AppKit", "CFBundleVersion" : "2113.50.132" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" } ], "sharedCache" : { "base" : 6972653568, "size" : 3136077824, "uuid" : "513553bb-5ca5-3b9e-a613-b0603ffe3038" }, "vmSummary" : "ReadOnly portion of Libraries: Total=3D844.2M resident=3D0= K(0%) swapped_out_or_unallocated=3D844.2M(100%)\nWritable regions: Total=3D= 1.4G written=3D0K(0%) resident=3D0K(0%) swapped_out=3D0K(0%) unallocated=3D= 1.4G(100%)\n\n VIRTUAL REGION \nREGION TYP= E SIZE COUNT (non-coalesced) \n=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D= =3D=3D \nAccelerate framework 384K 3 \nActivity Tracin= g 256K 1 \nCG backing stores 4288K= 8 \nCG image 384K 6 \nColorSync = 512K 25 \nCoreAnimation 4= 16K 18 \nCoreGraphics 32K 2 \nCoreImage= 48K 2 \nCoreServices = 80K 1 \nCoreUI image data 1088K 7 \nFounda= tion 16K 1 \nKernel Alloc Once = 32K 1 \nMALLOC 265.3M 48 \nMAL= LOC guard page 192K 10 \nMALLOC_MEDIUM (reserved) = 720.0M 6 reserved VM address space (unallocated)\nMALL= OC_NANO (reserved) 384.0M 1 reserved VM address sp= ace (unallocated)\nSTACK GUARD 54.5M 6 \nStack= 12.2M 7 \nVM_ALLOCATE = 288K 18 \n__AUTH 1933K 191 \n__= AUTH_CONST 11.4M 355 \n__CTF = 756 1 \n__DATA 12.8M 349 \= n__DATA_CONST 12.2M 367 \n__DATA_DIRTY = 874K 121 \n__FONT_DATA 4K = 1 \n__LINKEDIT 579.6M 13 \n__OBJC_CONST = 1816K 163 \n__OBJC_RO 83.0M = 1 \n__OBJC_RW 3152K 1 \n__TEXT = 264.6M 381 \n__UNICODE 592K = 1 \ndyld private memory 1024K 1 \nmapped file = 168.4M 29 \nshared memory 880= K 15 \n=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D= =3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D \nTOTAL = 2.5G 2161 \nTOTAL, minus reserved VM space 1.4G 2161 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "607844aa04477260f58a8077", "factorPackIds" : { "SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a" }, "deploymentId" : 240000066 }, { "rolloutId" : "61301e3a61217b3110231469", "factorPackIds" : { "SIRI_FIND_MY_CONFIGURATION_FILES" : "6216ae152a40e71046e16225" }, "deploymentId" : 240000016 } ], "experiments" : [ ] } } Model: MacBookPro18,3, BootROM 7459.121.3, proc 10:8:2 processors, 16 GB, S= MC=20 Graphics: Apple M1 Pro, Apple M1 Pro, Built-In Display: Color LCD, 3024 x 1964 Retina, Main, MirrorOff, Online Display: DELL P2417H, 1920 x 1080 (1080p FHD - Full High Definition), Mirro= rOff, Online Memory Module: LPDDR5 AirPort: Wi-Fi, wl0: Apr 6 2022 05:55:54 version 20.90.45.0.8.7.118 FWID 0= 1-e7138ff2 Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: USB31Bus USB Device: USB31Bus USB Device: USB 10/100/1000 LAN USB Device: USB2.0 Hub USB Device: USB Receiver Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc. In GNU Emacs 28.1 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00 V= ersion 12.0.1 (Build 21A559)) of 2022-05-11 built on armbob.lan Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.4 Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: ACL GMP GNUTLS JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER THREADS TOOLKIT_SCROLL_BARS ZLIB Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: mu4e:view Minor modes in effect: vertico-reverse-mode: t vertico-mode: t windmove-mode: t pdf-occur-global-minor-mode: t global-git-commit-mode: t magit-auto-revert-mode: t global-edit-server-edit-mode: t csv-field-index-mode: t recentf-mode: t shell-dirtrack-mode: t TeX-PDF-mode: t mu4e-search-minor-mode: t mu4e-context-minor-mode: t straight-use-package-mode: t straight-package-neutering-mode: t display-time-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: /Users/stephen/.emacs.d/straight/build/ivy/elpa hides /Users/stephen/.emacs= .d/straight/build/lispy/elpa /Users/stephen/.emacs.d/straight/build/loccur/loccur hides ~/langs/emacs/el= isp-ds/loccur /Users/stephen/.emacs.d/straight/build/csv-mode/csv-mode hides ~/langs/emac= s/elisp-ds/csv-mode ~/langs/emacs/elisp-ds/emaxima/maxima hides ~/langs/emacs/maxima ~/langs/emacs/elisp-ds/emaxima/maxima-font-lock hides ~/langs/emacs/maxima-= font-lock /Users/stephen/.emacs.d/straight/build/transient/transient hides /Applicati= ons/Emacs.app/Contents/Resources/lisp/transient ~/langs/emacs/mspools hides /Applications/Emacs.app/Contents/Resources/lisp= /mail/mspools /Users/stephen/.emacs.d/straight/build/let-alist/let-alist hides /Applicati= ons/Emacs.app/Contents/Resources/lisp/emacs-lisp/let-alist Features: (shadow emacsbug org-duration cal-iso dabbrev tabify notdeft-org notdeft notdeft-xapian pdf-sync pdf-annot facemenu pdf-outline pdf-links pdf-history qp gnus-cite smiley shr-color mm-archive ox-org ess-sp6-d flymake-shellcheck ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe ol-docview ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs mail-extr so-long view emms emms-compat emms-autoloads org-modern org-modern-autoloads json-mode json-snatcher js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine json-mode-autoloads json-snatcher-autoloads sudo-edit sudo-edit-autoloads deadgrep spinner deadgrep-autoloads spinner-autoloads yasnippet yasnippet-autoloads flymake-shellcheck-autoloads wolfram-mode-autoloads orderless orderless-autoloads vertico-reverse consult-vertico vertico vertico-autoloads consult compat-28 consult-autoloads rg vc rg-info-hack rg-menu rg-ibuffer rg-result wgrep-rg wgrep rg-history rg-header grep rg-autoloads wgrep-autoloads loccur loccur-autoloads fd-dired-autoloads notdeft-global notdeft-org9 notdeft-autoloads hydra lv lispy-autoloads zoutline-autoloads hydra-autoloads lv-autoloads swiper-autoloads ivy-autoloads iedit-autoloads ace-window-autoloads avy-autoloads gif-screencast xdg gif-screencast-autoloads keycast keycast-autoloads olivetti olivetti-autoloads wwg writer-word-goals-autoloads windswap windmove windswap-autoloads list-unicode-display list-unicode-display-autoloads shackle trace shackle-autoloads lua-mode lua-mode-autoloads hugo-autoloads org-recoll doc-view yesterbox-autoloads package-lint finder package-lint-autoloads docker-tramp-autoloads docker-tramp tramp-cache dockerfile-mode sh-script smie executable dockerfile-mode-autoloads yaml-mode yaml-mode-autoloads vterm-toggle tramp-sh vterm-toggle-autoloads vterm face-remap term disp-table ehelp vterm-module term/xterm xterm vterm-autoloads keychain-environment keychain-environment-autoloads zygospore zygospore-autoloads modus-operandi-theme modus-themes modus-themes-autoloads solarized-theme solarized solarized-faces solarized-theme-autoloads pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw cedet pdf-isearch let-alist pdf-misc pdf-tools cus-edit cus-start cus-load pdf-view jka-compr pdf-cache pdf-info tq pdf-util pdf-macs image-mode exif pdf-tools-autoloads let-alist-autoloads tablist-autoloads magit-bookmark magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit package url-handlers magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff git-commit log-edit pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor magit-mode transient magit-git magit-base magit-section dash compat-27 compat-26 compat magit-autoloads magit-section-autoloads git-commit-autoloads with-editor-autoloads transient-autoloads dash-autoloads compat-autoloads s edit-server edit-server-autoloads poly-R poly-noweb poly-R-autoloads poly-noweb-autoloads ess-knitr org-mu4e midnight mu4e-icalendar gnus-icalendar org-capture icalendar diary-lib diary-loaddefs csv-mode sort csv-mode-autoloads finder-inf ob-latex ob-ditaa ob-dot ob-shell ob-R recentf tree-widget ox-beamer ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda org-refile ox-html table ox-ascii ox-publish ox org-element avl-tree generator server cc-vars cc-defs quarto-mode ess-r-mode ess-r-flymake flymake-proc flymake warnings ess-r-xref xref ess-trns ess-r-package ess-r-completion ess-roxy ess-r-syntax ess-rd hideshow ess-s-lang ess-help ess-mode ess-inf ess-tracebug compile tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat ls-lisp request autorevert filenotify mode-local shell poly-markdown markdown-mode polymode poly-lock polymode-base polymode-weave polymode-export polymode-compat polymode-methods polymode-core polymode-classes eieio-custom eieio-base color quarto-mode-autoloads request-autoloads poly-markdown-autoloads markdown-mode-autoloads polymode-autoloads ess lisp-mnt ess-utils ess-custom project ess-autoloads julia-repl-autoloads s-autoloads julia-mode julia-mode-latexsubs julia-mode-autoloads fm emacs-keys move ffap my-tex tex crm texmathp auctex-autoloads tex-site my-elisp time-stamp my-c tempo-examples tempo others-elisp mu4e mu4e-org mu4e-view thingatpt gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus nnheader wid-edit org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex iso8601 ol rx org-keys oc org-compat advice org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs mu4e-main mu4e-headers mu4e-compose mu4e-draft mu4e-actions smtpmail sendmail mu4e-search mu4e-lists mu4e-bookmarks mu4e-mark mu4e-message shr kinsoku svg xml dom browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars flow-fill mailcap hl-line mu4e-contacts mu4e-update mu4e-folders mu4e-server mu4e-context mu4e-vars mu4e-helpers mu4e-config bookmark pp ido message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs password-cache json map text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcase use-package-core use-package-autoloads bind-key-autoloads straight-autoloads info cl-seq cl-extra help-mode straight subr-x cl-macs outlines edmacro kmacro noutline outline time vc-git diff-mode easy-mmode vc-dispatcher seq byte-opt gv bytecomp byte-compile cconv misearch multi-isearch cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 856196 208075) (symbols 48 76838 5) (strings 32 239142 30744) (string-bytes 1 8299006) (vectors 16 107352) (vector-slots 8 2209870 143303) (floats 8 1046 961) (intervals 56 13166 13380) (buffers 992 136)) From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 07 16:37:11 2022 Received: (at 56443) by debbugs.gnu.org; 7 Jul 2022 20:37:11 +0000 Received: from localhost ([127.0.0.1]:58111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9YFL-00029y-9u for submit@debbugs.gnu.org; Thu, 07 Jul 2022 16:37:11 -0400 Received: from sonic306-20.consmr.mail.ir2.yahoo.com ([77.238.176.206]:36303) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9YFF-00029O-R8 for 56443@debbugs.gnu.org; Thu, 07 Jul 2022 16:37:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1657226219; bh=C/0YgYwzISI1qhpqwbVVS0+igxcaMKiL4cPipmb3IXI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=svKyt8q34sfjfExWpdaMh1tfn9q2EkAM0DYM9AK4/+DxNcfMTG8btes7egRfRPl+VDupuaHFKVeCHzGB4CZDIba5D+s6Z2X5yZ22BLAA7Pxt05akEGIOpBS8I/FO4WAPluVxSWbY0/ugFHR1QhvbYd7Fxqs7VLfZ5JSSah5AMgQo5cX0zUfiMcw8V61HPVU+21MZU72ZXarxcnZTuz1uJaX2hGbKeJ2yg33m3H1fD+PfygfMljNdSPtuN23mwvx4AihCnyW+8zogCqtlVVs9xCCfvl57krawPSBYzm4NlCE9y/4oWrcIYF5knxf3ZR5orAki2me1WvDRjiV+Xlh7Qg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657226219; bh=Uyj/8Ki7BdlMFLgcuiYDu4qOMBM0e76w6UU7dTiAOuX=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Q0gxvznm5sM4+Upl0JgHmVhtUjdrSivAJcFVLCitDNaWh9rAWAYcfXjSYgIPp1R5zXbzU7F5FqVa86Y5sKf0ni4n/d//pKCnV6dr3/Oh8RRvnZ+2e11qiETF3I+nUw/o32ZEQSsLZ1e75hNsxB+Pk+E+/c7UyhuIziQLokCnktz4ggJYTHtrlCrefk+2wM69UUy7gnfoeheTExTnGBMA8NSiged9jICBsgLI+26SHhGVypBRyFd5Y9EKKsXkA8kj0J5ESjc8tS+cWcJLipPP2ngTtA+bWYTPpG6/DUyB7UsztuIRJ1EZhEHTJ9d4rkcJHh8t5OM4z0fQh6fBcDwjYw== X-YMail-OSG: K46tL7YVM1nzPY_TIwTVedSRO3JvCAH_9rdM8ewFW758e4sQgxCIPTDnUDfXLSA 6F.Owkx8UjTH8ydc1jPr.JOMYLGIf.VnBDZI6yoO7JP.mrzCdUDOTCeyRPxULELzSltmOitRG.U. sxYIjzrPs1krj0MQjbPb9YzBIndxJAwQpOFEOpOlfIaT0Kbg6MGGBoAr6Dym_ATIXOnlmSNkwZrW eDJxuVfjcJ1HY_t1Z1RFIZKdWD_4ldJaDxkT2.7.LfkOMmiwEGVmYE3tmYrG0NVKa9drTM1vX_OA Zhtoj_IEjiX3oQmTuAzs5DIKyxaD5QXLVOwXAhklT1XhaFtKjXeWp35B9UVPy3taZq9uiLmebRbK iixM4iOIg0XS.6jGK7mwkCmmDsUL2uwoVBWxUmh0sCv8BjKUCYsPP8VBcAXhcUZOyUQASfdbZiy. MyevO3xcH9fyo6XdjxF5xKIvNBp6EVvKGeZk27bNbJXWh8VOebNecj_Pz4ykhQ0kGRGoTbalofGR gewP_jhKk.KkQoi1ArjfKsOP0rbdGNJA85ny.YTODmoGuw38iERWjV7rak1zsOD4qdSe9PNceyoF tcY2rds36b7ImrFiYrwHJoU.X77LgBxvo1i59SQteWe.jx87ABC4oXdaTAQVmztCpx_kY0AouBK9 y2ZiQ4IWhFKqJX846KqDvjYOEz7yvUKmAG4qTGNmSBrwug5hLaLC3gLXT_yaynUVfIjawK2vVmgT teYHkXgqqdOBX.1eJI9lDYRSQiTwHjmCEbsCvC94uPWpnunYEVfIl32d8W8c7Et5XDIeuIjY7AtD HM1hPy7HR_zlRJgsJBp.qHpQfa34ianPrLN25709WDeBAY3e8wiQ0x.0UFhwOP_lRYI4CdNtEB3K dy2fxPRoz3HqnDWeApNLrQFzaTIMvQF.0RXb1NbSjOO8SXqFGEaXfJgGnWO7b2PIYopI7wqd_9.f qtGw9FeW7b1e57P1VJzcB5CgJwx6_9Gc1H37hABcl_nvN1cjwGQYP4w6iP2EdPV8PiN7K_5s1LWQ wjXE3WpQ1h45JlxLVPOaKNIfyESXz.cof5Icl_tNa2TiKaUQLfOYYlxhM65Cr.sDT8Tf_qnR5gI4 OrrOhuBXo82_ni56SVVGzsSsT_W7ehReXxPHVwE6UUOH4QT7ApSWjBOB9WOGFDX1vCFlcbt__Ck. sxR43hHpPMOL8LdBL.eK1wFFd02ph.EgI95NRwi1hh4.n3qPLsm7zt0Hr1QQbdr2gvc06rzwkUGM yr8ualSmv8hs2nzYUzGLMp9V.KUU4t8V.aCr4Hokx4rO_uaHohgx6MPPlE3nl1bU4GVLeB1NINtu CIrmsOYGodibtyF_Yesn7yFO4XQE9DRPCE_mIjqGeNw8FlDGWbQCjGFz6kgjcUQB6vzHNMxZ54j0 bT0V.m1jV_mNV0d4WlEfJYwTmFMzEqbK4M77YLovDWLZU432F0aflNGepg2VmAhHRhx_JD0hgYU0 BX9fpNbHhUKqnv4t0LVaS_jh4NMh69Ao2ZtsfgM6aKBq6DBm_UJTOx1l3.I_kJd7Fqn35LziIEse G7hDkLk62a1.bHD.pnHi8pEfggiihHq2om9tt2IDDtqehVJcntyYDcrp.e2fRUchyFCe710aATXV n.YDzfEjMQep4fztRj5oMDLkzylZgipVKILMQYwo1NSS5iqf3DtFac9WPd9Z59a3WqgWvB55PAQp 69gdcuheGpxhFIt5T00RFIGPVLCKCL8VethTln1xOCRTPMEP7xPgDeBCsGyk6RlwekOrRSeBIVVe 6GIgV3s8ltVwT1uDQui36VvwYKRpTXVA6f_cOhkxi5NxzqtiZ.7sxE_yFddDFidYEaHvmwQs3b8y une2SvPnn4k4wUuKOLWIxhMt0XXCethSvIDCx08znwMMYi084fvf.R7WSqBU2IfCKgxeMCklFi.p MI.oQe4YxxzVKy12YT6Z3kngNfqnyDR5pV7fMeQqh.EoZBS0o7JF4wmTBZxOg5qspVoCx9yaYV1z ZmkvLQQzYzFD7KK1azAECjGj_HXq0fNLMBSTOuDyru4VjuphPwXpx7w4ku1fnro5md_vtE3HnDjc 8_3edS4iKB51vC59u1ebjb6buaOnsKvGVwxfvkP.awWUGbnXtD5V95vRbfgk2XFD79LqoHzEv6EE DztuoJtOaVhoe9WQ5z0jdGAlc4H69.dw18eo7O8Xr1qZyiWSVAZXVx8Sx4mAAqf3rsbAIjc9vnIc oNc6c12bqQFRvQ53sJvqnJg4UODlgmHQB43izIiqXI9bHNuK2Igadv2w- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ir2.yahoo.com with HTTP; Thu, 7 Jul 2022 20:36:59 +0000 Received: by hermes--canary-production-ir2-74b4d6d794-wvl67 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4db3815260795ad0ef7b9ed34d8d4b40; Thu, 07 Jul 2022 20:36:54 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= To: Stephen Eglen Subject: Re: bug#56443: 28.1; Mac segmentation fault with ffap References: Date: Thu, 07 Jul 2022 22:36:53 +0200 In-Reply-To: (Stephen Eglen's message of "Thu, 07 Jul 2022 18:18:23 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20381 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1171 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 56443 Cc: 56443@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Stephen Eglen writes: > Can anyone replicate the following on Mac M1? I'm using the 'emacs' > cask from homebrew, and I get the crash both with GUI and terminal > version of Emacs. This seems to be mac-specific; I do not see the > problem on linux. > Yes, I can reproduce the crash. Attaching a debugger I see that the filename passed through file-name-case-insensitive-p is NULL: * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x4) * frame #0: 0x0000000100d61c2c emacs`STRING_MULTIBYTE(str=0x0000000000000000) at lisp.h:1613:34 frame #1: 0x0000000100d64f68 emacs`encode_file_name_1(fname=0x0000000000000000) at coding.c:10397:8 frame #2: 0x0000000100d64f28 emacs`encode_file_name(fname=0x0000000000000000) at coding.c:10419:25 frame #3: 0x0000000100e2e098 emacs`file_name_case_insensitive_err(file=0x0000000000000000) at fileio.c:2555:28 frame #4: 0x0000000100e2dfcc emacs`Ffile_name_case_insensitive_p(filename=0x0000000000000000) at fileio.c:2600:17 frame #5: 0x0000000100ec47ac emacs`funcall_subr(subr=0x0000000101083bb8, numargs=1, args=0x0000000138058580) at eval.c:2996:15 From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 08 01:40:05 2022 Received: (at 56443) by debbugs.gnu.org; 8 Jul 2022 05:40:05 +0000 Received: from localhost ([127.0.0.1]:58528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9gij-0000sH-G9 for submit@debbugs.gnu.org; Fri, 08 Jul 2022 01:40:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9gif-0000rd-OS for 56443@debbugs.gnu.org; Fri, 08 Jul 2022 01:40:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38052) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9giZ-0003KC-AC; Fri, 08 Jul 2022 01:39:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=XeJRAWULOdOMi5/7VyMMjlo2Z7YQz7s+AjX/MMcQ1wU=; b=WBmneb/v+b3c3BVBnxtz 6iPNqSXCgP6kLKGixxCSzHm970z4jYYPamFWTi99JVHoY5nCrydgw3k1yjGf/wtWHVRv+DdWE05CB ygTh7CsOSKssGxuC1FHEYGULUpElAtIv1fD1Aj6P+gevKDgTil4TMiftD/ul3DIH2jUgar62Bqtsl HSUJIONnsip2+fvWg6g+bHNQNkNzXoeca7BMq2ZAMslfcs7sXaVsHIXr356pI/kLNegHiLbK1Mik9 K6UWP5G1jfpIXtCVpVy6lUSRkJetmKE2KMGE6p4RctJm6lpjoL2aIHfNz8spGIs451KiJIwpNMIej j25SlAp4BRJXsA==; Received: from [87.69.77.57] (port=3863 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9giW-00039C-B0; Fri, 08 Jul 2022 01:39:54 -0400 Date: Fri, 08 Jul 2022 08:39:49 +0300 Message-Id: <83sfnc40yi.fsf@gnu.org> From: Eli Zaretskii To: Daniel =?utf-8?Q?Mart=C3=ADn?= In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#56443: 28.1; Mac segmentation fault with ffap References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56443 Cc: 56443@debbugs.gnu.org, sje30@cam.ac.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 56443@debbugs.gnu.org > Date: Thu, 07 Jul 2022 22:36:53 +0200 > From: Daniel Martín via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Stephen Eglen writes: > > > Can anyone replicate the following on Mac M1? I'm using the 'emacs' > > cask from homebrew, and I get the crash both with GUI and terminal > > version of Emacs. This seems to be mac-specific; I do not see the > > problem on linux. > > > > Yes, I can reproduce the crash. Attaching a debugger I see that the > filename passed through file-name-case-insensitive-p is NULL: > > * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x4) > * frame #0: 0x0000000100d61c2c emacs`STRING_MULTIBYTE(str=0x0000000000000000) at lisp.h:1613:34 > frame #1: 0x0000000100d64f68 emacs`encode_file_name_1(fname=0x0000000000000000) at coding.c:10397:8 > frame #2: 0x0000000100d64f28 emacs`encode_file_name(fname=0x0000000000000000) at coding.c:10419:25 > frame #3: 0x0000000100e2e098 emacs`file_name_case_insensitive_err(file=0x0000000000000000) at fileio.c:2555:28 > frame #4: 0x0000000100e2dfcc emacs`Ffile_name_case_insensitive_p(filename=0x0000000000000000) at fileio.c:2600:17 > frame #5: 0x0000000100ec47ac emacs`funcall_subr(subr=0x0000000101083bb8, numargs=1, args=0x0000000138058580) at eval.c:2996:15 That's not NULL, that's nil (which is represented as zero). But I don't understand how could that happen, because Ffile_name_case_insensitive_p checks the argument for validity: DEFUN ("file-name-case-insensitive-p", Ffile_name_case_insensitive_p, Sfile_name_case_insensitive_p, 1, 1, 0, doc: /* Return t if file FILENAME is on a case-insensitive filesystem. Return nil if FILENAME does not exist or is not on a case-insensitive filesystem, or if there was trouble determining whether the filesystem is case-insensitive. */) (Lisp_Object filename) { Lisp_Object handler; CHECK_STRING (filename); <<<<<<<<<<<<<<<<<<<<<<<<<<<< filename = Fexpand_file_name (filename, Qnil); So it seems like expand-file-name returned nil in this case? Can someone step through the code, including stepping into Fexpand_file_name, and see how we get that nil in this case? (I tried to reproduce on my system, which is not a Mac, but I don't see any nil filenames in that case.) From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 08 05:36:15 2022 Received: (at 56443) by debbugs.gnu.org; 8 Jul 2022 09:36:15 +0000 Received: from localhost ([127.0.0.1]:58859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9kPH-00054L-7E for submit@debbugs.gnu.org; Fri, 08 Jul 2022 05:36:15 -0400 Received: from mail1466c50.megamailservers.eu ([91.136.14.66]:56378 helo=mail268c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9kPB-00053l-Cj for 56443@debbugs.gnu.org; Fri, 08 Jul 2022 05:36:13 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1657272931; bh=RwOGZpEZJHUbhSq7JI1flSbmb9PJLck+CaiAYirXRVU=; h=From:Subject:Date:Cc:To:From; b=OXItxH9D3I+ifB5yupm6fuxAfQc/NaG/qxVTYU6JY4MBvteShpH78Ngrkm9qcUpkp dMOGt5Zeibfwp48lf1yV6thG1Z5d8P0SlRP9pBlZjc04L6VYLbavVlJ2QvJE5bRFdP kn3UhG6TwdWO3mGJ5y4owpI0OgrkZJnl+jzkSseM= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-171-71.bredband.tele2.se [188.150.171.71]) (authenticated bits=0) by mail268c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 2689ZS79110061; Fri, 8 Jul 2022 09:35:30 +0000 From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: bug#56443: 28.1; Mac segmentation fault with ffap Message-Id: <88C4B928-44C2-4FE1-80D7-0F453679552C@acm.org> Date: Fri, 8 Jul 2022 11:35:27 +0200 To: Eli Zaretskii X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A782F17.62C7FA63.0012, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Origin-Country: SE X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The call to file_name_directory returns nil (the argument being "mailto:sje30@cam.ac.uk"). What about: @@ -2603, 7 +2603, 7 @@ DEFUN ("file-name-case-insensitive-p", Ffile_name_case_insensitive_p, Lisp_Object parent = file_name_directory (filename); /* Avoid infinite loop if the root has trouble (impossi [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 T_SCC_BODY_TEXT_LINE No description available. 0.3 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Debbugs-Envelope-To: 56443 Cc: sje30@cam.ac.uk, 56443@debbugs.gnu.org, =?utf-8?Q?Daniel_Mart=C3=ADn?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) The call to file_name_directory returns nil (the argument being = "mailto:sje30@cam.ac.uk"). What about: @@ -2603,7 +2603,7 @@ DEFUN ("file-name-case-insensitive-p", = Ffile_name_case_insensitive_p, Lisp_Object parent =3D file_name_directory (filename); /* Avoid infinite loop if the root has trouble (impossible?). */ - if (!NILP (Fstring_equal (parent, filename))) + if (!STRINGP (parent) || !NILP (Fstring_equal (parent, = filename))) return Qnil; filename =3D parent; } From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 08 05:54:17 2022 Received: (at 56443) by debbugs.gnu.org; 8 Jul 2022 09:54:17 +0000 Received: from localhost ([127.0.0.1]:58877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9kgi-0005vQ-JB for submit@debbugs.gnu.org; Fri, 08 Jul 2022 05:54:16 -0400 Received: from sonic312-25.consmr.mail.ir2.yahoo.com ([77.238.178.96]:45153) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9kge-0005v4-OM for 56443@debbugs.gnu.org; Fri, 08 Jul 2022 05:54:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1657274047; bh=/t3L7+RyCDmVXBLK+lRuZMXriPMKRe+Q0SeBJ6dagh0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=pYnnK7DxGmS8QKSDHRZlmr9b32EB+/7BMiQnfqJUUXyopQhRYvsRWfuSWw31CXI3QzN8WBag9sU9kddb+Nfdo6A8qaPE6RpZYmbm5wzhdaWwvk8bt6Ovnsjf5ICU73mIpWunngsURRMAxqtB+TpbInh2218LNBBn5+FSY8D4FcqQR47EY0+5n9amCRJgkVHjtMXpRAmPmxZMAKdpyiX53Nf3il7bDk4zQc9WVWjBtHJBfDRFBe7wMb3liFPRhVQJrXML8WJEedBhow68rfeJXWgrbYn9tNiNOOtSVZ+TwKu4Z8INv0MblWrWce3S60k/e0ukgE153snDG+vVZNQQIA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657274047; bh=TihGErjD0f4r1oD9YCpay8AXb1jNSG5Gf0VXL0vCbQ1=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=QQGdYZRGK/InCQuekRyjliNH77Pf3/+srkWdp6wVqZpXCFhWFsub8AK3OetGsnEAIxJcyBAcVZ1JOUYf5uwp/nG8Or+S4LZI/ttcC8v4gdE2flAZ8ey6JAhjkFknUpLCu83cjL5Xi5lJtvGDYx6gR/KrLpoiZnfs8r1pJXmkVGpk0WwYtKH7Vox8Jb2nTzwkmQ8b5rOFlKcRvGUPPZNVFPl5FevJmDDF4L6qm2Gf5pPfLD7jDVre7gjFXC8MypFFXX5FULkkf9Sr5wK1kFum3Ydk3DJblWyC5EcAUpHM0yqy9Nx9udTrz4F1es6IjJo6q2qSBZwPsRlQFy1IzPSbsg== X-YMail-OSG: 3wcqsHUVM1k3wME05Bc4.5iGJnTsZ3nOYxCcaoEfKnVOu80ygyoF1adJH08Nhqk pAPHFSql5nlpHAWGXvxEfPgdQacn42y8QVqxVSs72UB.9iC9cZgbPpcG2UaeabIbtDkRfADvozMp MpVQamA8DSXHKDwOCGkG0705bOTkYiOO.nTMXO9wtk8zl3_ZgVGRedBGEXWQFl2AK9w1U6VDvCrZ XRDsmDWqaoaoAi20jZc8vtn6HcCfcGNOmXEFiWnL300A9oYR8bqJioAn0GYfKQYxFgyXIaHKz07g oGgiv7DqhnNJlTa81abHqeQ507.9RiLbC_rWN5JvCbNpart1YSCXCLiDTHEpMekLHitaER.2fIvB KvQCxrS8kKx8Z_Xg18QK9UxkyPVE7XeoXHairgYy4SJPiJz2uzyP8Iu6G.EHxKbEWPkVJPUY1NAm rhgKZ4JEywFn1S.xr0UA7aGuohKB20fZZgZmPZBCYL.0N8gmZVIIzbuDjEn2m4KGvgudmXMW0RXE hexsI3zFgcpimvi.wqZrKBekHDxgUtfhNvqgdOtVFlB8C_R5.OzgJEJfFZy1x1nLpneDVzi_RKEn 2dkAU_wCbg7iV16lnt2V_YM_y7VXcheYYf9QKX8mbeun8KWDk8084AkC44jr3ZcfPJaGQxvJ4dM6 Egm36a7JWEBkE9FKD7zJiVOVvk_P8ORH..PZMQwCv4u33bHxJWo2h.EIxz7I_RtArZ2hi5PorxQh 8YwuM9M0NgeoaXkvuahcS7BXR_Zr8tfASfPVnS7PkQKF1CoUItqx23U9296OKHd5lJhWqzfyLTwg IkFExE64iQbc3G4pDCZM4osUWctBkLJrGrPE2tyQzpE.7uOvu2CVJ4bW7cnfwSlZoO0ZeDyuiGU4 bLeNl9PP7Gn7xIlvy5rARcleVDfSqxWMelR9xCE801d5greIgNLi.gFbUj9TCQFtWogvllsAGrDA midaZ6uvzxYBUxCEOoNudIH2Q7sZkGA0mmwH3_nIexZ76.ryt0FEtsuISxjr9c59XaFC8SW8vrOg mKMsbc_VPw52FYL06jv8TWEi7stxvyZ2BtAE_Iyc9r.5.8okLdDm4KA0hTANySFums1ZFA9c1Nes Mb9nrIb.qx7OJDJeLZj5NWrKHAy3k3Db58iWfOgy8N7NxbTw5gWoaXgb7d3Bk57PDfXVPn4wnPW7 ncAUo7NLWHUlSYKlkUhtnwFpcideJhDlX5F4cvdaCW5aSKba8ZiwiFSEz1kF85XndCe3uvhWZ8Bk VPc7NXKMZwh3la.BqHoDyxvEnc9KwWDXmfmJ8RlsHAIQRWWNjinIUO3.lw.jjYMDyTSvQa2lznUl m.tOJ4w0w1DERd9KAtIOwB7_XsgtoUh24BqPxGcF5LQoJABSrjicwT3ZpkmiPjYhsjD0gWkPTnBH OB3W9FaDo6SpKaK6Dlie8d7kGP8tgvVCvsUQuIJInN3SEeRn7kqPNh7vHUT.7xVx7Mnga9.vSbJP OZBtSa0jCBP5UhauskgvyssX0bg5rYG7p2jGl5vHuiTlmlSgjA80fajchBnqfmNkHeton0g8xCAC __RubAJk_NZoN161D4wSgBOtaTlGHQ1sRyR8pv11ai_pl1vY5SBReCrbo5cYoZS1HegOXXsyw9dX fW9wJLU1OpWKwne1msr05.oanYft0_uw1jzmgD9YX4b58ro2wVnLii9kDN4ReiUD2O7d68iqRITI NmJ88lFm3SmOG5HeN9I5zg9R5xEVzy6kbtDWGwPlLxYajf9DmG7jYjRw.2EVR.YClNkMLtyaQOiJ zTe6TbFqGsHAuRWoUSjyMZDJilcf2KUgaLrN7X75pGEsakb8rs.pdZS4o7qk.sr9GeXeMt6BSO8n IpEXlDWUII.N.ZLUpzgmpQ8tR5WiM78nS6NUYWUSN4._Nroj2bm7HqD9q6D2LcEAvmV_tk_DSbE6 V7ZlvsccfeUh9IWwK66XgyC0Y2ucSAOoBqtANW7nFoL88qxuYb2SrNVy6uKpOK.7Q2yI89.p2mUN hwUZDzv4vx1ngnp02KronNAB1JvBTEwAvIC3uToiNKEOCz3jYRyZ0Z1Yl8zr0dO54_sTRkaALyJc iL7ngAyDd5V2r1Jxcenp267OI6Yj5XRZwEpYpaW555xt9raKVgK_j_6XrEA4r6cjesJziWEfVzcl AKk5ilzIrDwGADQbPVw7gRvojZsoXPCWLgorIibVpELCTxuW7dpYlxHBHPeNwGHMqnUPLGUeJtCF uo05.zsYMc3tj6F1wJ3aWs6AUuQIrE9fApA..FUYYFnOfbtp_.SDUbTA- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ir2.yahoo.com with HTTP; Fri, 8 Jul 2022 09:54:07 +0000 Received: by hermes--canary-production-ir2-74b4d6d794-ddpc4 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9b6a52851b1e2182a9ff20bc67109b99; Fri, 08 Jul 2022 09:54:05 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= To: Eli Zaretskii Subject: Re: bug#56443: 28.1; Mac segmentation fault with ffap References: <83sfnc40yi.fsf@gnu.org> Date: Fri, 08 Jul 2022 11:54:04 +0200 In-Reply-To: <83sfnc40yi.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 08 Jul 2022 08:39:49 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20381 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 2201 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 56443 Cc: 56443@debbugs.gnu.org, sje30@cam.ac.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Eli Zaretskii writes: > > That's not NULL, that's nil (which is represented as zero). > > But I don't understand how could that happen, because > Ffile_name_case_insensitive_p checks the argument for validity: > > DEFUN ("file-name-case-insensitive-p", Ffile_name_case_insensitive_p, > Sfile_name_case_insensitive_p, 1, 1, 0, > doc: /* Return t if file FILENAME is on a case-insensitive filesystem. > Return nil if FILENAME does not exist or is not on a case-insensitive > filesystem, or if there was trouble determining whether the filesystem > is case-insensitive. */) > (Lisp_Object filename) > { > Lisp_Object handler; > > CHECK_STRING (filename); <<<<<<<<<<<<<<<<<<<<<<<<<<<< > filename = Fexpand_file_name (filename, Qnil); > > So it seems like expand-file-name returned nil in this case? > > Can someone step through the code, including stepping into > Fexpand_file_name, and see how we get that nil in this case? > > (I tried to reproduce on my system, which is not a Mac, but I don't > see any nil filenames in that case.) Apparently it comes from the "parent" variable, which is the result of the file_name_directory call: Process 61514 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x000000010064fefc emacs`Ffile_name_case_insensitive_p(filename=0x000000011534dc44) at fileio.c:2608:18 2605 (impossible?). */ 2606 if (!NILP (Fstring_equal (parent, filename))) 2607 return Qnil; -> 2608 filename = parent; 2609 } 2610 } 2611 Target 0: (emacs) stopped. (lldb) fr v parent (Lisp_Object) parent = NULL Is the following expression the correct way to manually interpret the Lisp_Object as a Lisp_String? (where $ptr is the memory address of "filename" in this scenario): (char *) ((struct Lisp_String *)$ptr)->u.s.data That prints an empty string in LLDB. BTW, I don't really understand the semantics of file-name-case-insensitive-p. The docstring says that it returns nil if the file is not found, but these calls return t on my system: (file-name-case-insensitive-p "") (file-name-case-insensitive-p "FileThatDoesNotExist") Does that make sense? From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 08 06:12:42 2022 Received: (at 56443) by debbugs.gnu.org; 8 Jul 2022 10:12:42 +0000 Received: from localhost ([127.0.0.1]:58885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9kyY-0006mh-KE for submit@debbugs.gnu.org; Fri, 08 Jul 2022 06:12:42 -0400 Received: from ppsw-32.srv.uis.cam.ac.uk ([131.111.8.132]:38342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9kyU-0006mN-Dc for 56443@debbugs.gnu.org; Fri, 08 Jul 2022 06:12:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cam.ac.uk; s=20210802.ppsw; h=Content-Type:MIME-Version:Message-ID:In-reply-to:Date: Subject:Cc:To:From:References:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KI87xU+kFCt22J6y3R34CoeH2hpoq0BzhWna9Mz78gM=; b=l9PfFzorYeU6fkUpDuSkmKaSKc 6JX6woKVd1DIUceJQIbeROhxHmcjlsAszyauJgIhvZa2z1jt0Ej0DPjGFuTcyOSJ600kt+q9K9Rak TPCdfsPgHEYC3w+8u6wsppoc69Di1sWfvZ7F1yBY54R8dEpBAT+XMrbDNtjEhHGfT1/A=; X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: https://help.uis.cam.ac.uk/email-scanner-virus Received: from smtp.maths.cam.ac.uk ([131.111.20.158]:53867 helo=evander.maths.cam.ac.uk) by ppsw-32.srv.uis.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.136]:25) with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1o9kyT-000HX5-9l (Exim 4.96) for 56443@debbugs.gnu.org (return-path ); Fri, 08 Jul 2022 11:12:37 +0100 Received: from 33.196.93.209.dyn.plus.net ([209.93.196.33] helo=localhost) by evander.maths.cam.ac.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1o9ks3-005Ekz-Gg; Fri, 08 Jul 2022 11:05:59 +0100 References: <83sfnc40yi.fsf@gnu.org> User-agent: mu4e 1.8.5; emacs 28.1 From: Stephen Eglen To: Daniel =?utf-8?Q?Mart=C3=ADn?= Subject: Re: bug#56443: 28.1; Mac segmentation fault with ffap Date: Fri, 08 Jul 2022 11:02:20 +0100 In-reply-to: Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56443 Cc: Eli Zaretskii , 56443@debbugs.gnu.org, sje30@cam.ac.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Thanks everyone for help debugging this. > BTW, I don't really understand the semantics of > file-name-case-insensitive-p. The docstring says that it returns nil if > the file is not found, but these calls return t on my system: > > (file-name-case-insensitive-p "") > (file-name-case-insensitive-p "FileThatDoesNotExist") I also find that those two expressions return t on my mac, and nil on my linux machine. This seems to be consistent with the doc string: Return t if file FILENAME is on a case-insensitive filesystem. Return nil if FILENAME does not exist or is not on a case-insensitive filesystem, or if there was trouble determining whether the filesystem is case-insensitive. It returns t on mac as it is case-insensitive by default, presumbly irrespective of whether the file exists. One small suggestion for the docstring might be to remove the double negative in the second sentence: "is not on a case-insensitive filesystem" could be "is on a case-sensitive filesystem" ? Stephen From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 08 06:45:57 2022 Received: (at 56443) by debbugs.gnu.org; 8 Jul 2022 10:45:57 +0000 Received: from localhost ([127.0.0.1]:58941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9lUi-0008W6-J3 for submit@debbugs.gnu.org; Fri, 08 Jul 2022 06:45:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9lUf-0008Vg-M6 for 56443@debbugs.gnu.org; Fri, 08 Jul 2022 06:45:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54136) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9lUZ-0007JU-Fx; Fri, 08 Jul 2022 06:45:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=62SfipjgCcWEb0TDyHUANTEgh7CxdKxW8CHAB6YCIdg=; b=iHXWFYDsR8IDTDrS3nPv n6wvKuJLk31S7pS2O0hxg7inrsZBC4oew8Gz3WT/W21J0rR1vS3TvuSPzgE2F/cdT/gTi74pQ9Ggx tdFHluVhknyI5V5IPuQdv4ByRn1D3Vbl8CoNRqhMTBNwc++K3/ZXYynl9iDZZnpg0MvK9bJdpjI+5 RiDxayfKsfslmO3TOEbGefkb9hL05PeuuLVbMfLeFeCYoMINF3G0bAu+frdswpAIFlaL0+U4Ru525 R/iBHmL+/bhbw7MS/mevIwr8D7Hj/DuuhER8FzSyvIWWGtJCbAuR7Dazmh2omScOCHKq1U0Zb2lva 4ikwlutMeQh6AQ==; Received: from [87.69.77.57] (port=2791 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9lUX-0007NW-RB; Fri, 08 Jul 2022 06:45:47 -0400 Date: Fri, 08 Jul 2022 13:45:44 +0300 Message-Id: <83edyv51d3.fsf@gnu.org> From: Eli Zaretskii To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <88C4B928-44C2-4FE1-80D7-0F453679552C@acm.org> (message from Mattias =?utf-8?Q?Engdeg=C3=A5rd?= on Fri, 8 Jul 2022 11:35:27 +0200) Subject: Re: bug#56443: 28.1; Mac segmentation fault with ffap References: <88C4B928-44C2-4FE1-80D7-0F453679552C@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56443 Cc: sje30@cam.ac.uk, 56443@debbugs.gnu.org, mardani29@yahoo.es X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Mattias Engdegård > Date: Fri, 8 Jul 2022 11:35:27 +0200 > Cc: Daniel Martín , 56443@debbugs.gnu.org, > sje30@cam.ac.uk > > The call to file_name_directory returns nil (the argument being "mailto:sje30@cam.ac.uk"). What about: > > @@ -2603,7 +2603,7 @@ DEFUN ("file-name-case-insensitive-p", Ffile_name_case_insensitive_p, > Lisp_Object parent = file_name_directory (filename); > /* Avoid infinite loop if the root has trouble > (impossible?). */ > - if (!NILP (Fstring_equal (parent, filename))) > + if (!STRINGP (parent) || !NILP (Fstring_equal (parent, filename))) > return Qnil; > filename = parent; > } Fine with me, but please update the comment to this effect. But why does the original call to file_name_case_insensitive_err fail in this case with err > 0 on macOS, and what is the value of err? From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 08 06:47:40 2022 Received: (at 56443) by debbugs.gnu.org; 8 Jul 2022 10:47:40 +0000 Received: from localhost ([127.0.0.1]:58955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9lWO-0000B5-BD for submit@debbugs.gnu.org; Fri, 08 Jul 2022 06:47:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9lWN-0000AT-0F for 56443@debbugs.gnu.org; Fri, 08 Jul 2022 06:47:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54288) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9lWH-0007Us-LW; Fri, 08 Jul 2022 06:47:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=lRAmh52ldYSUoOgn4JhrFcErpAOs9s8FWB9HrxJymlI=; b=dFeWnVG9w9mi TY0aNEdYKdxC+IShIlYLEHw8FPx1aFa8sLpT/BSrVCOSu9a1tZhNKtlK1DRp96tIIBU2WH4ad1skj ZDQWkoaPzWcHHKYEljDWh+XJ7h2evm99x1wl2w450J0eT4yPBWVP+WMDJOWDCshNYZ1FcnrcPn0Cd lli7nBO+7y5fg9c72btRTSuK4Dg6XepBVh54ORNPfkyvVbYMyIKfnSlwAGZlre4pTjP/CueaDe5uf omK8AMP/GIhMe1NIPHKx1fl1lIGrM1Rjivg0B+39FeXGuwdyG4FBIqzbwun4vdnhbAomii3wykqzU RzzJQkVR31Y1+rnBcBmh3w==; Received: from [87.69.77.57] (port=2900 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9lWG-0002ss-TM; Fri, 08 Jul 2022 06:47:33 -0400 Date: Fri, 08 Jul 2022 13:47:31 +0300 Message-Id: <83czef51a4.fsf@gnu.org> From: Eli Zaretskii To: Stephen Eglen In-Reply-To: (message from Stephen Eglen on Fri, 08 Jul 2022 11:02:20 +0100) Subject: Re: bug#56443: 28.1; Mac segmentation fault with ffap References: <83sfnc40yi.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56443 Cc: sje30@cam.ac.uk, 56443@debbugs.gnu.org, mardani29@yahoo.es X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stephen Eglen > Cc: Eli Zaretskii , sje30@cam.ac.uk, 56443@debbugs.gnu.org > Date: Fri, 08 Jul 2022 11:02:20 +0100 > > Thanks everyone for help debugging this. > > > BTW, I don't really understand the semantics of > > file-name-case-insensitive-p. The docstring says that it returns nil if > > the file is not found, but these calls return t on my system: > > > > (file-name-case-insensitive-p "") > > (file-name-case-insensitive-p "FileThatDoesNotExist") > > I also find that those two expressions return t on my mac, and nil on my > linux machine. This seems to be consistent with the doc string: > > > Return t if file FILENAME is on a case-insensitive filesystem. Return > nil if FILENAME does not exist or is not on a case-insensitive > filesystem, or if there was trouble determining whether the filesystem > is case-insensitive. > > It returns t on mac as it is case-insensitive by default, presumbly > irrespective of whether the file exists. > > One small suggestion for the docstring might be to remove the double > negative in the second sentence: > > "is not on a case-insensitive filesystem" > > could be > > "is on a case-sensitive filesystem" No, that's not accurate either. What we need to say that if the file doesn't exist, we _might_ return nil, unless it's known in advance that _all_ filesystems are case-insensitive. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 08 09:14:51 2022 Received: (at 56443) by debbugs.gnu.org; 8 Jul 2022 13:14:52 +0000 Received: from localhost ([127.0.0.1]:59096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9nop-0002q2-M1 for submit@debbugs.gnu.org; Fri, 08 Jul 2022 09:14:51 -0400 Received: from mail70c50.megamailservers.eu ([91.136.10.80]:45944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9nok-0002pX-Rt for 56443@debbugs.gnu.org; Fri, 08 Jul 2022 09:14:49 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1657286082; bh=V189Ho8yov9X9Rt+CckSjbAF1fGzX9LfXlr0y9XGKJY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=ePa0KG77P3YFwJ/0mvZrUJtbxcfPcgbHHyqE7M/YwLKxtjtehJA7tD0qz5CS4MDLs 3btPuepFY1R3nSNjs8gHInRGDoX8Czr6wW9FdfgCGVjoCF14m/STQg3Duw+MP/kupF S5zSkkbSUUpqJuLttHsYnBvPqJyCF1U1LV/ki8WY= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-171-71.bredband.tele2.se [188.150.171.71]) (authenticated bits=0) by mail70c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 268DEeKO001681; Fri, 8 Jul 2022 13:14:41 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: bug#56443: 28.1; Mac segmentation fault with ffap From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: <83edyv51d3.fsf@gnu.org> Date: Fri, 8 Jul 2022 15:14:39 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <272B99B5-840D-49C0-9E4D-EC777A58240A@acm.org> References: <88C4B928-44C2-4FE1-80D7-0F453679552C@acm.org> <83edyv51d3.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A782F26.62C82DC2.005A, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 56443 Cc: sje30@cam.ac.uk, 56443@debbugs.gnu.org, mardani29@yahoo.es X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 8 juli 2022 kl. 12.45 skrev Eli Zaretskii : > Fine with me, but please update the comment to this effect. Certainly. > But why does the original call to file_name_case_insensitive_err fail > in this case with err > 0 on macOS, and what is the value of err? It fails because the argument, "mailto:some@mail.address", is not an = existing file and so pathconf(filename, _PC_CASE_SENSITIVE) returns -1 = which means "don't know". (If a file of that name is indeed created then = it returns 0 here because this is a case-insensitive file system.) Perhaps we shouldn't ask about case-sensitivity for such names but then = again those are legal file names to open and Ffile_name_insensitive_p = doesn't know the intentions of the caller, and in any case the error = leads us to try the parent directory which doesn't exist so everything = works out for the best with the patch. Pushed to master, with a test. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 08 12:13:08 2022 Received: (at 56443) by debbugs.gnu.org; 8 Jul 2022 16:13:08 +0000 Received: from localhost ([127.0.0.1]:33072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9qbL-0002JI-Sq for submit@debbugs.gnu.org; Fri, 08 Jul 2022 12:13:08 -0400 Received: from ppsw-42.srv.uis.cam.ac.uk ([131.111.8.142]:34694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9qbG-0002Ip-Ke for 56443@debbugs.gnu.org; Fri, 08 Jul 2022 12:13:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cam.ac.uk; s=20210802.ppsw; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:In-reply-to:Date:Subject:Cc:To:From:References:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=d6UuKuhROWYhwjNjnV87BhI9eGJrRvVedxu8yyKtARE=; b=UcNv4NIwM8iis4WsxM8bfMEhwG IYDcSaOiCiu5Euc36KSdx953u++5FGyVuCnPrfHo5c9cKKfvKEYMILhgXvu9yEB1jMXG8fZUlWWqV K+yJ/UedGVP09SPunt5j+t8Y1YRFsKxOVJqpmYwGpNkL9yRTz2VwjUy9yQFfIIKaKcXg=; X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: https://help.uis.cam.ac.uk/email-scanner-virus Received: from smtp.maths.cam.ac.uk ([131.111.20.158]:49411 helo=pan.maths.cam.ac.uk) by ppsw-42.srv.uis.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.138]:25) with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1o9qbF-000xcR-Dt (Exim 4.96) for 56443@debbugs.gnu.org (return-path ); Fri, 08 Jul 2022 17:13:01 +0100 Received: from 33.196.93.209.dyn.plus.net ([209.93.196.33] helo=localhost) by pan.maths.cam.ac.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1o9qbC-0039oy-Pw; Fri, 08 Jul 2022 17:12:58 +0100 References: <88C4B928-44C2-4FE1-80D7-0F453679552C@acm.org> <83edyv51d3.fsf@gnu.org> <272B99B5-840D-49C0-9E4D-EC777A58240A@acm.org> User-agent: mu4e 1.8.5; emacs 28.1 From: Stephen Eglen To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#56443: 28.1; Mac segmentation fault with ffap Date: Fri, 08 Jul 2022 17:12:21 +0100 In-reply-to: <272B99B5-840D-49C0-9E4D-EC777A58240A@acm.org> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56443 Cc: sje30@cam.ac.uk, Eli Zaretskii , 56443@debbugs.gnu.org, mardani29@yahoo.es X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Thank you Mattias; working from master I can confirm I do not see an error now. Stephen On Fri, Jul 08 2022, Mattias Engdeg=C3=A5rd wrote: > 8 juli 2022 kl. 12.45 skrev Eli Zaretskii : > >> Fine with me, but please update the comment to this effect. > > Certainly. > >> But why does the original call to file_name_case_insensitive_err fail >> in this case with err > 0 on macOS, and what is the value of err? > > It fails because the argument, "mailto:some@mail.address", is not an > existing file and so pathconf(filename, _PC_CASE_SENSITIVE) returns -1 > which means "don't know". (If a file of that name is indeed created > then it returns 0 here because this is a case-insensitive file > system.) > > Perhaps we shouldn't ask about case-sensitivity for such names but > then again those are legal file names to open and > Ffile_name_insensitive_p doesn't know the intentions of the caller, > and in any case the error leads us to try the parent directory which > doesn't exist so everything works out for the best with the patch. > > Pushed to master, with a test. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 08 12:16:08 2022 Received: (at 56443-done) by debbugs.gnu.org; 8 Jul 2022 16:16:08 +0000 Received: from localhost ([127.0.0.1]:33082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9qeF-0002Oa-Si for submit@debbugs.gnu.org; Fri, 08 Jul 2022 12:16:08 -0400 Received: from mail1460c50.megamailservers.eu ([91.136.14.60]:35250 helo=mail267c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9qeB-0002Nt-8l for 56443-done@debbugs.gnu.org; Fri, 08 Jul 2022 12:16:07 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1657296925; bh=rRBV8N/MSzryu1s7MLVvUVkqlV1vd5gYy+Is55QyvHg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=N88KNUkDQqGGJbJzT9WaE5QoZ9gCFWocOc1phYUsoSGYe2O+WfZT3fygfR4MZj9Tq Qvg4QsfN273BwjxeaQSSzvPgpH2LJzKTny8IJr/QedbqN8YL7qZ/xWZsE1BJUpSsQZ 6Wh4exV5Uor4JNOdsHErVsCDkMxZByHl6nYath6g= Feedback-ID: mattiase@acm.or Received: from smtpclient.apple (c188-150-171-71.bredband.tele2.se [188.150.171.71]) (authenticated bits=0) by mail267c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 268GFNB4013055; Fri, 8 Jul 2022 16:15:24 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: bug#56443: 28.1; Mac segmentation fault with ffap From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Fri, 8 Jul 2022 18:15:22 +0200 Content-Transfer-Encoding: 7bit Message-Id: References: <88C4B928-44C2-4FE1-80D7-0F453679552C@acm.org> <83edyv51d3.fsf@gnu.org> <272B99B5-840D-49C0-9E4D-EC777A58240A@acm.org> To: Stephen Eglen X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A782F18.62C8581D.003D, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Origin-Country: SE X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 8 juli 2022 kl. 18.12 skrev Stephen Eglen : > Thank you Mattias; working from master I can confirm I do not see an > error now. Thanks for verifying (and for reporting it in the first place!) -- closing. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 T_SCC_BODY_TEXT_LINE No description available. 0.3 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Debbugs-Envelope-To: 56443-done Cc: 56443-done@debbugs.gnu.org, Eli Zaretskii , =?utf-8?Q?Daniel_Mart=C3=ADn?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 8 juli 2022 kl. 18.12 skrev Stephen Eglen : > Thank you Mattias; working from master I can confirm I do not see an > error now. Thanks for verifying (and for reporting it in the first place!) -- closing. From unknown Tue Aug 19 02:50:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 06 Aug 2022 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator