Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pike
pike
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 105
    • Issues 105
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pikelang
  • pikepike
  • Issues
  • #1279

Closed
Open
Opened Mar 06, 2001 by Peter Bortas@zinoOwner

Segfault on exit

Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1279

Reported by Stefan Berndtsson, GU stefan@nocrew.org

When compiling 7.2 (and 7.3) on Linux/PPC (running Debian), it compiles fine, but when pike is being run (like in "make verify"), it always exits with a Segmentation Fault. This does not happen on Linux/x86 with the same source. Both CVS and D.Hedbor's latest snapshots have been tested.

A quick backtrace from GDB looks like this:

$ ulimit -c unlimited
$ ./test-pike
Pike v7.3 release 2 running Hilfe v2.0 (Incremental Pike Frontend)
> exit(1);
Segmentation fault (core dumped)
$ gdb ./test-pike core
GNU gdb 5.0
[..snipped license stuff..]
(gdb) bt
#0  0xfe634e4 in __deregister_frame_info () from /lib/libc.so.6
#1  0xffbabc0 in dlopen () from /lib/libm.so.6
#2  0xffd545c in llroundf () from /lib/libm.so.6
#3  0x3000f130 in _dl_fini () at dl-fini.c:170
#4  0xfd95d8c in exit () from /lib/libc.so.6
#5  0x1007adc8 in low_init_main ()
#6  0x1007ad84 in pike_do_exit ()
#7  0xfd7fe68 in __libc_start_main () from /lib/libc.so.6

The current libc used is debian's 2.2.2-1 but 2.1.3-13 has been tested with the same result.

Assignee
Assign to
Pike 7.2
Milestone
Pike 7.2
Assign milestone
Time tracking
None
Due date
None
Reference: pikelang/pike#1279