PB-IDE (x64): ToolsPanel Explorer crashes

Post bugs related to the IDE here
User avatar
Sicro
Enthusiast
Enthusiast
Posts: 538
Joined: Wed Jun 25, 2014 5:25 pm
Location: Germany
Contact:

PB-IDE (x64): ToolsPanel Explorer crashes

Post 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
Image
Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version
User avatar
Sicro
Enthusiast
Enthusiast
Posts: 538
Joined: Wed Jun 25, 2014 5:25 pm
Location: Germany
Contact:

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

Post 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.
Image
Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

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

Post by ChrisR »

No worries here in utuntu 16.04 x64 in a virtual machine. French language, PB-IDE 5.60 x64.
User avatar
Kiffi
Addict
Addict
Posts: 1353
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

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

Post 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
Hygge
Fred
Administrator
Administrator
Posts: 16618
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

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

Post by Fred »

Seems to work as expected here, can anybody else confirm ?
User avatar
Sicro
Enthusiast
Enthusiast
Posts: 538
Joined: Wed Jun 25, 2014 5:25 pm
Location: Germany
Contact:

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

Post 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.
Image
Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version
Post Reply