Searchmonkey crashes when a result is selected

Bug #178701 reported by Mihai Militaru
60
This bug affects 10 people
Affects Status Importance Assigned to Milestone
searchmonkey (Debian)
Fix Released
Unknown
searchmonkey (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I use XUbuntu 7.10 - Gutsy Gibbon, AMD64
Searchmokey version is the one on the repo, meaning 0.8.1.
===
I use Searchmonkey to look for files. After the results are shown, I try to select one of them to see the options, but the GUI instantly crashes with this error: Segmentation fault (core dumped)

Tags: patch
Changed in searchmonkey:
status: New → Confirmed
Revision history for this message
Mihai Militaru (mihai.militaru) wrote :

You may consider the bug for Hardy (8.04) amd64, too. This time it doesn't crash all the time, sometimes on the 2nd search, sometimes on the 3rd, etc. I don't use the same desktop - XFCE - (and SearchMonkey) anymore, so subscribers using them are welcome.

Revision history for this message
yurx cherio (cherio) wrote :

Hardy 8.04 amd64. I confirm the problem. It instantaneously disappears when clicking on the result list. When launching from terminal it gives "Segmentation fault" when crashing.

Revision history for this message
stephenls (stephenls74) wrote :

I've just encountered this bug, using Karmic (9.10). For whatever reason, SearchMonkey only crashes when i request case-sensitive results.

Revision history for this message
haggholm (petter-petterhaggholm) wrote :

Still an issue, now in Lucid. See http://ubuntuforums.org/archive/index.php/t-894352.html -- could it be a 64-bit issue? Should the default package be a 32-bit binary?

Revision history for this message
Andrea Denzler (andreaplanet) wrote :

Since SearchMonkey (0.8.1) wasn't updated the bug is still an issue also in Ubuntu Maverick 64bit

Revision history for this message
Andrea Denzler (andreaplanet) wrote :

P.S.: and I too confirm that I don't have issues with the 32bit version:
sudo dpkg -i --force-all searchmonkey_0.8.1-7_i386.deb

Revision history for this message
Stéphane Bidoul (Acsone) (sbi) wrote :

I've the issue too in Natty 64bit.

Revision history for this message
Andrea Denzler (andreaplanet) wrote :

It's since 2007 that there are no dev updates. The development team is working on version 2.0.0 (still in beta) but there are no updates since May 2010, and only the source code of the beta is available to download/compile.
http://searchmonkey.embeddediq.com/download

Revision history for this message
lopho (lopho) wrote :

can confirm for natty 64bit as well

2.0.0 has recently been released, according to their sf.net page since 2010-05-16

Revision history for this message
Mateusz Balbus (mate-ob) wrote :

I fixed this bug see attachment. I also added command line argument (-d) which allows user to set up search folder.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "searchmonkey-fixes.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Fantu (fantonifabio) wrote :

I have the same problem, I use this program a lot and I have not found good alternatives on linux, can you solve the problem for Precise please?

Revision history for this message
fisharebest (fisharebest) wrote :

The issue persists in 12.10

The patch provided in post #10 has worked for me. I've been using search monkey for several hours with no crash ;-)

Here are the instructions for creating a patched version of searchmonkey-0.8.1

1) Download the 0.8.1 source from http://sourceforge.net/projects/searchmonkey/files/searchmonkey/ and unzip.

2) Apply the patch (thanks Mateusz!) from post #10 using

$ patch -p0 < searchmonkey-fixes.patch

3) Install the necessary build tools. In my case, I needed the following. YMMV.

$ sudo apt-get install gtk+-2.0

4) configure the makefile, and build it

$ configure && make

5) You now have an executable (src/searchmonkey). Install it:

$ sudo make install

I also tried to build searchmonkey-2.0.0. The code won't compile without a small bug-fix. I won't bother adding a patch, as resulting application is, IMHO, vastly inferior to the old version.

1) Download the 2.0.0 source from http://sourceforge.net/projects/searchmonkey/files/Searchmonkey2 and unzip

2) Install the necessary build tools. In my case, I needed the following:

$ sudo apt-get install qt4-qmake libqt4-core libqt4-dev libqt4-dev-bin g++

3) Fix a bug in the code - it won't compile otherwise(!) In file Utility.h, there is a template IsValueInRange<>, which is dependent on the templates LowerBoundFIt<> and UpperBoundFit<>, but which is declared ahead of it.

Simply change the order so that IsValueInRange<> comes afterLowerBoundFIt<> and UpperBoundFit<>.

4) create the makefile from the QT project file, and build it.

$ qmake && make

5) you have an executable, searchmonkey

PS - I wanted to send the bug-fix back to the project maintainers, but their forum, mailing-list and contact addresses lead nowhere....

Revision history for this message
Thierry B. (thierrybo2) wrote :

You can add a ticket to http://sourceforge.net/apps/trac/searchmonkey/report (need a sourceforge account first)

Revision history for this message
Peter B (ueter) wrote :

For the benefit of 64-bit users, I have built a fixed version in my PPA. This includes Mateusz's fix, a few other minor fixes, and a local html user-guide (activated pressing [F1] key, based on the man page.

https://launchpad.net/~ueter/+archive/searchmonkey

Changed in searchmonkey (Debian):
status: Unknown → Confirmed
Changed in searchmonkey (Debian):
status: Confirmed → Fix Released
Revision history for this message
Peter B (ueter) wrote :

I gather the Debian fixed version works in Saucy. (can try to install with gdebi)
https://packages.debian.org/jessie/amd64/searchmonkey/download

Also, the Trusty version should have the fix.

Revision history for this message
gabybosetti (gabybosetti) wrote :

Solved in the new release. I have Ubuntu 13.10 and I have installed the .deb of Greasemonkey for Ubuntu 14, and it is working. You can download it from here: http://packages.ubuntu.com/trusty/amd64/searchmonkey/download

Revision history for this message
Peter B (ueter) wrote :

Updated (ubuntu) status, top of page, as bug is fixed from Trusty onwards.

PB.

Changed in searchmonkey (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.