After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 437835 - Crash on open
Crash on open
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
2.3.x
Other All
: Normal critical
: ---
Assigned To: Dan Winship
Dan Winship
: 460508 506552 512785 512832 513121 513480 513766 513777 515027 515859 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-05-12 07:16 UTC by Maciej (Matthew) Piechotka
Modified: 2008-02-11 22:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Maciej (Matthew) Piechotka 2007-05-12 07:16:00 UTC
Steps to reproduce:
1. Open Evolution

Stack trace:
Distribution: Gentoo Base System release 1.12.10
Gnome Release: 2.18.1 2007-05-08 (Gentoo)
BugBuddy Version: 2.18.1

System: Linux 2.6.19-suspend2-r3 #15 Wed May 9 01:07:24 CEST 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10300000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: Tango

Memory status: size: 96387072 vsize: 96387072 resident: 7909376 share: 3772416 rss: 7909376 rss_rlim: 4294967295
CPU usage: start_time: 1178754304 rtime: 18853 utime: 17616 stime: 1237 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/libexec/evolution-data-server-1.12'

Really redefine built-in command "frame"? (y or n) [answered Y; input not from terminal]
Really redefine built-in command "thread"? (y or n) [answered Y; input not from terminal]
Really redefine built-in command "start"? (y or n) [answered Y; input not from terminal]
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1220753744 (LWP 8055)]
[New Thread -1283585136 (LWP 8087)]
[New Thread -1224307824 (LWP 8056)]
_______________________________________________________________________________
     eax:FFFFFE00 ebx:000023E0  ecx:BFD2A778  edx:00000000     eflags:00000246
     esi:FFFFFFE0 edi:BFD2A778  esp:BFD2A618  ebp:00000001     eip:B7F82410
     cs:0073  ds:007B  es:007B  fs:0000  gs:0033  ss:007B    o d I t s Z a P c 
[007B:BFD2A618]---------------------------------------------------------[stack]
BFD2A648 : 01 00 00 00  00 00 01 00 - 00 00 00 00  00 00 00 00 ................
BFD2A638 : 78 A7 D2 BF  00 00 00 00 - D4 A6 D2 BF  88 F3 26 08 x.............&.
BFD2A628 : F4 FF C8 B7  00 00 00 00 - 19 14 BA B7  E0 23 00 00 .............#..
BFD2A618 : 01 00 00 00  00 00 00 00 - 78 A7 D2 BF  DB 65 BF B7 ........x....e..
[007B:FFFFFFE0]---------------------------------------------------------[ data]
FFFFFFE0 : 0xb7f82410 in __kernel_vsyscall ()
  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libc.so.6
  • #2 do_system
    at ../sysdeps/posix/system.c line 164
  • #3 __libc_system
    at ../sysdeps/posix/system.c line 206
  • #4 system
    at pt-system.c line 29
  • #5 gnome_segv_handler
    at server.c line 114
  • #6 <signal handler called>
  • #7 soup_connection_disconnect
    at soup-connection.c line 699
  • #8 socket_disconnected
    at soup-connection.c line 433
  • #9 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #10 IA__g_closure_invoke
    at gclosure.c line 490
  • #11 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #12 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #13 IA__g_signal_emit
    at gsignal.c line 2243
  • #14 soup_socket_disconnect
    at soup-socket.c line 977
  • #15 socket_read_watch
    at soup-socket.c line 1071
  • #16 g_io_unix_dispatch
    at giounix.c line 162
  • #17 IA__g_main_context_dispatch
    at gmain.c line 2061
  • #18 g_main_context_iterate
    at gmain.c line 2694
  • #19 IA__g_main_loop_run
    at gmain.c line 2898
  • #20 bonobo_main
    at bonobo-main.c line 311
  • #21 main
    at server.c line 393


----------- .xsession-errors (93747 sec old) ---------------------
** Message: volume = 0
** Message: drive = 0
** Message: volume = 0
** Message: drive = 0
** Message: volume = 0
** Message: drive = 0
** Message: volume = 0
** Message: drive = 0
** Message: volume = 0
** Message: drive = 0
** Message: volume = 0
** Message: drive = 0
** Message: volume = 0
...Too much output, ignoring rest...
--------------------------------------------------


Other information:
1. Non reproducable - next time it opened ok
2. Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.19-suspend2-r3 i686)
=================================================================
System uname: 2.6.19-suspend2-r3 i686 Intel(R) Celeron(R) M processor 1.50GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 11 May 2007 23:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mmmx -msse -msse2 -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -mmmx -msse -msse2 -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="en_GB en_US pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentopia /usr/portage/local/layman/java-gcj-overlay /usr/portage/local/layman/ecatmur /usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/java-overlay /usr/portage/local/layman/break-my-gentoo-main /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://router.piechotka.com.pl/gentoo-portage"
USE="X aac acl acpi aiglx alsa applet avahi avalon bash-completion beagle berkdb bitmap-fonts bluetooth boo browseplugin bzip2 cairo calendar caps cddb cdparanoia cdr cli cracklib crypt cups curl curlwrappers d daap dbus devhelp disk-partition djvu doc dri dvd dvdr dvdread eclipse eds emacs emboss emerald encode esd evo evolution exif expat fam ffmpeg firefox flac flash fortran fuse galago gcj gconf gdbm gdl gedit gif gimp glut gmail gmp gnome gnutls gphoto2 gpm gsf gstreamer gtk gtkhtml hal iconv idle imap ipod iproute2 ipv6 isdnlog jabber java jpeg jpeg2k jython kerberos keyring libburn libg++ libgda libnotify libsexy logrotate lucene mad madwifi maildir mhash midi mikmod mmap mmx mono mozilla mp3 mpeg mule musicbrainz nautilus ncurses network networkmanager nfs nls nntp no-old-linux nptl nptlonly nsplugin ntpl ogg oggvorbis openal opengl pam pango pbm pcmcia pcre pdf perl png pop postgres pppd python quicktime readline reflection reiserfs rhino ruby samba scanner sdl session soap sourceview spell spl sqlite sse sse2 ssh ssl subversion svg symlink syslog tcpd tetex theora threads tiff timidity totem trayicon truetype truetype-fonts type1-fonts unicode usb vorbis vte wifi x86 xcomposite xforms xhtml xml xml2 xorg xsl xv zlib" ALSA_CARDS="atiixp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="panasonic" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US pl" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Maciej (Matthew) Piechotka 2007-10-22 22:08:48 UTC
I cannot reproduce it so I close this bug
Comment 2 André Klapper 2008-01-31 22:45:03 UTC
but please not as "fixed" if it is not fixed... :-/
Comment 3 André Klapper 2008-01-31 22:45:38 UTC
*** Bug 460508 has been marked as a duplicate of this bug. ***
Comment 4 André Klapper 2008-01-31 22:45:44 UTC
*** Bug 512785 has been marked as a duplicate of this bug. ***
Comment 5 André Klapper 2008-01-31 22:45:47 UTC
*** Bug 512832 has been marked as a duplicate of this bug. ***
Comment 6 André Klapper 2008-01-31 22:45:51 UTC
*** Bug 513121 has been marked as a duplicate of this bug. ***
Comment 7 André Klapper 2008-01-31 22:45:54 UTC
*** Bug 513480 has been marked as a duplicate of this bug. ***
Comment 8 Srinivasa Ragavan 2008-02-01 08:24:12 UTC
bug #512785 is against GNOME 2.22/libsoup 2.3.x 

Dan can you look at it?
Comment 9 Dan Winship 2008-02-01 17:14:39 UTC
Should be fixed in svn, though I was not actually able to reproduce it. (It's pretty clear from the stack trace that the problem is that the session is unreffing the connection from the "disconnected" handler, and that causes the connection to be destroyed, but then it returns to soup_connection_disconnect and tries to dereference the now-invalid pointer, and crashes. But in my test cases, the connection has an extra ref at that point, so it doesn't get destroyed when the session unrefs it... Anyway, now it won't crash either way.
Comment 10 Akhil Laddha 2008-02-04 15:12:11 UTC
*** Bug 513766 has been marked as a duplicate of this bug. ***
Comment 11 Akhil Laddha 2008-02-04 15:12:38 UTC
*** Bug 513777 has been marked as a duplicate of this bug. ***
Comment 12 Dan Winship 2008-02-06 13:29:34 UTC
*** Bug 506552 has been marked as a duplicate of this bug. ***
Comment 13 Daniel Gryniewicz 2008-02-07 17:07:05 UTC
*** Bug 515027 has been marked as a duplicate of this bug. ***
Comment 14 freggy1 2008-02-10 17:44:24 UTC
Where can we find the patch fixing this issue?
Comment 15 Dan Winship 2008-02-10 19:56:08 UTC
It's revision 1066 in svn (or revision 1078 on the gnome-2-20 branch for libsoup 2.2).

The fix will be in libsoup 2.3.2 and 2.2.105 going out tomorrow.
Comment 16 Jonathan Matthew 2008-02-11 22:23:40 UTC
*** Bug 515859 has been marked as a duplicate of this bug. ***