First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 110644
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Saleem Abdulrasool <compnerd@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mike Lundy <novas007@gmx.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
spim-7.2.1-multiple-exception-no-segfault.patch fixed multiple-exceptions patch patch Marco Matthies 2006-01-09 07:01 0000 2.61 KB Details | Diff
spim-7.2.1-multiple-exception-no-segfault.patch non-broken revised patch patch Marco Matthies 2006-01-09 13:47 0000 2.58 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 110644 depends on: Show dependency tree
Show dependency graph
Bug 110644 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-27 13:44 0000
spim-7.2.1-multiple-exception.patch adds the ability to use a :-delimited path
list of exception files. However, under default conditions, it uses strtok_r on
a static string, and causes a segfault on my system.

Reproducible: Always
Steps to Reproduce:
Install a version of spim that applies the patch (spim-7.2.1-r2 at this
writing). Run it with the default exception file. It should segfault in
initialize_world.
Actual Results:  
segfault

------- Comment #1 From Gokdeniz Karadag 2005-12-14 08:03:52 0000 -------
I confirm this bug.

------- Comment #2 From Marco Matthies 2006-01-09 07:01:21 0000 -------
Created an attachment (id=76625) [edit]
fixed multiple-exceptions patch

this is a quick fix for the multiple-exceptions patch (makes it not segfault at
startup). otherwise it's completely untested as i haven't used spim much yet. 

------- Comment #3 From Marco Matthies 2006-01-09 13:47:50 0000 -------
Created an attachment (id=76669) [edit]
non-broken revised patch

err, my previous patch freed the buffer, thus invalidating the filenames. this
patch here doesn't suck as much (seems like i too didn't really now what
strtok() does...). spim and xspim compile cleanly and startup without segfault.
i do not know how to test the functionality enabled by the multiple exceptions
patch yet, so feedback would be welcome.

------- Comment #4 From Saleem Abdulrasool 2006-01-22 00:30:40 0000 -------
Fixed with -r3.

First Last Prev Next    No search results available      Search page      Enter new bug