Opened 10 years ago

Closed 10 years ago

#6860 closed patch (fixed)

Segfaults in MythGallery on import

Reported by: Marc Alban <marcalban@…> Owned by: paulh
Priority: minor Milestone: 0.22
Component: Plugin - MythGallery Version: head
Severity: medium Keywords: MythGallery Segfault
Cc: Ticket locked: no

Description

MythGallery is segfaulting immediately after performing an import.

I think this has to do with the m_itemList and m_imageList objects getting out of sync.

This patch resolves the issue for me.

Attachments (3)

import.backtrace (3.3 KB) - added by Marc Alban <marcalban@…> 10 years ago.
Backtrace of segfault when importing in MythGallery
import.patch (716 bytes) - added by Marc Alban <marcalban@…> 10 years ago.
patch to fix segfault in MythGallery when importing
import.2.patch (716 bytes) - added by Marc Alban <marcalban@…> 10 years ago.
Patch for MythGallery import segfault. Updated patch to rev. 21701

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by Marc Alban <marcalban@…>

Attachment: import.backtrace added

Backtrace of segfault when importing in MythGallery

Changed 10 years ago by Marc Alban <marcalban@…>

Attachment: import.patch added

patch to fix segfault in MythGallery when importing

Changed 10 years ago by Marc Alban <marcalban@…>

Attachment: import.2.patch added

Patch for MythGallery import segfault. Updated patch to rev. 21701

comment:1 Changed 10 years ago by paulh

Owner: changed from Isaac Richards to paulh
Status: newassigned

comment:2 Changed 10 years ago by paulh

Resolution: fixed
Status: assignedclosed

(In [21951]) Fix MythGallery's image import feature. Just reload the current directory after the import to make sure everything is in sync.

Patch by Marc Alban. Fixes #6860.

Note: See TracTickets for help on using tickets.