git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SIGSEGV Error Occurs When Attempting to Unbundle Without Initializing Git Repository.
@ 2024-08-12 10:57 ArcticLampyrid
  2024-08-12 11:47 ` Jeff King
  2024-08-13  9:18 ` [PATCH 0/2] bundle: fix handling of object format Patrick Steinhardt
  0 siblings, 2 replies; 10+ messages in thread
From: ArcticLampyrid @ 2024-08-12 10:57 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 879 bytes --]

#### Steps to Reproduce
I attempted to unbundle a pack but forgot to execute `git init` beforehand.

#### Expected Behavior
An error message should have been displayed, reminding me to run `git init`.

#### Actual Behavior
The process unexpectedly terminated with a SIGSEGV (Address boundary error).

#### Difference Between Expected and Actual Behavior
Instead of gracefully exiting, the process terminated abruptly.

#### System Info
- Git Version: 2.46.0
- CPU: x86_64
- No commit associated with this build
- Size of `long`: 8 bytes
- Size of `size_t`: 8 bytes
- Shell Path: /bin/sh
- libcurl Version: 8.9.0
- OpenSSL Version: 3.3.1 (4 Jun 2024)
- zlib Version: 1.3.1
- uname: Linux 6.10.3-arch1-2 #1 SMP PREEMPT_DYNAMIC Tue, 06 Aug 2024 07:21:19 
+0000 x86_64
- Compiler Info: GNU Compiler Collection (GCC) 14.1
- libc Version: glibc 2.40
- Interactive Shell: /usr/bin/fish

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-08-13 15:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-12 10:57 SIGSEGV Error Occurs When Attempting to Unbundle Without Initializing Git Repository ArcticLampyrid
2024-08-12 11:47 ` Jeff King
2024-08-12 15:55   ` Junio C Hamano
2024-08-12 21:05   ` brian m. carlson
2024-08-13  9:18 ` [PATCH 0/2] bundle: fix handling of object format Patrick Steinhardt
2024-08-13  9:18   ` [PATCH 1/2] builtin/bundle: have unbundle check for repo before opening its bundle Patrick Steinhardt
2024-08-13  9:21     ` Eric Sunshine
2024-08-13  9:18   ` [PATCH 2/2] bundle: default to SHA1 when reading bundle headers Patrick Steinhardt
2024-08-13 11:24     ` Jeff King
2024-08-13 15:11       ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).