bluefish repo package seg fault (64-bit only) [SOLVED]

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
caitlyn
Posts: 209
Joined: 5. Dec 2009, 20:42
Location: Hunstville, Texas, USA

bluefish repo package seg fault (64-bit only) [SOLVED]

Post 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.
Last edited by caitlyn on 19. Oct 2010, 23:19, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: bluefish repo package seg fault (64-bit only)

Post by gapan »

I removed the bluefish 64bit package from the repository, until we find what is causing this. Thanks for the report Caitlyn.
Image
Image
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: bluefish repo package seg fault (64-bit only)

Post 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.
Image
Image
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: bluefish repo package seg fault (64-bit only)

Post 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.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: bluefish repo package seg fault (64-bit only)

Post by gapan »

I already posted a bug report upstream that includes a backtrace.
Image
Image
User avatar
lmello
Posts: 218
Joined: 4. Aug 2010, 17:38
Location: Brazil
Contact:

Re: bluefish repo package seg fault (64-bit only)

Post by lmello »

Unfortunately, I don't have a 64-bit machine in order to build and test bluefish on.
:|
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: bluefish repo package seg fault (64-bit only)

Post 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?
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: bluefish repo package seg fault (64-bit only)

Post 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.
Image
Image
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: bluefish repo package seg fault (64-bit only)

Post 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.
Image
Image
User avatar
caitlyn
Posts: 209
Joined: 5. Dec 2009, 20:42
Location: Hunstville, Texas, USA

Re: bluefish repo package seg fault (64-bit only)

Post by caitlyn »

Great! Thanks for fixing this. Bluefish is still my favorite editor for web development.
Post Reply