Page 1 of 1

PB-IDE (x64): ToolsPanel Explorer crashes

Posted: Sun Apr 03, 2016 2:17 pm
by Sicro
Displaymode of the explorer: Explorer Tree

Explorer content:
  • /
  • Persönlicher Ordner (I think "Home" in english OS)
When I navigate to "/", everything is ok.
When I click on "Home" folder, the IDE crashes.

Under x86 no problem.

Code: Select all

alexander@anonym ~/purebasic $ ./launch.sh 
*** Error in `./compilers/purebasic': free(): invalid next size (fast): 0x00000000016d5b00 ***
./launch.sh: Zeile 1:  5372 Speicherzugriffsfehler  ./compilers/purebasic
alexander@anonym ~/purebasic $ 
Tested with:
- Linux Mint Cinnamon x64
- Xubuntu x86

Re: PB-IDE (x64): ToolsPanel Explorer crashes

Posted: Mon May 01, 2017 8:32 pm
by Sicro
It looks as the problem is on the ExplorerTreeGadget.

Run the following code:

Code: Select all

If OpenWindow(0, 0, 0, 300, 300, "ExplorerTreeGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  ExplorerTreeGadget(0, 10, 10, 280, 280, "*.pb;*.pbi")
  Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Double click or expand the folder "Persönlicher Ordner" (home directory) and you can see it crashes too.
I haven't tested it on a system with a another language as german. It would be nice if someone would also test it.

Re: PB-IDE (x64): ToolsPanel Explorer crashes

Posted: Mon May 01, 2017 11:04 pm
by ChrisR
No worries here in utuntu 16.04 x64 in a virtual machine. French language, PB-IDE 5.60 x64.

Re: PB-IDE (x64): ToolsPanel Explorer crashes

Posted: Fri Jun 02, 2017 6:21 pm
by Kiffi
couldn't confirm.

No problems here with my 'Persönlicher Ordner' on Linux Mint 18.1 Serena / Cinnamon 3.2.7 (Gtk 3.18.9) / PB5.60 (x64)

Greetings ... Peter

Re: PB-IDE (x64): ToolsPanel Explorer crashes

Posted: Fri Jul 07, 2023 3:52 pm
by Fred
Seems to work as expected here, can anybody else confirm ?

Re: PB-IDE (x64): ToolsPanel Explorer crashes

Posted: Sat Jul 08, 2023 4:10 pm
by Sicro
OS: Manjaro Linux x86_64
DE: Xfce 4.18
WM: Xfwm4
$ purebasic -v
PureBasic IDE 6.03 beta 3 LTS [devel; cdfd42d7a3d8; 07-07-2023] - (c) 2023 Fantaisie Software
Started PureBasic IDE in the terminal, then clicked on "Persönlicher Ordner" in the explorer inside the tools panel and the PureBasic IDE crashes on my system:
$ purebasic

(purebasic:7020): Gtk-CRITICAL **: 16:48:21.206: gtk_widget_get_mapped: assertion 'GTK_IS_WIDGET (widget)' failed

(purebasic:7020): Gdk-CRITICAL **: 16:48:21.206: gdk_window_is_visible: assertion 'GDK_IS_WINDOW (window)' failed

(purebasic:7020): Gdk-CRITICAL **: 16:48:21.206: gdk_window_show_internal: assertion 'GDK_IS_WINDOW (window)' failed

(purebasic:7020): Gtk-CRITICAL **: 16:48:21.206: gtk_widget_set_opacity: assertion 'GTK_IS_WIDGET (widget)' failed

(purebasic:7020): Gtk-CRITICAL **: 16:48:21.206: gtk_widget_queue_draw: assertion 'GTK_IS_WIDGET (widget)' failed

(purebasic:7020): Gtk-CRITICAL **: 16:48:21.213: gtk_widget_get_mapped: assertion 'GTK_IS_WIDGET (widget)' failed

(purebasic:7020): Gdk-CRITICAL **: 16:48:21.213: gdk_window_is_visible: assertion 'GDK_IS_WINDOW (window)' failed

(purebasic:7020): Gdk-CRITICAL **: 16:48:21.213: gdk_window_show_internal: assertion 'GDK_IS_WINDOW (window)' failed

(purebasic:7020): Gtk-CRITICAL **: 16:48:21.213: gtk_widget_set_opacity: assertion 'GTK_IS_WIDGET (widget)' failed

(purebasic:7020): Gtk-CRITICAL **: 16:48:21.213: gtk_widget_queue_draw: assertion 'GTK_IS_WIDGET (widget)' failed

(purebasic:7020): Gtk-CRITICAL **: 16:48:23.209: gtk_widget_get_mapped: assertion 'GTK_IS_WIDGET (widget)' failed

(purebasic:7020): Gdk-CRITICAL **: 16:48:23.209: gdk_window_is_visible: assertion 'GDK_IS_WINDOW (window)' failed

(purebasic:7020): Gtk-CRITICAL **: 16:48:23.209: gtk_widget_set_opacity: assertion 'GTK_IS_WIDGET (widget)' failed

(purebasic:7020): Gtk-CRITICAL **: 16:48:23.209: gtk_widget_queue_draw: assertion 'GTK_IS_WIDGET (widget)' failed

(purebasic:7020): Gtk-CRITICAL **: 16:48:23.215: gtk_widget_get_mapped: assertion 'GTK_IS_WIDGET (widget)' failed

(purebasic:7020): Gdk-CRITICAL **: 16:48:23.215: gdk_window_is_visible: assertion 'GDK_IS_WINDOW (window)' failed

(purebasic:7020): Gtk-CRITICAL **: 16:48:23.215: gtk_widget_set_opacity: assertion 'GTK_IS_WIDGET (widget)' failed

(purebasic:7020): Gtk-CRITICAL **: 16:48:23.215: gtk_widget_queue_draw: assertion 'GTK_IS_WIDGET (widget)' failed
free(): invalid next size (fast)
Floating point exception (memory dump written)
Even with the ExplorerTreeGadget code above, I still have the problem as well.