Menu

#95 segfault when importing img file

v1.0
open
nobody
None
5
2024-08-28
2023-12-27
No

Hey,
when I import my project which consists of roughly 500 unique images, and a few rather random .mp3 files, the program crashes with a segmentation violation when or immediately after importing the last image.
Since I could not find the source code for the up-to-date version 3.6, I used the bit of information that I had around - meaning the executable program as well as some debugging tools - to construct an output of strace and a record of the rr program.
Because the rr program produces gigabytes of data, I cannot attach these here. Please email me for them if you need them.
The .img file as well as the output of strace are attached as a zip file.
Please keep in mind, that an unhandled segmentation violation can always be a security risk, so fixing this should be a somewhat high priority.
Regards

1 Attachments

Related

Bugs: #95

Discussion

  • Giuseppe Torelli

    Hi Lorenz,

    thank you four your message. The source code is available here:

    https://sourceforge.net/projects/imagination/files/imagination-3.6.tar.gz/download

    I would be very happy if you could join the project and help me to continue
    the development.
    Currently Imagination is abandoned. I'm stuck in implementing libav rather
    than spawning the
    ffmpeg executable in the background. Also I started developed a GTK3
    timeline you can see here:

    https://github.com/colossus73/gtk_timeline

    Hope to hear from yours soon.

    Take care
    Giuseppe

    On Thu, 28 Dec 2023 at 00:20, Lorenz Schwab l0ren2@users.sourceforge.net
    wrote:


    [bugs:#95] segfault when importing img file

    Status: open
    Group: v1.0
    Created: Wed Dec 27, 2023 11:20 PM UTC by Lorenz Schwab
    Last Updated: Wed Dec 27, 2023 11:20 PM UTC
    Owner: nobody
    Attachments:

    Hey,
    when I import my project which consists of roughly 500 unique images, and
    a few rather random .mp3 files, the program crashes with a segmentation
    violation when or immediately after importing the last image.
    Since I could not find the source code for the up-to-date version 3.6, I
    used the bit of information that I had around - meaning the executable
    program as well as some debugging tools - to construct an output of
    strace and a record of the rr program.
    Because the rr program produces gigabytes of data, I cannot attach these
    here. Please email me for them if you need them.
    The .img file as well as the output of strace are attached as a zip
    file.
    Please keep in mind, that an unhandled segmentation violation can always
    be a security risk, so fixing this should be a somewhat high priority.
    Regards


    Sent from sourceforge.net because you indicated interest in <
    https://sourceforge.net/p/imagination/bugs/95/>

    To unsubscribe from further messages, please visit <
    https://sourceforge.net/auth/subscriptions/>

     

    Related

    Bugs: #95

  • Lorenz Schwab

    Lorenz Schwab - 2023-12-28

    Hi,
    I was able to fix my error by having a look at the source code, however the actual fix was to edit my .img file. It had 483 slides but in the header it said it were 484, so the programm tried to dereference a null pointer.
    I changed the entry of the header to 483, now it works.
    I don't know how the incorrect number made its way into the file though.
    Maybe the cause is something else that may or may not need investigation.
    Probably a fail safe should be put into place to alert users of their incorrect file instead of crashing.
    Thank you for pointing me to the sources so timely, I am not sure if I would have found the fix otherwise.

    It is sad to hear that the project is kind of abandoned, but as it stands right now, I don't have the time or resources to dedicate to a nice but rather niche project like a slideshow editor, since I don't make slideshows particularly often.

    I sincerely hope that this post will help others in the future also.

     

Log in to post a comment.