Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13603 - nautilus-scripts fail with gdialog crashing
Summary: nautilus-scripts fail with gdialog crashing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://lagun.gnome-db.org/projects/na...
Whiteboard:
Keywords:
: 13819 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-01-09 16:35 UTC by Lance Lassetter
Modified: 2003-07-25 21:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace of gdialog crashing (gdialog_crash,85.63 KB, text/plain)
2003-01-16 17:35 UTC, Lance Lassetter
Details
requested gdb output (gdb_gdiag_per_instructions,1.84 KB, text/plain)
2003-01-22 07:27 UTC, Lance Lassetter
Details
Backtrace of gdiag crash. (gdialog_crash1,13.63 KB, text/plain)
2003-03-03 21:40 UTC, Lance Lassetter
Details
backtrace with set 'inherit debug' in gnome-utils ebuild (gdiag_crash_inherit_debug,13.18 KB, text/plain)
2003-03-09 04:59 UTC, Lance Lassetter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lance Lassetter 2003-01-09 16:35:02 UTC
created nautilus-scripts mimetype and scp_to_host from
http://lagun.gnome-db.org/projects/nautilus-scripts/index.php, placed in
/home/user/gnome2/nautilus-scripts, made scripts executable.

when right click on file and select given script, script fails with crash dialog
box referring to gdialog crashing.

bug report also filed at bugzilla.gnome.org:

http://bugzilla.gnome.org/show_bug.cgi?id=102985

inline bug report:

Opened by lance_tt@bellsouth.net (Lance O. Lassetter) on  2003-01-09 17:18  
Long Description



Package: nautilus
Severity: critical
Version: 2.0.6
Synopsis: gdialog crashes with mimetype nautilus-script
Bugzilla-Product: nautilus
Bugzilla-Component: general
BugBuddy-GnomeVersion: 2.0 (2.0.6)

Description:
Description of Problem:
gdialog crashes when executing mimetype nautilus-script
(http://lagun.gnome-db.org/projects/nautilus-scripts/mimetype)

Steps to reproduce the problem:
1. save http://lagun.gnome-db.org/projects/nautilus-scripts/mimetype to
text file
2. move file to /home/user/.gnome2/nautilus-scripts and make executable
3. right click file in nautilus and select 'mimetype' under 'scripts'

Actual Results:
gdialog crash box comes up

Expected Results:
mimetype to be displayed properly

How often does this happen?
every time

Additional Information:
System is Gentoo 1.4rc1, gnome-utils package is 2.0.6, gnome package is
gnome-2.0.3-r1

Please contact me if you need any more information.



Debugging Information:

Backtrace was generated from '/usr/bin/gdialog'

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New
Thread 16384 (LWP 24775)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
0x40907a99 in wait4 () from /lib/libc.so.6
#0  0x40907a99 in wait4 () from /lib/libc.so.6
#1  0x4098420c in __DTOR_END__ () from /lib/libc.so.6
#2  0x4075bba3 in waitpid () from /lib/libpthread.so.0
#3  0x4006fc99 in libgnomeui_module_info_get () from
/usr/lib/libgnomeui-2.so.0

Thread 1 (Thread 16384 (LWP 24775)):
#0  0x40907a99 in wait4 () from /lib/libc.so.6
No symbol table info available.
#1  0x4098420c in __DTOR_END__ () from /lib/libc.so.6
No symbol table info available.
#2  0x4075bba3 in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#3  0x4006fc99 in libgnomeui_module_info_get () from
/usr/lib/libgnomeui-2.so.0
No symbol table info available.
#0  0x40907a99 in wait4 () from /lib/libc.so.6




------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-01-09
17:17 -------

Reassigning to the default owner of the component,
nautilus-maint@bugzilla.gnome.org.
Comment 1 foser (RETIRED) gentoo-dev 2003-01-13 09:45:37 UTC
*** Bug 13819 has been marked as a duplicate of this bug. ***
Comment 2 foser (RETIRED) gentoo-dev 2003-01-16 09:55:21 UTC
Try turning down optimisations, can't reproduce it.
Comment 3 Lance Lassetter 2003-01-16 09:59:32 UTC
Ok, use default that come in /etc/make.conf for i686 is it?  And not use
'athlon-xp' optimisations?

Also what should I rebuild with new optimisations?  I tried rebuilding just
gnome-utils, same error.

Gnome seems very picky with cpu optimisations, this isn't the first time I've
ran into this.
Comment 4 foser (RETIRED) gentoo-dev 2003-01-16 10:40:12 UTC
just try something like "-O1 -pipe" thats low 

can you figure out where gdiag crashes, get a backtrace with symbols maybe ?
Comment 5 Lance Lassetter 2003-01-16 17:35:55 UTC
Created attachment 7388 [details]
strace of gdialog crashing

Included as attachment is strace of gdialog crashing.
Comment 6 Lance Lassetter 2003-01-16 17:39:57 UTC
What should I re-emerge with lesser compiler optimisations?

Tried emerging gnome-utils with just:

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
 
or do I need to tune this down as well?
Comment 7 foser (RETIRED) gentoo-dev 2003-01-16 18:34:54 UTC
Yes you should, for a generic system thats pretty much ('generic' as in
'non-gentoo linux systems').

a gdb backtrace please, strace doesnt reveal all that much.
Comment 8 Lance Lassetter 2003-01-16 22:20:19 UTC
ok, have gdb installed but having problems creating a backtrace.

what i'm testing with is # /usr/bin/gdialog --msgbox test 100 100

how would I create a gdb backtrace with this or would it be something different?

I can get to a (gdb) prompt ok.

Also when you say generic as in 'generic' Linux cpu optimisation flags, can I
just comment out all optimisations in /etc/make.conf , that would set at default?
Comment 9 Lance Lassetter 2003-01-16 23:16:06 UTC
Edited /etc/make.conf, uncommented all lines for CFLAGS, CXXFLAGS, set first
optimisiation line to:

CHOST="i686-pc-linux-gnu" 
recompiled and installed gnome, gnome-utils
still gdialog can't bring up nautilus-scripts

then tried 

CHOST="i386-pc-linux-gnu"
recompiled and installed gnome, gnome-utils
yet again doesn't work

need info on using gdb with gdialog and if this was done right

Comment 10 Markus Bertheau (RETIRED) gentoo-dev 2003-01-17 17:14:58 UTC
set CFLAGS and CXXFLAGS to "-g -pipe", recompile, then do

$ gdb /usr/bin/gdialog
(gdb) run --msgbox test 100 100
program blah recieved sigsegv
(gdb) bt
Comment 11 Lance Lassetter 2003-01-22 07:27:45 UTC
Created attachment 7529 [details]
requested gdb output

as given instructions:

set CFLAGS and CXXFLAGS to "-g -pipe", recompile, then do

$ gdb /usr/bin/gdialog
(gdb) run --msgbox test 100 100
program blah recieved sigsegv
(gdb) bt

completed with attached text file result
Comment 12 foser (RETIRED) gentoo-dev 2003-03-03 15:12:55 UTC
is this still a problem with latest gnome-utils (2.2.0.3) btw?
Comment 13 Lance Lassetter 2003-03-03 21:40:04 UTC
Created attachment 8920 [details]
Backtrace of gdiag crash.

Yes, it still isnt' working, even with gnome-utils-2.2.0.3
Attached is backtrace, although I don't know if it will be helpful.
Comment 14 foser (RETIRED) gentoo-dev 2003-03-08 12:57:10 UTC
not really, can you add 'inherit debug' at the top of the ebuild and build it without any optimizations (just CFLAGS="") and give us the resulting backtrace ?
Comment 15 Lance Lassetter 2003-03-09 04:59:47 UTC
Created attachment 9158 [details]
backtrace with set 'inherit debug' in gnome-utils ebuild

As requested, backtrace of gdialog segfault with 'inherit debug' in ebuild as
well as CFLAGS=""
Comment 16 Alastair Tse (RETIRED) gentoo-dev 2003-05-17 06:53:46 UTC
from the backtrace, it looked like it was ncurses that was producing the segfault. do you want to try re-emergeing that?
Comment 17 Martin Holzer (RETIRED) gentoo-dev 2003-07-25 16:44:27 UTC
seems to be fixed, no more msg from bug-reporter
Comment 18 Lance Lassetter 2003-07-25 21:28:14 UTC
Apparently, it was the nautilus-scripts that were borked.  Sorry haven't responded sooner, thanks.