Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41983 - gnucash-1.8.8 crashes on start-up with slib-3.1.1 reverting to slib-2.4.6 fixes
Summary: gnucash-1.8.8 crashes on start-up with slib-3.1.1 reverting to slib-2.4.6 fixes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Jason Wever (RETIRED)
URL:
Whiteboard:
Keywords:
: 41883 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-17 18:34 UTC by Derk W te Bokkel
Modified: 2007-01-15 11:29 UTC (History)
4 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 Derk W te Bokkel 2004-02-17 18:34:21 UTC
gnucash-1.8.8 crashes on start-up with slib-3.1.1 reverting to slib-2.4.6 fixes the problem. I think a function in slib-2.4.6 is missing in slib-3.1.1
running gnucash at the command line yields:
gnucash
Backtrace:
In unknown file:
    ...
   ?: 37  (begin (if # #) (make-modules-in # full-name))
   ?: 38* (if (or # #) (try-load-module name))
   ?: 39  [try-load-module (gnucash report iframe-url)]
   ?: 40  (or (begin (try-module-linked name)) (try-module-autoload name) ...)
   ?: 41* [try-module-autoload (gnucash report iframe-url)]
   ?: 42  (let* (# # # #) (resolve-module dir-hint-module-name #f) (and # #))
    ...
   ?: 43  (letrec ((load-file #)) (dynamic-wind (lambda () #) (lambda () #) ...) ...)
   ?: 44* [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #f ()>]
   ?: 45* [#<procedure #f ()>]
   ?: 46* (let ((file #)) (cond (# => #) (# => #)))
   ?: 47  [#<procedure #f #> "/usr/share/gnucash/guile-modules/gnucash/report/iframe$
   ?: 48  [load-file #<primitive-procedure primitive-load> ...]
   ?: 49* [save-module-excursion #<procedure #f ()>]
   ?: 50  (let (# #) (dynamic-wind # thunk #))
   ?: 51  [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #f ()>]
   ?: 52* [#<procedure #f ()>]
   ?: 53* [primitive-load "/usr/share/gnucash/guile-modules/gnucash/report/iframe-ur$
In /usr/share/gnucash/guile-modules/gnucash/report/iframe-url.scm:
   7: 54* [require format]
In unknown file:
   ?: 55  (cond ((not feature) (set! *catalog* #f)) ((slib:provided? feature)) ...)
    ...
   ?: 56  [scm-error misc-error #f ...]
 
<unnamed port>: In procedure scm-error in expression (scm-error (quote misc-error) #f ...):
<unnamed port>: slib:require unsupported feature format
Comment 1 foser (RETIRED) gentoo-dev 2004-02-18 06:23:50 UTC
weeve, your pack (?), your bump, your fix ?
Comment 2 Jason Wever (RETIRED) gentoo-dev 2004-02-18 13:54:08 UTC
This is one of those packages that doesn't really have a maintainer, but since I fixed an issue with it once so i could get something on sparc to work, I normally end up with the update bugs :-P

As I'm currently away on business, it may be some time before I can do anything about this.  Do the more recent versions of gnumeric still depend on slib, and is slib a hard or variable dependency? 

If this is a major issue, I can mask it until I have more time to look into it.
Comment 3 Derk W te Bokkel 2004-02-18 13:59:51 UTC
probably should mask slib-3.1.1 to prevent problems until it is fixed .. seems to be a fixed dependency at this point for gnucash .. I have not noticed if gnumeric has a problem with it.
Comment 4 Jason Wever (RETIRED) gentoo-dev 2004-02-20 18:26:27 UTC
In testing I've found that if you emerge gnucash once slib-3.1.1 is on the system, it seems to work (or for sparc at least).  Is gnucash crashing before you get a chance to do anything?
Comment 5 Derk W te Bokkel 2004-02-21 09:31:09 UTC
it starts to load and then the error occurs and it crashes .. I checked by putting on a machine that never had gnucash installed before .. same problem reverting to 2.4.6 fixed the problem ,,. anything else you would like me to try?
Comment 6 Jason Wever (RETIRED) gentoo-dev 2004-02-21 09:49:34 UTC
Yeah, when I tested on the sparc, I didn't have a previous version of gnucash installed.

I've masked slib-3.1.1 for now on x86 until i get a chance to further investigate when i get back (sometime after 05 March 2004).
Comment 7 Owen Gunden 2004-02-21 11:38:19 UTC
Just confirming that slib-3.1.1 is exactly what's breaking gnucash at runtime (downgrading to 2.4.6 fixes).  It's ~x86 masked, but not hard masked.
Comment 8 Derk W te Bokkel 2004-02-21 12:38:45 UTC
Files missing from slib-3.1.1 are: fmtdoc.txi format.scm formatst.scm these are in slib-2.4.6  .. I'll check if adding these from the 2.4.6 zip to the 3.1.1 zip  makes a difference...  

well we get the following errors now .. (note run from comand line so we see the error feed back)

Gdk-WARNING **: shmat failed: error 22 (Invalid argument)
Backtrace:
In unknown file:
    ...
   ?: 37  (begin (if # #) (make-modules-in # full-name))
   ?: 38* (if (or # #) (try-load-module name))
   ?: 39  [try-load-module (gnucash report iframe-url)]
   ?: 40  (or (begin (try-module-linked name)) (try-module-autoload name) ...)
   ?: 41* [try-module-autoload (gnucash report iframe-url)]
   ?: 42  (let* (# # # #) (resolve-module dir-hint-module-name #f) (and # #))
    ...
   ?: 43  (letrec ((load-file #)) (dynamic-wind (lambda () #) (lambda () #) ...)  ...)
   ?: 44* [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #f ()> ]
   ?: 45* [#<procedure #f ()>]
   ?: 46* (let ((file #)) (cond (# => #) (# => #)))
   ?: 47  [#<procedure #f #> "/usr/share/gnucash/guile-modules/gnucash/report/if rame$
   ?: 48  [load-file #<primitive-procedure primitive-load> ...]
   ?: 49* [save-module-excursion #<procedure #f ()>]
   ?: 50  (let (# #) (dynamic-wind # thunk #))
   ?: 51  [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #f ()> ]
   ?: 52* [#<procedure #f ()>]
   ?: 53* [primitive-load "/usr/share/gnucash/guile-modules/gnucash/report/ifram e-ur$
In /usr/share/gnucash/guile-modules/gnucash/report/iframe-url.scm:
   7: 54* [require format]
In unknown file:
   ?: 55  (cond ((not feature) (set! *catalog* #f)) ((slib:provided? feature)) . ..)
    ...
   ?: 56  [scm-error misc-error #f ...]
 
<unnamed port>: In procedure scm-error in expression (scm-error (quote misc-erro r) #f ...):
<unnamed port>: slib:require unsupported feature format


... Nope still bombs .. something more subtile is going on ..
Comment 9 Jason Wever (RETIRED) gentoo-dev 2004-02-21 12:39:57 UTC
I had just added the x86 hard mask (via -x86 keyword) earlier today, so that may be why yours is only at ~x86.

On an additional note, I can now reproduce on sparc.
Comment 10 Jason Wever (RETIRED) gentoo-dev 2004-02-21 12:43:36 UTC
Looks like the bug is open with gnucash but no action yet.  See http://bugzilla.gnome.org/show_bug.cgi?id=128701 for their bug.
Comment 11 Derk W te Bokkel 2004-02-21 12:57:28 UTC
The following notes may be pertient to the discussion .. as some major changes occurred in version 3.1.1 with respect to "format"

http://www-swiss.ai.mit.edu/~jaffer/SLIB.FAQ

might need changes at the gnucash or guile level ... 
Comment 12 foser (RETIRED) gentoo-dev 2004-03-01 08:46:10 UTC
*** Bug 41883 has been marked as a duplicate of this bug. ***
Comment 13 Josh Sled 2004-04-16 14:43:13 UTC
This is resolved in GnuCash 1.8.9; see Bug#47679.

Comment 14 Stian Skjelstad 2005-03-11 03:03:24 UTC
Jason, can you mark this as resolved. 1.8.9 is upstream. Seems that the fault was caused by slib no longer is re-entrant on some parts of the api. Fix is in the 1.8.9. That explains the shmem fault in gdk.
Comment 15 Jason Wever (RETIRED) gentoo-dev 2005-05-21 16:35:46 UTC
Marking as resolved.
Comment 16 Marijn Schouten (RETIRED) gentoo-dev 2007-01-15 11:29:06 UTC
Unfortunately the ``mask'' of x86 by -x86 keyword remains :(