plugin crash causes gimp to go gaga

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

 



While testing my print plugin, it segv'ed on me.  The Gimp session is
still usable, although if I click on the Cancel button in the image I
tried to print the application exits.  However, while the Gimp
continues running, it goes into a loop that consumes all the CPU
(about half system and half user).  The truss output looks like this:

poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=7, events=POLLIN|POLLPRI}, {fd=8, events=POLLIN|POLLPRI, revents=POLLHUP}], 4, 44) = 1
gettimeofday({941590947, 150048}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=7, events=POLLIN|POLLPRI}, {fd=8, events=POLLIN|POLLPRI, revents=POLLHUP}], 4, 38) = 1
gettimeofday({941590947, 156848}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=7, events=POLLIN|POLLPRI}, {fd=8, events=POLLIN|POLLPRI, revents=POLLHUP}], 4, 31) = 1
gettimeofday({941590947, 163633}, NULL) = 0
ioctl(3, FIONREAD, [0])                 = 0

The stack trace is something like this:

(gdb) 
#0  0x401cad4d in __poll (fds=0x8cc1588, nfds=4, timeout=11)
    at ../sysdeps/unix/sysv/linux/poll.c:45
#1  0x40036100 in g_main_poll () from /usr/lib/libglib-1.2.so.0
#2  0x40035abe in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#3  0x40035e61 in g_main_run () from /usr/lib/libglib-1.2.so.0
#4  0x81e8e0e in gtk_main () at gtkmain.c:476
#5  0x811ff8c in main ()
#6  0x40134213 in __libc_start_main (main=0x811f3b0 <main>, argc=1, 
    argv=0xbffff494, init=0x8079990 <_init>, fini=0x8265dd0 <_fini>, 
    rtld_fini=0x4000ac30 <_dl_fini>, stack_end=0xbffff48c)
    at ../sysdeps/generic/libc-start.c:90


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux