Page 1 of 1
bluefish repo package seg fault (64-bit only) [SOLVED]
Posted: 21. Sep 2010, 04:52
by caitlyn
Nice to see Bluefish 2.0.2 added to the repo. Unfortunately the package needs some work. If I click on the Bluefish entry in the menu it looks like nothing happens. Running as an ordinary user from a terminal window produces this result on a 64-bit SalixOS 13.1.1 system:
Code: Select all
caitlyn[~]$ bluefish
(bluefish:15574): GLib-CRITICAL **: g_hash_table_iter_init: assertion `hash_table != NULL' failed
Segmentation fault
Running as root from a terminal window produces a different error:
Code: Select all
root[caitlyn]# bluefish
error reading list 1 Error opening file: No such file or directory
config file migration error 1:Error opening file: No such file or directoryerror reading list 1 Error opening file: No such file or directory
htmlbar_build_menu, finished
cleanup_scanner, num_marks=0, fblock_refcount=0,fcontext_refcount=0,fstack_refcount=0
However, bluefish then does start and run correctly.
The 32-bit package works just fine on my netbook so the problem appears to be limited to the 64-bit package.
Re: bluefish repo package seg fault (64-bit only)
Posted: 21. Sep 2010, 12:05
by gapan
I removed the bluefish 64bit package from the repository, until we find what is causing this. Thanks for the report Caitlyn.
Re: bluefish repo package seg fault (64-bit only)
Posted: 21. Sep 2010, 13:37
by gapan
This is weird. It works in 64bit if you launch as root, but it doesn't if you launch is as another user.
Re: bluefish repo package seg fault (64-bit only)
Posted: 21. Sep 2010, 14:18
by damNageHack
gapan wrote:This is weird. It works in 64bit if you launch as root, but it doesn't if you launch is as another user.
Use strace to debug it and you will see where/when the process crashes. Hopefully, strace will show you which file, socket or something else could not be accessed due to user rights.
Re: bluefish repo package seg fault (64-bit only)
Posted: 21. Sep 2010, 14:35
by gapan
I already posted a bug report upstream that includes a backtrace.
Re: bluefish repo package seg fault (64-bit only)
Posted: 21. Sep 2010, 14:51
by lmello
Unfortunately, I don't have a 64-bit machine in order to build and test bluefish on.

Re: bluefish repo package seg fault (64-bit only)
Posted: 21. Sep 2010, 17:14
by damNageHack
lmello wrote:Unfortunately, I don't have a 64-bit machine in order to build and test bluefish on.

Umm... that leads me to another idea. Could it be that bluefish is somehow linked to a 32 bits library on the 64 bits system?
Re: bluefish repo package seg fault (64-bit only)
Posted: 21. Sep 2010, 17:23
by gapan
damNageHack wrote:Umm... that leads me to another idea. Could it be that bluefish is somehow linked to a 32 bits library on the 64 bits system?
No.
Re: bluefish repo package seg fault (64-bit only)
Posted: 19. Oct 2010, 11:29
by gapan
OK, this was a really weird one. The segfault would only appear on 64-bit systems, when running as non-priviliged user and only when gvfs 1.0.3 was installed. By removing gvfs, bluefish worked fine, but this is no option as there are other applications that actually need it. Upgrading to a newer gvfs version fixes it too. So, bluefish is back in the 64-bit repo now along with gvfs 1.4.3. Upgrading gvfs doesn't break anything so everything is ok.
Re: bluefish repo package seg fault (64-bit only)
Posted: 19. Oct 2010, 23:18
by caitlyn
Great! Thanks for fixing this. Bluefish is still my favorite editor for web development.