bug-sourceinstall
[Top][All Lists]
Advanced

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

[bug-sourceinstall] Re: Gtk interface...


From: Shridhar Jayanthi
Subject: [bug-sourceinstall] Re: Gtk interface...
Date: Wed, 2 Nov 2005 11:45:47 -0200

Claudio,

Here is the output you've asked. done exactly as you told me to.

Shridhar

#0  0xb7eeb36b in srcinst_upper (str=0x8051aa8 'K' <repeats 200 times>...)
    at srcmisc.c:380
#1  0xb7eeb551 in srcinst_load_parse_file (p=0xb7ef2a50,
    filename=0x804f168 "/home/shridhar/.sourceinstall/sourceinstallrc",
    parse_f=0xb7eef880 <_parse_preferences>) at srcparser.c:79
#2  0xb7eef98b in _load_preferences (p=0xb7dad6a8) at preferences.c:99
#3  0xb7ee9535 in srcinst_init (flags=1) at srcinst.c:87
#4  0x0804b663 in main (argc=2, argv=0xbfd1d4e4) at sourceinstall.c:885

On 11/2/05, Claudio Fontana <address@hidden> wrote:
Hello,

--- Shridhar Jayanthi <address@hidden> ha
scritto:

> Hi folks,
>
> I was thinking about starting to work on the Gtk
> interface...

great.

>Any
> suggestions or constraints?

Read the file README.API in the libsrcinst package.
That file will then direct you to the libsrcinst
header files.
For any problem or requests for a particular feature,
just ask.

> I was thinking of using the current interface in
> the 0.5 version as a base...

That's ok.

> One other thing. When I compile the libsrcinst with
> -O2 flag (gcc-3.4.5 ) the
> program gives a segmentation fault in the string
> manipulation functions (I
> haven't tested this issue much, I just removed the
> optimization flags and it
> worked).

Can you provide more info on this? It is most probably
a hidden bug in my code, so please compile it again
with the default cflags (-g -O2) and give me a
backtrace (use the example sourceinstall cmdline
program).

For example, after building libsrcinst using
./configure && make && make install && ldconfig

and after building sourceinstall using
./configure && make

run sourceinstall in gdb with the actions and options
that cause the segfault, fe:

$ gdb -args ./sourceinstall --list

(gdb) r
...
Program received SIGSEGV in ...
(gdb) bt
[beginning of interesting output]
#0  main (argc=2, argv=0xbff1f594) at
sourceinstall.c:882
[end of interesting output]

Then give me the output so I can try to determine
where the problem lies.

>
> Shridhar

time_t next;

Claudio







___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it


reply via email to

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