gnobog-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnobog-devel] SIGSEGV in real_new()


From: Detlef Vollmann
Subject: [Gnobog-devel] SIGSEGV in real_new()
Date: Sat, 30 Aug 2003 00:08:37 +0200

Hi,
compiling went fine now, cmdline runs, and so I went on to run
the GUI...
I got the following messages:

dv: > /test/bin/gnobogtest
error: failed to load external entity "gnobog_document.dtd"
/usr/tmp/gnobog-test/share/gnobogtest/default_prefs.xml:5: validity
error: Validation failed: no DTD found !
<preferences>
            ^
[perror] lgb_utils_get_standard_bookmarks_path::scandir:: No such file
or directory
sh: Wg@: command not found
/bin/tar: /mnt/windows/windows/Favoris: Cannot stat: No such file or
directory
/bin/tar: /home/vollmann/.opera/opera6.adr: Cannot stat: No such file or
directory
/bin/tar: /home/vollmann/.galeon/bookmarks.xbel: Cannot stat: No such
file or directory
/bin/tar: /home/vollmann/.kde/share/apps/konqueror/bookmarks.xml: Cannot
stat: No such file or directory
/bin/tar: address@hidden'mozilla']illa/default: Cannot stat: No such file or
directory
/bin/tar: Error exit delayed from previous errors
error: failed to load external entity "gnobog_document.dtd"
Segmentation fault (core dumped)

I can probably ignore all the tar messages.
I can probably also ignore the XML DTD and validation errors.
I'm not so sure about 'sh: Wg@: command not found'.

I definitely can't ignore the segmentation fault ;-(

The debugging version gives as last messages:

LgbItem-Message: Creating new item from xmlnode 0x81112d8
LgbItem-Message: Initializing object LgbItem

And gdb gives as stack dump:

(gdb) bt
#0  0x405cac71 in chunk_alloc (ar_ptr=0x40678660, nb=88) at
malloc.c:2988
#1  0x405cbc55 in __libc_calloc (n=1, elem_size=84) at malloc.c:3840
#2  0x403e11b9 in g_malloc0 (n_bytes=84) at gmem.c:153
#3  0x4039dcf2 in type_class_init_Wm (node=0x8115020, pclass=0x80c3f28)
    at gtype.c:1554
#4  0x4039f852 in g_type_class_ref (type=135352352) at gtype.c:2044
#5  0x4038752d in g_object_newv (object_type=135352352, n_parameters=0, 
    parameters=0x0) at gobject.c:641
#6  0x40387d6b in g_object_new_valist (object_type=135352352, 
    first_property_name=0x0, var_args=0xbffff5dc) at gobject.c:764
#7  0x40387459 in g_object_new (object_type=135352352,
first_property_name=0x0)
    at gobject.c:618
#8  0x08094225 in real_new (new_lgb_doc=0x8111650) at
gnobog_document.c:286
#9  0x080942dc in gnobog_document_new () at gnobog_document.c:317
#10 0x0806c85d in gnobog_app_create_document (app=0x80ca170, error=0x0)
    at gnobog_app.c:1094
#11 0x0806d5a5 in gnobog_app_create_document_from_all_known_documents (
    app=0x80ca170, error=0x0) at gnobog_app.c:1181
#12 0x0806a87b in gnobog_app_ask_user_firsttime (app=0x80ca170)
    at gnobog_app.c:968
#13 0x0806ac4a in gnobog_app_check_first_time (app=0x80ca170)
    at gnobog_app.c:1000
#14 0x0806ad19 in gnobog_app_start (app=0x80ca170) at gnobog_app.c:1036
#15 0x080ad5a5 in main (argc=1, argv=0xbffff844) at main.c:69
#16 0x4057357e in __libc_start_main (main=0x80ad200 <main>, argc=1, 
    ubp_av=0xbffff844, init=0x804e6c0 <_init>, fini=0x80ad68c <_fini>, 
    rtld_fini=0x4000ab50 <_dl_fini>, stack_end=0xbffff83c)
    at ../sysdeps/generic/libc-start.c:129

I must say that I have no idea what's going on here.
If you need any more info just mail again.

Detlef

-- 
Detlef Vollmann   vollmann engineering gmbh
Linux and C++ for Embedded Systems    http://www.vollmann.ch/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]