View Issue Details

IDProjectCategoryView StatusLast Update
0025857LazarusIDEpublic2014-03-26 11:38
Reporterhans Assigned ToZeljan Rikalo  
Status resolvedResolutionnot fixable 
Platformi386OSLinux Mint 
Product Version1.2.0 
Summary0025857: Access violation saving project files on Linux Mint
DescriptionAbsolute beginner. Started simple project 1 button, 1 label
saving the project gives access violation error when dialog appears, before any info can be entered.
Project is lost, at restart of lazarus empty project appears....
Steps To ReproduceSame error occurs any time i try to save. or save as
Additional InformationDit not find this issue, but i am an absolute beginner, i may have missed something....
TagsNo tags attached.
Fixed in Revision
Attached Files


related to 0025860 closedZeljan Rikalo lazarus crash while open directory 
related to 0025920 assignedZeljan Rikalo OpenDialog crashes with EXTERNAL:SIGSEV and RunError (216) 


Mattias Gaertner

2014-03-12 23:23

manager   ~0073654

What Linux Mint version?

How did you install Lazarus?


2014-03-13 07:48

reporter   ~0073657

I use the latest version Linux Mint: 'Cinnamon' 16 codename 'petra' 32 bit i386
I installed lazarus 1.2.0 from debian package

Zeljan Rikalo

2014-03-13 08:00

developer   ~0073658

Just installed 64bit lazarus 1.2 + fpc-2.6.2 under (downloaded debs from official sf download) Mint 14 and everything passed fine.
Works ok, no access violations or any other problems.
Only weird thing I've found is that about box of lazarus-1.2 shows svn version.

Zeljan Rikalo

2014-03-13 08:10

developer   ~0073659

Another weird thing with .deb package is that lazarus 1.2 is installed in /usr/share/, not in /usr/lib/ .... is it intended so ? fpc is installed as usually in /usr/lib


2014-03-16 15:49

reporter   ~0073743

Same problem here. Save or/and Save As cause Access Violation error message.

Linux adw-ThinkPad-X61s 3.11.0-18-generic 0000032-Ubuntu SMP Tue Feb 18 21:13:28 UTC 2014 i686 i686 i686 GNU/Linux

adw@adw-ThinkPad-X61s:~$ lazarus-ide
TSourceEditorSharedValues.GetMainLinkScanner CodeBuffer=nil
TSourceEditorSharedValues.GetMainLinkScanner not a pascal source: unit1.pas
TApplication.HandleException Access violation
  Stack trace:
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[WARNING] (../../../lib/unity-gtk-action-group.c:1030):unity_gtk_action_group_disconnect_shell: runtime check failed: (shell->action_group == group)
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B -> inherited Destroy... TMainIDE
WARNING: TLCLComponent.Destroy with LCLRefCount>0. Hint: Maybe the component is processing an event?
[TMainIDE.Destroy] END


2014-03-16 18:59

reporter   ~0073744

i use 32bit lazarus on an old 32 bit machine (former Win XP) Zeljan Rikalo had no problems with 64bit..... maybe a specific 32bit-issue?

Zeljan Rikalo

2014-03-17 12:37

developer   ~0073775

Mint 16 64 bit also works fine (fpc-2.6.2 and lazarus downloaded for sf downloads).

Zeljan Rikalo

2014-03-17 14:53

developer   ~0073777

Yes, seem it's 32bit bug only. Mint 16 Cinnamon 32bit - lazarus 1.2 with fpc-2.6.2 crashes with access violation while trying to save project files.

Zeljan Rikalo

2014-03-17 15:01

developer   ~0073778

Program received signal SIGSEGV, Segmentation fault.
0xb719164a in ?? () from /usr/lib/i386-linux-gnu/
(gdb) bt
#0 0xb719164a in ?? () from /usr/lib/i386-linux-gnu/
0000001 0xb7153a10 in pixman_composite_glyphs_no_mask ()
   from /usr/lib/i386-linux-gnu/
0000002 0xb7693dda in ?? () from /usr/lib/i386-linux-gnu/
0000003 0xb76e84ee in ?? () from /usr/lib/i386-linux-gnu/
0000004 0xb76ea627 in ?? () from /usr/lib/i386-linux-gnu/
0000005 0xb76ea8b3 in ?? () from /usr/lib/i386-linux-gnu/
0000006 0xb76886d6 in ?? () from /usr/lib/i386-linux-gnu/
0000007 0xb769ab19 in ?? () from /usr/lib/i386-linux-gnu/
0000008 0xb76d6ceb in ?? () from /usr/lib/i386-linux-gnu/
0000009 0xb7692582 in ?? () from /usr/lib/i386-linux-gnu/
0000010 0xb768309e in cairo_show_glyphs ()
   from /usr/lib/i386-linux-gnu/
0000011 0xb7639041 in ?? () from /usr/lib/i386-linux-gnu/
0000012 0xb7639384 in ?? () from /usr/lib/i386-linux-gnu/
0000013 0xb77a8048 in pango_renderer_draw_glyphs ()
   from /usr/lib/i386-linux-gnu/
0000014 0xb77a811a in pango_renderer_draw_glyph_item ()
   from /usr/lib/i386-linux-gnu/
0000015 0xb77a8c73 in pango_renderer_draw_layout_line ()
   from /usr/lib/i386-linux-gnu/
0000016 0xb77a8e8a in pango_renderer_draw_layout ()
   from /usr/lib/i386-linux-gnu/
---Type <return> to continue, or q <return> to quit---
0000017 0xb7639570 in ?? () from /usr/lib/i386-linux-gnu/
0000018 0xade8fa5d in ?? () from /usr/lib/i386-linux-gnu/
0000019 0xade8983e in ?? () from /usr/lib/i386-linux-gnu/
0000020 0xade896cd in ?? () from /usr/lib/i386-linux-gnu/
0000021 0xade89adb in ?? () from /usr/lib/i386-linux-gnu/
0000022 0xade83854 in ?? () from /usr/lib/i386-linux-gnu/
0000023 0xade838df in ?? () from /usr/lib/i386-linux-gnu/
0000024 0xade83854 in ?? () from /usr/lib/i386-linux-gnu/
0000025 0xade838df in ?? () from /usr/lib/i386-linux-gnu/
0000026 0xade83854 in ?? () from /usr/lib/i386-linux-gnu/
0000027 0xade83c2f in ?? () from /usr/lib/i386-linux-gnu/
0000028 0xade83854 in ?? () from /usr/lib/i386-linux-gnu/
0000029 0xade9178c in rsvg_handle_render_cairo_sub ()
   from /usr/lib/i386-linux-gnu/
0000030 0xade91c30 in rsvg_handle_get_pixbuf_sub ()
   from /usr/lib/i386-linux-gnu/
0000031 0xade91cc3 in rsvg_handle_get_pixbuf ()
   from /usr/lib/i386-linux-gnu/
0000032 0xae807ad5 in ?? ()
   from /usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/
0000033 0xb7e57058 in gdk_pixbuf_loader_close (loader=loader@entry=0x98ef510,
    error=error@entry=0x98db42c) at gdk-pixbuf-loader.c:781
---Type <return> to continue, or q <return> to quit---
0000034 0xb7e52e7e in load_from_stream (loader=loader@entry=0x98ef510,
    stream=stream@entry=0x988d448, cancellable=cancellable@entry=0x0,
    error=error@entry=0x98db42c) at gdk-pixbuf-io.c:1462
0000035 0xb7e54d4e in gdk_pixbuf_new_from_stream_at_scale (
    stream=stream@entry=0x988d448, width=16, height=16,
    cancellable=cancellable@entry=0x0, error=error@entry=0x98db42c)
    at gdk-pixbuf-io.c:1532
0000036 0xb7ad51d5 in icon_info_ensure_scale_and_pixbuf (icon_info=0x98db400,
    scale_only=<optimized out>)
    at /build/buildd/gtk+2.0-2.24.20/gtk/gtkicontheme.c:2936
0000037 0xb7ad86a1 in IA__gtk_icon_info_load_icon (
    icon_info=icon_info@entry=0x98db400, error=error@entry=0x0)
    at /build/buildd/gtk+2.0-2.24.20/gtk/gtkicontheme.c:3078
0000038 0xb7abbdb9 in get_pixbuf_from_gicon (icon=<optimized out>,
    widget=widget@entry=0x9897008, icon_size=icon_size@entry=16,
    at /build/buildd/gtk+2.0-2.24.20/gtk/gtkfilesystem.c:1819
0000039 0xb7abe6e8 in _gtk_file_info_render_icon (info=info@entry=0xae707590,
    widget=widget@entry=0x9897008, icon_size=16)
    at /build/buildd/gtk+2.0-2.24.20/gtk/gtkfilesystem.c:1904
0000040 0xb7aa75d0 in file_system_model_set (model=0x98d0428, file=0x9915eb0,
    info=0xae707590, column=6, value=0x991e6b0, data=0x9897008)
---Type <return> to continue, or q <return> to quit---
    at /build/buildd/gtk+2.0-2.24.20/gtk/gtkfilechooserdefault.c:6708
0000041 0xb7ac086d in _gtk_file_system_model_get_value (
    model=model@entry=0x98d0428, iter=iter@entry=0xbfffe2ec,
    at /build/buildd/gtk+2.0-2.24.20/gtk/gtkfilesystemmodel.c:1606
0000042 0xb7ac0908 in gtk_file_system_model_get_value (tree_model=0x98d0428,
    iter=0xbfffe2ec, column=6, value=0xbfffe198)
    at /build/buildd/gtk+2.0-2.24.20/gtk/gtkfilesystemmodel.c:545
0000043 0xb7bf5938 in IA__gtk_tree_model_get_value (
    tree_model=tree_model@entry=0x98d0428, iter=iter@entry=0xbfffe2ec,
    column=6, value=value@entry=0xbfffe198)
    at /build/buildd/gtk+2.0-2.24.20/gtk/gtktreemodel.c:1169
0000044 0xb7c2677d in IA__gtk_tree_view_column_cell_set_cell_data (
    tree_column=tree_column@entry=0x98e49a8, tree_model=0x98d0428,
    iter=iter@entry=0xbfffe2ec, is_expander=0, is_expanded=0)
    at /build/buildd/gtk+2.0-2.24.20/gtk/gtktreeviewcolumn.c:2584
0000045 0xb7c0d33d in validate_row (tree_view=tree_view@entry=0x96f4628,
    tree=0x99062f0, node=0xaa811d40, iter=iter@entry=0xbfffe2ec,
    at /build/buildd/gtk+2.0-2.24.20/gtk/gtktreeview.c:5795
0000046 0xb7c0ffda in validate_visible_area (tree_view=tree_view@entry=0x96f4628)
    at /build/buildd/gtk+2.0-2.24.20/gtk/gtktreeview.c:6119
0000047 0xb7c104ce in do_presize_handler (tree_view=0x96f4628)
---Type <return> to continue, or q <return> to quit---
    at /build/buildd/gtk+2.0-2.24.20/gtk/gtktreeview.c:6445
0000048 0xb7c1055c in presize_handler_callback (data=0x96f4628)
    at /build/buildd/gtk+2.0-2.24.20/gtk/gtktreeview.c:6467
0000049 0xb79430a8 in gdk_threads_dispatch (data=0x9909070)
    at /build/buildd/gtk+2.0-2.24.20/gdk/gdk.c:512
0000050 0xb781a5a0 in ?? () from /lib/i386-linux-gnu/
0000051 0xb781d83e in g_main_context_dispatch ()
   from /lib/i386-linux-gnu/
0000052 0xb781dbe8 in ?? () from /lib/i386-linux-gnu/
#53 0xb781dca8 in g_main_context_iteration ()
   from /lib/i386-linux-gnu/
    this=<error reading variable>) at ./gtk2/
0000055 0x080a7f1c in TAPPLICATION__HANDLEMESSAGE (this=<error reading variable>)
    at ./include/
0000056 0x082022d6 in TCOMMONDIALOG__DOEXECUTE (this=<error reading variable>)
    at ./include/
0000057 0x08202aa1 in TFILEDIALOG__DOEXECUTE (this=<error reading variable>)
    at ./include/
0000058 0x08203480 in TOPENDIALOG__DOEXECUTE (this=<error reading variable>)
    at ./include/
0000059 0x08201fcd in TCOMMONDIALOG__EXECUTE (this=<error reading variable>)
    at ./include/
---Type <return> to continue, or q <return> to quit---
0000060 0x08202531 in TFILEDIALOG__EXECUTE (this=<error reading variable>)
    at ./include/
    USEMAINSOURCEFILE=false, this=<error reading variable>)
    at sourcefilemanager.pas:5952
    this=<error reading variable>) at sourcefilemanager.pas:5776
    this=<error reading variable>) at sourcefilemanager.pas:2224
0000064 0x080cd520 in TMAINIDE__DOSAVEPROJECT (FLAGS=...,
    this=<error reading variable>) at main.pp:6455
0000065 0x080caacb in TMAINIDE__DOSAVEALL (FLAGS=...,
    this=<error reading variable>) at main.pp:5664
0000066 0x080c240f in TMAINIDE__MNUSAVEALLCLICKED (SENDER=0xb60c6480,
    this=<error reading variable>) at main.pp:3036
0000067 0x082276ee in TCONTROL__CLICK (this=<error reading variable>)
    at ./include/
0000068 0x08262051 in TTOOLBUTTON__CLICK (this=<error reading variable>)
    at ./include/
0000069 0x08260838 in TTOOLBUTTON__MOUSEUP (BUTTON=MBLEFT, SHIFT=..., X=14, Y=10,
    this=<error reading variable>) at ./include/
    this=<error reading variable>) at ./include/
---Type <return> to continue, or q <return> to quit---
0000071 0x082274e8 in TCONTROL__WMLBUTTONUP (MESSAGE=...,
    this=<error reading variable>) at ./include/
0000072 0x0806e7d6 in SYSTEM_TOBJECT_$__DISPATCH$formal ()
0000073 0x08227410 in TCONTROL__WMXBUTTONQUADCLK (MESSAGE=...,
    this=<error reading variable>) at ./include/
0000074 0x08225536 in TCONTROL__PERFORM (MSG=514, WPARAM=0, LPARAM=655374,
    this=<error reading variable>) at ./include/
    this=<error reading variable>) at ./include/
0000076 0x0821a5e3 in TWINCONTROL__WNDPROC (MESSAGE=...,
    this=<error reading variable>) at ./include/
0000077 0x082d6465 in DELIVERMESSAGE (TARGET=0xb60e4110, AMESSAGE=void)
    at lclmessageglue.pas:112
0000078 0x0829cba5 in DELIVERMESSAGE (TARGET=0xb60e4110, AMESSAGE=void)
    at ./gtk2/
0000079 0x082aa823 in DELIVERMOUSEUPMESSAGE (WIDGET=0x96f1a88, EVENT=0x979d600,
    AWINCONTROL=0xb60e4110) at ./gtk2/
0000080 0x082aa980 in GTKMOUSEBTNRELEASE (WIDGET=0x96f1a88, EVENT=0x979d600,
    DATA=0xb60e4110) at ./gtk2/
0000081 0xb7b09e4e in _gtk_marshal_BOOLEAN__BOXED (closure=0x96fcd18,
    return_value=0xbfffeca4, n_param_values=2, param_values=0xbfffed10,
    invocation_hint=0xbfffecc0, marshal_data=0x0)
    at /build/buildd/gtk+2.0-2.24.20/gtk/gtkmarshalers.c:86

Zeljan Rikalo

2014-03-17 15:08

developer   ~0073779

More detailed dbg info for libcairo2 and libpixman
Program received signal SIGSEGV, Segmentation fault.
sse2_composite_over_n_8_8888 (imp=0x93e0178, info=0xbffeaa28) at ../../pixman/pixman-sse2.c:3275
3275 ../../pixman/pixman-sse2.c: No such file or directory.
(gdb) bt
#0 sse2_composite_over_n_8_8888 (imp=0x93e0178, info=0xbffeaa28) at ../../pixman/pixman-sse2.c:3275
0000001 0xb7153a10 in pixman_composite_glyphs_no_mask (op=PIXMAN_OP_OVER, src=0x947df00, dest=0x995eb50,
    src_x=src_x@entry=0, src_y=src_y@entry=0, dest_x=dest_x@entry=0, dest_y=dest_y@entry=0,
    cache=cache@entry=0x9966818, n_glyphs=1, glyphs=glyphs@entry=0xbffeaafc) at ../../pixman/pixman-glyph.c:486
0000002 0xb7693dda in composite_glyphs (_dst=0x995ec00, op=CAIRO_OPERATOR_OVER, _src=0x991b720, src_x=0, src_y=0,
    dst_x=0, dst_y=0, info=0xbffeb3e4) at /build/buildd/cairo-1.12.16/src/cairo-image-compositor.c:892
0000003 0xb76e84ee in composite_glyphs (compositor=0xb7780900 <compositor.11248>, dst=0x995ec00, closure=0xbffeb3e4,
    op=CAIRO_OPERATOR_OVER, src=0x991b720, src_x=0, src_y=0, dst_x=0, dst_y=0, extents=0xbffeb49c, clip=0x988c140)
    at /build/buildd/cairo-1.12.16/src/cairo-traps-compositor.c:2277
0000004 0xb76ea627 in clip_and_composite (compositor=compositor@entry=0xb7780900 <compositor.11248>,
    extents=extents@entry=0xbffeb464, draw_func=draw_func@entry=0xb76e84a0 <composite_glyphs>,
    mask_func=mask_func@entry=0x0, draw_closure=draw_closure@entry=0xbffeb3e4, need_clip=4)
    at /build/buildd/cairo-1.12.16/src/cairo-traps-compositor.c:1046
0000005 0xb76ea8b3 in _cairo_traps_compositor_glyphs (_compositor=0xb7780900 <compositor.11248>, extents=0xbffeb464,
    scaled_font=0x991b2e8, glyphs=0xbffeb968, num_glyphs=1, overlap=0)
    at /build/buildd/cairo-1.12.16/src/cairo-traps-compositor.c:2313
0000006 0xb76886d6 in _cairo_compositor_glyphs (compositor=0xb7780900 <compositor.11248>,
    surface=surface@entry=0x995ec00, op=op@entry=CAIRO_OPERATOR_OVER, source=source@entry=0xbffeb864,
    glyphs=glyphs@entry=0xbffeb968, num_glyphs=num_glyphs@entry=1, scaled_font=scaled_font@entry=0x991b2e8,
    clip=clip@entry=0x0) at /build/buildd/cairo-1.12.16/src/cairo-compositor.c:250
0000007 0xb769ab19 in _cairo_image_surface_glyphs (abstract_surface=0x995ec00, op=CAIRO_OPERATOR_OVER, source=0xbffeb864,
    glyphs=0xbffeb968, num_glyphs=1, scaled_font=0x991b2e8, clip=0x0)
    at /build/buildd/cairo-1.12.16/src/cairo-image-surface.c:1002
0000008 0xb76d6ceb in _cairo_surface_show_text_glyphs (surface=0x995ec00, op=op@entry=CAIRO_OPERATOR_OVER,
    source=source@entry=0xbffeb864, utf8=0x0, utf8_len=0, glyphs=0xbffeb968, num_glyphs=1, clusters=0x0,
    num_clusters=0, cluster_flags=(unknown: 0), scaled_font=0x991b2e8, clip=0x0)
    at /build/buildd/cairo-1.12.16/src/cairo-surface.c:2534
0000009 0xb7692582 in _cairo_gstate_show_text_glyphs (gstate=0x991b190, glyphs=0xbffecc1c, num_glyphs=1, info=0x0)
    at /build/buildd/cairo-1.12.16/src/cairo-gstate.c:2008
0000010 0xb768309e in cairo_show_glyphs (cr=0x9917a00, glyphs=0xbffecc1c, num_glyphs=1)

Zeljan Rikalo

2014-03-17 15:22

developer   ~0073780

Looks like a glib2 related bug. When you save with Ctrl+S then it works, click with mouse speedbutton or in menu it raises access violation.Pretty strange, could not find anything usefull

Zeljan Rikalo

2014-03-17 15:44

developer   ~0073782

It's libcairo bug.
Same thing happens. When using older libpixman everything is ok.
Sorry, but I cannot do anything here.

Zeljan Rikalo

2014-03-17 15:44

developer   ~0073783

static void
sse2_composite_over_n_8_8888 (pixman_implementation_t *imp,
                              pixman_composite_info_t *info)
    uint32_t src, srca;
    uint32_t *dst_line, *dst;
    uint8_t *mask_line, *mask;
    int dst_stride, mask_stride;
    int32_t w;
    uint32_t m, d;

    __m128i xmm_src, xmm_alpha, xmm_def;
    __m128i xmm_dst, xmm_dst_lo, xmm_dst_hi;
    __m128i xmm_mask, xmm_mask_lo, xmm_mask_hi;

    __m128i mmx_src, mmx_alpha, mmx_mask, mmx_dest;

    src = _pixman_image_get_solid (imp, src_image, dest_image->bits.format);

    srca = src >> 24;
    if (src == 0)

dest_image, dest_x, dest_y, uint32_t, dst_stride, dst_line, 1);
mask_image, mask_x, mask_y, uint8_t, mask_stride, mask_line, 1);

    xmm_def = create_mask_2x32_128 (src, src);
    xmm_src = expand_pixel_32_1x128 (src);
    xmm_alpha = expand_alpha_1x128 (xmm_src);
    mmx_src = xmm_src;
    mmx_alpha = xmm_alpha;

    while (height--)
dst = dst_line;
dst_line += dst_stride;
mask = mask_line;
mask_line += mask_stride;
w = width;

while (w && (uintptr_t)dst & 15)
uint8_t m = *mask++;

if (m)
d = *dst;
mmx_mask = expand_pixel_8_1x128 (m);
mmx_dest = unpack_32_1x128 (d);

*dst = pack_1x128_32 (in_over_1x128 (&mmx_src,


while (w >= 4)
m = *((uint32_t*)mask);

if (srca == 0xff && m == 0xffffffff)
save_128_aligned ((__m128i*)dst, xmm_def);
else if (m)
xmm_dst = load_128_aligned ((__m128i*) dst);
xmm_mask = unpack_32_1x128 (m);
xmm_mask = _mm_unpacklo_epi8 (xmm_mask, _mm_setzero_si128 ());

/* Unpacking */
unpack_128_2x128 (xmm_dst, &xmm_dst_lo, &xmm_dst_hi);
unpack_128_2x128 (xmm_mask, &xmm_mask_lo, &xmm_mask_hi);

expand_alpha_rev_2x128 (xmm_mask_lo, xmm_mask_hi,
&xmm_mask_lo, &xmm_mask_hi);

// **** HERE WE CRASH *****
in_over_2x128 (&xmm_src, &xmm_src,
&xmm_alpha, &xmm_alpha,
&xmm_mask_lo, &xmm_mask_hi,
&xmm_dst_lo, &xmm_dst_hi);

save_128_aligned (
(__m128i*)dst, pack_2x128_128 (xmm_dst_lo, xmm_dst_hi));

w -= 4;
dst += 4;
mask += 4;

Zeljan Rikalo

2014-03-17 15:51

developer   ~0073784

WORKAROUND FOR CINNAMON 16: Goto System settings -> THEMES -> Other settings (3rd tab) and change "Icons" from Mint-X to gnome or hicolor. There won't be any crashes after that.

Zeljan Rikalo

2014-03-17 16:02

developer   ~0073786

Seem that libpixman compiled with -mstackrealign works ok (that's why 32bit only version crashes). So, if someone is willing to fill bug report against it ....

Zeljan Rikalo

2014-03-17 16:12

developer   ~0073787

ANOTHER WORKAROUND (if you don't want to change icons): Delete $HOME/Templates directory. Icon of this folder crashes gtkfilechooser if gtk2 (libpixman) isn't compiled with -mstackrealign.

Issue History

Date Modified Username Field Change
2014-03-12 20:50 hans New Issue
2014-03-12 21:28 Maxim Ganetsky LazTarget => -
2014-03-12 21:28 Maxim Ganetsky Summary Acces violation saving project files => Access violation saving project files
2014-03-12 23:23 Mattias Gaertner Note Added: 0073654
2014-03-12 23:23 Mattias Gaertner Summary Access violation saving project files => Access violation saving project files on Linux Mint
2014-03-13 07:48 hans Note Added: 0073657
2014-03-13 08:00 Zeljan Rikalo Note Added: 0073658
2014-03-13 08:10 Zeljan Rikalo Note Added: 0073659
2014-03-13 08:10 Zeljan Rikalo Assigned To => Zeljan Rikalo
2014-03-13 08:10 Zeljan Rikalo Status new => feedback
2014-03-13 20:06 Zeljan Rikalo Relationship added related to 0025860
2014-03-16 15:49 Dmitriy Note Added: 0073743
2014-03-16 18:59 hans Note Added: 0073744
2014-03-16 18:59 hans Status feedback => assigned
2014-03-17 12:37 Zeljan Rikalo Note Added: 0073775
2014-03-17 14:53 Zeljan Rikalo Note Added: 0073777
2014-03-17 14:53 Zeljan Rikalo Status assigned => confirmed
2014-03-17 15:01 Zeljan Rikalo Note Added: 0073778
2014-03-17 15:08 Zeljan Rikalo Note Added: 0073779
2014-03-17 15:22 Zeljan Rikalo Note Added: 0073780
2014-03-17 15:44 Zeljan Rikalo Note Added: 0073782
2014-03-17 15:44 Zeljan Rikalo Status confirmed => resolved
2014-03-17 15:44 Zeljan Rikalo Resolution open => not fixable
2014-03-17 15:44 Zeljan Rikalo Note Added: 0073783
2014-03-17 15:51 Zeljan Rikalo Note Added: 0073784
2014-03-17 16:02 Zeljan Rikalo Note Added: 0073786
2014-03-17 16:12 Zeljan Rikalo Note Added: 0073787
2014-03-26 11:38 Juha Manninen Relationship added related to 0025920