Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272745 - www-client/seamonkey-1.1.16 browser/mail segfaults when sending attachments, running plugins when compiled with sys-devel/gcc-4.3.2-r3
Summary: www-client/seamonkey-1.1.16 browser/mail segfaults when sending attachments, ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-05 10:16 UTC by Akarki
Modified: 2010-07-17 11:54 UTC (History)
1 user (show)

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


Attachments
emerge --infro (emerge.info.txt,5.68 KB, text/plain)
2009-06-05 10:18 UTC, Akarki
Details
lspci output (lspci,2.10 KB, text/plain)
2009-06-05 10:20 UTC, Akarki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Akarki 2009-06-05 10:16:16 UTC
always segfaults when attaching files to mails. Also when running plugins such as JAVA JRE or playing MP3 files in web pages with vlc or mplayer plugin.
it was ok when compiled with gcc-4.1.x but after gcc upgrade I did emerge -ev world and afterwards segfaults

Reproducible: Always

Steps to Reproduce:
1.emerge seamonkey with gcc4.3.x 
2.run java applets or send emails with attachments
3.

Actual Results:  
segfault, application windows disappears

Expected Results:  
should work fine

see attached files
Comment 1 Akarki 2009-06-05 10:18:56 UTC
Created attachment 193611 [details]
emerge --infro
Comment 2 Akarki 2009-06-05 10:20:36 UTC
Created attachment 193613 [details]
lspci output

hardware is Dell Latitude D830, 2GB RAM, 2.0Ghz Core2 CPU, SATA disk.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-11 05:52:17 UTC
Please attach the output of the program that crashes and a backtrace[1] and then reopen this bug report.


[1] http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 4 Akarki 2009-06-11 09:12:04 UTC
$ /usr/bin/seamonkey -g
No running windows found
              MOZILLA_FIVE_HOME=/usr/lib/seamonkey
                LD_LIBRARY_PATH=/usr/lib/seamonkey:/usr/lib/seamonkey/plugins
                        DISPLAY=:0
                       debugger=gdb

GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb)
(gdb) start
Breakpoint 1 at 0x804b223: file nsAppRunner.cpp, line 1581.
Starting program: /usr/lib/seamonkey/seamonkey-bin
[Thread debugging using libthread_db enabled]
[New Thread 0xb6fc96d0 (LWP 1914)]
[Switching to Thread 0xb6fc96d0 (LWP 1914)]
main (argc=Cannot access memory at address 0x1d
) at nsAppRunner.cpp:1581
1581    nsAppRunner.cpp: No such file or directory.
        in nsAppRunner.cpp
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /usr/lib/seamonkey/seamonkey-bin
[Thread debugging using libthread_db enabled]

(process:1917): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
[New Thread 0xb71576d0 (LWP 1917)]
[New Thread 0xb6e0db90 (LWP 1918)]
[New Thread 0xb59c3b90 (LWP 1919)]
[New Thread 0xb51c2b90 (LWP 1920)]
[New Thread 0xb423cb90 (LWP 1921)]
[New Thread 0xb3151b90 (LWP 1924)]
[New Thread 0xb2950b90 (LWP 1925)]
[New Thread 0xb214fb90 (LWP 1926)]
[New Thread 0xb194eb90 (LWP 1927)]
[New Thread 0xb114db90 (LWP 1929)]
[Thread 0xb214fb90 (LWP 1926) exited]
[Thread 0xb114db90 (LWP 1929) exited]
[New Thread 0xb114db90 (LWP 1930)]
[New Thread 0xb214fb90 (LWP 1932)]
[Thread 0xb114db90 (LWP 1930) exited]
[Thread 0xb214fb90 (LWP 1932) exited]
[New Thread 0xb214fb90 (LWP 1933)]
[New Thread 0xb114db90 (LWP 1934)]
[Thread 0xb114db90 (LWP 1934) exited]
[New Thread 0xb114db90 (LWP 1935)]
[New Thread 0xb065ab90 (LWP 1936)]
[New Thread 0xafcc6b90 (LWP 1937)]


[Thread 0xb214fb90 (LWP 1933) exited]
[New Thread 0xb214fb90 (LWP 1938)]
[New Thread 0xaf28cb90 (LWP 1939)]
[New Thread 0xaea8bb90 (LWP 1940)]
[Thread 0xaea8bb90 (LWP 1940) exited]
[Thread 0xaf28cb90 (LWP 1939) exited]
[Thread 0xb214fb90 (LWP 1938) exited]
[New Thread 0xb214fb90 (LWP 1941)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb71576d0 (LWP 1917)]
nsUnknownDecoder::FireListenerNotifications (this=0x93998f8, request=0x8da5b74,
    aCtxt=0x0) at nsUnknownDecoder.cpp:656
656     nsUnknownDecoder.cpp: No such file or directory.
        in nsUnknownDecoder.cpp
Comment 5 Akarki 2009-06-11 09:14:36 UTC
I've recompiled seamonkey with CFLAGS="-ggdb -O2 -mtune=core2 -march=core2 -mmmx -msse3 -msse2 -msse -pipe "

and make.conf FEATURES="autoaddcvs ccache sandbox splitdebug"

then edited /usr/lib/seamonkey/seamonkey bash script and switched debugging on.

I hope this will help you to find the bug.
The above gdb output happens when sending an email with attachments.

Thanks for help!
Comment 6 Akarki 2009-06-11 09:17:05 UTC
this happens when trying to run a java applet from browser:

(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /usr/lib/seamonkey/seamonkey-bin
[Thread debugging using libthread_db enabled]

(process:1943): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
[New Thread 0xb71746d0 (LWP 1943)]
[New Thread 0xb6e2ab90 (LWP 1944)]
[New Thread 0xb5ae3b90 (LWP 1945)]
[New Thread 0xb52e2b90 (LWP 1946)]
[New Thread 0xb4530b90 (LWP 1947)]
[New Thread 0xb3957b90 (LWP 1948)]
[New Thread 0xb295fb90 (LWP 1951)]
[New Thread 0xb20deb90 (LWP 1952)]
[New Thread 0xafa92b90 (LWP 1953)]
[New Thread 0xaf291b90 (LWP 1954)]
[New Thread 0xaea90b90 (LWP 1955)]
[New Thread 0xae28fb90 (LWP 1956)]
[New Thread 0xada8eb90 (LWP 1958)]
[Thread 0xaea90b90 (LWP 1955) exited]
[Thread 0xada8eb90 (LWP 1958) exited]
[New Thread 0xada8eb90 (LWP 1959)]
[New Thread 0xaea90b90 (LWP 1961)]
[Thread 0xada8eb90 (LWP 1959) exited]
[Thread 0xaea90b90 (LWP 1961) exited]
[New Thread 0xaea90b90 (LWP 1962)]
[New Thread 0xada8eb90 (LWP 1963)]
[New Thread 0xacce9b90 (LWP 1965)]
[Thread 0xb4530b90 (LWP 1947) exited]
[Thread 0xb5ae3b90 (LWP 1945) exited]
[New Thread 0xb5ae3b90 (LWP 1978)]
[Thread 0xb5ae3b90 (LWP 1978) exited]
[New Thread 0xb5ae3b90 (LWP 1984)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb71746d0 (LWP 1943)]
nsUnknownDecoder::FireListenerNotifications (this=0xb9e9308, request=0xb9c94ec,
    aCtxt=0x0) at nsUnknownDecoder.cpp:656
656     nsUnknownDecoder.cpp: No such file or directory.
        in nsUnknownDecoder.cpp
Comment 7 Andrew Church 2009-07-08 07:35:33 UTC
I wonder if this is the same as bug 265642?
Comment 8 Jory A. Pratt gentoo-dev 2009-07-11 02:18:42 UTC
Please test 1.1.17 and report if problem is still there please, if no response in 72 hours we will assume it is fixed for you.
Comment 9 Akarki 2009-07-17 11:43:59 UTC
# equery l seamonkey
[ Searching for package 'seamonkey' in all categories among: ]
 * installed packages
[I--] [  ] www-client/seamonkey-1.1.17 (0)
[I--] [  ] www-client/seamonkey-bin-1.1.17 (0)
Comment 10 Akarki 2009-07-17 11:46:56 UTC
/usr/libexec/mozilla-launcher: line 119: 18743 Segmentation fault      $(type -P aoss) "$mozbin" $xulparams "$@"
seamonkey-bin exited with non-zero status (139)

[1]+  Exit 139                seamonkey


it's still there

with seamonkey-bin, it's working fine
Comment 11 Martin Mokrejš 2010-01-21 10:32:26 UTC
Either hack the ebuild or configure yourself the sources again with something like:

$ ./configure --disable-optimize --enable-debug='-g3 -O0 -ggdb' --enable-debug-modules=all --enable-debugger-info-modules --enable-detect-webshell-leaks
$ cd dist/bin
$ MOZILLA_FIVE_HOME=`pwd` XPCOM_DEBUG_BREAK=trap ./mozilla -g
Comment 12 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-04-11 14:39:09 UTC
Can you reproduce the problem with seamonkey-2?
Comment 13 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-07-17 11:54:52 UTC
Please reopen if this is still a problem with latest seamonkey.