LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   gnome_error_dialog seg fault?? (https://www.linuxquestions.org/questions/programming-9/gnome_error_dialog-seg-fault-64786/)

Castro 06-10-2003 11:36 AM

gnome_error_dialog seg fault??
 
I have a program we developed under Redhat 7.2 which uses gtk and the gnome libraries. Everything has always worked fine. Recently I made the mistake of trying the program on a fresh RedHat 7.3 box with Gnome and KDE installed. When running the program I get an immediate seg fault.

After moving the code over and recompiling on the 7.3 box I found that this fault is coming from the gnome_error_dialog call. e.g. gnome_error_dialog("wth"); I should be capable enough to relay any necessary information out of DDD or anjuta if that would help.

I configured using autoconf version 2.13 and compiled with make 3.79.1.

Can't find anything even remotely similar on the web. Also, I'm definitely a noob with the specifics of linux so flame away on obvious issues if you like just throw some insight in there as well. =P

TIA

Castro

mhearn 06-11-2003 08:21 AM

Look at the part of the backtrace before the <signal handler called> line. The gnome_error_handler code does what its name suggests - it displays the crash dialog.

Castro 06-11-2003 12:51 PM

I'm not sure I understand fully what you mean.

For some added detail to figure it out I tried using:

GtkWidget* widDialog

widDialog = gnome_ok_dialog("Help me");


That line seg faults with no display as well.


I created a basic Gnome C application using anjuta and inserted the same dialog code and the dialog box displayed without trouble. Therefore, I am guessing it is some kind of compile/library linking issue?

Still looking for a resolution ...

TIA for any help

- Marc Castrechini

mhearn 06-11-2003 01:28 PM

Did you call gnome_init?


All times are GMT -5. The time now is 03:50 PM.