Announcement

Collapse
No announcement yet.

midnight commander crash

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    midnight commander crash

    Hi all,

    I'm experiencing some crashes with mc in kubuntu 7.04.

    My LANG variable is en_US.UFT-8

    To reproduce, hold ctrl-o for a few seconds to switch from normal mode to command line mode.

    Then the crash comes, here is the screenshot with the errors:

    b7f75000-b7f76000 r-xp 00000000 08:04 2343309 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
    b7f76000-b7f77000 r-xp 00000000 08:04 2343306 /usr/lib/locale/en_US.utf8/LC_PAPER
    b7f77000-b7f78000 r-xp 00000000 08:04 2343304 /usr/lib/locale/en_US.utf8/LC_NAME
    b7f78000-b7f79000 r-xp 00000000 08:04 2343298 /usr/lib/locale/en_US.utf8/LC_ADDRESS
    b7f79000-b7f7a000 r-xp 00000000 08:04 2343307 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
    b7f7a000-b7f7b000 r-xp 00000000 08:04 2343302 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
    b7f7b000-b7f82000 r-xs 00000000 08:04 2264407 /usr/lib/gconv/gconv-modules.cache
    b7f82000-b7f83000 r-xp 00000000 08:04 2343301 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
    b7f83000-b7f85000 rwxp b7f83000 00:00 0
    b7f85000-b7f9e000 r-xp 00000000 08:04 3096597 /lib/ld-2.5.so
    b7f9e000-b7fa0000 rwxp 00019000 08:04 3096597 /lib/ld-2.5.so
    bfbf5000-bfc0a000 rw-p bfbf5000 00:00 0 [stack]
    ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
    Aborted (core dumped)

    This was if runned from gdb:

    08:04 3096663 /lib/libnss_mdns4_minimal.so.2
    b7fa0000-b7fa1000 rwxp 00001000 08:04 3096663 /lib/libnss_mdns4_minimal.so.2
    b7fa1000-b7fa2000 r-xp 00000000 08:04 2343305 /usr/lib/locale/en_US.utf8/LC_NUMERIC
    b7fa2000-b7fa3000 r-xp 00000000 08:04 2343308 /usr/lib/locale/en_US.utf8/LC_TIME
    b7fa3000-b7fa4000 r-xp 00000000 08:04 2343303 /usr/lib/locale/en_US.utf8/LC_MONETARY
    b7fa4000-b7fa5000 r-xp 00000000 08:04 2343309 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
    b7fa5000-b7fa6000 r-xp 00000000 08:04 2343306 /usr/lib/locale/en_US.utf8/LC_PAPER
    b7fa6000-b7fa7000 r-xp
    Program received signal SIGABRT, Aborted.
    0xffffe410 in __kernel_vsyscall ()


    Regards,
    Cristi.

    #2
    Re: midnight commander crash

    Ooops ... and what does locale result in?

    Code:
    USER # locale
    LANG=en_US.UTF-8
    LC_CTYPE=en_US.UTF-8
    LC_NUMERIC=de_CH.UTF-8
    LC_TIME=de_CH.UTF-8
    LC_COLLATE=en_US.UTF-8
    LC_MONETARY=de_CH.UTF-8
    LC_MESSAGES=en_US.UTF-8
    LC_PAPER=de_CH.UTF-8
    LC_NAME=en_US.UTF-8
    LC_ADDRESS=en_US.UTF-8
    LC_TELEPHONE=en_US.UTF-8
    LC_MEASUREMENT=de_CH.UTF-8
    LC_IDENTIFICATION=en_US.UTF-8
    (I prefer a "swiss-english" environment ...)

    Comment


      #3
      Re: midnight commander crash

      $ locale
      LANG=en_US.UTF-8
      LC_CTYPE="en_US.UTF-8"
      LC_NUMERIC="en_US.UTF-8"
      LC_TIME="en_US.UTF-8"
      LC_COLLATE="en_US.UTF-8"
      LC_MONETARY="en_US.UTF-8"
      LC_MESSAGES="en_US.UTF-8"
      LC_PAPER="en_US.UTF-8"
      LC_NAME="en_US.UTF-8"
      LC_ADDRESS="en_US.UTF-8"
      LC_TELEPHONE="en_US.UTF-8"
      LC_MEASUREMENT="en_US.UTF-8"
      LC_IDENTIFICATION="en_US.UTF-8"
      LC_ALL=

      Comment


        #4
        Re: midnight commander crash

        Originally posted by drac
        To reproduce, hold ctrl-o for a few seconds
        I tried - but the **** thing refuses to die

        Have you tried to reinstall the mc package?

        Any other console tools behaving strangely?

        Comment


          #5
          Re: midnight commander crash

          I reinstalled it, recompiled it, I recompiled a debian version, no luck.

          Mc dies in konsole, xterm, putty over ssh, it's really creepy. It only happens on my system

          It starts by having garbage characters in the window title bar, representing the home directory, and after doing some work.. bum. (keeping ctrl-o pressed is a fast way to reproduce the bug)

          Mc is the only thing keeping my kubuntu 7.04 from achieving the goal of a perfect desktop

          Edit:
          It doesn't crash in console mode, only when I'm in X or over ssh, strange.

          Comment


            #6
            Re: midnight commander crash

            Originally posted by drac
            It doesn't crash in console mode
            It's a console tool, after all

            Plan B: [Alt][F2] xterm mc

            --

            "Final resort": http://freshmeat.net/projects/midnightcommander/

            Comment


              #7
              Re: midnight commander crash

              Found it!

              As I was saying, the titlebar of konsole had fuzzy characters. Well, that was the clue in finding the problem.

              22_main.c.patch does change the update_xterm_title_path to include the user name and the current directory. This patch is flawed on my system.

              I removed the patch and the crash is gone. When I'll have some time I'll investigate why the patch doesn't work.

              Regards,
              Cristi.

              Comment


                #8
                Re: midnight commander crash

                Originally posted by drac
                22_main.c.patch
                Patch? What patch??

                Comment


                  #9
                  Re: midnight commander crash

                  Mc is a very patched package.

                  If you install the source package with: apt-get source mc you will get three files:
                  'mc_4.6.1.orig.tar.gz'
                  'mc_4.6.1-7ubuntu1.diff.gz'
                  'mc_4.6.1-7ubuntu1.dsc'

                  After you unzip and apply the patch archive you will have in directory mc_4.6.1/Debian/Patches allot of patch files.

                  There I removed 22_main.c.patch.diff and recreated my mc package with dpkg-buildpackage -rfakeroot.

                  That patch doesn't do much, I don't care much if I don't see my username in the
                  xterm console name.

                  BTW I get errors when trying to reply from Konqueror: "Your session timed out while posting. Please try to re-submit your message."

                  Comment

                  Working...
                  X