Hi all, i experienced "Segmentation fault" while trying to open newly created *empty* .php file. Steps to reproduce : 1. Create empty <Test.php> file somewhere. 2. Navigate under terminal to folder where is created file 3. geanv -v <Test.php> 4. When file is open, write : -- <?php <whatever you want> -- Expected result : edit file nromally Actual result : -- nask0@localhost ~/Desktop $ geany -v Test.php Geany-INFO: Geany 1.24 (git >= af5dfba), en_US.UTF-8 Geany-INFO: GTK 2.24.19, GLib 2.36.3 Geany-INFO: System data dir: /usr/local/share/geany Geany-INFO: User config dir: /home/nask0/.config/geany Geany-INFO: System plugin path: /usr/local/lib/geany Geany-INFO: Added filetype Cython (55). Geany-INFO: Added filetype Scala (56). Geany-INFO: Added filetype Go (57). Geany-INFO: Added filetype Genie (58). Geany-INFO: Added filetype Rust (59). Geany-INFO: Disabling terminal support Geany-INFO: Loaded: /usr/local/lib/geany/export.so (Export) Geany-INFO: Loaded: /usr/local/lib/geany/geanyvc.so (GeanyVC) Geany-INFO: Loaded: /usr/local/lib/geany/htmlchars.so (HTML Characters) Geany-INFO: Loaded: /usr/local/lib/geany/splitwindow.so (Split Window) Geany-INFO: /var/www/html/projects/svn/benson-new/trunk/framework/library/App/Automation/Scripts/BestCreativesForBestLp.php : PHP (UTF-8) Geany-INFO: Bad color 'true,false,bold' Geany-INFO: Bad color 'false' Geany-INFO: Bad color 'true' Geany-INFO: Loaded /usr/local/share/geany/php.tags (PHP), 2338 tag(s). Geany-INFO: /home/nask0/Desktop/Test.php : PHP (UTF-8) Segmentation fault --
See attached strace.log for more info.
Le 14/07/2013 23:14, n@sk0 a écrit :
Hi all, i experienced "Segmentation fault" while trying to open newly created *empty* .php file. Steps to reproduce :
- Create empty <Test.php> file somewhere.
- Navigate under terminal to folder where is created file
- geanv -v <Test.php>
- When file is open, write :
-- <?php
<whatever you want> -- [...]
I don't get how you can get a crash, but there indeed is a bug (hang). Should be fixed by https://github.com/geany/geany/commit/66396e7ca7e892d734daf9b6579b3dce9a7425...
Thanks for the report, and sorry for the inconvenience.
Cheers, Colomban
On 07/15/2013 02:05 AM, Colomban Wendling wrote:
Le 15/07/2013 01:01, Colomban Wendling a écrit :
Le 14/07/2013 23:14, n@sk0 a écrit :
[...]
I don't get how you can get a crash, [...]
Hum ok, it loops trying to fill a buffer, growing it forever -- I didn't wait long enough for the system to get bored and kick it out. _______________________________________________ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
Problem seems fixed, thanks for fast reaction and keep up good work