Bug#781940: [chromium] Same problem
Package: chromium Version: 43.0.2357.65-1 --- Please enter the report below this line. --- Same problem here. Core was generated by `/usr/lib/chromium/chromium'. Program terminated with signal SIGSEGV, Segmentation fault. #0 CreateFadeShader (text_rect=optimized out, color=optimized out, left_part=optimized out, right_part=optimized out) at ../../ui/gfx/render_text.cc:150 150../../ui/gfx/render_text.cc: No such file or directory. (gdb) set pagination off (gdb) bt #0 0x7f53ecfea48c in gfx::RenderText::ApplyFadeEffects(gfx::internal::SkiaTextRenderer*) (text_rect=optimized out, color=optimized out, left_part=optimized out, right_part=optimized out) at ../../ui/gfx/render_text.cc:150 #1 0x7f53ecfea48c in gfx::RenderText::ApplyFadeEffects(gfx::internal::SkiaTextRenderer*) (this=optimized out, renderer=0x7fff1f713438) at ../../ui/gfx/render_text.cc:1206 #2 0x7f53ecff1411 in gfx::RenderTextHarfBuzz::DrawVisualTextInternal(gfx::internal::SkiaTextRenderer*) (this=0x7f53f34cc920, renderer=0x7fff1f713438) at ../../ui/gfx/render_text_harfbuzz.cc:1056 #3 0x7f53ecff1386 in gfx::RenderTextHarfBuzz::DrawVisualText(gfx::Canvas*) (this=0x7fff1f713250, canvas=optimized out) at ../../ui/gfx/render_text_harfbuzz.cc:1045 #4 0x7f53ecfe78e1 in gfx::RenderText::Draw(gfx::Canvas*) (this=0x7f53f34cc920, canvas=0x7f53f34cab90) at ../../ui/gfx/render_text.cc:811 #5 0x7f53ecfd2cfd in gfx::Canvas::DrawStringRectWithShadows(std::basic_stringunsigned short, base::string16_char_traits, std::allocatorunsigned short const, gfx::FontList const, unsigned int, gfx::Rect const, int, int, std::vectorgfx::ShadowValue, std::allocatorgfx::ShadowValue const) (this=0x7f53f34cab90, text=optimized out, font_list=optimized out, color=optimized out, text_bounds=optimized out, line_height=optimized out, flags=optimized out, shadows=optimized out) at ../../ui/gfx/canvas_skia.cc:262 #6 0x7f53ecfd1dbc in gfx::Canvas::DrawStringRectWithFlags(std::basic_stringunsigned short, base::string16_char_traits, std::allocatorunsigned short const, gfx::FontList const, unsigned int, gfx::Rect const, int) (this=0x7fff1f713250, text=error reading variable: Cannot access memory at address 0x0, font_list=@0x0: error reading variable, color=0, display_rect=@0x0: error reading variable, flags=optimized out) at ../../ui/gfx/canvas.cc:479 #7 0x7f53ef28ed10 in views::MenuItemView::PaintButton(gfx::Canvas*, views::MenuItemView::PaintButtonMode) (this=0x7f53f3472110, canvas=0x7f53f34cab90, mode=views::MenuItemView::PB_NORMAL) at ../../ui/views/controls/menu/menu_item_view.cc:838 #8 0x7f53ef2c16ac in views::View::Paint(ui::PaintContext const) (this=0x7f53f3472110, parent_context=optimized out) at ../../ui/views/view.cc:812 #9 0x7f53ef2c31ea in views::View::PaintChildren(ui::PaintContext const) (this=0x7f53f33ed630, context=@0x7fff1f713b00: { canvas_ = 0x7f53f34cab90, invalidation_ = { origin_ = { x_ = 0, y_ = 0 }, size_ = { width_ = 1018, height_ = 510 } }, offset_ = { x_ = 0, y_ = 3 } }) at ../../ui/views/view.cc:1344 #10 0x7f53ef294a70 in views::SubmenuView::PaintChildren(ui::PaintContext const) (this=0x7f53f33ed630, context=@0x7fff1f713b00: { canvas_ = 0x7f53f34cab90, invalidation_ = { origin_ = { x_ = 0, y_ = 0 }, size_ = { width_ = 1018, height_ = 510 } }, offset_ = { x_ = 0, y_ = 3 } }) at ../../ui/views/controls/menu/submenu_view.cc:192 #11 0x7f53ef2c16ce in views::View::Paint(ui::PaintContext const) (this=0x7f53f33ed630, parent_context=optimized out) at ../../ui/views/view.cc:815 #12 0x7f53ef2c31ea in views::View::PaintChildren(ui::PaintContext const) (this=0x7f53f347bed0, context=@0x7fff1f713d20: { canvas_ = 0x7f53f34cab90, invalidation_ = { origin_ = { x_ = 0, y_ = 0 }, size_ = { width_ = 1018, height_ = 510 } }, offset_ = { x_ = 0, y_ = 3 } }) at ../../ui/views/view.cc:1344 #13 0x7f53ef2c16ce in views::View::Paint(ui::PaintContext const) (this=0x7f53f347bed0, parent_context=optimized out) at ../../ui/views/view.cc:815 #14 0x7f53ef2c31ea in views::View::PaintChildren(ui::PaintContext const) (this=0x7f53f342c460, context=@0x7fff1f713f40: { canvas_ = 0x7f53f34cab90, invalidation_ = { origin_ = { x_ = 0, y_ = 0 }, size_ = { width_ = 1018, height_ = 510 } }, offset_ = { x_ = 0, y_ = 0 } }) at ../../ui/views/view.cc:1344 #15 0x7f53ef2c16ce in views::View::Paint(ui::PaintContext const) (this=0x7f53f342c460, parent_context=optimized out) at ../../ui/views/view.cc:815 #16 0x7f53ef2c31ea in views::View::PaintChildren(ui::PaintContext const) (this=0x7f53f340e530, context=@0x7fff1f714160: { canvas_ = 0x7f53f34cab90, invalidation_ = { origin_ = { x_ = 0, y_ = 0 }, size_ = { width_ =
Bug#758810: [gdm3] gdm3: fails to start gnome
Thanks for your quick response. Indeed that was the problem. My shell configuration files were quite old. I have updated them with the changes in /etc/skel. In addition, for some reason I had .bash_profile instead of .profile, and the later was a symlink to the former. The symlink dated back to October 2008. I fixed this too, and now it is working correctly. Thanks for your help! Cheers, Josep M. Perez On 21/08/14 17:22, Simon McVittie wrote: On 21/08/14 15:51, Josep M. Perez Cancer wrote: Aug 21 13:28:37 bsccs243 /etc/gdm3/Xsession[21442]: /etc/gdm3/Xsession: Beginning session setup... Aug 21 13:28:37 bsccs243 /etc/gdm3/Xsession[21442]: /etc/bash_completion.d/pulseaudio-bash-completion.sh: line 6: syntax error near unexpected token `' Aug 21 13:28:37 bsccs243 /etc/gdm3/Xsession[21442]: /etc/bash_completion.d/pulseaudio-bash-completion.sh: line 6: ` done (pactl list cards short 2 /dev/null)' I think this might be the error that is terminating your X session. /etc/gdm3/Xsession is a /bin/sh script and sources ~/.profile. Please try removing bash-specific things from your ~/.profile, moving them to ~/.bashrc, or guarding them with: if [ z$BASH_VERSION != z ] then ... enable bash completion or source .bashrc or whatever ... fi It might also be useful to guard things that are specific to an interactive shell with if [ -n $PS1 ] then ... things that only make sense in an interactive shell ... fi If that is indeed the cause of this error, I'll leave it to the gdm maintainers to decide whether this is a gdm bug or not. According to the changelog, it has sourced ~/.profile since gdm/2.20.2-1 in 2007, so this isn't a recent thing (but /etc/X11/Xsession doesn't, which explains why you don't see this in non-gdm). S WARNING / LEGAL TEXT: This message is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential, proprietary, or exempt from disclosure under applicable law. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, you are strictly prohibited from disclosing, distributing, copying, or in any way using this message. If you have received this communication in error, please notify the sender and destroy and delete any copies you may have received. http://www.bsc.es/disclaimer -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#758810: [gdm3] gdm3: fails to start gnome
Package: gdm3 Version: 3.12.2-2.1 Severity: grave --- Please enter the report below this line. --- Since upgrading from gdm to gdm3, it fails to start both the gnome-shell session and the classic gnome session. KDM launches them correctly, however it is not a good solution since kdm does not work correctly with screen locking in gnome 3. The following lines show the logs that I get since entering the password until it is about to restart the X server to show the greeter again: Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: (II) AIGLX: Resuming AIGLX clients after VT switch Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: (II) NOUVEAU(0): NVEnterVT is called. Aug 21 13:28:31 bsccs243 console-kit-daemon[10808]: (process:21365): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: (II) NOUVEAU(0): EDID vendor LGD, prod id 747 Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: (II) NOUVEAU(0): Printing DDC gathered Modelines: Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: (II) NOUVEAU(0): Modeline 1366x768x0.0 70.00 1366 1402 1450 1492 768 771 776 782 -hsync -vsync (46.9 kHz eP) Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: (II) NOUVEAU(0): Modeline 1366x768x0.0 48.30 1366 1402 1450 1524 768 771 776 792 -hsync -vsync (31.7 kHz e) Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: (--) synaptics: AlpsPS/2 ALPS DualPoint TouchPad: touchpad found Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap compiler (xkbcomp) reports: Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Warning: Type ONE_LEVEL has 1 levels, but RALT has 2 symbols Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Ignoring extra symbols Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not fatal to the X server Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap compiler (xkbcomp) reports: Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Warning: Compat map for group 2 redefined Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Using new definition Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Warning: Compat map for group 3 redefined Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Using new definition Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Warning: Compat map for group 4 redefined Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Using new definition Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not fatal to the X server Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap compiler (xkbcomp) reports: Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Warning: Type ONE_LEVEL has 1 levels, but RALT has 2 symbols Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Ignoring extra symbols Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not fatal to the X server Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap compiler (xkbcomp) reports: Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Warning: Type ONE_LEVEL has 1 levels, but RALT has 2 symbols Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Ignoring extra symbols Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not fatal to the X server Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap compiler (xkbcomp) reports: Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Warning: Type ONE_LEVEL has 1 levels, but RALT has 2 symbols Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Ignoring extra symbols Aug 21 13:28:31 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not fatal to the X server Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap compiler (xkbcomp) reports: Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Warning: Type ONE_LEVEL has 1 levels, but RALT has 2 symbols Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Ignoring extra symbols Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not fatal to the X server Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap compiler (xkbcomp) reports: Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Warning: Compat map for group 2 redefined Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Using new definition Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Warning: Compat map for group 3 redefined Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Using new definition Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Warning: Compat map for group 4 redefined Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Using new definition Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not fatal to the X server Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: The XKEYBOARD keymap compiler (xkbcomp) reports: Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Warning: Type ONE_LEVEL has 1 levels, but RALT has 2 symbols Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Ignoring extra symbols Aug 21 13:28:32 bsccs243 gdm-Xorg-:0[21068]: Errors from xkbcomp are not fatal to the X server Aug 21 13:28:32
Bug#730756: libimobiledevice crash, fails to get buid from usbmuxd...
Hi, Apparently usbmuxd is not expecting the ReadBUID command: [11:56:02.254][4] New client on fd 14 [11:56:18.430][5] Client command in fd 14 len 501 ver 1 msg 8 tag 10 [11:56:18.430][1] Unexpected command 'ReadBUID' received! [11:56:18.430][5] send_pkt fd 14 tag 10 msg 8 payload_length 278 I also see that the versions of usbmuxd and libusbmuxd do not match: usbmuxd 1.0.8 libusbmuxd 1.0.9 Perhaps that is the real problem. Cheers, Josep M. Perez On 30/04/14 18:53, Andreas Henriksson wrote: Hello! Thanks for the backtrace you provided in your bug report! It looks to me like the problem is in this snippet from libimobiledevice src/lockdown.c : /* set SystemBUID */ userpref_read_system_buid(system_buid); plist_dict_set_item(*pair_record, USERPREF_SYSTEM_BUID_KEY, plist_new_string(system_buid)); userpref_read_system_buid, which calls usbmuxd_read_buid, fails for some reason and system_buid remains/becomes NULL and when it gets passed as an argument to plist_new_string being NULL the code explodes. The return code from userpref_read_system_buid should be checked. * @return 1 if the system buid could be retrieved or 0 otherwise. Next question to investigate is why does usbmuxd_read_buid fail? Do you think you could add a call to libusbmuxd_set_debug_level(99) to libimobiledevice, build it and reproduce the problem and provide the debug output from libusbmuxd? This should give us an idea where it's failing. (For reference see implementation of usbmuxd_read_buid: http://anonscm.debian.org/gitweb/?p=pkg-gtkpod/packages/libusbmuxd.git;a=blob;f=src/libusbmuxd.c;h=6a6b3e686f95ddbdea2d11b5074f8016e24c795c;hb=HEAD#l1079 ) Regards, Andreas Henriksson WARNING / LEGAL TEXT: This message is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential, proprietary, or exempt from disclosure under applicable law. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, you are strictly prohibited from disclosing, distributing, copying, or in any way using this message. If you have received this communication in error, please notify the sender and destroy and delete any copies you may have received. http://www.bsc.es/disclaimer -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#730756: [gvfs-backends] The problem also happens in upowerd
Package: gvfs-backends Version: 1.20.1-1+b1 --- Please enter the report below this line. --- It appears this bug also happens in upowerd. I guess the problem might be either in libimobiledevice or libplist. Here is a backtrace. Cheers, Josep M. Perez $ sudo gdb --args /usr/lib/upower/upowerd --verbose --timed-exit GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1) [...] (gdb) r Starting program: /usr/lib/upower/upowerd --verbose --timed-exit warning: no loadable sections found in added symbol-file system-supplied DSO at 0x77ffa000 warning: Could not load shared library symbols for linux-vdso.so.1. Do you need set solib-search-path or set sysroot? [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1. [New Thread 0x73112700 (LWP 26686)] TI:11:34:46Starting upowerd version 0.9.23 [New Thread 0x72911700 (LWP 26687)] TI:11:34:46cannot find a keyboard backlight TI:11:34:46excuting command: /usr/bin/pm-is-supported --suspend TI:11:34:46excuting command: /usr/bin/pm-is-supported --hibernate TI:11:34:46adding swap device: zram0 TI:11:34:46adding swap device: zram1 TI:11:34:46adding swap device: zram2 TI:11:34:46adding swap device: zram3 TI:11:34:46adding swap device: zram4 TI:11:34:46adding swap device: zram5 TI:11:34:46adding swap device: zram6 TI:11:34:46adding swap device: zram7 TI:11:34:46daemon now coldplug TI:11:34:46registering subsystem : power_supply TI:11:34:46taking a guess for power supply scope TI:11:34:46using min design voltage TI:11:34:46resetting unknown timeout after 0 retries TI:11:34:46energy 99.90 bigger than full 90.265200 TI:11:34:46object path = /org/freedesktop/UPower/devices/battery_BAT0 TI:11:34:46using min design voltage TI:11:34:46resetting unknown timeout after 0 retries TI:11:34:46added native-path: BAT0 TI:11:34:46using id: DELL_V57XN23-99-30351 TI:11:34:46loading 7 items of data from /var/lib/upower/history-rate-DELL_V57XN23-99-30351.dat TI:11:34:46loading 7 items of data from /var/lib/upower/history-charge-DELL_V57XN23-99-30351.dat TI:11:34:46loading 4 items of data from /var/lib/upower/history-time-full-DELL_V57XN23-99-30351.dat TI:11:34:46loading 4 items of data from /var/lib/upower/history-time-empty-DELL_V57XN23-99-30351.dat TI:11:34:46saving in 600 seconds TI:11:34:46added BAT0 TI:11:34:46taking a guess for power supply scope TI:11:34:46object path = /org/freedesktop/UPower/devices/line_power_AC TI:11:34:46added native-path: AC TI:11:34:46added AC TI:11:34:46registering subsystem : usb TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1 [New Thread 0x72110700 (LWP 26706)] TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1 [Thread 0x72110700 (LWP 26706) exited] TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1 TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-0:1.0 [New Thread 0x72110700 (LWP 26707)] TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-0:1.0 [Thread 0x72110700 (LWP 26707) exited] TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-0:1.0 TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-1 [New Thread 0x72110700 (LWP 26708)] TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-1 TI:11:34:46[Thread 0x72110700 (LWP 26708) exited] failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-1 TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.5 [New Thread 0x72110700 (LWP 26709)] TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.5 TI:11:34:46[Thread 0x72110700 (LWP 26709) exited] failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.5 TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0 [New Thread 0x72110700 (LWP 26710)] TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0 [Thread 0x72110700 (LWP 26710) exited] TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0 TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.1 [New Thread 0x72110700 (LWP 26713)] TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.1 [Thread 0x72110700 (LWP 26713) exited] TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.1 TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1:1.0 [New Thread 0x72110700 (LWP 26714)] TI:11:34:46failed to coldplug /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1:1.0 [Thread
Bug#355047: apt tools segfault
I found a way to work around the segfault. Looks like the culprits were /var/cache/apt/pkgcache.bin and /var/cache/apt/srcpkgcache.bin. For some reason they have been corrupted. Just removing them avoids the segfault. I attach the versions of those files that crached the apt tools. Josep M. Perez C. pkgcache.bin Description: Binary data srcpkgcache.bin Description: Binary data
Bug#355047: apt tools segfault
Followup-For: Bug #355047 Package: apt Version: 0.6.44.2 *** Please type your report below this line *** apt-get and apt-cache segfault at the same program location. In the case of apt-get, update finishes with a segfault and upgrade segfaults while reading the package list. In the apt-cache case, just doing a search triggers the segfault. I have recompiled the package without optimisation and without stripping and run it through gdb and strace. -- Debugging session follows: $ gdb apt-cache GNU gdb 6.4.90-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i486-linux-gnu...Using host libthread_db library /lib/tls/i686/cmov/libthread_db.so.1. (gdb) run search apt Starting program: /usr/bin/apt-cache search apt Program received signal SIGSEGV, Segmentation fault. 0xa7c60ca3 in strlen () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt #0 0xa7c60ca3 in strlen () from /lib/tls/i686/cmov/libc.so.6 #1 0xa7deb5c6 in std::string::compare () from /usr/lib/libstdc++.so.6 #2 0xa7e9ea7a in std::operator!=char, std::char_traitschar, std::allocatorchar ([EMAIL PROTECTED], __rhs=0x0) at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:2200 #3 0xa7f037d5 in debPackagesIndex::FindInCache (this=0x805b270, [EMAIL PROTECTED]) at deb/debindexfile.cc:308 #4 0xa7ecbb30 in CheckValidity ([EMAIL PROTECTED], Start={_M_current = 0x805c528}, End={_M_current = 0x805c55c}, OutMap=0xafb5afd8) at pkgcachegen.cc:580 #5 0xa7ece980 in pkgMakeStatusCache ([EMAIL PROTECTED], [EMAIL PROTECTED], OutMap=0xafb5afd8, AllowMem=true) at pkgcachegen.cc:715 #6 0x0804d307 in main (argc=3, argv=0xafb5b094) at apt-cache.cc:1791 (gdb) frame 3 #3 0xa7f037d5 in debPackagesIndex::FindInCache (this=0x805b270, [EMAIL PROTECTED]) at deb/debindexfile.cc:308 308 if (FileName != File.FileName()) (gdb) print FileName $1 = {static npos = 4294967295, _M_dataplus = {std::allocatorchar = {__gnu_cxx::new_allocatorchar = {No data fields}, No data fields}, _M_p = 0x805c884 /var/lib/apt/lists/ftp.nl.debian.org_debian_dists_unstable_main_binary-i386_Packages}} (gdb) print File $2 = {Owner = 0xafb5aa94, File = 0xa7f44220} (gdb) print File.Owner $3 = (class pkgCache *) 0xafb5aa94 (gdb) print *File.Owner $4 = {_vptr.pkgCache = 0x805a468, CacheFile = {static npos = 4294967295, _M_dataplus = {std::allocatorchar = {__gnu_cxx::new_allocatorchar = {No data fields}, No data fields}, _M_p = 0xa7e395bc }}, Map = @0x805c6c8, HeaderP = 0xa7f42000, PkgP = 0xa7f42000, VerFileP = 0xa7f42000, PkgFileP = 0xa7f42000, VerP = 0xa7f42000, ProvideP = 0xa7f42000, DepP = 0xa7f42000, StringItemP = 0xa7f42000, StrP = 0xa7f42000 \230\004, VS = 0xa7f29ca4} (gdb) print *File.File $5 = {FileName = 0, Archive = 0, Component = 0, Version = 0, Origin = 0, Label = 0, Architecture = 0, Site = 0, IndexType = 0, Size = 0, Flags = 0, NextFile = 0, ID = 0, mtime = 0} (gdb) up #4 0xa7ecbb30 in CheckValidity ([EMAIL PROTECTED], Start={_M_current = 0x805c528}, End={_M_current = 0x805c55c}, OutMap=0xafb5afd8) at pkgcachegen.cc:580 580 pkgCache::PkgFileIterator File = (*Start)-FindInCache(Cache); (gdb) frame 3 #3 0xa7f037d5 in debPackagesIndex::FindInCache (this=0x805b270, [EMAIL PROTECTED]) at deb/debindexfile.cc:308 308 if (FileName != File.FileName()) (gdb) print *this $6 = {pkgIndexFile = {_vptr.pkgIndexFile = 0xa7f27048, Trusted = true}, URI = {static npos = 4294967295, _M_dataplus = {std::allocatorchar = {__gnu_cxx::new_allocatorchar = {No data fields}, No data fields}, _M_p = 0x805bb44 http://ftp.nl.debian.org/debian/}}, Dist = {static npos = 4294967295, _M_dataplus = {std::allocatorchar = {__gnu_cxx::new_allocatorchar = {No data fields}, No data fields}, _M_p = 0x805be5c unstable}}, Section = {static npos = 4294967295, _M_dataplus = {std::allocatorchar = {__gnu_cxx::new_allocatorchar = {No data fields}, No data fields}, _M_p = 0x805babc main}}} (gdb) -- strace output $ strace apt-cache search apt execve(/usr/bin/apt-cache, [apt-cache, search, apt], [/* 31 vars */]) = 0 uname({sys=Linux, node=bscig02, ...}) = 0 brk(0) = 0x805b000 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7fab000 access(/etc/ld.so.preload, R_OK) = -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=108031, ...}) = 0 mmap2(NULL, 108031, PROT_READ, MAP_PRIVATE, 3, 0) = 0xa7f9 close(3)= 0 access(/etc/ld.so.nohwcap, F_OK) = -1