bugLiquid War 6 - Bugs: bug #35125, Segfault on Mac OS X

 
 

bug #35125: Segfault on Mac OS X

Submitted by:  Christian Mauduit <ufoot>
Submitted on:  Tue 20 Dec 2011 11:29:10 AM UTC  
 
Category: EngineSeverity: 3 - Normal
Status: FixedPrivacy: Public
Assigned to: Christian Mauduit <ufoot>Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 22 Dec 2011 03:53:59 AM UTC, comment #1:

Fixed it, was an array overflow in:

src/lib/gfx/mod-gl/gl-utils/gl-utils-draw.c

the <= in loops must be replaced by < ...

Christian Mauduit <ufoot>
Project AdministratorIn charge of this item.
Tue 20 Dec 2011 11:29:10 AM UTC, original submission:

Mac OS X port raises this error when browsing menus:

ERROR! (sys-signal.c:222)

Segmentation fault

Backtrace: 3 liquidwar6 0x0003afef lw6sys_signal_segv_handler + 112, 4 libSystem.B.dylib
0x90c861cb _sigtramp + 43, 5 ??? 0xffffffff 0x0 + 4294967295, 6 liquidwar6
0x000c101a mod_gl_utils_draw_set_alpha_for_color + 105, 7 liquidwar6 0x000c31b3
mod_gl_utils_multiline_text_write + 652, 8 liquidwar6 0x000b2017 _mod_gl_menu_cylinder_display_meta
+ 588, 9 liquidwar6 0x000b26f7 mod_gl_menu_cylinder_display_meta + 38, 10 liquidwar6
0x000bab86 mod_gl_menu_display_meta + 60, 11 liquidwar6 0x000c9a73 mod_gl_is_GPL_compatible
+ 1813, 12 liquidwar6 0x000adb90 lw6gfx_display + 212, 13 liquidwar6
0x000cd715 lw6dsp_test + 2339, 14 liquidwar6 0x000cd8b8 lw6dsp_test + 2758, 15 liquidwar6
0x000cde3f _lw6dsp_thread_func + 1403, 16 liquidwar6 0x0004978e lw6sys_url_is_canonized
+ 273, 17 liquidwar6 0x000499ba lw6sys_vthread_run + 282, 18 liquidwar6
0x000220ab lw6_main + 463, 19 liquidwar6 0x00002604 SDL_main + 130, 20 liquidwar6
0x00105ddc lw6tsk_test + 688, 21 Foundation 0x97ea942a NSZoneMalloc + 1770, 22 CoreFoundation
0x9772147a _CFXNotificationResetSessionForTask + 1514, 23 CoreFoundation 0x97721753
_CFXNotificationPostNotification + 179, 24 Foundation 0x97ea6680 NSPopAutoreleasePool + 5088, 25
Foundation 0x97eafed8 _NSDescriptionWithLocaleFunc + 5464, 26 AppKit
0x91425df2 _NSSubclassOverridesSelector + 8449, 27 AppKit 0x91425d01 _NSSubclassOverridesSelector
+ 8208, 28 AppKit 0x9139f81b _NSInitializeKillRing + 6437, 29 AppKit
0x9139f014 _NSInitializeKillRing + 4382, 30 Foundation 0x97ecea9f NSZoneRealloc + 3199, 31
Foundation 0x97ece7af NSZoneRealloc + 2447, 32 AE 0x908ba648
aeProcessAppleEvent + 724, 33 AE 0x908ba57e aeProcessAppleEvent + 522, 34 AE
0x908ba425 aeProcessAppleEvent + 177, 35 HIToolbox 0x91cce981 AEProcessAppleEvent +
38, 36 AppKit 0x9139c8e9 _DPSNextEvent + 1189, 37 AppKit 0x9139bf88
_NSUpdateMenuRefWithChangedMenuItem + 2250, 38 AppKit 0x91394f9f _NSSetViewMultiClipDrawingHelper
+ 4866, 39 liquidwar6 0x00106570 lw6tsk_test + 2628, 40 liquidwar6
0x00002556 start + 54, 41 ??? 0x00000002 0x0 + 2

Report bugs: http://savannah.gnu.org/bugs/?func=additem&group=liquidwar6

Christian Mauduit <ufoot>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ufoot (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 05 Jan 2014 01:22:18 PM UTCufootOpen/ClosedOpen=>Closed
    Sat 24 Dec 2011 09:30:56 AM UTCufootStatusReady For Test=>Fixed
    Thu 22 Dec 2011 03:53:59 AM UTCufootStatusIn Progress=>Ready For Test

    Back to the top


    Powered by Savane 3.1-cleanup