Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275413 - app-office/gnucash-2.2.9: SIGSEGV in Gnucash at HBCI money tranfer
Summary: app-office/gnucash-2.2.9: SIGSEGV in Gnucash at HBCI money tranfer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Torsten Veller (RETIRED)
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-25 17:22 UTC by Patrick Beckmann
Modified: 2009-07-04 05:40 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Beckmann 2009-06-25 17:22:33 UTC
After filling the form for the HBCI money transfer and choosing a local target account, gnucash-2.2.9 crashes with a SIGSEGV. I use aqbanking-4.0.0 and gwenhywfar-3.8.2. Debugging shows, that the "inputBoxFn" member in the "gwenhywfar_gui" is not set.

Reproducible: Always

Steps to Reproduce:
1. Setup HBCI in Gnucash
2. Transfer money to another bank account via HBCI
Actual Results:  
A SIGSEGV happens.

Expected Results:  
A dialog should show up, that asks for my key password, and then data should be transmitted to the HBCI server.
Comment 1 Patrick Beckmann 2009-06-26 19:15:39 UTC
See also: http://bugzilla.gnome.org/show_bug.cgi?id=582048
Comment 2 Romain Perier (RETIRED) gentoo-dev 2009-06-27 20:24:14 UTC
1)° Can you attach the output of "emerge --info"

2)° Can you attach a full backtrace ? see http://www.gentoo.org/proj/en/qa/backtraces.xml

Thanks.
Comment 3 Patrick Beckmann 2009-06-27 23:10:01 UTC
Here are a more complete backtrace and the emerge-info.

There is no info for frame 0 in the backtrace, because the callback called in frame 1 is not set correctly. See the Gnome bug report for more details (#1).

(gdb) bt
#0  0x00000000 in ?? ()
#1  0xb2039b54 in GWEN_Gui_GetPassword (flags=0, 
    token=0x89b8400 "PASSWORD_ohbci_/media/diskette/vr-bank.rdh2", 
    title=0xb5f12200 "Passworteingabe", 
    text=0xbfabb448 "Bitte geben Sie das Zugriffspasswort für\n/media/diskette/vr-bank.rdh2\nein. <html>Bitte geben Sie das Zugriffspasswort für <i>/media/diskette/vr-bank.rdh2</i> ein.</html>", 
    buffer=0xbfabb7a0 "����෫�\006\027��8�\234\b", minLen=4, maxLen=63, 
    guiid=0) at gui.c:430
#2  0xb1fb8efe in GWEN_Crypt_Token_GetPin (ct=0x89d3c88, 
    pt=GWEN_Crypt_PinType_Access, pe=GWEN_Crypt_PinEncoding_Ascii, flags=0, 
    pwbuffer=0xbfabb7a0 "����෫�\006\027��8�\234\b", minLength=4, 
    maxLength=63, pinLength=0xbfabb7e0, gid=0) at ct.c:838
#3  0xb5ede419 in GWEN_Crypt_TokenOHBCI__EnsurePassword (ct=0x89d3c88, 
    trynum=0, confirm=0, gid=0) at ohbci.c:262
#4  0xb5ede9da in GWEN_Crypt_TokenOHBCI__DecryptFile (ct=0x89d3c88, 
    fbuf=0x8a00d98, trynum=0, gid=0) at ohbci.c:355
#5  0xb5ee2a36 in GWEN_Crypt_TokenOHBCI__DecryptFile16 (ct=0x89d3c88, 
    dbuf=0x89c6c58, tryNum=0, gid=0) at ohbci.c:1591
#6  0xb5edf68c in GWEN_Crypt_TokenOHBCI_Read (ct=0x89d3c88, fd=28, gid=0)
    at ohbci.c:562
#7  0xb1fbdd9b in GWEN_Crypt_TokenFile__Read (ct=0x89d3c88, gid=0)
    at ctfile.c:222
#8  0xb1fbe0f6 in GWEN_Crypt_TokenFile__ReadFile (ct=0x89d3c88, gid=0)
    at ctfile.c:272
#9  0xb1fbeebf in GWEN_Crypt_TokenFile_Open (ct=0x89d3c88, admin=0, gid=0)
    at ctfile.c:504
#10 0xb5ee4bd0 in GWEN_Crypt_TokenOHBCI_Open (ct=0x89d3c88, manage=0, gid=0)
    at ohbci.c:2226
#11 0xb1fb751b in GWEN_Crypt_Token_Open (ct=0x89d3c88, admin=0, gid=0)
    at ct.c:219
#12 0xb1ece84c in AH_Msg_SignRdh2 (hmsg=0x89f3e80, su=0x89b2e30, 
    rawBuf=0x8873350, signer=0x89eb988 "[cut]")
    at msgcrypt_rdh2.c:156
#13 0xb1edb1cf in AH_Msg_SignRdh (hmsg=0x89f3e80, rawBuf=0x8873350, 
    signer=0x89eb988 "[cut]") at msgcrypt_rdh.c:36
#14 0xb1ede115 in AH_Msg__Sign (hmsg=0x89f3e80, rawBuf=0x8873350, 
    signer=0x89eb988 "[cut]") at msgcrypt.inc:27
#15 0xb1ec1295 in AH_Msg_EncodeMsg (hmsg=0x89f3e80) at message.c:534
#16 0xb1eefe76 in AH_JobQueue_ToMessage (jq=0x89e7880, dlg=0x89d7500)
    at jobqueue.c:440
#17 0xb1f0bd92 in AH_Outbox__CBox_SendQueue (cbox=0x8a01170, timeout=60, 
    dlg=0x89d7500, jq=0x89e7880, guiid=0) at outbox.c:701
#18 0xb1f0c794 in AH_Outbox__CBox_SendAndRecvQueue (cbox=0x8a01170, 
    timeout=60, dlg=0x89d7500, jq=0x89e7880, guiid=0) at outbox.c:832
#19 0xb1f0cdc0 in AH_Outbox__CBox_OpenDialog (cbox=0x8a01170, timeout=60, 
    dlg=0x89d7500, jqFlags=65539, guiid=0) at outbox.c:919
#20 0xb1f0dda3 in AH_Outbox__CBox_PerformNonDialogQueues (cbox=0x8a01170, 
    timeout=60, jql=0x8873aa8, guiid=0) at outbox.c:1194
#21 0xb1f0e6c1 in AH_Outbox__CBox_SendAndRecvSelected (cbox=0x8a01170, 
    timeout=60, jqflags=3, jqmask=7, guiid=0) at outbox.c:1407
#22 0xb1f0ea42 in AH_Outbox__CBox_SendAndRecvBox (cbox=0x8a01170, timeout=60, 
    guiid=0) at outbox.c:1472
#23 0xb1f0fed7 in AH_Outbox_SendAndRecv (ob=0x886ff58, timeout=60, guiid=0)
    at outbox.c:1867
#24 0xb1f108b3 in AH_Outbox__Execute (ob=0x886ff58, guiid=0) at outbox.c:2094
#25 0xb1f10c21 in AH_Outbox_Execute (ob=0x886ff58, ctx=0x886e418, 
    withProgress=0, nounmount=1, doLock=1, guiid=0) at outbox.c:2161
#26 0xb1f17c88 in AH_Provider_Execute (pro=0x87846f0, ctx=0x886e418, guiid=0)
    at provider.c:770
#27 0xb20a340b in AB_Provider_Execute (pro=0x87846f0, ctx=0x886e418, guiid=0)
    at provider.c:342
#28 0xb208ba39 in AB_Banking__ExecuteQueue (ab=0x877e260, jl=0x8583fd0, 
    ctx=0x886e418, pid=0) at banking_online.c:116
#29 0xb208be17 in AB_Banking_ExecuteJobs (ab=0x877e260, jl2=0x8583fd0, 
    ctx=0x886e418, guiid=0) at banking_online.c:192
#30 0xb2744993 in gnc_ab_maketrans (parent=0x84ee000, gnc_acc=0x86d4008, 
    trans_type=SINGLE_TRANSFER) at gnc-ab-transfer.c:240
#31 0xb274c3a6 in gnc_plugin_ab_cmd_issue_transaction (action=0x851f750, 
    data=0x8622338) at gnc-plugin-aqbanking.c:381
#32 0xb67c950c in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#33 0xb67bbc4a in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#34 0xb67d029b in ?? () from /usr/lib/libgobject-2.0.so.0
#35 0x086200c8 in ?? ()
#36 0x00000000 in ?? ()


$ emerge  --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30 i686)
=================================================================
System uname: Linux-2.6.30-i686-AMD_Athlon-tm-_XP_2500+-with-glibc2.0
Timestamp of tree: Sat, 27 Jun 2009 08:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=athlon-xp -pipe -msse -mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=athlon-xp -pipe -msse -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://10.6.11.115/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amr amrnb amrwb audiofile berkdb bluetooth bzip2 cairo caps cdparanoia cdr chipcard cli cracklib crypt cups curl custom-optimization dbus dga divx dri dts dv dvd dvdnav dvdr dvdread dvipdfm eds encode esd ethereal extra fame fbcon ffmpeg firefox flac font-server foomaticdb fortran fuse gcj gd gdbm gif gimp gimpprint glitz gnome gnome-keyring gnutls gphoto2 gpm graphics gs gstreamer gstreamer010 gtk gtk2 hal hbci iconv icq idn ieee1394 imagemagick imap intl ipv6 irmc isdnlog jabber java jce jpeg kpathsea laptop latex3 libcaca libnotify lirc loop-aes lzo mad matroska mbox midi mime mjpeg mmx mmxext mp2 mp3 mpeg msn mudflap musepack nautilus ncurses network new-login nforce2 nls nntp noantlr nojdepend nojsch nojython nolog4j norhino noxalan noxerces nptl nptlonly nsplugin nvidis objc objc++ objc-gc offensive ofx ogg opengl openmp pam parport pcap pcre pdf perl png ppds pppd pstricks python qt3support quicktime readline recode reflection resolvconf samba scanner science session sharedmem slang spell spl srt sse ssl svg symlink sysfs tcpd teletext tetex theora threads tiff truetype unicode usb v4l v4l2 vcd vidix vim-syntax vorbis wifi win32codecs x264 x86 xattr xcb xft xine xinerama xml xorg xprint xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="cmipci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga v4l nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Hanno Böck gentoo-dev 2009-06-30 09:21:12 UTC
tove, the gnome upstream bug contains a patch, can you please apply that to the gnucash ebuild? I'd like to stabilize a new aqbanking version soon.
Comment 5 Torsten Veller (RETIRED) gentoo-dev 2009-07-04 05:40:52 UTC
(In reply to comment #4)
> tove, the gnome upstream bug contains a patch, can you please apply that to the
> gnucash ebuild? I'd like to stabilize a new aqbanking version soon.

Committed. We should stabilize gnucash-2.2.9-r1 together with aqbanking.

Thanks Patrick.