Opened 14 years ago
Last modified 9 years ago
#6554 closed defect
rdesktop-vrdp segfaults in XPutImage on Debian Squeeze/i386 — at Initial Version
| Reported by: | Maximilian Gass | Owned by: | |
|---|---|---|---|
| Component: | other | Version: | VirtualBox 3.1.6 |
| Keywords: | Cc: | noel.koethe@… | |
| Guest type: | other | Host type: | Linux |
Description
I created a Debian package for rdesktop-vrdp from VirtualBox 3.1.6. It works fine on a Debian Squeeze amd64 workstation, but segfaults after login on a Debian Squeeze i386 live system I am creating.
I have localized the problem in ui_desktop_restore in xwin.c. The call to XCreateImage returns NULL sometimes and then XPutImage triggers a segmentation fault.
(gdb) bt
#0 0xb75f7d92 in XPutImage (dpy=0x9cad588, d=4194309, gc=0x9cc4688, image=0x0, req_xoffset=0, req_yoffset=0, x=184,
y=89, req_width=432, req_height=234) at ../../src/PutImage.c:967
#1 0x080523b8 in ui_desktop_restore (offset=0, x=184, y=89, cx=432, cy=234) at xwin.c:3595
#2 0x0806726f in process_desksave (s=0x80c0600, num_orders=43) at orders.c:384
#3 process_orders (s=0x80c0600, num_orders=43) at orders.c:1256
#4 0x0806c77e in rdp5_process (s=0x80c0600) at rdp5.c:94
#5 0x08063528 in rdp_recv (type=0xbfbb84ef "") at rdp.c:110
#6 0x08063cb4 in rdp_loop (deactivated=0xbfbb888c, ext_disc_reason=0xbfbb8888) at rdp.c:1420
#7 0x0806489c in rdp_main_loop (deactivated=0xbfbb888c, ext_disc_reason=0xbfbb8888) at rdp.c:1405
#8 0x0804df46 in main (argc=12, argv=0xbfbb8934) at rdesktop.c:994
If you need more details, please let me know.
Note:
See TracTickets
for help on using tickets.

