Crash when clicking New Printer twice

Bug #36592 reported by Adam Wiggins
16
Affects Status Importance Assigned to Milestone
gnome-cups-manager (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Running System -> Administration -> Printing for the first time, then double clicking New Printer once, then double clicking again, caused "The application gnome-cups-manager has quit unexpectedly." It looks like it has a delay as it searches for printers, during which time the user might think they failed to click correctly the first time and try again - but the second instance invoked crashes.

Revision history for this message
Matthias Klose (doko) wrote :

I cannot reproduce this, it does open the application twice for me

Changed in gnome-cups-manager:
assignee: nobody → doko
status: Unconfirmed → Needs Info
Revision history for this message
Adam Wiggins (hiro) wrote :

Is there a log file someplace that I could access to provide more information? Or any way to get a backtrace of the crash?

Revision history for this message
Vassilis Pandis (pandisv) wrote :

Sorry for the late response. Is this still a problem? If you can still reproduce this, try to get a backtrace by following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash . Thanks in advance.

Revision history for this message
Adam Wiggins (hiro) wrote :
Download full text (5.7 KiB)

I went through all the steps to install the debugging packages and guess what - I can't reproduce it with those installed! Two double clicks just gives two dialogs, as expected. When I restored the standard package, the crash returned.

I did notice that the crash reported is in gnome-printer-view, rather than gnome-cups-add as I might have expected.

Here is the debugging info it shows when I click "inform developers" and then "show debugging details":

Backtrace was generated from '/usr/libexec/gnome-printer-view'

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 46912601070800 (LWP 24929)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0x00002aaaae00e0ca in waitpid () from /lib/libpthread.so.0
#0 0x00002aaaae00e0ca in waitpid () from /lib/libpthread.so.0
#1 0x00002aaaaac1a6d7 in libgnomeui_module_info_get ()
   from /usr/lib/libgnomeui-2.so.0
#2 <signal handler called>
#3 0x00002aaaae252cf6 in g_value_get_boxed ()
   from /usr/lib/libgobject-2.0.so.0
#4 0x00002aaaae2660f2 in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#5 0x00002aaaae266383 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#6 0x000000000040ac6b in ?? ()
#7 0x00002aaaabb7c830 in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#8 0x00002aaaae255910 in g_closure_invoke ()
   from /usr/lib/libgobject-2.0.so.0
#9 0x00002aaaae264c9d in g_signal_stop_emission ()
   from /usr/lib/libgobject-2.0.so.0
#10 0x00002aaaae265d0c in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#11 0x00002aaaae266383 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#12 0x00002aaaabc5b445 in gtk_widget_activate ()
   from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00002aaaabb7ac3b in gtk_propagate_event ()
   from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00002aaaabb7b0b7 in gtk_main_do_event ()
   from /usr/lib/libgtk-x11-2.0.so.0
#15 0x00002aaaac21a2ac in _gdk_events_queue ()
   from /usr/lib/libgdk-x11-2.0.so.0
#16 0x00002aaaae4bfbdd in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#17 0x00002aaaae4c2ea5 in g_main_context_check ()
   from /usr/lib/libglib-2.0.so.0
#18 0x00002aaaae4c316a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#19 0x00002aaaabb7a4a2 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x000000000040cbd5 in ?? ()
#21 0x00002aaaae7a049b in __libc_start_main () from /lib/libc.so.6
#22 0x0000000000407cca in ?? ()
#23 0x00007ffffff1bca8 in ?? ()
#24 0x000000000000001c in ?? ()
#25 0x0000000000000001 in ?? ()
#26 0x00007ffffff1ccd3 in ?? ()
#27 0x0000000000000000 in ?? ()

Thread 1 (Thread 46912601070800 (LWP 24929)):
#0 0x00002aaaae00e0ca in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#1 0x00002aaaaac1a6d7 in libgnomeui_module_info_get ()
   from /usr/lib/libgnomeui-2.so.0
No symbol table info available.
#2 <signal handler called>
No symbol table info available.
#3 0x00002aaaae252cf6 in g_value_get_boxed ...

Read more...

Matthias Klose (doko)
Changed in gnome-cups-manager:
assignee: doko → nobody
Revision history for this message
H3g3m0n (h3g3m0n) wrote :

I am also having a similar problem that I think might be related. I believe it might be a problem with clicking on the icons rather than specifically opening 2 copies of the new printer dialog.

By opening multiple copies of add new printer by using the menu rather than the icon they open fine for me. However when clicking on the "New Printer" icon continuously it crashed.

It also was occurring when opening the normal printer job queue by double clicking on a added printer, closing the queue window then opening again, it took a few goes. Actually it seems simply clicking on the icon continuously will do it.

I tried a debug version but there doesn't appear to be a dbgsym version of gnome-cups-manager in that repository listed on the wiki.

Edgy amd64 here.

Heres the end of an strace, dunno if its any use
--------------------------------------------------
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=17, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}], 9, 0) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
write(3, "\22\0\7\0\3\0\240\3\364\0\0\0\6\0\0\0 \4\5\0\1\0\0\0\4"..., 36) = 36
write(3, " \0\2\0\0\0\0\0", 8) = 8
write(3, "%\0\1\0+\0\1\0", 8) = 8
read(3, 0x7fff8989fbb0, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(3, "\34Qj\6\3\0\240\3\364\0\0\0\33\240\'\7\0\0\240\3\0\0\0"..., 32) = 32
read(3, "\1\2n\6\0\0\0\0\4\0\240\3\0\0\0\0\0\0\0\0\0\0\0\0\210\306"..., 32) = 32
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b2c27bef7a0) = 1980
wait4(1980,
** (bug-buddy:1982): WARNING **: Couldn't load icon for Open Folder
0x7fff8989fc9c, 0, NULL) = ? ERESTARTSYS (To be restarted)
--- SIGCONT (Continued) @ 0 (0) ---
wait4(1980, /usr/libexec/gnome-printer-view: No such file or directory.
ptrace: Operation not permitted.
/usr/bin/1876: No such file or directory.
No stack.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-cups-manager (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.