[kommit] [Bug 489203] Kommit crashes when opening git repo using SHA256 object format

2024-06-26 Thread Hamed Masafi
https://bugs.kde.org/show_bug.cgi?id=489203

Hamed Masafi  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED

--- Comment #7 from Hamed Masafi  ---
I made a commit, could you please check it?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kommit] [Bug 489203] Kommit crashes when opening git repo using SHA256 object format

2024-06-26 Thread Hamed Masafi
https://bugs.kde.org/show_bug.cgi?id=489203

Hamed Masafi  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

-- 
You are receiving this mail because:
You are watching all bug changes.

[kommit] [Bug 489203] Kommit crashes when opening git repo using SHA256 object format

2024-06-26 Thread Hamed Masafi
https://bugs.kde.org/show_bug.cgi?id=489203

--- Comment #6 from Hamed Masafi  ---
Unfortunately lingit2 doesn't support sha256. I'm working on exception handling
to prevent crash. I'll commit the changes today or tomorrow

-- 
You are receiving this mail because:
You are watching all bug changes.

[kommit] [Bug 489203] Kommit crashes when opening git repo using SHA256 object format

2024-06-26 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=489203

--- Comment #5 from Laurent Montel  ---
ok it doesn't crash but report:
libgit2 error: -21, class: 6, Message: unknown object format 'sha256'

-- 
You are receiving this mail because:
You are watching all bug changes.

[kommit] [Bug 489203] Kommit crashes when opening git repo using SHA256 object format

2024-06-26 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=489203

--- Comment #4 from Laurent Montel  ---
don't crash here.
but you use kommit/1.3.1-1.fc40

we release 1.6.0 this week.
Better to update it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kommit] [Bug 489203] Kommit crashes when opening git repo using SHA256 object format

2024-06-26 Thread Daniel Opitz
https://bugs.kde.org/show_bug.cgi?id=489203

--- Comment #3 from Daniel Opitz  ---
Hi,

you can initialize a git repo with sha256 object format like this:

git init --object-format=sha256

It should work with git >= 2.30.0

Kommit crashes even on an empty repo.

Cheers,
Daniel

-- 
You are receiving this mail because:
You are watching all bug changes.

[kommit] [Bug 489203] Kommit crashes when opening git repo using SHA256 object format

2024-06-25 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=489203

--- Comment #2 from Laurent Montel  ---
Hi,
do you have a example repository which uses it ? 

Regards

-- 
You are receiving this mail because:
You are watching all bug changes.

[kommit] [Bug 489203] Kommit crashes when opening git repo using SHA256 object format

2024-06-25 Thread Daniel Opitz
https://bugs.kde.org/show_bug.cgi?id=489203

--- Comment #1 from Daniel Opitz  ---
Stack trace:

   PID: 526384 (kommit)
   UID: 1000 (daniel)
   GID: 1000 (daniel)
Signal: 11 (SEGV)
 Timestamp: Tue 2024-06-25 23:20:41 CEST (19min ago)
  Command Line: /usr/bin/kommit
Executable: /usr/bin/kommit
 Control Group:
/user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.kommit@4eb447a2e7e940aca1f3eda352938159.service
  Unit: user@1000.service
 User Unit: app-org.kde.kommit@4eb447a2e7e940aca1f3eda352938159.service
 Slice: user-1000.slice
 Owner UID: 1000 (daniel)
   Boot ID: 8f3634d48c084f47a8529a12ae883711
Machine ID: ffd783b5e18c4a0daa16eaa27d624815
  Hostname: fedora
   Storage:
/var/lib/systemd/coredump/core.kommit.1000.8f3634d48c084f47a8529a12ae883711.526384.171935044100.zst
(present)
  Size on Disk: 4.3M
   Package: kommit/1.3.1-1.fc40
  build-id: 8234661652f0b66aa4a702a27cc7b80d9f496a15
   Message: Process 526384 (kommit) of user 1000 dumped core.

Module libnss_systemd.so.2 from rpm systemd-255.7-1.fc40.x86_64
Module libnss_sss.so.2 from rpm sssd-2.9.5-1.fc40.x86_64
Module kio_file.so from rpm kf6-kio-6.3.0-1.fc40.x86_64
Module KF6WindowSystemKWaylandPlugin.so from rpm
kf6-kwindowsystem-6.3.0-1.fc40.x86_64
Module libQt6Svg.so.6 from rpm qt6-qtsvg-6.7.1-1.fc40.x86_64
Module libqsvg.so from rpm qt6-qtsvg-6.7.1-1.fc40.x86_64
Module libjpeg.so.62 from rpm libjpeg-turbo-3.0.2-1.fc40.x86_64
Module libqjpeg.so from rpm qt6-qtbase-6.7.1-2.fc40.x86_64
Module libqico.so from rpm qt6-qtbase-6.7.1-2.fc40.x86_64
Module libqgif.so from rpm qt6-qtbase-6.7.1-2.fc40.x86_64
Module libKF6Style.so.6 from rpm
kf6-frameworkintegration-6.3.0-1.fc40.x86_64
Module libKirigamiPlatform.so.6 from rpm
kf6-kirigami-6.3.0-1.fc40.x86_64
Module breeze6.so from rpm plasma-breeze-6.1.0-1.fc40.x86_64
Module libpciaccess.so.0 from rpm
libpciaccess-0.16-12.fc40.x86_64
Module libtinfo.so.6 from rpm
ncurses-6.4-12.20240127.fc40.x86_64
Module libedit.so.0 from rpm
libedit-3.1-51.20240517cvs.fc40.x86_64
Module libdrm_intel.so.1 from rpm libdrm-2.4.121-1.fc40.x86_64
Module libdrm_amdgpu.so.1 from rpm libdrm-2.4.121-1.fc40.x86_64
Module libelf.so.1 from rpm elfutils-0.191-4.fc40.x86_64
Module libdrm_radeon.so.1 from rpm libdrm-2.4.121-1.fc40.x86_64
Module libsensors.so.4 from rpm lm_sensors-3.6.0-18.fc40.x86_64
Module iris_dri.so from rpm mesa-24.1.1-5.fc40.x86_64
Module libxshmfence.so.1 from rpm
libxshmfence-1.3.2-3.fc40.x86_64
Module libxcb-sync.so.1 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libxcb-present.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libxcb-dri3.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libwayland-server.so.0 from rpm
wayland-1.22.0-3.fc40.x86_64
Module libdrm.so.2 from rpm libdrm-2.4.121-1.fc40.x86_64
Module libxcb-xfixes.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libxcb-randr.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libxcb-dri2.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
Module libX11-xcb.so.1 from rpm libX11-1.8.9-1.fc40.x86_64
Module libexpat.so.1 from rpm expat-2.6.2-1.fc40.x86_64
Module libglapi.so.0 from rpm mesa-24.1.1-5.fc40.x86_64
Module libgbm.so.1 from rpm mesa-24.1.1-5.fc40.x86_64
Module libEGL_mesa.so.0 from rpm mesa-24.1.1-5.fc40.x86_64
Module libwayland-egl.so.1 from rpm
wayland-1.22.0-3.fc40.x86_64
Module libQt6WaylandEglClientHwIntegration.so.6 from rpm
qt6-qtwayland-6.7.1-1.fc40.x86_64
Module libqt-plugin-wayland-egl.so from rpm
qt6-qtwayland-6.7.1-1.fc40.x86_64
Module libQt6OpenGL.so.6 from rpm
qt6-qtbase-6.7.1-2.fc40.x86_64
Module libQt6QmlModels.so.6 from rpm
qt6-qtdeclarative-6.7.1-2.fc40.x86_64
Module libXrender.so.1 from rpm libXrender-0.9.11-6.fc40.x86_64
Module libKF6Bookmarks.so.6 from rpm
kf6-kbookmarks-6.3.0-1.fc40.x86_64
Module libKF6BookmarksWidgets.so.6 from rpm
kf6-kbookmarks-6.3.0-1.fc40.x86_64
Module libQt6Core5Compat.so.6 from rpm
qt6-qt5compat-6.7.1-1.fc40.x86_64
Module libQt6Qml.so.6 from rpm
qt6-qtdeclarative-6.7.1-2.fc40.x86_64
Module libQt6QuickTemplates2.so.6 from rpm
qt6-qtdeclarative-6.7.1-2.fc40.x86_64
Module libQt6Quick.so.6 from rpm
qt6-qtdeclarative-6.7.1-2.fc40.x86_64
Module libX

[kommit] [Bug 489203] Kommit crashes when opening git repo using SHA256 object format

2024-06-25 Thread Daniel Opitz
https://bugs.kde.org/show_bug.cgi?id=489203

Daniel Opitz  changed:

   What|Removed |Added

   Platform|Other   |Fedora RPMs

-- 
You are receiving this mail because:
You are watching all bug changes.