Slackware :: Upgrade To 13.1 Causes Segfault In Program That Ran Under 13.0
Mar 10, 2011
I have a custom program that has been running on Slackware since about 2004. It was running fine on Slackware 13.0, but an upgrade (following the procedure in UPGRADE.TXT) to 13.1 causes the program to segfault on a read/write op to the serial port (details here).
what might have changed between 13.0 and 13.1 that might affect serial port programming? I've been through CHANGES_AND_HINTS but nothing is jumping out at me.
I am trying to write a peer to peer application in C++ using pthreads library. There are few types of nodes that run in the program. The 'beacon' nodes form the core of the network. The ordinary nodes 'join' the network by sending join requests to the beacon node. So, my program runs till the join requests and responses are received. When I try to 'connect' using connect function from the socket library, I get a segfault. I am not sure if the segfault occurs for the connect function, because sometimes the program just runs to completion. It could be an issue related to threads or memory allocation.
When I run gdb, it shows me the following: Code: (gdb) run b2-n00.ini Starting program: sv_node b2-n00.ini servant:12600> [New LWP 1] [New LWP 2] [New LWP 3] [New LWP 4] [New LWP 5] [New LWP 6] Before Exiting[LWP 1 exited] procfs: fetch_registers, get_gregs line 3768, /proc/23952/lwp/1: No such file or directory.
I usually use the following command to join several PDF files in one :gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=output.pdf input1.pdf input2.pdfHadn't have to do it for a while but today, I needed it and thus fired my script.lam! gs segfaults.A quick internet search and I found this :https://bugs.archlinux.org/task/22006Though Arch related, while I'm running slackware64-current, the behaviour was exactly the same as mine.In the above thread, one guy linked to a bug report which seems to be theculprit :http://bugs.ghostscript.com/show_bug.cgi?id=691831gcc 4.5.1, gs 9.00, x86_64, indeed, slackware64 seems to be exactly in that situation.
Has anyone had any luck getting a slackbuild to work with the newest version of skype 2.1.0.81? I tried with the static binary but when I go to execute skype I get a segfault. I also tried with a different slackbuild and it doesn't work either.
Goggles music manager no longer works in my current install. When I first upgraded, it was complaining about ligtag-extras library not existing, but this was because the version got upgraded. So I recompiled, and now it just segfaults, both with the slackbuild version (0.10.14) and the latest release (0.10.19). Here is dmesg:
Code: [ 2687.367214] gmm[4366]: segfault at 0 ip 08089bab sp bfad7ef8 error 4 in gmm[8048000+f8000]
I was trying to play an MP4 (h264) video from Meet The Gimp (in particular, this one) but both xine and dragonplayer would play a couple of seconds of it (poorly) and then segfault and die. The error spew looked like:
Code:
$ xine meetthegimp152.mp4 This is xine (X11 gui) - a free video player v0.99.5. (c) 2000-2007 The xine Team.
[code]....
dragonplayer emitted the same output, so I assumed it was something amiss in one of the libraries they both use. mplayer plays the video, so I'm not without recourse, but it would be nice to know what's up with the segfaults. Anyone seen something like this? System specifics, if it matters:
I recently upgraded to slackware-current from Slackware 13 via slackroll, and have only encountered one problem. My file manager no longer thumbnails images, and icons (mostly PNG) aren't appearing no matter what GTK theme is set. Running from the command line produces no errors, and when brought up in something else (say feh /path/to/icon.png) it works perfectly. This is the only hitch I have encountered so far. The same thing happens with emoticons in Pidgin. Does anyone know of a fix?
My question here is that before installing the multilib libraries, how does a 32 bit program differ from a 64 bit. For instance, and here I am showing my ignorance, but surely if I download a program source, shouldn't the resultant binary following compiling and building be a result of the platform it is built on, or does the source code include references to whether it is a 32 or 64 bit program.
Only asking as I have just gone to Slack13_x64, and was hoping that wine might build as a 64bit program. Or, am I stuck with having to install the multilib libs?
I want to set up a special user, when this user login in locally or remotely, a special program will get run for him. ter this program exist normally or not, the telnet connection should close
How do i per say open a file with like transmission when i am downloading it from the internet it says open with then you click it on firefox and it goes to root. Where do i find the files for opening a program instead of saving and going into the program and opening it that way?
in LQ, what the 'g' in names like gzip, gawk means, becauseassumed the incorrect meaning.Cf. zip, awk. I have now forgotten. An easy answer would be: GNU. Perhaps it's the correct one
automount[9052]: segfault at 60 ip 00007f75c15bcd7c sp 00007f75c0753c30 error 4 in lookup_hosts.so[7f75c15b6000+1b000]/etc/hosts...10.226.219.46 zbv6 zbv6.gud.s.atcd /net/zbv6/home
When attempting to run pSX on Ubuntu 9.04 (and the 9.10 livecd), it crashes with a segfault. I -have- read [URL] and tried shutting down pulseaudio as recommended there. However:
How do I get pSX working? I tried copying the psx.ini file from another machine because the thread says pSX works fine after you change the sound device used, but it still segfaults when I try running it.
I am on a fresh install of Narwal. I've switched to classic because unity wasn't mature enough IMO. Just installed ccsm and now my display will crash randomly after running for a short while.
Code: daniel@orange:~$ compiz --replace --debug compiz (core) - Debug: Could not stat() file /home/daniel/.compiz-1/plugins/libcore.so :
So, now we know where exactly the problem occures. I know only these three commands to debug using gdb. But in case of ns-2 code, I don't know how to use gdb.
I changed a routing protocol's C++ code in ns-2 and successfully recompiled ns-2 but when I run any tcl script with that particular protocol, I get 'segmentation fault'. Now I want to trace what part of the code is causing this. I have tried using 'printf's at suspectable places. Is this possible to debug ns-2 code with gdb just like the segfault.c above? I am useing fedora 9.
when open an pdf and close the tab/windows at firefox I get the error at syslog: kernel: npviewer.bin[21396]: segfault at 0000001000000000 rip 00000030abe2646c rsp 00007fffb0978ca0 error 4
I have a newly installed centos 5.5 x86_64 running as a guest on a xen environment. I've installed httpd, mysql, php, mod-php, cacti and some how mod-php i causing apache to exit with segmentation fault. I don't understand whats causing the problem, I have similar boxes with the same setup that works.
I've got a program in /usr/local/bin/envy24control I just installed it using .configure,make install because there was no Slackware package for it. envy24control does not show up under KDE Multimedia where it should be, so I have to start a terminal program, and start in on the command line. How do I get /usr/local/bin/envy24control listed in KDE Multimedia so I can use the mouse to start it ?
How do I kill the KDE program KSnapshot. I'm running Slackware 13 - 37, which is the latest version of Slackware. I don't see any way to kill this thing. There's no Remove Program or Delete anywhere on KDE and this stupid program keeps poping up all the time. I want to kill this thing.
how to uninstall packages via the program name? For example, if I want to uninstall the program "KWordQuiz" then I would usually have to use the command removepkg -package name But unfortunately I have a fresh install and want to get rid of a lot of programs. So instead of using the package repository and finding each package which would take days (maybe) and removing them individually I'd like to remove a program and all its supporting packages. I am probably just rambling on... Umm, so yes is there a way, or do I have to suck it up and sit at the keyboard for days.
I'm using slackware 13.37 and I must say that I really like this distro and the biggest problem is the lack of dependency handling. This is something that bites you right away because you have this nice clean simple operating system but unless you really know what's dependent on what you have to install piles of stuff with lots of programs with duplicate functions. A minimal install option would be nice and I can see from some of the threads that even those with a good deal of experience have had a hard time doing a minimal install. I tried about ten times using different guides but I always ended up with something broken so now I have the full install running fine but with tons of stuff that I don't want or need including most of kde. Anyway, I don't think that the slackware people are going to change their minds about dependency handling anytime this century.
Although for those who have said that it's a FEATURE, I'd point out that all distros have this feature, JUST DON'T USE THEIR PACKAGE MANAGER! So with all that said, I think it's a shame about the lack of dependency handling but I still like slackware well enough to use it even though I find the dependency thing quite annoying. I know that there are people here that have a lot more experience than I do and maybe there are some tools that could make this business easier. So how do you go about removing programs? Debian has deborphan and Arch has pacman -Rd. When you remove a program in slackware, how do you then get rid of all the unneeded dependencies?
I use NetworkManager to handle my net connections and it's applet that allows me to control everything from the gui is called nm-applet. I was able to edit /etc/X11/xinit/xinitrc.fluxbox so that nm-applet starts when fluxbox does and away I go. From runlevel 3 that is.
On my laptop I like to boot into runlevel 4 for various reasons. When I start a fluxbox session from runlevel 4 this doesn't happen. What file do I have to edit to get this to start from runlevel 4?
I do not even know where to begin, and what logs / errors show: I am completely confused in the variables, etc.I can not install PAL Like all successful, and the program to compile, but I can not verify this.I tried premake and one Engine ODE - then I get an error segmentation, when you start paldemo.If I use cmake, then get this:
I tried playing a movie on the computer and nothing happened. Thats when I figured out I don't have a program to play the movie so my question is what dvd player program is good? Also is the source and slackbuild going to be on the slackbuild website so I can download it? The reason I ask the last question is because I tried to install swiftfox and opera but they don't have the source or slackbuild for them. For an older version of opera they did have the slackbuild and source but not the new one.