Recent

Author Topic: Access violation with Linux Mint 17  (Read 6795 times)

stem

  • Jr. Member
  • **
  • Posts: 88
Access violation with Linux Mint 17
« on: July 16, 2014, 07:43:48 pm »
Hi,

I'm not really sure if this is a bug so I post it here: I've installed Lazarus 1.2.4
with Linux Mint 16 with the three .deb files and everything worked fine.
Now I've installed Linux Mint 17 and installed Lazarus again.

Now the IDE crashes everytime I try to browse with a file dialog in the IDE
through my home directory, i.e. I'm not able to save or open any
files/projects etc. in my home directory. The error does not occur outside
of my home directory ...

I've recompiled the IDE in the debug mode and let it run with gdb. Here
is some output:

Code: [Select]
TSourceEditorSharedValues.GetMainLinkScanner CodeBuffer=nil
TSourceEditorSharedValues.GetMainLinkScanner not a pascal source: unit1.pas
NOTE: Window with stalled focus found!, faking focus-out event
NOTE: Window with stalled focus found!, faking focus-out event
TApplication.HandleException Access violation

TCustomFormEditor.JITListException List.CurReadStreamClass=nil nil
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END

The crash also occurs when I started Lazarus with sudo and tried to
save the initial project.

Any ideas? If this is a bug or a misconfiguration of my Lazarus installation?


Thank you  :)

stem

Leledumbo

  • Hero Member
  • *****
  • Posts: 8747
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Access violation with Linux Mint 17
« Reply #1 on: July 17, 2014, 12:25:14 am »
I've recompiled the IDE in the debug mode and let it run with gdb. Here
is some output:
Those are IDE messages, we need backtrace in order to know the source of error. Try to make it crash when running under gdb, then type bt in gdb prompt.

stem

  • Jr. Member
  • **
  • Posts: 88
Re: Access violation with Linux Mint 17
« Reply #2 on: July 17, 2014, 07:51:11 pm »
here it is:

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0xb7176926 in ?? () from /usr/lib/i386-linux-gnu/libpixman-1.so.0
(gdb) bt
#0  0xb7176926 in ?? () from /usr/lib/i386-linux-gnu/libpixman-1.so.0
#1  0xb7138cb7 in pixman_composite_glyphs_no_mask ()
   from /usr/lib/i386-linux-gnu/libpixman-1.so.0
#2  0xb7686e4a in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#3  0xb76dbb3e in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#4  0xb76ddc9f in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#5  0xb76ddf23 in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#6  0xb767b7a6 in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#7  0xb768e029 in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#8  0xb76ca36c in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#9  0xb7685712 in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#10 0xb767618e in cairo_show_glyphs ()
   from /usr/lib/i386-linux-gnu/libcairo.so.2
#11 0xb762c0c1 in ?? () from /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
#12 0xb762c404 in ?? () from /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
#13 0xb779d2f8 in pango_renderer_draw_glyphs ()
   from /usr/lib/i386-linux-gnu/libpango-1.0.so.0
#14 0xb779d3ca in pango_renderer_draw_glyph_item ()
   from /usr/lib/i386-linux-gnu/libpango-1.0.so.0
#15 0xb779df23 in pango_renderer_draw_layout_line ()
   from /usr/lib/i386-linux-gnu/libpango-1.0.so.0
#16 0xb779e13a in pango_renderer_draw_layout ()
   from /usr/lib/i386-linux-gnu/libpango-1.0.so.0
#17 0xb762c5f0 in ?? () from /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
#18 0xada78a2d in ?? () from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#19 0xada726fe in ?? () from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#20 0xada7258d in ?? () from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#21 0xada7299b in ?? () from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#22 0xada6c714 in ?? () from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#23 0xada6c79f in ?? () from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#24 0xada6c714 in ?? () from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#25 0xada6c79f in ?? () from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#26 0xada6c714 in ?? () from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#27 0xada6caef in ?? () from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#28 0xada6c714 in ?? () from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#29 0xada7a75c in rsvg_handle_render_cairo_sub ()
   from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#30 0xada7ac00 in rsvg_handle_get_pixbuf_sub ()
   from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#31 0xada7ac93 in rsvg_handle_get_pixbuf ()
   from /usr/lib/i386-linux-gnu/librsvg-2.so.2
#32 0xaee0cad5 in ?? ()
   from /usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
#33 0xb7e55378 in gdk_pixbuf_loader_close ()
   from /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0
#34 0xb7e5125e in ?? () from /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0
#35 0xb7e52fee in gdk_pixbuf_new_from_stream_at_scale ()
   from /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0
#36 0xb7ad3185 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#37 0xb7ad6641 in gtk_icon_info_load_icon ()
   from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#38 0xb7ab9ca9 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#39 0xb7abc618 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#40 0xb7aa55b0 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#41 0xb7abe7dd in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#42 0xb7abe878 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#43 0xb7bf39b8 in gtk_tree_model_get_value ()
   from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#44 0xb7c247fd in gtk_tree_view_column_cell_set_cell_data ()
   from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#45 0xb7c0b3bc in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#46 0xb7c0e052 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#47 0xb7c0e53e in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#48 0xb7c0e5cc in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#49 0xb7940098 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#50 0xb780fc50 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0xb78130a7 in g_main_context_dispatch ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#52 0xb7813468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#53 0xb7813528 in g_main_context_iteration ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#54 0x081e6dde in ?? ()
#55 0x080a8c2c in ?? ()
#56 0x08209854 in ?? ()
#57 0x0820a081 in ?? ()
#58 0x0820aad0 in ?? ()
#59 0x0820953d in ?? ()
#60 0x08209ac1 in ?? ()
#61 0x08692f9a in ?? ()
#62 0x08692446 in ?? ()
#63 0x08684b36 in ?? ()
#64 0x080cf040 in ?? ()
#65 0x080c736f in ?? ()
#66 0x084174c6 in ?? ()
#67 0x0841a907 in ?? ()
#68 0x08242970 in ?? ()
#69 0x08243090 in ?? ()
#70 0x0806e8b6 in ?? ()
#71 0x082aace9 in ?? ()
#72 0x083450e3 in ?? ()
#73 0xb78e86b3 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#74 0xb78e6a7e in g_closure_invoke ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#75 0xb78f9029 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#76 0xb7900963 in g_signal_emit_valist ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#77 0xb7900bf3 in g_signal_emit ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#78 0xb7c33633 in gtk_widget_activate ()
   from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#79 0xb7b1bb57 in gtk_menu_shell_activate_item ()
   from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#80 0xb7b1bf09 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#81 0xb7b10372 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#82 0xb7b07ebe in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#83 0xb78e55a4 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#84 0xb78e6a7e in g_closure_invoke ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#85 0xb78f8c80 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#86 0xb790068f in g_signal_emit_valist ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#87 0xb7900bf3 in g_signal_emit ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#88 0xb7c34ac3 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#89 0xb7b06294 in gtk_propagate_event ()
   from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#90 0xb7b06690 in gtk_main_do_event ()
   from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#91 0xb7980168 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#92 0xb78131e3 in g_main_context_dispatch ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#93 0xb7813468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#94 0xb7813528 in g_main_context_iteration ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#95 0x081e7019 in ?? ()
#96 0x080a645b in ?? ()
#97 0x080a8c42 in ?? ()
#98 0x080a906f in ?? ()
#99 0x080fa9c3 in ?? ()
#100 0x080a9025 in ?? ()
#101 0x0805fb4e in ?? ()
#102 0xb748fa83 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#103 0x08c31c92 in ?? ()
« Last Edit: July 17, 2014, 07:54:03 pm by stem »

kodok.buncit

  • New Member
  • *
  • Posts: 35
Re: Access violation with Linux Mint 17
« Reply #3 on: July 17, 2014, 09:02:39 pm »
kodok.buncit on github https://github.com/kodok-buncit/

Primary OS : Linux Ubuntu 12.04
fpc & laz      : always Trunk version

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Access violation with Linux Mint 17
« Reply #4 on: August 03, 2014, 09:44:51 am »
Is there any work around for this bug?
I couldn't open any project in home directory in Linux Min 17

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Access violation with Linux Mint 17
« Reply #5 on: August 03, 2014, 09:59:51 am »
I have found the work-around comment in bugs site:
Quote
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.

I have tried many other themes and downloaded other themes but I still get Access Violation when opening home directory

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Access violation with Linux Mint 17
« Reply #6 on: August 03, 2014, 10:29:30 am »
I have found the work-around comment in bugs site:
Quote
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.

I have tried many other themes and downloaded other themes but I still get Access Violation when opening home directory

Personally, I haven't experienced this bug myself, as it seems that only 32-bit Mint installations are affected with this bug, and I have 64-bit Mint.
I see that here, Željan proposes another workaround:
Quote
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.
Have you tried that?

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Access violation with Linux Mint 17
« Reply #7 on: August 03, 2014, 02:11:44 pm »
Thanks Zoran, it works fine.
Actually I'm using Linux Min in a VirtualBox, and I can use only 32 bit OS with it.

stem

  • Jr. Member
  • **
  • Posts: 88
Re: Access violation with Linux Mint 17
« Reply #8 on: October 17, 2014, 03:51:44 pm »
I have found the work-around comment in bugs site:
Quote
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.

That worked for me (Mint 17, 32 bit, VMware). Thank you.

stem

 

TinyPortal © 2005-2018